next_cursorstring
Pagination cursor from previous response
https://api.sandbase.ai/v1/api/polymarket/rewards-markets-currentReturns the current active rewards configurations for markets.
Twój wynik pojawi się tutaj
Uzupełnij dane wejściowe, a następnie kliknij Uruchom.
Returns the current active liquidity rewards configurations for Polymarket markets. Each row has a market condition_id, the daily reward rate, and the quoting rules for earning rewards. No input is required, and you can pass sponsored to switch to sponsored configurations.
total_daily_rate to find the largest daily reward pools.rewards_max_spread and rewards_min_size to set quote width and order size for a reward-earning strategy.sponsored set to true and false.curl -X POST "https://api.sandbase.ai/v1/api/polymarket/rewards-markets-current" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
next_cursor | string | No | Pagination cursor from previous response |
sponsored | boolean | No | If true, returns sponsored reward configurations instead of standard ones |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"count": 500,
"data": [
{
"condition_id": "0x0000c7fe300953933808d82cd4aa35dbc9f291f0b78ca9da43b0604883906c6c",
"native_daily_rate": 1,
"rewards_config": [
{
"asset_address": "0xC011a7E12a19f7B1f670d46F03B03f3342E82DFB",
"end_date": "2500-12-31",
"id": 0,
"rate_per_day": 1,
"start_date": "2026-11-03",
"total_rewards": 0
}
],
"rewards_max_spread": 5.5,
"rewards_min_size": 20,
"total_daily_rate": 1
}
],
"limit": 500,
"next_cursor": "NTAw"
}
| Field | Meaning |
|---|---|
data[].condition_id | Identifier of the market the reward applies to. It starts with 0x. |
data[].total_daily_rate | Total daily reward rate for the market. |
data[].native_daily_rate | Daily reward rate from the native reward configuration. In the sample rows it equals total_daily_rate. |
data[].rewards_max_spread | Maximum spread setting for the market's rewards. |
data[].rewards_min_size | Minimum size setting for the market's rewards. |
data[].rewards_config[].asset_address | Address of the asset used for the reward, starting with 0x. |
data[].rewards_config[].rate_per_day | Reward rate per day for this configuration entry. |
data[].rewards_config[].start_date / data[].rewards_config[].end_date | Dates in YYYY-MM-DD format that bound the reward configuration. |
data[].rewards_config[].total_rewards | Total rewards value for this configuration entry. |
next_cursor | Cursor string to pass as next_cursor to get the next page. |
next_cursor value from one response as the next_cursor parameter to fetch the next page. count and limit were both 500 in the sample.sponsored defaults to false, which returns standard configurations.condition_id to look up a single market with Polymarket Get raw rewards for a specific market or market details with Polymarket Get CLOB market info.$0.012 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Zacznij tworzyć
Punkt końcowy API platformy z jednolitym uwierzytelnianiem i śledzeniem użycia.
curl -X POST "https://api.sandbase.ai/v1/api/polymarket/rewards-markets-current" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"sponsored": false
}'Ustaw klucz API SandBase w środowisku serwera. Żądania używają uwierzytelniania Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Przechowuj klucz na serwerze. Nie ujawniaj go w kodzie przeglądarkowym.
next_cursorstringPagination cursor from previous response
sponsoredbooleanIf true, returns sponsored reward configurations instead of standard ones
Domyślnie: false
Zapisany przykładowy response dla tego API; podczas wyświetlania nie jest wykonywane żadne żądanie na żywo.
Nie opublikowano zapisanego response. Uruchom API w Playground, aby sprawdzić jego odpowiedź.
Odkryj więcej
| API | Cena | Odpowiedź |
|---|---|---|
Polymarket | $0.012 za wywołanie | JSON |
Polymarket | $0.012 za wywołanie | JSON |
Polymarket | $0.012 za wywołanie | JSON |
Polymarket | $0.012 za wywołanie | JSON |
Polymarket | $0.012 za wywołanie | JSON |
Polymarket | $0.012 za wywołanie | JSON |
Pytania
Wyślij żądanie POST do https://api.sandbase.ai/v1/api/polymarket/rewards-markets-current z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.
$0.012 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.
Nie są wymagane żadne parametry. Opcjonalne: next_cursor (string) i sponsored (boolean). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.
Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie). README na tej stronie zawiera przykładową odpowiedź.
Nie. Polymarket Get current active rewards configurations działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API Polymarket.