v1

latestOpenAPI 3.0.02026-07-2224101.3 MB
XRP Market Data

Open Interest

This endpoint returns XRP Perpetual Open Interest from derivative exchanges.

NameExchangeSymbol
All Exchangesall_exchangeall_symbol*
Binancebinancexrp_usdt<br/>xrp_usd<br/> all_symbol*
Bybitbybitxrp_usdt<br/>xrp_usd<br/> all_symbol*
Bitmexbitmexxrp_usd*
HTX Globalhtx_globalxrp_usdt*
Krakenkrakenxrp_usd*
OKXokxxrp_usdt<br/>xrp_usd<br/> all_symbol*
Bitfinexbitfinexxrp_usdt*

Supported exchanges for Open Interest are available in Discovery section. Note we unify the unit of return value to USD for each exchange where its contract specification may vary.

📖 Data Guide: Open Interest — definition, interpretation, and chart examples.

get/xrp/market-data/open-interest

Query parameters

exchangestring required

An exchange from the table that we support. See here.

symbolstring

A pair symbol (ticker) from the table that we support. See here

windowstring

Currently we support day, hour, and min.

fromstring

This defines the starting time for which data will be gathered, formatted as YYYYMMDDTHHMMSS (indicating YYYY-MM-DDTHH:MM:SS, UTC time). If window=day is used, it can also be formatted as YYYYMMDD (date). If window=block is used, you can also specify the exact block height (e.g. 510000). If this field is not specified, response will include data from the earliest time.

tostring

This defines the ending time for which data will be gathered, formatted as YYYYMMDDTHHMMSS (indicating YYYY-MM-DDTHH:MM:SS, UTC time). If window=day is used, it can also be formatted as YYYYMMDD (date). If window=block is used, you can also specify the exact block height (e.g. 510000). If this field is not specified, response will include data from the latest time.

limitinteger

The maximum number of entries to return before the latest data point (or before to if specified). This field ranges from 1 to 100,000.

formatstring

A format type about return message type. Supported formats are json, csv.

Response

Open Interest in USD