idintegerобязательно
id
https://api.sandbase.ai/v1/api/polymarket/series-by-idGet series by id from Polymarket. Returns the official Polymarket API response unchanged.
Ваш результат появится здесь
Заполните входные данные, затем нажмите «Запустить».
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.
Начните разработку
Конечная точка платформенного API с единообразной аутентификацией и учётом использования.
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 в окружении сервера. Запросы используют аутентификацию Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Храните ключ на сервере. Не раскрывайте его в коде браузера.
idintegerобязательноid
include_chatbooleaninclude_chat
Сохранённый пример ответа для этого API; при просмотре живой запрос не выполняется.
Сохранённый ответ не опубликован. Запустите API в Playground, чтобы посмотреть его ответ.
Посмотреть больше
| API | Цена | Ответ |
|---|---|---|
Polymarket Get series by idЭтот API Polymarket | $0.00044 за запрос | JSON |
Polymarket | $0.012 за запрос | JSON |
Polymarket | $0.012 за запрос | JSON |
Polymarket | $0.012 за запрос | JSON |
Polymarket | $0.012 за запрос | JSON |
Polymarket | $0.012 за запрос | JSON |
Вопросы
Отправьте POST-запрос на https://api.sandbase.ai/v1/api/polymarket/series-by-id, указав ключ SandBase API в заголовке Authorization (Bearer), а параметры — в теле JSON. Вы также можете попробовать это в Playground на этой странице без написания кода.
$0.00044 за вызов. Каждой организации предоставляется 100 бесплатных вызовов в сутки по UTC, общих для всех подходящих API SandBase, включая этот; после этого каждый вызов тарифицируется по этой цене и списывается с баланса SandBase. Подписка не требуется.
Обязательные: id (integer). Необязательные: include_chat (boolean). В таблице Parameters и в Playground на этой странице перечислены все поля.
JSON-ответ, возвращаемый в том же HTTP-запросе (синхронно). В README на этой странице приведен пример ответа.
Нет. Polymarket Get series by id работает через SandBase, поэтому один API key SandBase покрывает этот endpoint и все остальные API и модели в каталоге. Вам не нужно отдельно запрашивать доступ к API Polymarket.