ascendingboolean
ascending
https://api.sandbase.ai/v1/api/polymarket/seriesList series from Polymarket. Returns the official Polymarket API response unchanged.
您的輸出會顯示在這裡
完成輸入後,點擊執行。
Returns a list of Polymarket series, such as the NFL, with each series' metadata, recurrence, 24-hour volume and the events that belong to it. All parameters are optional, so you can call it with no input or filter by slug, closed, recurrence or category.
volume24hr to see which recurring markets draw the most trading right now.slug to get its id for a follow-up call.curl -X POST "https://api.sandbase.ai/v1/api/polymarket/series" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"limit": 1}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
ascending | boolean | No | ascending |
categories_ids | array | No | categories_ids |
categories_labels | array | No | categories_labels |
closed | boolean | No | closed |
exclude_events | boolean | No | exclude_events |
include_chat | boolean | No | include_chat |
limit | integer | No | limit |
offset | integer | No | offset |
order | string | No | Comma-separated list of fields to order by |
recurrence | string | No | recurrence |
slug | array | No | slug |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
[
{
"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,
"id": "1"
}
]
| Field | Meaning |
|---|---|
id / slug / ticker / title | Identifiers and name of the series. In the example, id is 1, slug and ticker are nfl, and title is NFL. |
recurrence / seriesType | How often the series repeats (for example daily) and its type (for example single). |
active / closed / archived / featured | Status flags for the series. |
volume24hr | Trading volume number for the series over 24 hours, as reported by Polymarket. |
commentCount | Number of comments on the series. |
events[].id / events[].slug / events[].seriesSlug | Identifier and slug of each event in the series, and the slug of the series it belongs to. |
events[].eventDate / events[].startTime / events[].endDate | Date of the game and the start and end timestamps of the event. |
events[].score / events[].period / events[].ended | Final score as a text string such as 23-20, the game period (for example FT), and whether the game has ended. |
events[].closed / events[].closedTime | Whether the event's markets are closed and when they closed. |
events[].tags[].label / events[].tags[].slug | Names and slugs of the tags attached to each event, such as Sports or NFL (All). |
limit and offset. Use order and ascending to control sorting.exclude_events to true to leave out the nested events list.$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" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"limit": 1
}'請將您的 SandBase API 金鑰設定在伺服器環境中。請求使用 Bearer 驗證。
export SANDBASE_API_KEY="YOUR_API_KEY"請將金鑰保留在伺服器端,不要在瀏覽器程式碼中公開。
ascendingbooleanascending
categories_idsarraycategories_ids
categories_labelsarraycategories_labels
closedbooleanclosed
exclude_eventsbooleanexclude_events
include_chatbooleaninclude_chat
limitintegerlimit
offsetintegeroffset
orderstringComma-separated list of fields to order by
recurrencestringrecurrence
slugarrayslug
這是此 API 的已儲存範例回應;檢視時不會發出即時請求。
尚未發布已儲存回應。請在 Playground 中執行 API 以檢視其回應。
探索更多
| 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 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/polymarket/series。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。
每次 $0.00044。每個組織每個 UTC 日可免費呼叫 100 次,並可在包含此 API 在內的所有符合資格之 SandBase APIs 間共用;超過後,每次呼叫都會從您的 SandBase 餘額中以此價格計費。沒有訂閱方案。
不需要任何參數。 選填:ascending (boolean), categories_ids (array), categories_labels (array), closed (boolean), exclude_events (boolean) 和 include_chat (boolean),以及另外 5 個。 本頁的 Parameters 表格與 Playground 會列出每個欄位。
在同一個 HTTP 請求中回傳的 JSON 回應(同步)。 本頁的 README 包含範例回應。
不需要。Polymarket List series 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 Polymarket API 存取權。