Skip to content

Get open interest

GET /oi

Server: https://data.openfish.fun (port 3003)

Tags: Core

Reports the open interest — the total value locked in outstanding positions — for one or more markets.


NameInTypeDescription
marketquerystringComma-separated condition IDs (optional; omit for all markets)

200 — A JSON array of OpenInterest objects.

[
{
"market": "0xdef...",
"value": "15000.50"
}
]

Terminal window
curl "https://data.openfish.fun/oi?market=0xdef123...,0xabc456..."