Tokens in a liquidity pool (Uniswap)
What is this endpoint for?
The Uniswap V3 Liquidity Estimator offers insight into the token reserves on Uniswap V3.
This data shows the liquidity across all the price levels for a specific pair of tokens on Uniswap V3. Each price level has a range, which is shown aslower_tick
(the lowest price of the level) and upper_tick
(the highest price of the level). The data shows you the amount of tokens and liquidity available at each price level.
We display all price-levels up to 10% either side of the current block price. The data is provided in a block-by-block granularity.
Access the methodology here.
Endpoint
Parameters
pool_address
Yes
Pool address.
0x88e6a0c2ddd26feeb64f039a2c41296fcb3f5640
blockchain
No
Should be one of the currently supported blockchain.
ethereum
live
No
Shows the data as soon as the block is validated.
(Default: false
, in case of block reorganization).
true
start_block
No
Starting block height (inclusive).
129870
end_block
No
Ending block height (inclusive).
130000
start_time
No
Starting time in ISO 8601 (inclusive).
2022-04-01T00:00:00.000Z
end_time
No
Ending time in ISO 8601 (inclusive).
2022-05-01T00:00:00.000Z
price_range
No
The interval of price around the current price, in % (min: 0, default: 0.1, max: 0.2).
0.05
Fields
blockchain
The blockchain on which the transaction happened.
ethereum
block_number
The height of the block.
16028979
pool_name
Name of the pool as it is written on the blockchain.
USDC-WETH-0.001
pool_address
Address of the contract of the pool.
0x88e6a0c2ddd26feeb64f039a2c41296fcb3f5640
current_tick
The current tick at this block.
-58580
current_price
The current price at this block, normalized using the pool’s tokens decimals.
0.0028577887443084
datetime
The timestamp of the block. In seconds.
1669161611
snapshots
The snapshot of the liquidity at each tick of the pool.
See table below.
Field snapshots
amount0
The amount of token0 in the specified tick range, normalized using the token0 decimals.
0
amount1
The amount of token1 in the specified tick range, normalized using the token1 decimals.
26.4381078606
amount
The amount of liquidity in the specified tick range.
1.7305248294559624e+23
lower_tick
The lower tick of the range.
-59580
upper_tick
The upper tick of the range.
-59520
Request examples
Response example
Last updated