Get pool state
Authorization
x-api-keystringrequiredheaderHeaders
x-agent-infostringOptional attribution hint for AI-agent traffic; send it if an AI agent built or operates your integration. The value is a JSON object with up to three fields: decision_origin (required, exactly autonomous or human_mediated, case-sensitive), integration_name (optional string naming your integration, e.g. my-trading-bot), and version (optional string identifying your integration's version). Any other key is dropped, never rejected. The raw value must be at most 1024 bytes of printable US-ASCII (0x20-0x7E), so send non-ASCII text as JSON \u escapes; integration_name and version are each limited to 256 UTF-16 code units and may not contain control characters, U+2028, U+2029, or U+FFFD. Send the header once: repeated header lines are joined with , and the joined string is what gets parsed, so two complete objects fail as invalid JSON while a single object split across two lines still parses. The header is analytics-only and never affects the request: omitting it, sending it, or sending a value that fails these rules never changes the response status, body, or swap behavior. A value that fails to parse is dropped and reported by the x-agent-info-status response header. Never put a user ID, wallet address, email, session token, or API key in these fields.
Body
application/jsonprotocolenumrequiredThe protocol of the pool.
tokenAddressAstringrequiredThe address of the first token in the pair.
tokenAddressBstringrequiredThe address of the second token in the pair.
feenumberrequiredThe fee tier of the pool. Must be provided for v3 and v4 pools.
tickSpacingnumberThe width of ticks in this pool (e.g. the price range between two ticks) specified in basis points. Must be provided for v4 pools.
hookAddressstringThe address of the hook for the pool, if any.
chainIdenumdefault:1The 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.
pageSizenumbercurrentPagenumber/lp/pool_infocurl --request POST \
--url 'https://liquidity.api.uniswap.org/lp/pool_info' \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"protocol": "V3",
"poolParameters": {
"tokenAddressA": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
"tokenAddressB": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
"fee": 3000
},
"chainId": 1
}'{ "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>"}