Skip to main content
GET
/
options
/
oi
/
by-expiry
Call/put OI per expiry
curl --request GET \
  --url https://api.example.com/options/oi/by-expiry \
  --header 'X-API-Key: <api-key>'
{
  "success": false,
  "error": {
    "code": "UNAUTHORIZED",
    "message": "Invalid API key"
  },
  "meta": {
    "version": "2.0",
    "timestamp": "2026-04-29T12:00:00Z"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.backquant.com/llms.txt

Use this file to discover all available pages before exploring further.

Open interest aggregated by expiration with calls and puts split. ?weekly_only=true excludes monthly + quarterly anchors.

See also

OPEX calendar

Authorizations

X-API-Key
string
header
required

Your BackQuant API key (same key as v1)

Headers

X-API-Key
string | null

Query Parameters

symbol
enum<string>
default:BTCUSDT

Trading symbol: BTCUSDT, ETHUSDT, SOLUSDT, or HYPEUSDT.

Available options:
BTCUSDT,
ETHUSDT,
SOLUSDT,
HYPEUSDT
exchanges
string | null

Comma-separated venue filter

dte_min
integer | null

DTE lower bound

Required range: 0 <= x <= 720
dte_max
integer | null

DTE upper bound

Required range: 0 <= x <= 720
weekly_only
boolean
default:false

Exclude monthly + quarterly anchors (last-Friday-of-month).

Response

Successful Response