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

Market contract prices

Returns a WebSocket stream of contract prices for specified markets. This includes index price and mark price that are used by the exchange for settlement and risk management purposes. If you are falling behind (slow client) you will get warning message first, then error message and disconnection will happen.

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-contract-prices

Last updated

Was this helpful?