get https://api.amberdata.com/market/defi/liquidity//snapshots
Retrieves a snapshot (a point in time) of the liquidity of the tokens in a pool.
Protocols Supported
This endpoint only supports Uniswap v2.
Blockchains Supported
This endpoint only supports data from
ethereum-mainnet
.
Time Range Limit
The maximum time range (difference between endDate and startDate) is 1 days.
Not specifying startDate and endDate
If the startDate and endDate query parameters are not provided, the API will return the data from the previous hour.
Response Data
Field | Type | Description |
---|---|---|
timestamp | string | The timestamp associated with this event. |
blocknumber | string | The block number associated with this event. |
transactionhash | string | The transaction hash or tx hash associated with this event. |
exchangeId | string | The exchange (or DEX) address associated with this event. |
exchangeName | string | The name of the exchange associated with the above address. |
poolName | string | The name of the pool in the exchange. |
poolAddress | string | The pool address. |
symbol | string | The name of the base token in the pool. |
address | string | The address of the base token in the pool. |
tokenReserve | string | The amount of the base token in the pool. |
tokenLiquidity | string | The amount of liquidity of the base token in the pool. |
symbol | string | The name of the quote token in the pool. |
address | string | The address of quote token in the pool. |
tokenReserve | string | The amount of the quote token in the pool. |
tokenLiquidity | string | The amount of liquidity of the quote token in the pool. |
totalPoolValue | string | The total value of the pool (in USD), aka, TVL. |
lpTokenPrice | string | The price of the pool token, aka the LP token in USD. |