Skip to navigation

Search and list instruments

The instruments this environment serves, searched and filtered, sorted by symbol unless sort says otherwise. search matches word prefixes of the symbol; symbol looks up exact symbols, at most 100 per call. Page with limit and cursor; include adds the exact total, the facets behind the filter panels, or each row’s ticker.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Query parameters

searchstringOptional

Case-insensitive word prefixes, matched against the symbol's tokens, the venue's own symbol, the type and the id: btc usdt matches OKX@BTC/USDT:USDT, perp matches every perpetual swap.

symbolstringOptional

Only these symbols, case-insensitive, at most 100; repeat the parameter or comma-separate. A symbol that does not exist is simply absent from the page.

venueIdstringOptional

Only these venue ids; repeat the parameter or comma-separate.

venueId.notInstringOptional
Every venue except these ids.
venuestringOptional

Only these venues, by code (okx, binance_usd-m), case-insensitive. A code no venue has matches nothing.

typestringOptional

Only these types: SPOT, FUTURES, INVERSE_FUTURES, QUANTO_FUTURES, PERPETUAL_SWAP, INVERSE_PERPETUAL_SWAP, QUANTO_PERPETUAL_SWAP, OPTION, INVERSE_OPTION, INDEX, or another type an instrument has. Any other value is 400.

statusstringOptional

Only these statuses: LISTED, OPEN, SUSPENDED, SETTLED, DELISTED, or another status an instrument has; any other value is 400. No default: send status=OPEN for the markets trading now.

baseAssetIdstringOptional
Only these base asset ids.
baseAssetstringOptional

Only these base assets, by symbol (BTC), case-insensitive. A symbol no asset has matches nothing.

quoteAssetIdstringOptional
Only these quote asset ids.
quoteAssetstringOptional

Only these quote assets, by symbol (USDT), case-insensitive. A symbol no asset has matches nothing.

sortstringOptional

Comma-separated symbol, instrumentId, type, listedAtNs, expiresAtNs, lastPx, pctChange24h, volume24h or turnover24h; prefix - for descending. Default symbol. Absent values sort last in both directions: a time a row does not state, the statistics of an instrument that has never traded, a 24-hour statistic whose window is still warming, and any statistic the projection cannot state, such as a turnover it has no price to value.

limitintegerOptional

Page size, 1-100; larger values are clamped. Default 50.

cursorstringOptional

nextCursor or prevCursor from a previous page, sent with the same filters and sort.

includestringOptional

total adds the exact count; facets adds counts per venue, type, base and quote asset; ticker adds each row's latest statistics.

Response

A page of instruments.
asOfSeqTsNsstring or nullformat: "^[0-9]+$"

The sequencer timestamp (epoch-ns) the data is complete through; also sent as X-Immix-As-Of-Seq-Ts. Null when unknown.

facetsobject or null

Counts of matching instruments per dimension, null unless include=facets. Each dimension is counted under the request's filters minus that dimension's own filter, so a filter panel keeps showing the alternatives to the choice made in it. Each value is what the matching filter takes: venues feeds venueId, types feeds type, baseAssets feeds baseAssetId and quoteAssets feeds quoteAssetId. Values with no matches are omitted; counts sort descending.

itemslist of objects
nextCursorstring or null

Pass as cursor for the next page. Null on the last page.

prevCursorstring or null

Pass as cursor for the previous page. Null on the first page.

totalinteger or null

Exact count matching the filter. Null unless include=total.

Errors

400
List Instruments Request Bad Request Error
401
List Instruments Request Unauthorized Error
501
List Instruments Request Not Implemented Error
503
List Instruments Request Service Unavailable Error