본문으로 건너뛰기

캔들

GET 

/api/v1/dex/candle

지정된 chain, exchange, pool, interval의 과거 캔들 데이터를 조회합니다.

요청

쿼리 파라미터

    chain stringrequired

    Specifes chain

    exchange stringrequired

    Specifes exchange

    pool stringrequired

    Specifies pool

    interval string

    Specifies interval

    Default value: 1d
    from string

    Specifies from

    to string

    Specifies to

    page integer

    Page number

    Default value: 1
    limit integer

    Page size

    Default value: 1000
    sort string

    Possible values: [asc, desc]

    Specifies sort

    Default value: asc

헤더 파라미터

    X-DTMX-APIKEY stringrequired

    Your DataMaxi+ API key

Responses

OK

Schema

    chain string

    data

    object[]

  • Array [

  • bv number

    specifies trading volume (base token) of the candle

    Example: 22.94612
    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
    qv number

    specifies trading volume (quote token) of the candle

    Example: 22.94612
  • ]

  • exchange string
    from string
    interval string
    key string
    limit integer
    page integer
    pool string
    sort string
    to string
    total integer
Loading...