Polymarket Get valid sports market types
https://api.sandbase.ai/v1/api/polymarket/sports-market-typesGet valid sports market types from Polymarket. Returns the official Polymarket API response unchanged.
- ราคา
- $0.00044USD / คำขอ
- Method
- POST
- การตอบกลับ
- JSON
- พารามิเตอร์
- 0 จำเป็น · 0 ไม่บังคับ
Playground
เอาต์พุตของคุณจะแสดงที่นี่
กรอกอินพุตให้ครบ แล้วคลิก Run
API README
Polymarket Get valid sports market types API
Returns the list of valid sports market type strings on Polymarket. The call needs no input.
Use cases
- Build a filter menu of sports market types for a Polymarket sports dashboard.
- Check that a market type string is valid before you use it in another query.
- Track which sports market types Polymarket adds or removes by saving the list on a schedule.
- Keep a reference table of market type names for a sports analytics pipeline.
Request
curl -X POST "https://api.sandbase.ai/v1/api/polymarket/sports-market-types" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'
The result is returned in outputs[0].data.
Example response
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"$schema": "https://gamma-api.polymarket.com/schemas/SportsMarketTypesResponse.json",
"marketTypes": [
"any_player_rampage"
]
}
Response fields
| Field | Meaning |
|---|---|
marketTypes | List of valid sports market type names. Each item is a snake_case string such as any_player_rampage, any_player_ultra_kill or anytime_touchdowns. |
marketTypes[] | One sports market type identifier. Use the exact string when you match or compare types. |
Notes
- The request body is an empty JSON object
{}. There are no parameters and no pagination. - Call Polymarket Get sports metadata information for metadata about the sports themselves.
- Call Polymarket List markets to list markets on Polymarket.
Pricing
$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/sports-market-types" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'2. การยืนยันตัวตน
ตั้งค่า SandBase API key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
3. พารามิเตอร์
ยังไม่มีการเผยแพร่ schema ของพารามิเตอร์สำหรับ API นี้
4. การตอบกลับ
บันทึกตัวอย่างการตอบกลับสำหรับ API นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
ยังไม่มีการเผยแพร่การตอบกลับที่บันทึกไว้ ให้รัน API ใน Playground เพื่อดูการตอบกลับ
สำรวจเพิ่มเติม
APIs ที่เกี่ยวข้อง
| 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 |
คำถาม
คำถามที่พบบ่อย
ฉันจะใช้ Polymarket Get valid sports market types API ได้อย่างไร?
ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/polymarket/sports-market-types โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
Polymarket Get valid sports market types API ราคาเท่าไร?
$0.00044 ต่อครั้ง ทุกองค์กรจะได้รับคำขอฟรี 100 ครั้งต่อวัน UTC โดยใช้ร่วมกันใน SandBase APIs ที่เข้าเงื่อนไขรวมถึงรายการนี้ หลังจากนั้นแต่ละคำขอจะคิดค่าบริการตามราคานี้จากยอดคงเหลือ SandBase ของคุณ ไม่มีค่าสมาชิกรายเดือน
Polymarket Get valid sports market types API รับพารามิเตอร์อะไรบ้าง?
Polymarket Get valid sports market types ไม่รับพารามิเตอร์อินพุต ส่ง JSON body ว่างเปล่า
Polymarket Get valid sports market types API ส่งคืนอะไร?
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ
ฉันจำเป็นต้องมีบัญชีนักพัฒนาหรือ API key ของ Polymarket ไหม?
ไม่จำเป็น Polymarket Get valid sports market types ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Polymarket API แยกต่างหาก
