Market Data
public/get_index_chart_data
Changed onReturns 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 URLhttps://api.derive.xyz/v3
- Authnone declared
Request body
Get Index Chart Data Request required
Parameters for public/get_index_chart_data. Numeric fields accept either a JSON number or a string-encoded integer. Timestamps are UTC seconds.
currency, string required
end_timestamp, integer required
period, integer required
start_timestamp, integer required
Response
Success
Index Candle[] required
close_price, string required
high_price, string required
low_price, string required
open_price, string required
price, string required
timestamp, integer required
timestamp_bucket, integer required
Changes
- info
added the media type
application/jsonfor the response with the status
- info