Get OHLC Data
This is the data that is shown in our charting interface.
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,fromandtoparametershttps://graph-api.btcturk.com/v1/ohlcs?pair=BTCUSDT&from=1638316800&to=1639526400
The from and to parameters must be used with Unix time in seconds.
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?