Get open interest
Endpoint
Section titled “Endpoint”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.
Parameters
Section titled “Parameters”| Name | In | Type | Description |
|---|---|---|---|
market | query | string | Comma-separated condition IDs (optional; omit for all markets) |
Response
Section titled “Response”200 — A JSON array of OpenInterest objects.
[ { "market": "0xdef...", "value": "15000.50" }]Example
Section titled “Example”curl "https://data.openfish.fun/oi?market=0xdef123...,0xabc456..."