GET /v2/leaderboard
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/polymarket/v2/leaderboardCache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing freeGet the ranked trader leaderboard (realized PnL, combos included).
Parameters
| name | in | type | description | |
|---|---|---|---|---|
time_period | query | strday | week | month | all | optional | Leaderboard window default: dayexample: day |
category | query | str | optional | overall or a market category default: overallexample: overall |
sort_by | query | str | optional | PNL (default) | VOLUME example: PNL |
user | query | str | optional | Optional wallet filter; omit for the overall leaderboard example: 0x3dfb153c197d4c19d3b31c1ecd2c7b6860eeabaf |
limit | query | int | optional | Page size (max 500 on gamma lists) default: 20example: 2 |
cursor | query | str | optional | Opaque keyset cursor from pagination.next_cursor — omit on the first page |
Response
type: object
cursor key: next_cursor
pagination: cursor
sample: {
"data": "array[2]",
"pagination": "object"
}
Safe request
Reads the credential from API_HUB_KEY; it never appears in the URL.
curl -sH "X-Hub-Key: $API_HUB_KEY" "https://openapihub.dev/run/polymarket/v2/leaderboard?time_period=day&category=overall&sort_by=PNL&user=0x3dfb153c197d4c19d3b31c1ecd2c7b6860eeabaf&limit=2"