Skip to main content

Data

GET 

/api/v1/cex/candle

Get historical candle data for a given exchange, symbol, interval and market.

Request

Query Parameters

    exchange stringrequired

    Specifes exchange

    Example: binance
    market string

    Possible values: [spot, futures]

    Specifies market

    Default value: spot
    Example: spot
    symbol stringrequired

    Specifies symbol

    Example: BTC-USDT
    interval string

    Specifies interval

    Default value: 1d
    Example: 1d
    page string

    Page number

    Default value: 1
    Example: 1
    limit string

    Page size

    Default value: 1000
    Example: 1000
    from string

    Specifies from

    Example: 2021-01-01
    to string

    Specifies to

    Example: 2021-01-01
    sort string

    Possible values: [asc, desc]

    Specifies sort

    Default value: asc
    Example: asc

Header Parameters

    X-DTMX-APIKEY stringrequired

    Your DataMaxi+ API key

Responses

OK

Schema

    data

    object[]

  • Array [

  • c number

    specifies close price of the candle

    Example: 60778.21
    d integer

    specifies the opening date and time of candle

    h number

    specifies high price of the candle

    Example: 60778.21
    l number

    specifies low price of the candle

    Example: 60724.33
    o number

    specifies open price of the candle

    Example: 60724.33
    v number

    specifies trading volume (base token) of the candle

    Example: 22.94612
  • ]

  • exchange string
    interval string
    limit integer
    market string
    page integer
    sort string
    symbol string
Loading...