Skip to main content

Endpoint

GET https://api.marketdataset.ai/crypto/open-interest
Open interest (OI) is the total number of outstanding futures contracts. It measures market participation and conviction. Key patterns:
  • Rising OI + Rising price → Strong uptrend with new money entering
  • Rising OI + Falling price → Strong downtrend
  • Falling OI + Rising price → Short squeeze, potentially weak move
  • Falling OI + Falling price → Profit-taking, trend may be ending

Parameters

NameTypeRequiredDescription
symbolstringYesFutures symbol, e.g. BTCUSDT, ETHUSDT
exchangestringNoExchange (default: binance)
intervalstringNo5m, 1h, 1d (default: 1h)
start_datestringNoISO 8601 date
end_datestringNoISO 8601 date
limitintegerNoRecords to return (default: 100, max: 1000)
cursorstringNoPagination cursor

Credit cost

$0.010 per request

Example request

curl "https://api.marketdataset.ai/crypto/open-interest?symbol=BTCUSDT&interval=1h&limit=10" \
  -H "X-API-KEY: sk_your_key"

Example response

{
  "open_interest": [
    {
      "symbol": "BTCUSDT",
      "exchange": "binance",
      "interval": "1h",
      "open_interest": 84231.45,
      "open_interest_value": 5743821234.12,
      "timestamp": "2024-11-01T15:00:00+00:00"
    }
  ],
  "next_page_url": null,
  "meta": {
    "request_id": "req_abc123",
    "credits_used": 0.01,
    "credits_remaining": 49.99
  }
}

Fields

FieldDescription
open_interestTotal open contracts (in base currency, e.g. BTC)
open_interest_valueTotal open contracts value in USD