idintegerจำเป็น
id
https://api.sandbase.ai/v1/api/polymarket/markets-tagsGet market tags by id from Polymarket. Returns the official Polymarket API response unchanged.
เอาต์พุตของคุณจะแสดงที่นี่
กรอกอินพุตให้ครบ แล้วคลิก Run
Returns the list of tags attached to one Polymarket market. Each tag has an id, a label, a slug and timestamps. The only input is the numeric market id.
slug to build category pages.id values for a market, then look up all other markets or events under the same tag.forceShow set to true before choosing which labels to display.curl -X POST "https://api.sandbase.ai/v1/api/polymarket/markets-tags" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"id": 559651}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
id | integer | Yes | id |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
[
{
"createdAt": "2026-02-10T00:17:21.422175Z",
"forceShow": false,
"id": "103715",
"isCarousel": false,
"label": "HFC",
"slug": "hfc",
"updatedAt": "2026-04-17T20:55:08.357992Z"
}
]
| Field | Meaning |
|---|---|
id | Tag ID as a string. Use it to look up the tag in other tag APIs. |
label | Display name of the tag, for example Geopolitics. |
slug | URL-style name of the tag, for example world-affairs. |
createdAt / updatedAt | ISO 8601 UTC timestamps for when the tag was created and last changed. |
publishedAt | Time the tag was published. Only some tags include it, and its format differs from createdAt. |
forceShow | Boolean flag on the tag. When true, the tag is marked to be shown. Not present on every tag. |
isCarousel | Boolean flag on the tag. Not present on every tag. |
forceShow, isCarousel and publishedAt appear only on some tags.id from Polymarket List markets or Polymarket Get market by slug.id to get details for a single tag.$0.00044 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/markets-tags" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"id": 559651
}'ตั้งค่า SandBase API key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
idintegerจำเป็นid
บันทึกตัวอย่างการตอบกลับสำหรับ API นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
ยังไม่มีการเผยแพร่การตอบกลับที่บันทึกไว้ ให้รัน API ใน Playground เพื่อดูการตอบกลับ
สำรวจเพิ่มเติม
| API | ราคา | การตอบกลับ |
|---|---|---|
Polymarket | $0.00044 ต่อการเรียก | 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/markets-tags โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
$0.00044 ต่อครั้ง ทุกองค์กรจะได้รับคำขอฟรี 100 ครั้งต่อวัน UTC โดยใช้ร่วมกันใน SandBase APIs ที่เข้าเงื่อนไขรวมถึงรายการนี้ หลังจากนั้นแต่ละคำขอจะคิดค่าบริการตามราคานี้จากยอดคงเหลือ SandBase ของคุณ ไม่มีค่าสมาชิกรายเดือน
ที่ต้องระบุ: id (integer). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ
ไม่จำเป็น Polymarket Get market tags by id ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Polymarket API แยกต่างหาก