For the complete documentation index, see llms.txt. This page is also available as Markdown.

Market open interest

Returns a WebSocket stream of open interests for specified markets. If you are falling behind (slow client) you will get warning message first, then error message and disconnection will happen. Note: The value_usd field in this endpoint was previously calculated using hardcoded logic that no longer reflects current contract specifications across all exchanges. To address this, we have deprecated the value_usd field and introduced new, more accurate metrics available via the /timeseries/market-metrics endpoint. These two metrics should be used as a replacement for the value_usd field going forward: - open_interest_reported_future_usd to represent the notional value of open interest in U.S. dollars for futures markets - open_interest_reported_option_notional_usd to represent the notional value of open interest in U.S. dollars for options markets We also introduced open_interest_reported_option_market_value_usd to represent the market value of open interest in U.S. dollars for options markets.

get
Authorizations
api_keystringRequired

Coin Metrics API key can be specified as ?api_key= query parameter.

Query parameters
marketsstring[]Required

Comma separated list of markets or market patterns like exchange-* or exchange-*-spot or *USDT-future.
Use a corresponding /catalog-all-v2/market-{dataType} endpoint for the full list of supported markets for a given data type.

backfillstring · enumOptional

What data should be sent upon a connection.
By default the latest values are sent just before real-time data.

Default: latestPossible values:
prettybooleanOptional

Human-readable formatting of JSON responses.

Default: false
Responses
401

Requested resource requires authorization.

application/json
get/timeseries-stream/market-openinterest

Last updated

Was this helpful?