获取事件实时成交量
Cumulative one-side (taker) volume per market.
Pass ?event_id= as a comma-separated list of integer event ids (aliases id / eventId); every market under those events is returned, taker_volume
descending, with taker_volume_total their sum. A list spans events. Unlike the
feeds this is not paginated; data is
the object with no pagination.
Unparseable ids are ignored; a request whose ids are all unparseable is a
400 rather than an empty 200, so a typo cannot read as “no volume”. Ids are
sorted and deduplicated before the lookup, so ?event_id=20,10 and
?event_id=10,20 are the same request and share a cache entry.
授权
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
查询参数
Event id(s), comma-separated. Required. event_id is the unified key
across v2 (same as the feeds); id and eventId are accepted aliases.
响应
Per-market taker volume for the requested event(s), plus taker_volume_total
{ "data": T }; the envelope for endpoints that don't paginate.
There is no pagination key: an aggregate or bounded list has no next page.
Paginated feeds return a *Page shape ({ data, pagination }) instead.
/v2/live-volume: one entry per market in the requested event(s), ordered
by taker_volume descending, plus taker_volume_total; their sum. Events
that resolve to no markets serve { taker_volume_total: 0.0, conditions: [] }.