Get OHLC Data

This is the data that is shown in our charting interface.

open, high, low, close, volume, total and average information can be viewed with OHLC enpoint.

Response

{
    "pair": "BTCUSDT",
    "time": 1639526400,
    "open": 48250.0,
    "high": 49500.0,
    "low": 46601.0,
    "close": 48820.0,
    "volume": 199.490950394233,
    "total": 9634561.91977406,
    "average": 48295.73,
    "dailyChangeAmount": 570.0,
    "dailyChangePercentage": 1.18
  }
  • Can be used with pair, from and to parameters

    • https://graph-api.btcturk.com/v1/ohlcs?pair=BTCUSDT&from=1638316800&to=1639526400

OHLC Data

GET https://graph-api.btcturk.com/v1/ohlcs

Query Parameters

Name
Type
Description

pair

string

BTC_TRY, ETH_TRY etc.

from

integer

Unix time in seconds

to

integer

Unix time in seconds

Code Example

Last updated

Was this helpful?