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.
Votre sortie apparaîtra ici
Complétez les entrées, puis cliquez sur Exécuter.
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.
Commencer à construire
Point de terminaison de l'API de la plateforme avec authentification unifiée et suivi de l'utilisation.
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
}'Définissez votre clé API SandBase dans l'environnement de votre serveur. Les requêtes utilisent l'authentification Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conservez votre clé côté serveur. Ne l'exposez pas dans le code du navigateur.
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`.
Exemple de réponse enregistré pour cette API ; aucune requête en direct n'est effectuée lors de l'affichage.
Aucune réponse enregistrée n'a été publiée. Exécutez l'API dans Playground pour inspecter sa réponse.
Explorer plus
| API | Prix | Réponse |
|---|---|---|
Polymarket Builders LeaderboardCette API Polymarket | $0.012 par appel | JSON |
Polymarket | $0.012 par appel | JSON |
Polymarket | $0.012 par appel | JSON |
Polymarket | $0.012 par appel | JSON |
Polymarket | $0.012 par appel | JSON |
Polymarket | $0.012 par appel | JSON |
Questions
Envoyez une requête POST à https://api.sandbase.ai/v1/api/polymarket/builders-leaderboard avec votre clé API SandBase dans l’en-tête Authorization (Bearer) et les paramètres dans un corps JSON. Vous pouvez aussi l’essayer dans le Playground sur cette page sans écrire de code.
$0.012 par appel, facturé depuis votre solde SandBase. Vous ne payez que les appels que vous effectuez ; aucun abonnement.
Aucun paramètre n’est requis. Facultatif : time_period (string), limit (integer) et cursor (string). Le tableau des paramètres et le Playground sur cette page listent tous les champs.
Une réponse JSON renvoyée dans la même requête HTTP (synchrone). Le README sur cette page inclut un exemple de réponse.
Non. Polymarket Builders Leaderboard fonctionne via SandBase, donc une seule clé API SandBase couvre ce point de terminaison ainsi que toutes les autres API et tous les modèles du catalogue. Vous n’avez pas besoin de demander un accès API Polymarket séparément.