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 stringrequired

    Possible values: [spot, futures]

    Specifies market

    Default value: spot
    Example: spot
    symbol stringrequired

    Specifies symbol

    Example: BTC-USDT
    currency string

    Possible values: [USD, KRW]

    Specifies currency

    Default value: USD
    Example: USD
    interval string

    Specifies interval

    Default value: 1d
    Example: 1d
    from string

    Specifies from

    Example: 1735657200
    to string

    Specifies to

    Example: 1735693200

Header Parameters

    X-DTMX-APIKEY stringrequired

    Your DataMaxi+ API key

Responses

OK

Schema

    currency string

    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
    market string
    symbol string
Loading...