Historical

Retrieves the historical (time series) liquidity for the specified pair.

👍

Protocols Supported

This endpoint only supports Uniswap v2, Uniswap v3, Sushiswap and Balancer.

Note: For Balancer, we currently do not calculate liquidityPrice.

👍

Blockchains Supported

This endpoint only supports data from ethereum-mainnet.

🚧

Time Range Limit

The maximum time range (difference between endDate and startDate) is 1 day.

📘

Not specifying startDate and endDate

If the startDate and endDate query parameters are not provided, the API will return the data from the previous 24 hours.

Response Data

FieldTypeDescription
metadataobjectThe metadata associated with the data.
metadata.exchangeIdstringThe address of the exchange/pool.
metadata.exchangeNamestringThe name of the exchange (if available).
metadata.pairstringThe common name for the pair - name is not unique, use pairAddress instead).
metadata.pairNormalizedstringThe internal name for the pair - name is not unique, use pairAddress instead).
metadata.pairAddressstringThe address of the pair.
metadata.baseAddressstringThe address of the first underlying assert behind the pair.
metadata.quoteAddressstringThe address of the last underlying assert behind the pair.
dataobjectThe liquidity data.
data.exchangeIdstringThe address of the exchange/pool.
data.pairAddressstringThe address of the pair.
data.timestampstringThe timestamp associated with this record.
data.transactionHashstringThe hash of the transaction which included this liquidity event.
data.transactionIndexnumberThe index of the transaction which included this liquidity event.
data.logIndexnumberThe index of the log within the transaction which included this liquidity event.
data.amountnumberThe new amount of the underlying asset after this liquidity event.
data.liquidityPricenumberThe new price of the underlying asset after this liquidity event.
Language
Credentials
Header
Click Try It! to start a request and see the response here!