next_cursorstring
Pagination cursor from previous response
https://api.sandbase.ai/v1/api/polymarket/rewards-markets-currentReturns the current active rewards configurations for markets.
Đầu ra của bạn sẽ xuất hiện ở đây
Hoàn tất đầu vào, rồi nhấp Run.
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.
Bắt đầu xây dựng
Endpoint API của nền tảng với xác thực và theo dõi mức sử dụng thống nhất.
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
}'Đặt SandBase API key của bạn trong môi trường máy chủ. Các request sử dụng xác thực Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Giữ key của bạn trên máy chủ. Không hiển thị trong mã chạy trên trình duyệt.
next_cursorstringPagination cursor from previous response
sponsoredbooleanIf true, returns sponsored reward configurations instead of standard ones
Mặc định: false
Đây là phản hồi ví dụ đã lưu cho API này; không có request thực nào được gửi khi xem mục này.
Chưa có phản hồi đã lưu nào được công bố. Chạy API trong Playground để xem phản hồi.
Khám phá thêm
| API | Giá | Phản hồi |
|---|---|---|
Polymarket | $0.012 mỗi lần gọi | JSON |
Polymarket | $0.012 mỗi lần gọi | JSON |
Polymarket | $0.012 mỗi lần gọi | JSON |
Polymarket | $0.012 mỗi lần gọi | JSON |
Polymarket | $0.012 mỗi lần gọi | JSON |
Polymarket | $0.012 mỗi lần gọi | JSON |
Câu hỏi
Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/polymarket/rewards-markets-current với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.
$0.012 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.
Không có tham số bắt buộc. Tùy chọn: next_cursor (string) và sponsored (boolean). Bảng Parameters và Playground trên trang này liệt kê mọi trường.
Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.
Không. Polymarket Get current active rewards configurations chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của Polymarket.