token_liquidity
Check a token's pool liquidity and estimated slippage across DEXes to size trades and confirm whether an exit is possible.
Instructions
Token Liquidity and Slippage — Pool depth and slippage for a token: per pool (Uniswap, Aerodrome, PancakeSwap, Sushi and more) the liquidity in USD, estimated price impact for each size in sizes_usd and the largest trade at 1% and 5% impact. Use to size a trade or check if an exit is possible. Estimate based on constant product; conservative for concentrated liquidity pools. Errors with Not charged if no pool exists. Cost: $0.008 USDC per call. Latency p99: 10000ms.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"token": "<token>"
},
"name": "token_liquidity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | No | base (default), ethereum, bsc, arbitrum, polygon, avalanche or optimism | |
| token | Yes | Token contract address (0x...) | |
| sizes_usd | No | Up to 6 trade sizes in USD, default [100,1000,10000,100000] |