Skip to main content

Open Interest

Current open interest for a futures symbol. Passthrough of Binance USDⓈ-M Futures /fapi/v1/openInterest.

Endpoint

GET /fapi/v1/openInterest

Authentication: Public.

Query parameters

NameTypeRequiredDefaultNotes
symbolstringYesUppercase futures symbol.
periodstringNo5mForwarded to Binance. Effective values match Binance's accepted periods (5m, 15m, 30m, 1h, 2h, 4h, 6h, 12h, 1d).
limitintegerNo10Forwarded to Binance.

Note: Binance's official /fapi/v1/openInterest endpoint accepts only symbol (returns the latest snapshot). The period and limit parameters are forwarded but may be ignored by the upstream. For historical series use /openInterestHist.

Response — 200 OK

{
"symbol": "BTCUSDT",
"openInterest": "12345.678",
"time": 1745920800000
}

Errors

HTTPCause
422Missing symbol.
502Upstream Binance request failed.

Example

curl -s "https://api.pipai.org/fapi/v1/openInterest?symbol=BTCUSDT"