Market Data

public/get_tradingview_chart_data

Returns traded-price OHLCV candles for an instrument_name between required start_timestamp and end_timestamp (UTC seconds) at the given period (1m up to 1w), aggregated from executed trade history. Each candle includes open/high/low/close prices plus USD and contract volume, formatted for charting. Public endpoint.

post/public/get_tradingview_chart_data

Request

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

Request body

end_timestampinteger required
instrument_namestring required
periodinteger required
start_timestampinteger required

Response

Success

close_pricestring required
high_pricestring required
low_pricestring required
open_pricestring required
timestampinteger required
timestamp_bucketinteger required
volume_contractsstring required
volume_usdstring required

Changes

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