idintegerzorunlu
id
https://api.sandbase.ai/v1/api/polymarket/series-by-idGet series by id from Polymarket. Returns the official Polymarket API response unchanged.
Çıktınız burada görünecek
Girdileri tamamlayın, ardından Çalıştır'a tıklayın.
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.
Geliştirmeye başlayın
Birleşik kimlik doğrulama ve kullanım takibi sunan Platform API uç noktası.
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
}'SandBase API anahtarınızı sunucu ortamınıza ayarlayın. İstekler Bearer kimlik doğrulaması kullanır.
export SANDBASE_API_KEY="YOUR_API_KEY"Anahtarınızı sunucuda tutun. Tarayıcı kodunda açığa çıkarmayın.
idintegerzorunluid
include_chatbooleaninclude_chat
Bu API için kaydedilmiş örnek yanıt; görüntülerken canlı istek yapılmaz.
Yayınlanmış bir kaydedilmiş yanıt yok. Yanıtını incelemek için API'yi Playground'da çalıştırın.
Daha fazlasını keşfedin
| API | Fiyat | Yanıt |
|---|---|---|
Polymarket | $0.00044 çağrı başına | JSON |
Polymarket | $0.012 çağrı başına | JSON |
Polymarket | $0.012 çağrı başına | JSON |
Polymarket | $0.012 çağrı başına | JSON |
Polymarket | $0.012 çağrı başına | JSON |
Polymarket | $0.012 çağrı başına | JSON |
Sorular
SandBase API anahtarınızı Authorization başlığında (Bearer) ve parametreleri JSON gövdesi olarak ile https://api.sandbase.ai/v1/api/polymarket/series-by-id adresine bir POST isteği gönderin. Ayrıca bu sayfadaki Playground’da kod yazmadan da deneyebilirsiniz.
çağrı başına $0.00044. Her kuruluş, UTC günü başına 100 ücretsiz çağrı alır; bu hak, bu API dahil uygun SandBase API'leri arasında ortaktır. Sonrasında her çağrı, SandBase bakiyenizden bu fiyat üzerinden ücretlendirilir. Abonelik yoktur.
Gerekli: id (integer). İsteğe bağlı: include_chat (boolean). Parametreler tablosu ve bu sayfadaki Playground, tüm alanları listeler.
Aynı HTTP isteğinde döndürülen bir JSON yanıtı (senkron). Bu sayfadaki README'de örnek bir yanıt yer alır.
Hayır. Polymarket Get series by id, SandBase üzerinden çalışır; bu nedenle tek bir SandBase API anahtarı bu uç noktayı ve katalogdaki diğer tüm API'leri ve modelleri kapsar. Polymarket API erişimi için ayrıca başvuru yapmanız gerekmez.