time_periodstring
Window: `day` | `week` | `month` | `all`. Defaults to `day`.
https://api.sandbase.ai/v1/api/polymarket/builders-leaderboardLeaderboard of Polymarket builders (apps routing orders) by volume for a time period.
您的输出将显示在这里
完成输入,然后点击运行。
Returns a ranked list of Polymarket builders, which are apps that route orders, ordered by trading volume for a chosen time window. It needs no required input. You can set time_period to day, week, month or all, and set limit for the page size.
builder_code of top builders to match them against volume data in another call.curl -X POST "https://api.sandbase.ai/v1/api/polymarket/builders-leaderboard" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"limit": 2}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
cursor | string | No | Opaque pagination cursor from a prior response's next_cursor. |
limit | integer | No | First-page size. Ignored when cursor is supplied. |
time_period | string | No | Window: day / week / month / all. Defaults to day. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"data": [
{
"active_users": 137,
"builder_code": "0xceebf77a833b30520287ddd9478ff51abbdffa30aa90a8d655dba0e8a79ce0c1",
"builder_name": "betmoar",
"profile_image": "https://polymarket-upload.s3.us-east-2.amazonaws.com/betmoar_2.png",
"rank": 1,
"verified": true,
"volume": 3712124.5321740014
}
],
"pagination": {
"has_more": true,
"limit": 2,
"next_cursor": "eyJkYXRhIjp7InR5cGUiOiJidWlsZGVyc19sZWFkZXJib2FyZCIsInBhcmFtcyI6eyJsIjoyLCJvIjoy…",
"offset": 0
}
}
| Field | Meaning |
|---|---|
data[].rank | Position of the builder on the leaderboard for the chosen time window. 1 is the highest volume. |
data[].builder_name | Display name of the builder app. |
data[].builder_code | Hex identifier of the builder. Use it to match the builder in other data. |
data[].volume | Trading volume routed by the builder in the time window, as a decimal number. |
data[].active_users | Number of active users for the builder in the time window. |
data[].verified | true when the builder is marked as verified. |
data[].profile_image | URL of the builder's profile image. |
pagination.has_more | true when more rows are available after this page. |
pagination.next_cursor | Opaque cursor for the next page. Pass it back as cursor. |
pagination.limit | Page size used for this response. |
next_cursor as cursor to get the next page. When you send cursor, limit is ignored, and the window is kept inside the cursor.time_period defaults to day when you leave it out.$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/builders-leaderboard" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"limit": 2
}'将您的 SandBase API 密钥设置到服务器环境中。请求使用 Bearer 身份验证。
export SANDBASE_API_KEY="YOUR_API_KEY"请将密钥保存在服务器端。不要在浏览器代码中暴露它。
time_periodstringWindow: `day` | `week` | `month` | `all`. Defaults to `day`.
limitintegerFirst-page size. Ignored when `cursor` is supplied.
cursorstringOpaque pagination cursor from a prior response's `next_cursor`.
这是该 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 |
问题
向 https://api.sandbase.ai/v1/api/polymarket/builders-leaderboard 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 Playground 中试用,无需编写代码。
每次调用 $0.012,从您的 SandBase 余额中扣费。您只需为实际调用付费;无需订阅。
无需参数。 可选:time_period (string), limit (integer) 和 cursor (string)。 Parameters 表和本页的 Playground 列出了每个字段。
在同一个 HTTP 请求中返回的 JSON 响应(同步)。 本页的 README 包含一个示例响应。
不需要。Polymarket Builders Leaderboard 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 Polymarket API 访问权限。