---
title: "GET /public/get_tradingview_chart_data"
method: GET
path: "/public/get_tradingview_chart_data"
tags: ["Market Data", "Public"]
---

# GET /public/get_tradingview_chart_data

`GET /public/get_tradingview_chart_data`

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.

[Try in API console](https://test.deribit.com/api_console?method=%2Fpublic%2Fget_tradingview_chart_data)

## Query parameters

- `instrument_name` string, required — Unique instrument identifier
- `start_timestamp` integer, required — The timestamp (milliseconds since the Unix epoch)
- `end_timestamp` integer, required — The timestamp (milliseconds since the Unix epoch)
- `resolution` string, required

## Response `200`

Success response

- PublicGetTradingviewChartDataResponse
  - `jsonrpc` '2.0', required — The JSON-RPC version (2.0)
  - `id` integer — The id that was sent in the request
  - `result` object, required
    - `status` 'ok' | 'no_data' — Status of the query: `ok` or `no_data`
    - `ticks` Timestamp[] — Values of the time axis given in milliseconds since UNIX epoch
    - `volume` ChartVolume[] — List of volume bars (in base currency, one per candle)
    - `cost` ChartVolume[] — List of cost bars (volume in quote currency, one per candle)
    - `open` QuotePrice[] — List of prices at open (one per candle)
    - `close` QuotePrice[] — List of prices at close (one per candle)
    - `high` QuotePrice[] — List of highest price levels (one per candle)
    - `low` QuotePrice[] — List of lowest price levels (one per candle)

---

[API](https://skmtc.net/deribit/apis/deribit-api.md) · [All operations](https://skmtc.net/deribit/apis/deribit-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/deribit/deribit-api/revisions/78a0783dbfcc/schema)
