Polymarket Get sports metadata information
https://api.sandbase.ai/v1/api/polymarket/sportsGet sports metadata information from Polymarket. Returns the official Polymarket API response unchanged.
- Prix
- $0.00044USD / appel
- Méthode
- POST
- Réponse
- JSON
- Paramètres
- 0 obligatoires · 0 facultatifs
Bac à sable
Votre sortie apparaîtra ici
Complétez les entrées, puis cliquez sur Exécuter.
README de l'API
Polymarket Get sports metadata information API
Returns a list of sports and leagues that Polymarket supports, with one object per league. It needs no input. Each object holds the league name, a short sport code, an icon URL, and the tag and series IDs linked to that league.
Use cases
- Build a league picker for a sports betting dashboard from the
nameandimagefields. - Map each
sportcode to itsprimaryTagIdso you can filter Polymarket events by league. - Find the
seriesID of a league to look up its recurring games. - Track newly added leagues by sorting on
createdAt.
Request
curl -X POST "https://api.sandbase.ai/v1/api/polymarket/sports" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'
The result is returned in outputs[0].data.
Example response
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
[
{
"createdAt": "2026-08-07T21:41:19.879539Z",
"id": 630,
"image": "https://polymarket-upload.s3.us-east-2.amazonaws.com/league-icons/ufl.png",
"name": "UFL",
"ordering": "away",
"primaryTagId": 105925,
"resolution": "https://www.theufl.com/",
"series": "12553",
"sport": "ufl",
"tags": "1,100639,1186,105925"
}
]
Response fields
| Field | Meaning |
|---|---|
id | Numeric ID of the sports metadata entry. |
name | Display name of the league, such as UFL or Abu Dhabi T10 League. |
sport | Short lowercase code for the league, such as ufl or lmp. It also appears in the icon file name. |
image | URL of the league icon image. |
primaryTagId | Numeric ID of the main tag for this league. |
tags | Comma-separated string of tag IDs linked to this league. The first values 1 and 100639 appear in all three sample entries. |
series | ID of the series for this league. It is returned as a string. |
ordering | Value home or away in the sample. The response does not explain what it controls. |
resolution | URL of a web page for the league. The sample entries point to the league's own site. |
createdAt | ISO 8601 UTC timestamp for when the entry was created. |
Notes
- This API takes no parameters and returns the full list in one response, with no pagination.
tagsis one string, not a list. Split it on commas to get the individual tag IDs.- Use a
primaryTagIdortagsvalue with Polymarket List events to find events for a league. - Use Polymarket Get valid sports market types to see which sports market types exist, and Polymarket Get series by id to look up a
seriesvalue.
Pricing
$0.00044 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Commencer à construire
Envoyez votre première requête
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/sports" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'2. Authentification
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.
3. Paramètres
Aucun schéma de paramètres n'a été publié pour cette API.
4. Réponse
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
APIs associées
| API | Prix | Réponse |
|---|---|---|
Polymarket | $0.00044 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
FAQ
Comment utiliser l’API Polymarket Get sports metadata information ?
Envoyez une requête POST à https://api.sandbase.ai/v1/api/polymarket/sports 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.
Combien coûte l’API Polymarket Get sports metadata information ?
$0.00044 par appel. Chaque organisation bénéficie de 100 appels gratuits par jour UTC, partagés entre les API SandBase éligibles, y compris celle-ci ; au-delà, chaque appel est facturé à ce tarif depuis votre solde SandBase. Aucun abonnement.
Quels paramètres l’API Polymarket Get sports metadata information accepte-t-elle ?
Polymarket Get sports metadata information n’accepte aucun paramètre d’entrée ; envoyez un corps JSON vide.
Que renvoie l’API Polymarket Get sports metadata information ?
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.
Ai-je besoin d’un compte développeur ou d’une clé API Polymarket ?
Non. Polymarket Get sports metadata information 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.
