condition_idstring必須
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.
出力はここに表示されます
入力を完了してから[実行]をクリックしてください。
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.
開発を始める
統一認証と使用状況の追跡を備えたプラットフォームAPIエンドポイントです。
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"
}'SandBaseのAPIキーをサーバー環境に設定してください。リクエストはBearer認証を使用します。
export SANDBASE_API_KEY="YOUR_API_KEY"キーはサーバー側で管理してください。ブラウザコードに公開しないでください。
condition_idstring必須The condition ID of the market
next_cursorstringPagination cursor from previous response
sponsoredbooleanIf true, folds sponsored daily rates into each config's rate_per_day
デフォルト: false
この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 |
質問
Authorization ヘッダー(Bearer)に SandBase API key を指定し、パラメータを JSON ボディで送信して https://api.sandbase.ai/v1/api/polymarket/rewards-markets に POST リクエストを送ります。このページの Playground で、コードを書かずに試すこともできます。
1回あたり $0.012、SandBase 残高から課金されます。課金対象はご利用分のみで、サブスクリプションはありません。
必須: condition_id (string)。 任意: next_cursor (string) と sponsored (boolean)。 このページの Parameters テーブルと Playground に、すべてのフィールドが一覧表示されています。
同じ HTTP リクエスト内で返される JSON レスポンスです(同期)。 このページの README にサンプルレスポンスがあります。
いいえ。Polymarket Get raw rewards for a specific market は SandBase 経由で動作するため、SandBase の API key 1つでこのエンドポイントと、カタログ内の他のすべての API とモデルを利用できます。Polymarket の API アクセスを別途申請する必要はありません。