condition_idstringerforderlich
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.
Ihre Ausgabe wird hier angezeigt
Vervollständigen Sie die Eingaben und klicken Sie dann auf Ausführen.
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.
Jetzt loslegen
Plattform-API-Endpunkt mit einheitlicher Authentifizierung und Nutzungsnachverfolgung.
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"
}'Legen Sie Ihren SandBase API-Schlüssel in Ihrer Serverumgebung fest. Anfragen verwenden Bearer-Authentifizierung.
export SANDBASE_API_KEY="YOUR_API_KEY"Bewahren Sie Ihren Schlüssel auf dem Server auf. Geben Sie ihn nicht in Browser-Code preis.
condition_idstringerforderlichThe condition ID of the market
next_cursorstringPagination cursor from previous response
sponsoredbooleanIf true, folds sponsored daily rates into each config's rate_per_day
Standard: false
Gespeicherte Beispielantwort für diese API; beim Anzeigen wird keine Live-Anfrage gesendet.
Es wurde keine gespeicherte Antwort veröffentlicht. Führen Sie die API in Playground aus, um die Antwort zu prüfen.
Mehr entdecken
| API | Preis | Antwort |
|---|---|---|
Polymarket | $0.012 pro Aufruf | JSON |
Polymarket | $0.012 pro Aufruf | JSON |
Polymarket | $0.012 pro Aufruf | JSON |
Polymarket | $0.012 pro Aufruf | JSON |
Polymarket | $0.012 pro Aufruf | JSON |
Polymarket | $0.012 pro Aufruf | JSON |
Fragen
Senden Sie eine POST-Anfrage an https://api.sandbase.ai/v1/api/polymarket/rewards-markets mit Ihrem SandBase API-Schlüssel im Authorization-Header (Bearer) und den Parametern als JSON-Body. Sie können das auch ohne Code direkt auf dieser Seite im Playground testen.
$0.012 pro Aufruf, abgerechnet von Ihrem SandBase-Guthaben. Es werden nur die von Ihnen getätigten Aufrufe berechnet; es gibt kein Abo.
Erforderlich: condition_id (string). Optional: next_cursor (string) und sponsored (boolean). Die Parametertabelle und der Playground auf dieser Seite listen jedes Feld auf.
Eine JSON-Antwort, die in derselben HTTP-Anfrage zurückgegeben wird (synchron). Die README auf dieser Seite enthält eine Beispielantwort.
Nein. Polymarket Get raw rewards for a specific market läuft über SandBase, daher deckt ein SandBase API-Schlüssel diesen Endpunkt und jede andere API sowie jedes Modell im Katalog ab. Sie müssen keinen separaten Zugang für Polymarket API beantragen.