Skip to main content

Candle

GET 

/api/v1/dex/candle

Fetch historical candle data for a given chain, exchange, pool and interval.

Request

Query Parameters

    chain stringrequired

    Specifes chain

    Example: kaia
    exchange stringrequired

    Specifes exchange

    Example: binance
    pool stringrequired

    Specifies pool

    Example: 0x
    interval string

    Default value: 1d

    Specifies interval

    Example: 1d
    page string

    Default value: 1

    Specifies page

    Example: 1
    limit string

    Default value: 1000

    Specifies limit

    Example: 1000
    from string

    Specifies from

    Example: 2021-01-01
    to string

    Specifies to

    Example: 2021-01-01
    sort string

    Possible values: [asc, desc]

    Default value: asc

    Specifies sort

    Example: asc

Header Parameters

    X-DTMX-APIKEY stringrequired

    Your DataMaxi+ API key

Responses

OK

Schema

  • Array [

  • c string

    specifies close price of the candle

    d string

    specifies the opening date and time of candle

    h string

    specifies high price of the candle

    l string

    specifies low price of the candle

    o string

    specifies open price of the candle

    v string

    specifies trading volume (base token) of the candle

  • ]

Loading...