Sand AISand AI MAGI-2MAGI-2 現已登上 SandBase:支援原生音訊的 1080p 影片立即試用

Polymarket Trader Leaderboard

API 文件
https://api.sandbase.ai/v1/api/polymarket/leaderboard

Polymarket trader leaderboard by PnL or volume, for a time period and category.

價格
$0.012美元/次呼叫
方法
POST
回應
JSON
參數
0 個必填 · 6 個選填

Playground

輸入
Window: `day` | `week` | `month` | `all`. Defaults to `day`.
`overall` (default), a Gamma market category (e.g. `sports`), or a synthetic category: `combos` (combinatorial positions; PNL boards only; the volume board has no combos rows) or `esports` (promoted subcategory).
Which board: `PNL` (default) or `VOLUME`.
Look up one wallet's standing instead of reading the board. Returns a single object carrying both ranks, not a page.
01000
First-page size. Ignored when `cursor` is supplied. 範圍:0 到 1000。
Opaque pagination cursor from a prior response's `next_cursor`.
輸出就緒

您的輸出會顯示在這裡

完成輸入後,點擊執行。

API README

Polymarket Trader Leaderboard API

Returns the Polymarket trader leaderboard, ranked by profit and loss (PNL) or trading VOLUME. You can filter by time_period and category, or pass a wallet in user to get that wallet's standing. No input is required.

Use cases

  • Build a ranked list of the most profitable Polymarket traders for the past day, week, or month.
  • Compare top traders by VOLUME against top traders by PNL in a category such as sports.
  • Look up one wallet's ranks on both boards to check how a trader performs.
  • Collect wallet addresses of top traders so you can study their positions and activity.

Request

curl -X POST "https://api.sandbase.ai/v1/api/polymarket/leaderboard" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"limit": 2}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
categorystringNooverall (default), a Gamma market category (e.g. sports), or a synthetic category: combos (combinatorial positions; PNL boards only; the volume board has no combos rows) or esports (promoted subcategory).
cursorstringNoOpaque pagination cursor from a prior response's next_cursor.
limitintegerNoFirst-page size. Ignored when cursor is supplied.
sort_bystringNoWhich board: PNL (default) or VOLUME.
time_periodstringNoWindow: day / week / month / all. Defaults to day.
userstringNoLook up one wallet's standing instead of reading the board. Returns a single object carrying both ranks, not a page.

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "data": [
    {
      "pnl": 454238.2733963345,
      "profile_image": "",
      "rank": 1,
      "user_id": "0x2c335066fe58fe9237c3d3dc7b275c2a034a0563",
      "user_name": "0x2c335066FE58fe9237c3d3Dc7b275C2a034a0563-1759935795465",
      "verified": false,
      "volume": 5394555.845070001,
      "x_username": ""
    }
  ],
  "pagination": {
    "has_more": true,
    "limit": 2,
    "next_cursor": "eyJkYXRhIjp7InR5cGUiOiJsZWFkZXJib2FyZCIsInBhcmFtcyI6eyJsIjoyLCJvIjoyLCJzIjoiUE5M…",
    "offset": 0
  }
}

Response fields

FieldMeaning
data[].rankPosition of the trader on the selected board.
data[].user_idThe trader's wallet address, as a 0x hex string.
data[].user_nameDisplay name of the trader. Some names are the wallet address followed by a number.
data[].pnlProfit and loss for the chosen time period and category.
data[].volumeTrading volume for the chosen time period and category.
data[].verifiedBoolean flag for whether the profile is marked verified.
data[].x_username / data[].profile_imageThe trader's X username and profile image URL. Both can be empty strings.
pagination.has_moretrue when more rows are available after this page.
pagination.next_cursorOpaque cursor string. Send it back as cursor to get the next page.

Notes

  • Set sort_by to PNL (default) or VOLUME to choose the board. time_period defaults to day and category defaults to overall.
  • limit sets the first-page size, up to 1000. It is ignored when you send cursor.
  • With user set, the call returns a single object with both ranks instead of a page.
  • To see what a ranked wallet holds, pass its user_id to Polymarket Wallet Positions or Polymarket Wallet Activity.

Pricing

$0.012 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

探索更多

相關 APIs

所有 APIs
API價格回應
Polymarket每次呼叫 $0.012JSON
Polymarket每次呼叫 $0.012JSON
Polymarket每次呼叫 $0.012JSON
Polymarket每次呼叫 $0.012JSON
Polymarket每次呼叫 $0.012JSON
Polymarket每次呼叫 $0.012JSON

問題

常見問題

我要如何使用 Polymarket Trader Leaderboard API?

使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/polymarket/leaderboard。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。

Polymarket Trader Leaderboard API 的費用是多少?

每次 $0.012,並從您的 SandBase 餘額中扣款。您只會為實際發出的呼叫付費;沒有訂閱方案。

Polymarket Trader Leaderboard API 接受哪些參數?

不需要任何參數。 選填:time_period (string), category (string), sort_by (string), user (string), limit (integer) 和 cursor (string)。 本頁的 Parameters 表格與 Playground 會列出每個欄位。

Polymarket Trader Leaderboard API 會回傳什麼?

在同一個 HTTP 請求中回傳的 JSON 回應(同步)。 本頁的 README 包含範例回應。

我需要 Polymarket 開發者帳號或 API 金鑰嗎?

不需要。Polymarket Trader Leaderboard 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 Polymarket API 存取權。