Polymarket — Get Leaderboard
Retrieve the global perpetuals leaderboard, ranked by PnL, notional volume, current account value, or ROI across all instruments with the Polymarket API. The sample response includes rankings. Request fields include result limit (limit), result offset (offset). Use it for on-chain or crypto market research. The GET request schema also lists window, sort_by. Use the data in market research, dashboard views, or scheduled data collection for the relevant markets.
- Selected price
- $0 / callPublished pricing
- Sellers / APIs
- 1 / 1
- Requests · 30d
- —Loading...
- Success rate · 30d
- —Loading...
Polymarket — Get Leaderboard
Prepare your request, then continue with your agent.
Selected price
$0 / call
- Provider
- Pricing
On this page
Playground
Run sends a real API request. Charges follow the published API contract.
Response structure
accountobjectaccountstringaccount_valuestringinstruments_tradedintegernotionalstringpnlstringroistringtop_instrument_idsunknown[]
entriesobject[]accountstringaccount_valuestringinstruments_tradedintegernotionalstringpnlstringrankintegerroistringtop_instrument_idsinteger[]
sort_bystringtimestampintegertotalintegerwindowstring
// Inferred from response examples. Fields are optional and other fields may be returned.
export type ApiResponse = {
account?: {
account?: string;
account_value?: string;
instruments_traded?: number;
notional?: string;
pnl?: string;
roi?: string;
top_instrument_ids?: Array<unknown>;
};
entries?: Array<{
account?: string;
account_value?: string;
instruments_traded?: number;
notional?: string;
pnl?: string;
rank?: number;
roi?: string;
top_instrument_ids?: Array<number>;
}>;
sort_by?: string;
timestamp?: number;
total?: number;
window?: string;
};Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
PolymarketCurrent Polymarket — Get Leaderboard · GET · View API reference | $0 / call | — | —successP50— |
- Unit price
- $0
Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 3. Price update time: not supplied.
Total $0
API
- Method
- GET
- Endpoint
https://api.openany.si/v1/agent-apis/polymarket/v1/info/leaderboard- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
curl \
'https://api.openany.si/v1/agent-apis/polymarket/v1/info/leaderboard?address=0x17eC161f126e82A8ba337f4022d574DBEaFef575&limit=2&window=all' \
-X GET \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json'Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
window | URL query parametersquery | string | No | Leaderboard window, anchored to calendar UTC boundaries. `day` starts at 00:00 UTC today, `week` at Monday 00:00 UTC, `month` at the first of the month 00:00 UTC, `all` at exchange launch. enum: "day", "week", "month", "all" |
sort_by | URL query parametersquery | string | No | Leaderboard ranking metric enum: "pnl", "notional", "account_value", "roi" |
limit | URL query parametersquery | integer | No | Maximum number of entries to return |
offset | URL query parametersquery | integer | No | Number of entries to skip |
address | URL query parametersquery | string | No | Address |
Required markers inside a nested object or variant apply when that object or variant is used.
Sample response
Sample response · Documented HTTP 200 Published documentation example. Verify the actual response after an approved call.
{
"account": {
"account": "0x17eC161f126e82A8ba337f4022d574DBEaFef575",
"account_value": "0",
"instruments_traded": 0,
"notional": "0",
"pnl": "0",
"roi": "0",
"top_instrument_ids": []
},
"entries": [
{
"account": "0x4c4f4d655B77c4d1cB4343AF6c54c2Ec8f4022b4",
"account_value": "4017155.8523296651061676687065",
"instruments_traded": 49,
"notional": "1121262189.467157",
"pnl": "649745.2956823579",
"rank": 1,
"roi": "0.185937",
"top_instrument_ids": [
7,
6,
21
]
},
{
"account": "0x7930Ee98013FA1aEaC08872A88E677dc925aD132",
"account_value": "4521590.5899138561624146568720",
"instruments_traded": 54,
"notional": "4482372490.336826",
"pnl": "535233.0340918312",
"rank": 2,
"roi": "0.091154",
"top_instrument_ids": [
3,
5,
2
]
}
],
"sort_by": "pnl",
"timestamp": 1793282212475,
"total": 33150,
"window": "all"
}Agent integration
Copy the resource contract without sharing an API key.
View API Markdown
# Polymarket — Get Leaderboard
Retrieve the global perpetuals leaderboard, ranked by PnL, notional volume, current account value, or ROI across all instruments with the Polymarket API. The sample response includes rankings. Request fields include result limit (limit), result offset (offset). Use it for on-chain or crypto market research. The GET request schema also lists window, sort_by. Use the data in market research, dashboard views, or scheduled data collection for the relevant markets.
## Available implementations
Polymarket · Polymarket — Get Leaderboard: https://openany.si/markets/apis/capabilities/polymarket-get-leaderboard?offering=2ca5f2a8-fd0a-4079-8546-1cc71550743c · $0 / call
## Selected API contract
Documentation: https://openany.si/markets/apis/capabilities/polymarket-get-leaderboard
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/polymarket/v1/info/leaderboard
Price: $0 / call
Provider: Polymarket
Contract revision: 3
Price source: OpenAny public API contract and documented provider unit rates. Price update time: not supplied.
Use OPENANY_API_KEY from the environment. API Key calls use your shared balance.
## Prepared request
```bash
curl \
'https://api.openany.si/v1/agent-apis/polymarket/v1/info/leaderboard?address=0x17eC161f126e82A8ba337f4022d574DBEaFef575&limit=2&window=all' \
-X GET \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json'
```
## API contract
```json
{
"resource_type": "api",
"name": "Polymarket — Get Leaderboard",
"endpoint": "https://api.openany.si/v1/agent-apis/polymarket/v1/info/leaderboard",
"method": "GET",
"content_type": "none",
"execution_mode": "sync",
"authentication": {
"type": "bearer",
"environment_variable": "OPENANY_API_KEY"
},
"inputs": [
{
"description": "Leaderboard window, anchored to calendar UTC boundaries. `day` starts at 00:00 UTC today, `week` at Monday 00:00 UTC, `month` at the first of the month 00:00 UTC, `all` at exchange launch.",
"enum_values": [
"day",
"week",
"month",
"all"
],
"location": "query",
"name": "window",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "Leaderboard ranking metric",
"enum_values": [
"pnl",
"notional",
"account_value",
"roi"
],
"location": "query",
"name": "sort_by",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "Maximum number of entries to return",
"location": "query",
"name": "limit",
"nullable": false,
"required": false,
"type": "integer"
},
{
"description": "Number of entries to skip",
"location": "query",
"name": "offset",
"nullable": false,
"required": false,
"type": "integer"
},
{
"description": "Address",
"location": "query",
"name": "address",
"nullable": false,
"required": false,
"type": "string"
}
],
"billing": {
"currency": "USD",
"mode": "fixed",
"priceMicroUsd": "0",
"rounding": null,
"unit": "call",
"unitQuantity": null
},
"examples": [
{
"http_status": 200,
"name": "Documentation example",
"request": {
"body": null,
"headers": {},
"path": {},
"query": {
"address": "0x17eC161f126e82A8ba337f4022d574DBEaFef575",
"limit": 2,
"window": "all"
}
},
"response_body": {
"account": {
"account": "0x17eC161f126e82A8ba337f4022d574DBEaFef575",
"account_value": "0",
"instruments_traded": 0,
"notional": "0",
"pnl": "0",
"roi": "0",
"top_instrument_ids": []
},
"entries": [
{
"account": "0x4c4f4d655B77c4d1cB4343AF6c54c2Ec8f4022b4",
"account_value": "4017155.8523296651061676687065",
"instruments_traded": 49,
"notional": "1121262189.467157",
"pnl": "649745.2956823579",
"rank": 1,
"roi": "0.185937",
"top_instrument_ids": [
7,
6,
21
]
},
{
"account": "0x7930Ee98013FA1aEaC08872A88E677dc925aD132",
"account_value": "4521590.5899138561624146568720",
"instruments_traded": 54,
"notional": "4482372490.336826",
"pnl": "535233.0340918312",
"rank": 2,
"roi": "0.091154",
"top_instrument_ids": [
3,
5,
2
]
}
],
"sort_by": "pnl",
"timestamp": 1793282212475,
"total": 33150,
"window": "all"
}
}
]
}
```Error handling
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect the error and usage record before retrying a paid operation. |
Examples
Documentation example
Published documentation example. Verify the actual response after an approved call.
Prepare your environment
Use a terminal with cURL installed.
Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.
Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.
Terminal · macOS / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'Run the request
Paste the complete command below into your terminal.
Values to replace before running 5
Review these request fields before running. Keep the published provider and request method unchanged.
window- Leaderboard window, anchored to calendar UTC boundaries. `day` starts at 00:00 UTC today, `week` at Monday 00:00 UTC, `month` at the first of the month 00:00 UTC, `all` at exchange launch.
sort_by- Leaderboard ranking metric
limit- Maximum number of entries to return
offset- Number of entries to skip
address- Address
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/polymarket/v1/info/leaderboard?address=0x17eC161f126e82A8ba337f4022d574DBEaFef575&limit=2&window=all' \ -X GET \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json'Check the response
Sample response · Documented HTTP 200
Sample response{ "account": { "account": "0x17eC161f126e82A8ba337f4022d574DBEaFef575", "account_value": "0", "instruments_traded": 0, "notional": "0", "pnl": "0", "roi": "0", "top_instrument_ids": [] }, "entries": [ { "account": "0x4c4f4d655B77c4d1cB4343AF6c54c2Ec8f4022b4", "account_value": "4017155.8523296651061676687065", "instruments_traded": 49, "notional": "1121262189.467157", "pnl": "649745.2956823579", "rank": 1, "roi": "0.185937", "top_instrument_ids": [ 7, 6, 21 ] }, { "account": "0x7930Ee98013FA1aEaC08872A88E677dc925aD132", "account_value": "4521590.5899138561624146568720", "instruments_traded": 54, "notional": "4482372490.336826", "pnl": "535233.0340918312", "rank": 2, "roi": "0.091154", "top_instrument_ids": [ 3, 5, 2 ] } ], "sort_by": "pnl", "timestamp": 1793282212475, "total": 33150, "window": "all" }