POSTGet pool state
Get pool state
Authorization
x-api-keystringrequiredheaderPlayground key
You're using a shared playground keyCreate a free account and get your own API keys from the dashboard.
Get your keysBody
application/jsonprotocolenumrequiredV2V3V4
The protocol of the pool.
chainIdenumdefault:11105613013714319632448018684217432646635042845310143421614222043114570735914481457777777713018453211155111
The unique ID of the blockchain. For a list of supported chains see the FAQ.
pageSizenumbercurrentPagenumberResponse
Pool information response successful.
requestIdstringA unique ID for the request.
poolsobject[]Array of pool information objects.
pageSizenumbercurrentPagenumberPOST
/lp/pool_infoRequest
curl --request POST \
--url 'https://liquidity.api.uniswap.org/lp/pool_info' \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"protocol": "<enum>",
"chainId": 1
}'Response
200
{ "requestId": "<string>", "pools": [ { "poolReferenceIdentifier": "<string>", "poolProtocol": "<string>", "tokenAddressA": "<string>", "tokenAddressB": "<string>", "tickSpacing": "<number>", "fee": "<string>", "hookAddress": "<string>", "chainId": "<number>", "tokenAmountA": "<string>", "tokenAmountB": "<string>", "tokenDecimalsA": "<number>", "tokenDecimalsB": "<number>", "poolLiquidity": "<string>", "sqrtRatioX96": "<string>", "currentTick": "<number>", "token0Reserves": "<string>", "token1Reserves": "<string>" } ], "pageSize": "<number>", "currentPage": "<number>"}