idintegerwajib
id
https://api.sandbase.ai/v1/api/polymarket/series-by-idGet series by id from Polymarket. Returns the official Polymarket API response unchanged.
Output Anda akan muncul di sini
Lengkapi input, lalu klik Run.
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.
Mulai membangun
Endpoint API platform dengan autentikasi dan pelacakan penggunaan terpadu.
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
}'Atur SandBase API key Anda di environment server Anda. Permintaan menggunakan autentikasi Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Simpan key Anda di server. Jangan tampilkan di kode browser.
idintegerwajibid
include_chatbooleaninclude_chat
Contoh respons yang disimpan untuk API ini; tidak ada permintaan langsung yang dibuat saat melihatnya.
Belum ada respons tersimpan yang dipublikasikan. Jalankan API di Playground untuk melihat responsnya.
Jelajahi lebih lanjut
| API | Harga | Respons |
|---|---|---|
Polymarket Get series by idAPI ini Polymarket | $0.00044 per panggilan | JSON |
Polymarket | $0.012 per panggilan | JSON |
Polymarket | $0.012 per panggilan | JSON |
Polymarket | $0.012 per panggilan | JSON |
Polymarket | $0.012 per panggilan | JSON |
Polymarket | $0.012 per panggilan | JSON |
Pertanyaan
Kirim permintaan POST ke https://api.sandbase.ai/v1/api/polymarket/series-by-id dengan kunci API SandBase Anda di header Authorization (Bearer) dan parameter sebagai body JSON. Anda juga dapat mencobanya di Playground di halaman ini tanpa menulis kode.
$0.00044 per panggilan. Setiap organisasi mendapat 100 panggilan gratis per hari UTC, dibagi di seluruh API SandBase yang memenuhi syarat termasuk yang ini; setelah itu setiap panggilan ditagihkan dengan harga ini dari saldo SandBase Anda. Tidak ada langganan.
Wajib: id (integer). Opsional: include_chat (boolean). Tabel Parameters dan Playground di halaman ini mencantumkan setiap field.
Respons JSON yang dikembalikan dalam permintaan HTTP yang sama (sinkron). README di halaman ini menyertakan contoh respons.
Tidak. Polymarket Get series by id berjalan melalui SandBase, jadi satu kunci API SandBase mencakup endpoint ini dan setiap API serta model lain di katalog. Anda tidak perlu mendaftar akses API Polymarket secara terpisah.