event_idstring必須
Event id(s), comma-separated (at most 20 distinct values). Required. `event_id` is the unified key across v2 (same as the feeds); `id` and `eventId` are accepted aliases.
https://api.sandbase.ai/v1/api/polymarket/live-volumeLive taker volume for an event by event ID, in total and per market.
出力はここに表示されます
入力を完了してから[実行]をクリックしてください。
Returns the live taker volume for one or more Polymarket events. The response gives a total for the event and a volume figure for each market (condition) inside it. The only input is event_id.
taker_volume to find where trading is concentrated.curl -X POST "https://api.sandbase.ai/v1/api/polymarket/live-volume" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"event_id": "1262243"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
event_id | string | Yes | Event id(s), comma-separated (at most 20 distinct values). Required. event_id is the unified key across v2 (same as the feeds); id and eventId are accepted aliases. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"data": {
"conditions": [
{
"condition_id": "0xa32317ba83c3c83dc43ef260c3744c22ed8000db53d30bc09372c45cff5fb07a",
"taker_volume": 5836737.706408
}
],
"taker_volume_total": 61577729.177805
}
}
| Field | Meaning |
|---|---|
data.taker_volume_total | Total taker volume for the event, summed across its markets. |
data.conditions[] | One entry per market (condition) in the event. |
data.conditions[].condition_id | Identifier of the market condition. It is a hex string that starts with 0x. |
data.conditions[].taker_volume | Taker volume for that single market. |
event_id accepts several IDs separated by commas, with at most 20 distinct values. id and eventId work as aliases.$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/live-volume" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"event_id": "1262243"
}'SandBaseのAPIキーをサーバー環境に設定してください。リクエストはBearer認証を使用します。
export SANDBASE_API_KEY="YOUR_API_KEY"キーはサーバー側で管理してください。ブラウザコードに公開しないでください。
event_idstring必須Event id(s), comma-separated (at most 20 distinct values). Required. `event_id` is the unified key across v2 (same as the feeds); `id` and `eventId` are accepted aliases.
この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 |
質問
Authorization ヘッダー(Bearer)に SandBase API key を指定し、パラメータを JSON ボディで送信して https://api.sandbase.ai/v1/api/polymarket/live-volume に POST リクエストを送ります。このページの Playground で、コードを書かずに試すこともできます。
1回あたり $0.00044。各組織には UTC 日ごとに 100 回の無料呼び出しが付与され、この API を含む対象の SandBase API 全体で共有されます。それ以降は、各呼び出しが SandBase 残高からこの料金で課金されます。サブスクリプションはありません。
必須: event_id (string)。 このページの Parameters テーブルと Playground に、すべてのフィールドが一覧表示されています。
同じ HTTP リクエスト内で返される JSON レスポンスです(同期)。 このページの README にサンプルレスポンスがあります。
いいえ。Polymarket Live Event Volume は SandBase 経由で動作するため、SandBase の API key 1つでこのエンドポイントと、カタログ内の他のすべての API とモデルを利用できます。Polymarket の API アクセスを別途申請する必要はありません。