v2

OpenAPI 3.0.02026-07-311824171.4 MB
Market Data
Public

Returns historical price index chart data for the specified index name and time range. The data is formatted for use in charting applications and shows price index values over time.

Use the range parameter to specify the time period for which to retrieve chart data. This method is useful for visualizing price index trends and historical movements.

Try in API console

get/public/get_index_chart_data

Query parameters

index_name'btc_usd' | 'eth_usd' | 'ada_usdc' | 'algo_usdc' | 'avax_usdc' | 'bch_usdc' | 'bnb_usdc' | 'btc_usdc' | 'btcdvol_usdc' | 'buidl_usdc' | 'doge_usdc' | 'dot_usdc' | 'eurr_usdc' | 'eth_usdc' | 'ethdvol_usdc' | 'hype_usdc' | 'link_usdc' | 'ltc_usdc' | 'near_usdc' | 'paxg_usdc' | 'shib_usdc' | 'sol_usdc' | 'steth_usdc' | 'ton_usdc' | 'trump_usdc' | 'trx_usdc' | 'uni_usdc' | 'usde_usdc' | 'usyc_usdc' | 'xrp_usdc' | 'btc_usdt' | 'eth_usdt' | 'eurr_usdt' | 'sol_usdt' | 'steth_usdt' | 'usdc_usdt' | 'usde_usdt' | 'btc_eurr' | 'btc_usde' | 'btc_usyc' | 'eth_btc' | 'eth_eurr' | 'eth_usde' | 'eth_usyc' | 'steth_eth' | 'paxg_btc' | 'drbfix-btc_usdc' | 'drbfix-eth_usdc' required

Index identifier, matches (base) cryptocurrency with quote currency

Index identifier, matches (base) cryptocurrency with quote currency

range'1h' | '1d' | '2d' | '1m' | '1y' | 'all' required

Range of the data to return

Response

Success response

jsonrpc'2.0' required

The JSON-RPC version (2.0)

idinteger

The id that was sent in the request