idintegerrequerido
id
https://api.sandbase.ai/v1/api/polymarket/series-by-idGet series by id from Polymarket. Returns the official Polymarket API response unchanged.
Su salida aparecerá aquí
Complete las entradas y luego haga clic en Ejecutar.
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.
Empiece a construir
Endpoint de la API de la plataforma con autenticación unificada y seguimiento de uso.
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
}'Configure su clave de API de SandBase en el entorno de su servidor. Las solicitudes usan autenticación Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conserve su clave en el servidor. No la exponga en código del navegador.
idintegerrequeridoid
include_chatbooleaninclude_chat
Respuesta de ejemplo guardada para esta API; no se realiza ninguna solicitud en vivo al verla.
No se ha publicado ninguna respuesta guardada. Ejecute la API en Playground para inspeccionar su respuesta.
Explorar más
| API | Precio | Respuesta |
|---|---|---|
Polymarket Get series by idEsta API Polymarket | $0.00044 por llamada | JSON |
Polymarket | $0.012 por llamada | JSON |
Polymarket | $0.012 por llamada | JSON |
Polymarket | $0.012 por llamada | JSON |
Polymarket | $0.012 por llamada | JSON |
Polymarket | $0.012 por llamada | JSON |
Preguntas
Envía una solicitud POST a https://api.sandbase.ai/v1/api/polymarket/series-by-id con tu clave API de SandBase en el encabezado Authorization (Bearer) y los parámetros como un cuerpo JSON. También puedes probarlo en el Playground de esta página sin escribir código.
$0.00044 por llamada. Cada organización obtiene 100 llamadas gratis por día UTC, compartidas entre las APIs elegibles de SandBase, incluida esta; después, cada llamada se factura a este precio desde tu saldo de SandBase. No hay suscripción.
Requeridos: id (integer). Opcionales: include_chat (boolean). La tabla de Parámetros y el Playground de esta página enumeran todos los campos.
Una respuesta JSON devuelta en la misma solicitud HTTP (sincrónica). El README de esta página incluye una respuesta de ejemplo.
No. Polymarket Get series by id funciona a través de SandBase, así que una sola clave API de SandBase cubre este endpoint y todas las demás APIs y modelos del catálogo. No necesitas solicitar acceso a la API de Polymarket por separado.