Sand AISand AI MAGI-2MAGI-2 が SandBase に登場しました: ネイティブ音声付き 1080p 動画今すぐ試す

Polymarket List events

APIドキュメント
https://api.sandbase.ai/v1/api/polymarket/events

List events with offset based pagination and filter parameters.

料金
$0.00044USD / 回
メソッド
POST
レスポンス
JSON
パラメータ
必須 0 件 · 任意 26 件
毎日 100 回まで無料1日あたり最初の 100 回は無料です(組織内で共有)· 00:00 UTC にリセットされます。それ以降は従量課金です。

プレイグラウンド

入力
active
archived
ascending
Filter by closed state. Omitted includes open and closed events. Use true for closed events, false for open events, or any (case-insensitive) for both states. Unlike markets, any does not require an identifier filter. Invalid closed values return 422.
cyom
end_date_max
end_date_min
exclude_tag_id
id
include_chat
include_template
limit 最小: 0。
liquidity_max
liquidity_min
offset 最小: 0。
Comma-separated list of fields to order by
recurrence
slug
start_date_max
start_date_min
tag_id
tag_slug
volume_max
volume_min
出力準備完了

出力はここに表示されます

入力を完了してから[実行]をクリックしてください。

API README

Polymarket List events API

Returns a list of Polymarket events, each with its nested markets, series and tags. All inputs are optional filters, such as active, closed, tag_slug, slug, volume_min and end_date_max, plus limit and offset for paging.

Use cases

  • Pull all open events under one tag, such as sports, and sort them by volume or liquidity.
  • Find events by slug or id and read the markets inside each one.
  • Track events that belong to a recurring series such as the NBA.
  • Build a list of closed events in a date range for backtesting.

Request

curl -X POST "https://api.sandbase.ai/v1/api/polymarket/events" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"limit": 1, "active": true}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
activebooleanNoactive
archivedbooleanNoarchived
ascendingbooleanNoascending
closedbooleanNoFilter by closed state. Omitted includes open and closed events. Use true for closed events, false for open events, or any (case-insensitive) for both states. Unlike markets, any does not require an identifier filter. In
cyombooleanNocyom
end_date_maxstringNoend_date_max
end_date_minstringNoend_date_min
exclude_tag_idarrayNoexclude_tag_id
featuredbooleanNofeatured
idarrayNoid
include_chatbooleanNoinclude_chat
include_templatebooleanNoinclude_template
limitintegerNolimit
liquidity_maxnumberNoliquidity_max
liquidity_minnumberNoliquidity_min
offsetintegerNooffset
orderstringNoComma-separated list of fields to order by
recurrencestringNorecurrence
related_tagsbooleanNorelated_tags
slugarrayNoslug
start_date_maxstringNostart_date_max
start_date_minstringNostart_date_min
tag_idintegerNotag_id
tag_slugstringNotag_slug
volume_maxnumberNovolume_max
volume_minnumberNovolume_min

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

[
  {
    "active": true,
    "archived": false,
    "category": "Sports",
    "closed": true,
    "closedTime": "2022-07-27T14:40:02.074Z",
    "commentCount": 8128,
    "competitive": 0,
    "createdAt": "2022-07-27T14:40:02.074Z",
    "creationDate": "2021-12-04T00:00:00Z",
    "cyom": false,
    "deploying": false,
    "description": "In the upcoming NBA game, scheduled for December 4:\n\nIf the Dallas Mavericks win…"
  }
]

Response fields

FieldMeaning
id / slug / tickerIdentifiers for the event. id is a string, and slug is the text used in the event URL.
title / description / categoryThe event name, its resolution rules in text, and a category label such as Sports.
active / closed / archivedState flags for the event. In the sample, active and closed are both true, so do not assume active means open.
startDate / endDate / closedTimeEvent start and end times, and the time the event closed, as ISO 8601 timestamps.
commentCountNumber of comments on the event.
liquidity / openInterestNumeric liquidity and open interest values for the event.
resolutionSourceURL of the source named for resolving the event.
markets[]The markets inside the event. Each one has its own id, conditionId, endDate, bestBid, bestAsk, lastTradePrice and closed state.
markets[].clobTokenIdsA JSON string holding the token IDs for the market outcomes.
series[].slug / series[].title / series[].recurrenceThe series the event belongs to, its name, and how often it recurs, such as daily.
tags[].id / tags[].label / tags[].slugTags on the event. Use id with tag_id and slug with tag_slug to filter.

Notes

Pricing

$0.00044 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

さらに探索

関連 APIs

すべての APIs
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

質問

FAQ

Polymarket List events API はどのように使いますか?

Authorization ヘッダー(Bearer)に SandBase API key を指定し、パラメータを JSON ボディで送信して https://api.sandbase.ai/v1/api/polymarket/events に POST リクエストを送ります。このページの Playground で、コードを書かずに試すこともできます。

Polymarket List events API の料金はいくらですか?

1回あたり $0.00044。各組織には UTC 日ごとに 100 回の無料呼び出しが付与され、この API を含む対象の SandBase API 全体で共有されます。それ以降は、各呼び出しが SandBase 残高からこの料金で課金されます。サブスクリプションはありません。

Polymarket List events API はどのパラメータを受け付けますか?

必須パラメータはありません。 任意: active (boolean), archived (boolean), ascending (boolean), closed(any のいずれか), cyom (boolean) と end_date_max (string) と他 20 件。 このページの Parameters テーブルと Playground に、すべてのフィールドが一覧表示されています。

Polymarket List events API は何を返しますか?

同じ HTTP リクエスト内で返される JSON レスポンスです(同期)。 このページの README にサンプルレスポンスがあります。

Polymarket の開発者アカウントまたは API key は必要ですか?

いいえ。Polymarket List events は SandBase 経由で動作するため、SandBase の API key 1つでこのエンドポイントと、カタログ内の他のすべての API とモデルを利用できます。Polymarket の API アクセスを別途申請する必要はありません。