idintegererforderlich
id
https://api.sandbase.ai/v1/api/polymarket/series-by-idGet series by id from Polymarket. Returns the official Polymarket API response unchanged.
Ihre Ausgabe wird hier angezeigt
Vervollständigen Sie die Eingaben und klicken Sie dann auf Ausführen.
Returns one Polymarket series by its numeric id. The response includes series details such as title, slug, recurrence and 24-hour volume, plus the events that belong to the series.
volume24hr and commentCount for a recurring series over time.slug values of a series to fetch each game's markets.curl -X POST "https://api.sandbase.ai/v1/api/polymarket/series-by-id" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"id": 1}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
id | integer | Yes | id |
include_chat | boolean | No | include_chat |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"$schema": "https://gamma-api.polymarket.com/schemas/Series.json",
"active": true,
"archived": false,
"closed": false,
"commentCount": 3097,
"commentsEnabled": false,
"competitive": "0",
"createdAt": "2022-10-13T00:34:06.557Z",
"createdBy": "15",
"description": "NFL",
"events": [
{
"active": true,
"archived": false,
"automaticallyActive": true,
"automaticallyResolved": true,
"closed": true,
"closedTime": "2025-01-13T06:11:35Z",
"commentCount": 3787,
"createdAt": "2025-01-06T06:01:35.357849Z",
"creationDate": "2025-01-13T01:00:00Z",
"cyom": false,
"deploying": false,
"description": "In the upcoming NFL game, scheduled for January 12 at 8:00PM ET:\nIf the Washingt…"
}
],
"featured": false
}
| Field | Meaning |
|---|---|
title / slug / ticker | Name and short identifiers of the series, for example NFL and nfl. |
recurrence / seriesType | How often the series repeats (for example daily) and its type (for example single). |
volume24hr | Trading volume figure for the series, as a number. |
commentCount | Number of comments on the series. |
active / closed / archived | Flags that show whether the series is live, closed or archived. |
events[].id / events[].slug | Identifier and slug of each event in the series. Use them to look up the event. |
events[].startTime / events[].endDate / events[].closedTime | Start time, scheduled end and actual close time of each event, as ISO 8601 timestamps. |
events[].score / events[].period / events[].eventWeek | Final score, game period (for example FT) and week number for a sports event. |
events[].openInterest / events[].commentCount | Open interest and comment count for each event. |
events[].tags[].label / events[].tags[].slug | Name and slug of each tag attached to an event. |
id is required. include_chat is an optional boolean.id values are strings in the response, for example "1" and "16407".slug.$0.00044 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Jetzt loslegen
Plattform-API-Endpunkt mit einheitlicher Authentifizierung und Nutzungsnachverfolgung.
curl -X POST "https://api.sandbase.ai/v1/api/polymarket/series-by-id" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"id": 1
}'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.
idintegererforderlichid
include_chatbooleaninclude_chat
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
| API | Preis | Antwort |
|---|---|---|
Polymarket Get series by idDiese API 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
Senden Sie eine POST-Anfrage an https://api.sandbase.ai/v1/api/polymarket/series-by-id 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.
$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.
Erforderlich: id (integer). Optional: include_chat (boolean). Die Parametertabelle und der Playground auf dieser Seite listen jedes Feld auf.
Eine JSON-Antwort, die in derselben HTTP-Anfrage zurückgegeben wird (synchron). Die README auf dieser Seite enthält eine Beispielantwort.
Nein. Polymarket Get series by id 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.