Market History

This API provides summarized trading data of all markets over the past 24 hours.

GET /api/v1/kline/

Parameters

  • symbol

    • The market symbol

    • The symbol expression is a combination of base_ticker, a colon (':'), and quote_ticker.

  • startTime

    • The staring point of the data to be retrieved

  • endTime

    • The end point of the data to be retrieved

  • interval

    • The time interval for summarizing trading history item in the data to be retrieved

e.g.

curl -X GET \
    -H "Nectar-Api-Key: <apikey>" \
    <nectar_url>/api/v1/kline/?symbol=ETH_ETH:USDT_ETH&startTime=1695169493&endTime=1695169494&interval=1S

Response

For more detailed information, please refer to the link below:

getMarketHistory