condition_idstringจำเป็น
The condition ID of the market
https://api.sandbase.ai/v1/api/polymarket/clob-marketsReturns all CLOB-level parameters for a market in a single call — tokens, tick size, base fees, rewards, RFQ status, and fee details.
เอาต์พุตของคุณจะแสดงที่นี่
กรอกอินพุตให้ครบ แล้วคลิก Run
Returns the CLOB trading settings for one Polymarket market. These include its outcome tokens, tick size, base fees, rewards settings and fee details. It needs the market's condition_id.
Yes and No token IDs for a market before you query prices or order books.condition_id.curl -X POST "https://api.sandbase.ai/v1/api/polymarket/clob-markets" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"condition_id": "0xa467b14d51f01b957109d9cbb1d6c124fab2a089d52ed8f471d23c2812e743b7"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
condition_id | string | Yes | The condition ID of the market |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"ao": true,
"aot": "2025-07-03T20:36:33Z",
"c": "0xa467b14d51f01b957109d9cbb1d6c124fab2a089d52ed8f471d23c2812e743b7",
"cbos": true,
"fd": {
"e": 1,
"r": 0.04,
"to": true
},
"ibce": true,
"mbf": 1000,
"mos": 5,
"mts": 0.001,
"r": {
"e": true,
"ma": 3.5,
"mi": 200,
"moas": 4
},
"t": [
{
"o": "Yes",
"t": "32338220190071351435772801779725302244575775216413325951443816017994629993401"
}
],
"tbf": 1000
}
| Field | Meaning |
|---|---|
c | The condition ID of the market. It matches the condition_id you sent. |
t[].o / t[].t | One row per outcome. o is the outcome label, such as Yes or No. t is the token ID for that outcome, as a long decimal string. |
mts | The tick size setting for the market. The value is 0.001 in this example. |
mbf / tbf | The base fee settings for the market. Both are 1000 in this example. |
r.e / r.ma / r.mi / r.moas | The rewards settings for the market. e is true when rewards are set up. The response gives these keys in short form only, so check the numbers against Polymarket's rewards docs. |
fd.e / fd.r / fd.to | The fee details for the market. The example returns e as 1, r as 0.04 and to as true. |
aot | A timestamp in ISO 8601 UTC format, such as 2025-07-03T20:36:33Z. |
v | A version string. The value is v1 in this example. |
c, t and mts. The response is returned as the official Polymarket API sends it.t[].t are long decimal strings. Keep them as strings so no digits are lost.t[].t with token-based APIs such as Polymarket Get fee rate by path parameter or Polymarket Get market by token.$0.012 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
เริ่มสร้าง
เอ็นด์พอยต์ของ Platform API ที่มีการยืนยันตัวตนและการติดตามการใช้งานแบบรวมศูนย์
curl -X POST "https://api.sandbase.ai/v1/api/polymarket/clob-markets" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"condition_id": "0xbd31dc8a20211944f6b70f31557f1001557b59905b7738480ca09bd4532f84af"
}'ตั้งค่า SandBase API key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
condition_idstringจำเป็นThe condition ID of the market
บันทึกตัวอย่างการตอบกลับสำหรับ API นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
ยังไม่มีการเผยแพร่การตอบกลับที่บันทึกไว้ ให้รัน API ใน Playground เพื่อดูการตอบกลับ
สำรวจเพิ่มเติม
| API | ราคา | การตอบกลับ |
|---|---|---|
Polymarket | $0.012 ต่อการเรียก | JSON |
Polymarket | $0.012 ต่อการเรียก | JSON |
Polymarket | $0.012 ต่อการเรียก | JSON |
Polymarket | $0.012 ต่อการเรียก | JSON |
Polymarket | $0.012 ต่อการเรียก | JSON |
Polymarket | $0.012 ต่อการเรียก | JSON |
คำถาม
ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/polymarket/clob-markets โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
$0.012 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน
ที่ต้องระบุ: condition_id (string). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ
ไม่จำเป็น Polymarket Get CLOB market info ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Polymarket API แยกต่างหาก