Sand AISand AI MAGI-2MAGI-2 hiện đã có trên SandBase: video 1080p với âm thanh gốcDùng thử ngay

Polymarket Live Event Volume

Tài liệu API
https://api.sandbase.ai/v1/api/polymarket/live-volume

Live taker volume for an event by event ID, in total and per market.

Giá
$0.00044USD / lượt gọi
Phương thức
POST
Phản hồi
JSON
Tham số
1 bắt buộc · 0 tùy chọn
100 lượt gọi miễn phí / ngày100 lượt gọi đầu tiên mỗi ngày miễn phí (chia sẻ theo tổ chức) · Đặt lại lúc 00:00 UTC. Sau đó tính phí theo mỗi lượt gọi.

Phòng thử nghiệm

Đầu vào
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.
Đầu raSẵn sàng

Đầu ra của bạn sẽ xuất hiện ở đây

Hoàn tất đầu vào, rồi nhấp Run.

README API

Polymarket Live Event Volume API

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.

Use cases

  • Track how much trading activity an event has attracted in total.
  • Rank the markets inside an event by taker_volume to find where trading is concentrated.
  • Compare several events side by side by sending up to 20 event IDs in one call.
  • Add a volume figure to a dashboard that already lists Polymarket events.

Request

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.

Parameters

NameTypeRequiredDescription
event_idstringYesEvent 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.

Example response

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
  }
}

Response fields

FieldMeaning
data.taker_volume_totalTotal taker volume for the event, summed across its markets.
data.conditions[]One entry per market (condition) in the event.
data.conditions[].condition_idIdentifier of the market condition. It is a hex string that starts with 0x.
data.conditions[].taker_volumeTaker volume for that single market.

Notes

Pricing

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

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
Polymarket$0.00044 mỗi lần gọiJSON
Polymarket$0.012 mỗi lần gọiJSON
Polymarket$0.012 mỗi lần gọiJSON
Polymarket$0.012 mỗi lần gọiJSON
Polymarket$0.012 mỗi lần gọiJSON
Polymarket$0.012 mỗi lần gọiJSON

Câu hỏi

FAQ

Làm thế nào để dùng API Polymarket Live Event Volume?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/polymarket/live-volume với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.

API Polymarket Live Event Volume có giá bao nhiêu?

$0.00044 mỗi lần gọi. Mỗi tổ chức được 100 lần gọi miễn phí mỗi ngày UTC, dùng chung cho các API SandBase đủ điều kiện, bao gồm API này; sau đó mỗi lần gọi sẽ được tính theo mức giá này từ số dư SandBase của bạn. Không có gói đăng ký.

API Polymarket Live Event Volume chấp nhận những tham số nào?

Bắt buộc: event_id (string). Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API Polymarket Live Event Volume trả về gì?

Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.

Tôi có cần tài khoản nhà phát triển hoặc API key của Polymarket không?

Không. Polymarket Live Event Volume chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của Polymarket.