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.
- Cena
- $0.00044USD / wywołanie
- Metoda
- POST
- Odpowiedź
- JSON
- Parametry
- 0 wymaganych · 0 opcjonalnych
Playground
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
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.
Zacznij tworzyć
Wyślij pierwsze żądanie
Punkt końcowy API platformy z jednolitym uwierzytelnianiem i śledzeniem użycia.
curl -X POST "https://api.sandbase.ai/v1/api/polymarket/sports" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'2. Uwierzytelnianie
Ustaw klucz API SandBase w środowisku serwera. Żądania używają uwierzytelniania Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Przechowuj klucz na serwerze. Nie ujawniaj go w kodzie przeglądarkowym.
3. Parametry
Nie opublikowano schematu parametrów dla tego API.
4. Odpowiedź
Zapisany przykładowy response dla tego API; podczas wyświetlania nie jest wykonywane żadne żądanie na żywo.
Nie opublikowano zapisanego response. Uruchom API w Playground, aby sprawdzić jego odpowiedź.
Odkryj więcej
Powiązane APIs
| API | Cena | Odpowiedź |
|---|---|---|
Polymarket | $0.00044 za wywołanie | JSON |
Polymarket | $0.012 za wywołanie | JSON |
Polymarket | $0.012 za wywołanie | JSON |
Polymarket | $0.012 za wywołanie | JSON |
Polymarket | $0.012 za wywołanie | JSON |
Polymarket | $0.012 za wywołanie | JSON |
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.
