Polymarket Get valid sports market types
https://api.sandbase.ai/v1/api/polymarket/sports-market-typesGet valid sports market types from Polymarket. Returns the official Polymarket API response unchanged.
- Prezzo
- $0.00044USD / chiamata
- Metodo
- POST
- Risposta
- JSON
- Parametri
- 0 obbligatori · 0 opzionali
Playground
Il tuo output apparirà qui
Completa gli input, poi fai clic su Esegui.
README API
Polymarket Get valid sports market types API
Returns the list of valid sports market type strings on Polymarket. The call needs no input.
Use cases
- Build a filter menu of sports market types for a Polymarket sports dashboard.
- Check that a market type string is valid before you use it in another query.
- Track which sports market types Polymarket adds or removes by saving the list on a schedule.
- Keep a reference table of market type names for a sports analytics pipeline.
Request
curl -X POST "https://api.sandbase.ai/v1/api/polymarket/sports-market-types" \
-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.
{
"$schema": "https://gamma-api.polymarket.com/schemas/SportsMarketTypesResponse.json",
"marketTypes": [
"any_player_rampage"
]
}
Response fields
| Field | Meaning |
|---|---|
marketTypes | List of valid sports market type names. Each item is a snake_case string such as any_player_rampage, any_player_ultra_kill or anytime_touchdowns. |
marketTypes[] | One sports market type identifier. Use the exact string when you match or compare types. |
Notes
- The request body is an empty JSON object
{}. There are no parameters and no pagination. - Call Polymarket Get sports metadata information for metadata about the sports themselves.
- Call Polymarket List markets to list markets on Polymarket.
Pricing
$0.00044 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Inizia a costruire
Invia la tua prima richiesta
Endpoint API della piattaforma con autenticazione unificata e tracciamento dell'utilizzo.
curl -X POST "https://api.sandbase.ai/v1/api/polymarket/sports-market-types" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'2. Autenticazione
Imposta la tua SandBase API key nell'ambiente del server. Le richieste usano l'autenticazione Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conserva la tua key sul server. Non esporla nel codice del browser.
3. Parametri
Non è stato pubblicato alcuno schema dei parametri per questa API.
4. Risposta
Risposta di esempio salvata per questa API; durante la visualizzazione non viene eseguita alcuna richiesta live.
Nessuna risposta salvata è stata pubblicata. Esegui l'API in Playground per ispezionarne la risposta.
Esplora altro
API correlate
| API | Prezzo | Risposta |
|---|---|---|
Polymarket Get valid sports market typesQuesta API Polymarket | $0.00044 per chiamata | JSON |
Polymarket | $0.012 per chiamata | JSON |
Polymarket | $0.012 per chiamata | JSON |
Polymarket | $0.012 per chiamata | JSON |
Polymarket | $0.012 per chiamata | JSON |
Polymarket | $0.012 per chiamata | JSON |
Domande
FAQ
Come uso l'API Polymarket Get valid sports market types?
Invia una richiesta POST a https://api.sandbase.ai/v1/api/polymarket/sports-market-types con la tua chiave API di SandBase nell'header Authorization (Bearer) e i parametri nel body JSON. Puoi anche provarla nel Playground di questa pagina senza scrivere codice.
Quanto costa l'API Polymarket Get valid sports market types?
$0.00044 per chiamata. Ogni organizzazione riceve 100 chiamate gratuite al giorno UTC, condivise tra le API SandBase idonee, inclusa questa; dopo, ogni chiamata viene addebitata a questo prezzo dal tuo saldo SandBase. Non c'è alcun abbonamento.
Quali parametri accetta l'API Polymarket Get valid sports market types?
Polymarket Get valid sports market types non accetta parametri di input; invia un body JSON vuoto.
Cosa restituisce l'API Polymarket Get valid sports market types?
Una risposta JSON restituita nella stessa richiesta HTTP (sincrona). Il README di questa pagina include una risposta di esempio.
Mi serve un account sviluppatore o una chiave API Polymarket?
No. Polymarket Get valid sports market types funziona tramite SandBase, quindi una sola chiave API SandBase copre questo endpoint e tutte le altre API e modelli del catalogo. Non è necessario richiedere separatamente l'accesso alle API Polymarket.
