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.
- Preis
- $0.00044USD / Aufruf
- Methode
- POST
- Antwort
- JSON
- Parameter
- 0 erforderlich · 0 optional
Playground
Ihre Ausgabe wird hier angezeigt
Vervollständigen Sie die Eingaben und klicken Sie dann auf Ausführen.
API-README
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.
Jetzt loslegen
Senden Sie Ihre erste Anfrage
Plattform-API-Endpunkt mit einheitlicher Authentifizierung und Nutzungsnachverfolgung.
curl -X POST "https://api.sandbase.ai/v1/api/polymarket/sports" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'2. Authentifizierung
Legen Sie Ihren SandBase API-Schlüssel in Ihrer Serverumgebung fest. Anfragen verwenden Bearer-Authentifizierung.
export SANDBASE_API_KEY="YOUR_API_KEY"Bewahren Sie Ihren Schlüssel auf dem Server auf. Geben Sie ihn nicht in Browser-Code preis.
3. Parameter
Für diese API wurde kein Parameterschema veröffentlicht.
4. Antwort
Gespeicherte Beispielantwort für diese API; beim Anzeigen wird keine Live-Anfrage gesendet.
Es wurde keine gespeicherte Antwort veröffentlicht. Führen Sie die API in Playground aus, um die Antwort zu prüfen.
Mehr entdecken
Verwandte APIs
| API | Preis | Antwort |
|---|---|---|
Polymarket | $0.00044 pro Aufruf | JSON |
Polymarket | $0.012 pro Aufruf | JSON |
Polymarket | $0.012 pro Aufruf | JSON |
Polymarket | $0.012 pro Aufruf | JSON |
Polymarket | $0.012 pro Aufruf | JSON |
Polymarket | $0.012 pro Aufruf | JSON |
Fragen
FAQ
Wie verwende ich die Polymarket Get sports metadata information API?
Senden Sie eine POST-Anfrage an https://api.sandbase.ai/v1/api/polymarket/sports mit Ihrem SandBase API-Schlüssel im Authorization-Header (Bearer) und den Parametern als JSON-Body. Sie können das auch ohne Code direkt auf dieser Seite im Playground testen.
Was kostet die Polymarket Get sports metadata information API?
$0.00044 pro Aufruf. Jede Organisation erhält 100 kostenlose Aufrufe pro UTC-Tag, gemeinsam über alle berechtigten SandBase APIs einschließlich dieser hier; danach wird jeder Aufruf zu diesem Preis von Ihrem SandBase-Guthaben abgerechnet. Es gibt kein Abo.
Welche Parameter akzeptiert die Polymarket Get sports metadata information API?
Polymarket Get sports metadata information benötigt keine Eingabeparameter; senden Sie einen leeren JSON-Body.
Was gibt die Polymarket Get sports metadata information API zurück?
Eine JSON-Antwort, die in derselben HTTP-Anfrage zurückgegeben wird (synchron). Die README auf dieser Seite enthält eine Beispielantwort.
Benötige ich ein Polymarket-Entwicklerkonto oder einen API-Schlüssel?
Nein. Polymarket Get sports metadata information läuft über SandBase, daher deckt ein SandBase API-Schlüssel diesen Endpunkt und jede andere API sowie jedes Modell im Katalog ab. Sie müssen keinen separaten Zugang für Polymarket API beantragen.
