Retrieves publicly available market data formatted for generating TradingView-compatible candle charts. The data includes open, high, low, close (OHLC) prices and volume for specified time intervals.
Use the chart_resolution parameter to specify the candle interval (e.g., 1m, 5m, 1h, 1d). This method provides the standard format used by TradingView and other charting platforms.
Note: For spot instruments routed to Coinbase Exchange, this call is not supported. Use Get product candles instead.
📖 Related Article: Spot Trading: Deribit and Coinbase-Routed Instruments
Request
- Base URLhttps://test.deribit.com/api/v2
- URLhttps://test.deribit.com/api/v2/public/get_tradingview_chart_data
- Authnone declared
Query parameters
Unique instrument identifier
Instrument name
The timestamp (milliseconds since the Unix epoch)
The earliest timestamp to return result from (milliseconds since the UNIX epoch)
The timestamp (milliseconds since the Unix epoch)
The most recent timestamp to return result from (milliseconds since the UNIX epoch)
Chart bars resolution in minutes, or 1D / D for daily bars.
Response
Success response
Example response
{
"result": {
"ticks": [
1536569522277
]
}
}Changes
- breaking
removed the enum value
1.00from thequeryrequest parameterresolution - breaking
removed the enum value
10.00from thequeryrequest parameterresolution - breaking
removed the enum value
120.00from thequeryrequest parameterresolution - breaking
removed the enum value
15.00from thequeryrequest parameterresolution - breaking
removed the enum value
180.00from thequeryrequest parameterresolution - breaking
removed the enum value
3.00from thequeryrequest parameterresolution - breaking
removed the enum value
30.00from thequeryrequest parameterresolution - breaking
removed the enum value
360.00from thequeryrequest parameterresolution - breaking
removed the enum value
5.00from thequeryrequest parameterresolution - breaking
removed the enum value
60.00from thequeryrequest parameterresolution - breaking
removed the enum value
720.00from thequeryrequest parameterresolution - info
added the new enum value
1to thequeryrequest parameterresolution - info
added the new enum value
10to thequeryrequest parameterresolution - info
added the new enum value
120to thequeryrequest parameterresolution - info
added the new enum value
15to thequeryrequest parameterresolution - info
added the new enum value
180to thequeryrequest parameterresolution - info
added the new enum value
3to thequeryrequest parameterresolution - info
added the new enum value
30to thequeryrequest parameterresolution - info
added the new enum value
360to thequeryrequest parameterresolution - info
added the new enum value
5to thequeryrequest parameterresolution - info
added the new enum value
60to thequeryrequest parameterresolution - info
added the new enum value
720to thequeryrequest parameterresolution - info
added the new enum value
Dto thequeryrequest parameterresolution
- breaking