Sand AISand AI MAGI-2MAGI-2 ya está en SandBase: video en 1080p con audio nativoPruébalo ahora

Polymarket Trader Leaderboard

Documentación de la API
https://api.sandbase.ai/v1/api/polymarket/leaderboard

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

Precio
$0.012USD / llamada
Método
POST
Respuesta
JSON
Parámetros
0 obligatorios · 6 opcionales

Entorno de pruebas

Entrada
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. Rango: de 0 a 1000.
Opaque pagination cursor from a prior response's `next_cursor`.
SalidaListo

Su salida aparecerá aquí

Complete las entradas y luego haga clic en Ejecutar.

README de la API

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.

Explorar más

APIs relacionadas

Todas las APIs
APIPrecioRespuesta
Polymarket$0.012 por llamadaJSON
Polymarket$0.012 por llamadaJSON
Polymarket$0.012 por llamadaJSON
Polymarket$0.012 por llamadaJSON
Polymarket$0.012 por llamadaJSON
Polymarket$0.012 por llamadaJSON

Preguntas

FAQ

¿Cómo uso la API de Polymarket Trader Leaderboard?

Envía una solicitud POST a https://api.sandbase.ai/v1/api/polymarket/leaderboard con tu clave API de SandBase en el encabezado Authorization (Bearer) y los parámetros como un cuerpo JSON. También puedes probarlo en el Playground de esta página sin escribir código.

¿Cuánto cuesta la API de Polymarket Trader Leaderboard?

$0.012 por llamada, facturado desde tu saldo de SandBase. Solo se te cobra por las llamadas que haces; no hay suscripción.

¿Qué parámetros acepta la API de Polymarket Trader Leaderboard?

No se requieren parámetros. Opcionales: time_period (string), category (string), sort_by (string), user (string), limit (integer) y cursor (string). La tabla de Parámetros y el Playground de esta página enumeran todos los campos.

¿Qué devuelve la API de Polymarket Trader Leaderboard?

Una respuesta JSON devuelta en la misma solicitud HTTP (sincrónica). El README de esta página incluye una respuesta de ejemplo.

¿Necesito una cuenta de desarrollador o una clave API de Polymarket?

No. Polymarket Trader Leaderboard funciona a través de SandBase, así que una sola clave API de SandBase cubre este endpoint y todas las demás APIs y modelos del catálogo. No necesitas solicitar acceso a la API de Polymarket por separado.