Get live volume
Endpoint
Section titled “Endpoint”GET /live-volume
Server: https://data.openfish.fun (port 3003)
Tags: Core
Reports cumulative trading volume for an event or market, broken out by individual underlying markets.
Parameters
Section titled “Parameters”| Name | In | Type | Description |
|---|---|---|---|
id | query | string | Required. Event ID or condition ID |
Response
Section titled “Response”200 — A JSON array containing a LiveVolume object.
[ { "total": "85000.25", "markets": [ { "market": "0xdef...", "value": "50000.00" }, { "market": "0xabc...", "value": "35000.25" } ] }]Example
Section titled “Example”curl "https://data.openfish.fun/live-volume?id=456"