Market Data

public/get_index_chart_data

Returns spot index OHLC candles for a currency between required start_timestamp and end_timestamp (UTC seconds) at the given period granularity (1m up to 1w). Each candle includes open/high/low/close and a price mirroring the close. The requested range is clamped to a maximum number of buckets. Public endpoint.

post/public/get_index_chart_data

Request

  • Base URL: https://api.derive.xyz/v3
  • URL: https://api.derive.xyz/v3/public/get_index_chart_data
  • Auth: none declared

Request body

currencystring required
end_timestampinteger required
periodinteger required
start_timestampinteger required

Response

Success

close_pricestring required
high_pricestring required
low_pricestring required
open_pricestring required
pricestring required
timestampinteger required
timestamp_bucketinteger required

Changes

No recorded changes to this operation across all 1 revision of this API.