Getting K-line data

Open-api (Api Demo)

Online Support avatar
Written by Online Support
Updated over a week ago

Getting K-line data

1.Interface address:/open/api/get_records

2.Interface specification:(get request)Getting K-line data

  • This interface does not perform signature verification

Parameter

Fill in type

Explain

symbol

must fill

Market mark,bchbtc,See below for details

period

must fill

Must fill

In minutes,The analogy is 1 in a minute,One day is1440c

Virtual Currency Number

xxx-cny

xxx-btc

xxx-usdt

bcc

bcccny

bchbtc

bchusdt

btc

btccny

-

btcusdt

etc

etccny

etcbtc

etcusdt

eth

ethcny

ethbtc

ethusdt

ltc

ltccny

ltcbtc

ltcusdt

Return Value:

field

example

explain

code

0

msg

''suc''

code>0fail

data

as follows:

[
[
1514445780, //time stamp
1.12, //Opening price
1.12, //Highest
1.12, //minimum
1.12, //Closing price
0 //volume

],
[
1514445840,
1.12,
1.12,
1.12,
1.12,
0
],
[
1514445900,
1.12,
1.12,
1.12,
1.12,
0
]
]
Did this answer your question?