condition_idstringrequerido
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.
Su salida aparecerá aquí
Complete las entradas y luego haga clic en Ejecutar.
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.
Empiece a construir
Endpoint de la API de la plataforma con autenticación unificada y seguimiento de uso.
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"
}'Configure su clave de API de SandBase en el entorno de su servidor. Las solicitudes usan autenticación Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conserve su clave en el servidor. No la exponga en código del navegador.
condition_idstringrequeridoThe condition ID of the market
next_cursorstringPagination cursor from previous response
sponsoredbooleanIf true, folds sponsored daily rates into each config's rate_per_day
Valor predeterminado: false
Respuesta de ejemplo guardada para esta API; no se realiza ninguna solicitud en vivo al verla.
No se ha publicado ninguna respuesta guardada. Ejecute la API en Playground para inspeccionar su respuesta.
Explorar más
| API | Precio | Respuesta |
|---|---|---|
Polymarket | $0.012 por llamada | JSON |
Polymarket | $0.012 por llamada | JSON |
Polymarket | $0.012 por llamada | JSON |
Polymarket | $0.012 por llamada | JSON |
Polymarket | $0.012 por llamada | JSON |
Polymarket | $0.012 por llamada | JSON |
Preguntas
Envía una solicitud POST a https://api.sandbase.ai/v1/api/polymarket/rewards-markets con tu clave API de SandBase en el encabezado Authorization (Bearer) y los parámetros como un cuerpo JSON. También puedes probarlo en el Playground de esta página sin escribir código.
$0.012 por llamada, facturado desde tu saldo de SandBase. Solo se te cobra por las llamadas que haces; no hay suscripción.
Requeridos: condition_id (string). Opcionales: next_cursor (string) y sponsored (boolean). La tabla de Parámetros y el Playground de esta página enumeran todos los campos.
Una respuesta JSON devuelta en la misma solicitud HTTP (sincrónica). El README de esta página incluye una respuesta de ejemplo.
No. Polymarket Get raw rewards for a specific market funciona a través de SandBase, así que una sola clave API de SandBase cubre este endpoint y todas las demás APIs y modelos del catálogo. No necesitas solicitar acceso a la API de Polymarket por separado.