» Get historical candles data

SINGLE STUDY CRYPTO

April 12, 2019

Get historical candles data

  https://ufodex.io/dexsrv/mainnet/api/v1/history/ohlc/<cur1>/<cur2>/<format>

Get historical OHLC data for the specified ticker pair.

Avaiable formats:

  • highstock
  • json
  • csv

Call examples:

Response example for Highstock data:

[
 [1552900500000.0000000000,0.0000050000,0.0000050000,0.0000050000,0.0000050000,1000.0000000000]
]

Response:

Field index Description
0 Candle timestamp
1 Open price
2 High price
3 Low price
4 Close price
5 Volume (cur1)