condition_idstringwajib
The condition ID of the market
https://api.sandbase.ai/v1/api/polymarket/rewards-marketsGet raw rewards for a specific market from Polymarket. Returns the official Polymarket API response unchanged.
Output Anda akan muncul di sini
Lengkapi input, lalu klik Run.
Returns the liquidity rewards setup for one Polymarket market. You pass the market's condition_id, and the response lists its reward configs, reward spread and size limits, and the outcome tokens with current prices.
token_id of each outcome so you can query order books or prices for that market.curl -X POST "https://api.sandbase.ai/v1/api/polymarket/rewards-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 |
next_cursor | string | No | Pagination cursor from previous response |
sponsored | boolean | No | If true, folds sponsored daily rates into each config's rate_per_day |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"count": 1,
"data": [
{
"condition_id": "0xa467b14d51f01b957109d9cbb1d6c124fab2a089d52ed8f471d23c2812e743b7",
"event_slug": "xi-jinping-out-before-2027",
"image": "https://polymarket-upload.s3.us-east-2.amazonaws.com/xi-jinping-out-in-2025-EjF4…",
"market_competitiveness": 9239.334112,
"market_slug": "xi-jinping-out-before-2027",
"question": "Xi Jinping out before 2027?",
"rewards_config": [
{
"asset_address": "0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174",
"end_date": "2500-12-31",
"id": 303430,
"rate_per_day": 5,
"start_date": "2026-09-16",
"total_days": 173232,
"total_rewards": 0
}
],
"rewards_max_spread": 3.5,
"rewards_min_size": 200,
"tokens": [
{
"outcome": "Yes",
"price": 0.0205,
"token_id": "32338220…"
}
]
}
],
"limit": 100,
"next_cursor": "LTE="
}
| Field | Meaning |
|---|---|
data[].question | The market question in plain text. |
data[].market_slug / data[].event_slug | Slugs for the market and for the event it belongs to. |
data[].rewards_config[].rate_per_day | Reward amount paid per day for this config. With sponsored set to true, sponsored daily rates are added into this value. |
data[].rewards_config[].start_date / data[].rewards_config[].end_date | Dates between which this reward config runs, in YYYY-MM-DD format. |
data[].rewards_config[].total_days / data[].rewards_config[].total_rewards | Length of the config in days and the total rewards value recorded for it. |
data[].rewards_config[].asset_address | Address of the asset used for the reward config. |
data[].rewards_max_spread | Maximum spread allowed for an order to qualify for rewards. |
data[].rewards_min_size | Minimum order size needed to qualify for rewards. |
data[].market_competitiveness | A numeric score for how competitive the market's reward quoting is. |
data[].tokens[].outcome / data[].tokens[].price / data[].tokens[].token_id | Name of each outcome, its current price, and the token ID for that outcome. |
condition_id from a market lookup such as Polymarket Get market by slug or Polymarket List markets.count, limit and next_cursor. Pass next_cursor back as the next_cursor parameter to fetch the next page.token_id values with Polymarket Get order book to see live bids and asks.$0.012 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Mulai membangun
Endpoint API platform dengan autentikasi dan pelacakan penggunaan terpadu.
curl -X POST "https://api.sandbase.ai/v1/api/polymarket/rewards-markets" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"sponsored": false,
"condition_id": "0xbd31dc8a20211944f6b70f31557f1001557b59905b7738480ca09bd4532f84af"
}'Atur SandBase API key Anda di environment server Anda. Permintaan menggunakan autentikasi Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Simpan key Anda di server. Jangan tampilkan di kode browser.
condition_idstringwajibThe condition ID of the market
next_cursorstringPagination cursor from previous response
sponsoredbooleanIf true, folds sponsored daily rates into each config's rate_per_day
Default: false
Contoh respons yang disimpan untuk API ini; tidak ada permintaan langsung yang dibuat saat melihatnya.
Belum ada respons tersimpan yang dipublikasikan. Jalankan API di Playground untuk melihat responsnya.
Jelajahi lebih lanjut
| API | Harga | Respons |
|---|---|---|
Polymarket | $0.012 per panggilan | JSON |
Polymarket | $0.012 per panggilan | JSON |
Polymarket | $0.012 per panggilan | JSON |
Polymarket | $0.012 per panggilan | JSON |
Polymarket | $0.012 per panggilan | JSON |
Polymarket | $0.012 per panggilan | JSON |
Pertanyaan
Kirim permintaan POST ke https://api.sandbase.ai/v1/api/polymarket/rewards-markets dengan kunci API SandBase Anda di header Authorization (Bearer) dan parameter sebagai body JSON. Anda juga dapat mencobanya di Playground di halaman ini tanpa menulis kode.
$0.012 per panggilan, ditagihkan dari saldo SandBase Anda. Anda hanya dikenai biaya untuk panggilan yang Anda lakukan; tidak ada langganan.
Wajib: condition_id (string). Opsional: next_cursor (string) dan sponsored (boolean). Tabel Parameters dan Playground di halaman ini mencantumkan setiap field.
Respons JSON yang dikembalikan dalam permintaan HTTP yang sama (sinkron). README di halaman ini menyertakan contoh respons.
Tidak. Polymarket Get raw rewards for a specific market berjalan melalui SandBase, jadi satu kunci API SandBase mencakup endpoint ini dan setiap API serta model lain di katalog. Anda tidak perlu mendaftar akses API Polymarket secara terpisah.