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:1110561301371431963244801868421743268453101434216142220431145914481457777777713018453211155111
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>", "tokenAReserves": "<string>", "tokenBReserves": "<string>" } ], "pageSize": "<number>", "currentPage": "<number>"}