Sand AISand AI MAGI-2MAGI-2 jest teraz na SandBase: wideo 1080p z natywnym dźwiękiemWypróbuj teraz

Polymarket Get sports metadata information

Dokumentacja API
https://api.sandbase.ai/v1/api/polymarket/sports

Get sports metadata information from Polymarket. Returns the official Polymarket API response unchanged.

Cena
$0.00044USD / wywołanie
Metoda
POST
Odpowiedź
JSON
Parametry
0 wymaganych · 0 opcjonalnych
100 darmowych wywołań / dzieńPierwsze 100 wywołań dziennie za darmo (współdzielone w ramach organizacji) · Reset o 00:00 UTC. Później płatność za każde wywołanie.

Playground

Wejście
Brak dostępnego schematu wejścia
WyjścieGotowe

Twój wynik pojawi się tutaj

Uzupełnij dane wejściowe, a następnie kliknij Uruchom.

README 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 name and image fields.
  • Map each sport code to its primaryTagId so you can filter Polymarket events by league.
  • Find the series ID 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

FieldMeaning
idNumeric ID of the sports metadata entry.
nameDisplay name of the league, such as UFL or Abu Dhabi T10 League.
sportShort lowercase code for the league, such as ufl or lmp. It also appears in the icon file name.
imageURL of the league icon image.
primaryTagIdNumeric ID of the main tag for this league.
tagsComma-separated string of tag IDs linked to this league. The first values 1 and 100639 appear in all three sample entries.
seriesID of the series for this league. It is returned as a string.
orderingValue home or away in the sample. The response does not explain what it controls.
resolutionURL of a web page for the league. The sample entries point to the league's own site.
createdAtISO 8601 UTC timestamp for when the entry was created.

Notes

Pricing

$0.00044 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

Odkryj więcej

Powiązane APIs

Wszystkie APIs
APICenaOdpowiedź
Polymarket$0.00044 za wywołanieJSON
Polymarket$0.012 za wywołanieJSON
Polymarket$0.012 za wywołanieJSON
Polymarket$0.012 za wywołanieJSON
Polymarket$0.012 za wywołanieJSON
Polymarket$0.012 za wywołanieJSON

Pytania

FAQ

Jak używać API Polymarket Get sports metadata information?

Wyślij żądanie POST do https://api.sandbase.ai/v1/api/polymarket/sports z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.

Ile kosztuje API Polymarket Get sports metadata information?

$0.00044 za wywołanie. Każda organizacja otrzymuje 100 bezpłatnych wywołań na dzień UTC, współdzielonych między kwalifikującymi się API SandBase, w tym to; potem każde wywołanie jest rozliczane według tej stawki z salda SandBase. Nie ma subskrypcji.

Jakie parametry przyjmuje API Polymarket Get sports metadata information?

Polymarket Get sports metadata information nie przyjmuje żadnych parametrów wejściowych; wyślij pustą treść JSON.

Co zwraca API Polymarket Get sports metadata information?

Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie). README na tej stronie zawiera przykładową odpowiedź.

Czy potrzebuję konta deweloperskiego Polymarket lub klucza API?

Nie. Polymarket Get sports metadata information działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API Polymarket.