Skip to content

Get live volume

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.


NameInTypeDescription
idquerystringRequired. Event ID or condition ID

200 — A JSON array containing a LiveVolume object.

[
{
"total": "85000.25",
"markets": [
{
"market": "0xdef...",
"value": "50000.00"
},
{
"market": "0xabc...",
"value": "35000.25"
}
]
}
]

Terminal window
curl "https://data.openfish.fun/live-volume?id=456"