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.
- 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 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.
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-market-types" \
-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 valid sports market types API?
Senden Sie eine POST-Anfrage an https://api.sandbase.ai/v1/api/polymarket/sports-market-types 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 valid sports market types 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 valid sports market types API?
Polymarket Get valid sports market types benötigt keine Eingabeparameter; senden Sie einen leeren JSON-Body.
Was gibt die Polymarket Get valid sports market types 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 valid sports market types 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.
