Skip to main content

Liquidity

GET 

/api/v1/dex/liquidity

Get historical liquidity data for a given chain, exchange and pool.

Request

Query Parameters

    chain stringrequired

    Specifes chain

    Example: kaia_mainnet
    exchange stringrequired

    Specifes exchange

    Example: binance
    pool stringrequired

    Specifies pool

    Example: 0x
    from string

    Specifies from

    Example: 2021-01-01
    to string

    Specifies to

    Example: 2021-01-01
    page integer

    Page number

    Default value: 1
    Example: 1
    limit integer

    Page size

    Default value: 1000
    Example: 1000
    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

    chain string

    data

    object[]

  • Array [

  • a string[]

    specifies assets that has been added or removed

    Example: ["SLN","USDT"]
    b integer

    specifies the block number

    Example: 147266718
    d integer

    specifies the unix timestamp of liquidity event

    Example: 1709248218
    i integer

    specifies the log index

    Example: 21
    m string

    specifies the maker

    Example: 5.992519328803503e+47
    q number[]

    specifies the quantity in base unit for each asset

    Example: [0.01594542081681406,0.073019]
    s string

    specifies the symbol

    Example: SLN-USDT
    t string

    specifies the type (add, remove)

    tx string

    specifies the transaction hash

    Example: 2.2351681173547467e+76
  • ]

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