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.
- Preço
- $0.00044USD / chamada
- Método
- POST
- Resposta
- JSON
- Parâmetros
- 0 obrigatórios · 0 opcionais
Playground
Sua saída aparecerá aqui
Preencha as entradas e clique em Executar.
README da 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.
Comece a construir
Envie sua primeira solicitação
Endpoint da API da plataforma com autenticação unificada e rastreamento de uso.
curl -X POST "https://api.sandbase.ai/v1/api/polymarket/sports" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'2. Autenticação
Defina sua chave da API SandBase no ambiente do seu servidor. As requisições usam autenticação Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Mantenha sua chave no servidor. Não a exponha em código do navegador.
3. Parâmetros
Nenhum schema de parâmetros foi publicado para esta API.
4. Resposta
Resposta de exemplo salva para esta API; nenhuma requisição ao vivo é feita ao visualizá-la.
Nenhuma resposta salva foi publicada. Execute a API no Playground para inspecionar a resposta.
Explorar mais
APIs relacionadas
| API | Preço | Resposta |
|---|---|---|
Polymarket | $0.00044 por chamada | JSON |
Polymarket | $0.012 por chamada | JSON |
Polymarket | $0.012 por chamada | JSON |
Polymarket | $0.012 por chamada | JSON |
Polymarket | $0.012 por chamada | JSON |
Polymarket | $0.012 por chamada | JSON |
Perguntas
FAQ
Como eu uso a API Polymarket Get sports metadata information?
Envie uma solicitação POST para https://api.sandbase.ai/v1/api/polymarket/sports com sua chave de API da SandBase no cabeçalho Authorization (Bearer) e os parâmetros no corpo JSON. Você também pode testar no Playground desta página sem escrever código.
Quanto custa a API Polymarket Get sports metadata information?
$0.00044 por chamada. Cada organização recebe 100 chamadas grátis por dia UTC, compartilhadas entre as APIs elegíveis da SandBase, incluindo esta; depois disso, cada chamada é cobrada nesse valor do seu saldo SandBase. Não há assinatura.
Quais parâmetros a API Polymarket Get sports metadata information aceita?
Polymarket Get sports metadata information não recebe parâmetros de entrada; envie um corpo JSON vazio.
O que a API Polymarket Get sports metadata information retorna?
Uma resposta JSON retornada na mesma solicitação HTTP (síncrona). O README desta página inclui um exemplo de resposta.
Preciso de uma conta de desenvolvedor Polymarket ou de uma chave de API?
Não. Polymarket Get sports metadata information funciona via SandBase, então uma única chave de API da SandBase cobre este endpoint e todas as outras APIs e modelos do catálogo. Você não precisa solicitar acesso à API do Polymarket separadamente.
