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.
您的輸出會顯示在這裡
完成輸入後,點擊執行。
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.
開始建置
具備統一驗證與用量追蹤的平台 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 金鑰設定在伺服器環境中。請求使用 Bearer 驗證。
export SANDBASE_API_KEY="YOUR_API_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 的已儲存範例回應;檢視時不會發出即時請求。
尚未發布已儲存回應。請在 Playground 中執行 API 以檢視其回應。
探索更多
| 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 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/polymarket/rewards-markets-multi。您也可以直接在本頁的 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 會列出每個欄位。
在同一個 HTTP 請求中回傳的 JSON 回應(同步)。 本頁的 README 包含範例回應。
不需要。Polymarket Get multiple markets with rewards 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 Polymarket API 存取權。