event_idstring
Filter by event ID. Can be repeated for multiple events (e.g., ?event_id=100&event_id=200)
https://api.sandbase.ai/v1/api/polymarket/rewards-markets-multiReturns multiple markets with rewards and supports filtering and sorting.
เอาต์พุตของคุณจะแสดงที่นี่
กรอกอินพุตให้ครบ แล้วคลิก Run
Returns a page of Polymarket markets that have liquidity rewards, with prices, spread, 24-hour volume and reward settings for each market. No input is required. You can filter by event, tag, text, price, spread or volume, and sort the results.
spread and high volume_24hr to rank quoting opportunities.token_id values for reward markets to feed into order book or price calls.curl -X POST "https://api.sandbase.ai/v1/api/polymarket/rewards-markets-multi" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
event_id | string | No | Filter by event ID. Can be repeated for multiple events (e.g., ?event_id=100&event_id=200) |
event_title | string | No | Search event titles using case-insensitive pattern matching |
max_price | number | No | Maximum first token price filter |
max_spread | number | No | Maximum spread filter |
max_volume_24hr | number | No | Maximum 24-hour volume filter |
min_price | number | No | Minimum first token price filter |
min_spread | number | No | Minimum spread filter |
min_volume_24hr | number | No | Minimum 24-hour volume filter |
next_cursor | string | No | Pagination cursor from previous response |
order_by | string | No | Field to sort results by |
page_size | integer | No | Number of items per page (max 500, values above are capped) |
position | string | No | Sort direction |
q | string | No | Text search on market question/description |
tag_slug | string | No | Filter by tag slug. Can be repeated for OR logic (e.g., ?tag_slug=sports&tag_slug=politics) |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"count": 100,
"data": [
{
"condition_id": "0x2d3c4fc5cde6dfb43448402b912e41bd4453e3f030448ed026bff8f1a0bc072e",
"created_at": "2025-07-08T19:05:57.129881Z",
"end_date": "2028-11-08 04:59:00+00",
"event_id": "31552",
"event_slug": "presidential-election-winner-2028",
"group_item_title": "Eric Trump",
"image": "https://polymarket-upload.s3.us-east-2.amazonaws.com/eric-trump-eb65c618d6.png",
"market_competitiveness": 0,
"market_id": "561263",
"market_slug": "will-eric-trump-win-the-2028-us-presidential-election",
"one_day_price_change": 0,
"question": "Will Eric Trump win the 2028 US Presidential Election?"
}
],
"limit": 100,
"next_cursor": "MTAw"
}
| Field | Meaning |
|---|---|
count / limit | Number of markets in this page and the page size used. |
next_cursor | Cursor for the next page. Send it back as next_cursor. |
data[].market_id / data[].condition_id | Identifiers for the market. market_id is a numeric string and condition_id is a hex string. |
data[].question / data[].group_item_title | The market question and the short label of the item inside its event, such as a candidate name. |
data[].event_id / data[].event_slug | The event the market belongs to. |
data[].tokens[].outcome / data[].tokens[].price | The outcome name (Yes or No) and its current price. |
data[].tokens[].token_id | Token ID for each outcome. Use it in order book, price and spread calls. |
data[].spread / data[].volume_24hr | Current spread of the market and its 24-hour volume. |
data[].rewards_max_spread / data[].rewards_min_size | Reward settings for the market: the maximum spread and the minimum order size. |
data[].one_day_price_change / data[].market_competitiveness | Price change over one day and the competitiveness score of the market. |
next_cursor value from the response as the next_cursor parameter to get the next page.page_size defaults to 100 and is capped at 500.order_by accepts values such as volume_24hr, spread, rate_per_day and reward_end_date. Set position to ASC or DESC.token_id.$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/rewards-markets-multi" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"page_size": 100
}'ตั้งค่า SandBase API key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
event_idstringFilter by event ID. Can be repeated for multiple events (e.g., ?event_id=100&event_id=200)
event_titlestringSearch event titles using case-insensitive pattern matching
max_pricenumberMaximum first token price filter
max_spreadnumberMaximum spread filter
max_volume_24hrnumberMaximum 24-hour volume filter
min_pricenumberMinimum first token price filter
min_spreadnumberMinimum spread filter
min_volume_24hrnumberMinimum 24-hour volume filter
next_cursorstringPagination cursor from previous response
order_bystringField to sort results by
ค่าที่เป็นไปได้: market_id, created_at, volume_24hr, spread, competitiveness, max_spread, min_size, question, one_day_price_change, rate_per_day, price, end_date, start_date, reward_end_date
page_sizeintegerNumber of items per page (max 500, values above are capped)
ค่าเริ่มต้น: 100
positionstringSort direction
ค่าที่เป็นไปได้: ASC, DESC
qstringText search on market question/description
tag_slugstringFilter by tag slug. Can be repeated for OR logic (e.g., ?tag_slug=sports&tag_slug=politics)
บันทึกตัวอย่างการตอบกลับสำหรับ 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/rewards-markets-multi โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
$0.012 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน
ไม่ต้องระบุพารามิเตอร์ ตัวเลือก: event_id (string), event_title (string), max_price (number), max_spread (number), max_volume_24hr (number) และ min_price (number) และอีก 8 รายการ ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ
ไม่จำเป็น Polymarket Get multiple markets with rewards ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Polymarket API แยกต่างหาก