UNSUPPORTED_DEX.
V4 Pools
Find the V4-style pools for a token across every pool manager on the chain. Endpoint:/evm/v4/liquidity-pools
| Parameter | Type | Required | Description |
|---|---|---|---|
chain | string | Yes | Chain identifier. See Supported Chains |
token | string | Yes | Token contract address |
maxPools | number | No | Maximum number of pools to return. Positive integer (default: 500 per token side) |
backingTokens | string[] | No | Restrict results to pools paired against these token addresses |
poolManagers | string[] | No | Restrict results to pools of these pool manager addresses |
- Socket.IO
- HTTP
socket.emit(
"/evm/v4/liquidity-pools",
{
chain: "eth",
token: "0x6982508145454Ce325dDbE47a25d4ec3d2311933", // PEPE
maxPools: 10,
},
(response) => {
console.log(response);
}
);
await fetch("https://api.chainworks.co/evm/v4/liquidity-pools", {
method: "POST",
headers: {
"Content-Type": "application/json",
Authorization: CHAINWORKS_API_AUTH_TOKEN,
},
body: JSON.stringify({
chain: "eth",
token: "0x6982508145454Ce325dDbE47a25d4ec3d2311933", // PEPE
maxPools: 10,
}),
});
result is an array of pools, ranked by the reserve of the queried token. It is empty when none are found.
{
"success": true,
"result": [
{
"poolId": "0x3f1c6e2a9b7d4c5e8f0a1b2c3d4e5f60718293a4b5c6d7e8f9a0b1c2d3e4f5a6",
"poolManager": "0x000000000004444c5dc75cb358380d2e3de08a90",
"tick": -198432,
"tickSpacing": "60",
"sqrtPriceX96": "1023456789012345678901234",
"fee": 3000,
"currency0": "0x0000000000000000000000000000000000000000",
"currency1": "0x6982508145454ce325ddbe47a25d4ec3d2311933",
"hooks": "0x0000000000000000000000000000000000000000",
"liquidity": "48213370915024778123",
"reserve0": "152340000000000000000",
"reserve1": "21876450000000000000000000000",
"blockNumber": "19500000",
"parameters": null,
"protocolFee": null,
"dex": "uniswapV4",
"latestProcessedBlock": 19500012
}
]
}
| Field | Type | Description |
|---|---|---|
poolId | string | Pool identifier (32-byte hex) |
poolManager | string | Pool manager contract the pool belongs to |
tick | number | Current tick |
tickSpacing | string | Tick spacing of the pool |
sqrtPriceX96 | string | Current price as a Q64.96 square root |
fee | number | Pool fee tier |
currency0 | string | First currency address (the zero address denotes native currency) |
currency1 | string | Second currency address |
hooks | string | Hooks contract address (the zero address denotes no hooks) |
liquidity | string | null | Active in-range liquidity |
reserve0 | string | Amount of currency0 held across all liquidity ranges, in raw units |
reserve1 | string | Amount of currency1 held across all liquidity ranges, in raw units |
blockNumber | string | Block number the data was read at |
parameters | string | null | Encoded pool parameters. null on Uniswap V4 pools |
protocolFee | number | null | Protocol fee. null on Uniswap V4 pools |
dex | string | null | DEX the pool manager belongs to, for example uniswapV4. null for an unrecognized pool manager |
latestProcessedBlock | number | Latest block the pool data covers. May be absent |
Uniswap V4 Pools
Find Uniswap V4 pools for a token. Same response shape as V4 Pools. Endpoint:/evm/uniswap-v4/liquidity-pools
| Parameter | Type | Required | Description |
|---|---|---|---|
chain | string | Yes | Chain identifier. See Supported Chains |
token | string | Yes | Token contract address |
maxPools | number | No | Maximum number of pools to return. Positive integer (default: 500 per token side) |
backingTokens | string[] | No | Restrict results to pools paired against these token addresses |
- Socket.IO
- HTTP
socket.emit(
"/evm/uniswap-v4/liquidity-pools",
{
chain: "eth",
token: "0x6982508145454Ce325dDbE47a25d4ec3d2311933", // PEPE
},
(response) => {
console.log(response);
}
);
await fetch("https://api.chainworks.co/evm/uniswap-v4/liquidity-pools", {
method: "POST",
headers: {
"Content-Type": "application/json",
Authorization: CHAINWORKS_API_AUTH_TOKEN,
},
body: JSON.stringify({
chain: "eth",
token: "0x6982508145454Ce325dDbE47a25d4ec3d2311933", // PEPE
}),
});
{
"success": true,
"result": [
{
"poolId": "0x3f1c6e2a9b7d4c5e8f0a1b2c3d4e5f60718293a4b5c6d7e8f9a0b1c2d3e4f5a6",
"poolManager": "0x000000000004444c5dc75cb358380d2e3de08a90",
"tick": -198432,
"tickSpacing": "60",
"sqrtPriceX96": "1023456789012345678901234",
"fee": 3000,
"currency0": "0x0000000000000000000000000000000000000000",
"currency1": "0x6982508145454ce325ddbe47a25d4ec3d2311933",
"hooks": "0x0000000000000000000000000000000000000000",
"liquidity": "48213370915024778123",
"reserve0": "152340000000000000000",
"reserve1": "21876450000000000000000000000",
"blockNumber": "19500000",
"parameters": null,
"protocolFee": null,
"dex": "uniswapV4",
"latestProcessedBlock": 19500012
}
]
}
PancakeSwap V4 Pools
Find PancakeSwap V4 pools for a token. Same parameters as Uniswap V4 Pools and same response shape as V4 Pools. Endpoint:/evm/pcs-v4/liquidity-pools
Example:
- Socket.IO
- HTTP
socket.emit(
"/evm/pcs-v4/liquidity-pools",
{
chain: "bsc",
token: "0xTokenAddress",
},
(response) => {
console.log(response);
}
);
await fetch("https://api.chainworks.co/evm/pcs-v4/liquidity-pools", {
method: "POST",
headers: {
"Content-Type": "application/json",
Authorization: CHAINWORKS_API_AUTH_TOKEN,
},
body: JSON.stringify({
chain: "bsc",
token: "0xTokenAddress",
}),
});
V3 Pools
Find the V3-style concentrated liquidity pools for a token. Endpoint:/evm/v3/liquidity-pools
| Parameter | Type | Required | Description |
|---|---|---|---|
chain | string | Yes | Chain identifier. See Supported Chains |
token | string | Yes | Token contract address |
maxPools | number | No | Maximum number of pools to return. Positive integer (default: 500 per token side) |
backingTokens | string[] | No | Restrict results to pools paired against these token addresses |
factories | string[] | No | Restrict results to pools of these factory addresses |
- Socket.IO
- HTTP
socket.emit(
"/evm/v3/liquidity-pools",
{
chain: "eth",
token: "0x6982508145454Ce325dDbE47a25d4ec3d2311933", // PEPE
factories: ["0x1F98431c8aD98523631AE4a59f235664d466C5F8"], // Uniswap V3
},
(response) => {
console.log(response);
}
);
await fetch("https://api.chainworks.co/evm/v3/liquidity-pools", {
method: "POST",
headers: {
"Content-Type": "application/json",
Authorization: CHAINWORKS_API_AUTH_TOKEN,
},
body: JSON.stringify({
chain: "eth",
token: "0x6982508145454Ce325dDbE47a25d4ec3d2311933", // PEPE
factories: ["0x1F98431c8aD98523631AE4a59f235664d466C5F8"], // Uniswap V3
}),
});
{
"success": true,
"result": [
{
"poolAddress": "0x11950d141ecb863f01007add7d1a342041227b58",
"factory": "0x1f98431c8ad98523631ae4a59f235664d466c5f8",
"token0": "0x6982508145454ce325ddbe47a25d4ec3d2311933",
"token1": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
"fee": 3000,
"tickSpacing": 60,
"tick": -251820,
"sqrtPriceX96": "268914603412768913056982",
"liquidity": "9120457830112458796514",
"reserve0": "412873650000000000000000000000",
"reserve1": "1845230000000000000000",
"overrideFee": 0,
"pluginFee": 0,
"creationBlock": "17046833",
"blockNumber": "19500000",
"latestProcessedBlock": 19500012
}
]
}
| Field | Type | Description |
|---|---|---|
poolAddress | string | Pool contract address |
factory | string | Factory that deployed the pool |
token0 | string | First token address |
token1 | string | Second token address |
fee | number | Pool fee tier |
tickSpacing | number | Tick spacing of the pool |
tick | number | Current tick |
sqrtPriceX96 | string | Current price as a Q64.96 square root |
liquidity | string | Active in-range liquidity |
reserve0 | string | Amount of token0 held across all liquidity ranges, in raw units |
reserve1 | string | Amount of token1 held across all liquidity ranges, in raw units |
overrideFee | number | Override fee set on the pool |
pluginFee | number | Plugin fee set on the pool |
creationBlock | string | Block the pool was created at |
blockNumber | string | Block number the data was read at |
latestProcessedBlock | number | Latest block the pool data covers. May be absent |
V2 Pools
Find the V2-style pairs for a token. Endpoint:/evm/v2/liquidity-pools
| Parameter | Type | Required | Description |
|---|---|---|---|
chain | string | Yes | Chain identifier. See Supported Chains |
token | string | Yes | Token contract address |
maxPools | number | No | Maximum number of pairs to return. Positive integer (default: 500) |
backingTokens | string[] | No | Restrict results to pairs against these token addresses |
factories | string[] | No | Restrict results to pairs of these factory addresses |
- Socket.IO
- HTTP
socket.emit(
"/evm/v2/liquidity-pools",
{
chain: "eth",
token: "0x6982508145454Ce325dDbE47a25d4ec3d2311933", // PEPE
},
(response) => {
console.log(response);
}
);
await fetch("https://api.chainworks.co/evm/v2/liquidity-pools", {
method: "POST",
headers: {
"Content-Type": "application/json",
Authorization: CHAINWORKS_API_AUTH_TOKEN,
},
body: JSON.stringify({
chain: "eth",
token: "0x6982508145454Ce325dDbE47a25d4ec3d2311933", // PEPE
}),
});
{
"success": true,
"result": [
{
"pairAddress": "0xa43fe16908251ee70ef74718545e4fe6c5ccec9f",
"factory": "0x5c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f",
"token0": "0x6982508145454ce325ddbe47a25d4ec3d2311933",
"token1": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
"stable": false,
"fee": 30,
"reserve0": "1284530000000000000000000000000",
"reserve1": "5731200000000000000000",
"creationBlock": "17046105",
"blockNumber": "19500000",
"latestProcessedBlock": 19500012
}
]
}
| Field | Type | Description |
|---|---|---|
pairAddress | string | Pair contract address |
factory | string | Factory that deployed the pair |
token0 | string | First token address |
token1 | string | Second token address |
stable | boolean | Whether the pair uses a stable swap curve |
fee | number | null | Liquidity provider fee in basis points. null when unknown |
reserve0 | string | Reserve of token0, in raw units |
reserve1 | string | Reserve of token1, in raw units |
creationBlock | string | Block the pair was created at |
blockNumber | string | Block number the data was read at |
latestProcessedBlock | number | Latest block the pair data covers. May be absent |
LB Pools
Find the LB (bin liquidity) pools for a token. Same parameters as V3 Pools. Endpoint:/evm/lb/liquidity-pools
Example:
- Socket.IO
- HTTP
socket.emit(
"/evm/lb/liquidity-pools",
{
chain: "hype",
token: "0x5555555555555555555555555555555555555555", // WHYPE
},
(response) => {
console.log(response);
}
);
await fetch("https://api.chainworks.co/evm/lb/liquidity-pools", {
method: "POST",
headers: {
"Content-Type": "application/json",
Authorization: CHAINWORKS_API_AUTH_TOKEN,
},
body: JSON.stringify({
chain: "hype",
token: "0x5555555555555555555555555555555555555555", // WHYPE
}),
});
{
"success": true,
"result": [
{
"poolAddress": "0x7b1e4c9a2d5f8063b1a4c7e0d3f6a9b2c5e8f1a4",
"factory": "0x2c8d5e1f4a7b0c3d6e9f2a5b8c1d4e7f0a3b6c9d",
"token0": "0x5555555555555555555555555555555555555555",
"token1": "0xb88339cb7199b77e23db6e890353e22632ba630f",
"priceProvider": "0x4d7a0c3f6b9e2d5a8c1f4b7e0a3d6c9f2b5e8a1d",
"priceProviderImmutable": true,
"extensions": [],
"swapExtended": false,
"spreadFeeE6": 200,
"notionalFeeE8": 5000,
"pauseLevel": 0,
"reserve0": "18452300000000000000000",
"reserve1": "742815000000",
"depth0": "1250000000000000000000",
"depth1": "50320000000",
"creationBlock": "8412507",
"blockNumber": "9120344",
"latestProcessedBlock": 9120350
}
]
}
| Field | Type | Description |
|---|---|---|
poolAddress | string | Pool contract address |
factory | string | Factory that deployed the pool |
token0 | string | First token address |
token1 | string | Second token address |
priceProvider | string | Price provider contract the pool quotes from |
priceProviderImmutable | boolean | Whether the price provider is fixed for the life of the pool |
extensions | string[] | Extension contracts attached to the pool |
swapExtended | boolean | Whether an extension runs on swaps |
spreadFeeE6 | number | Platform share of the spread fee, in millionths |
notionalFeeE8 | number | Platform fee on the input amount, in hundred-millionths |
pauseLevel | number | 0 active, 1 paused by the pool admin, 2 paused by the protocol. Swaps revert unless 0 |
reserve0 | string | Total token0 held across all bins, in raw units |
reserve1 | string | Total token1 held across all bins, in raw units |
depth0 | string | token0 held in the current bin, in raw units |
depth1 | string | token1 held in the current bin, in raw units |
creationBlock | string | Block the pool was created at |
blockNumber | string | Block number the data was read at |
latestProcessedBlock | number | Latest block the pool data covers. May be absent |
Get Pool by ID
Look up a V4-style pool by its id across chains. Endpoint:/evm/liquidity-pools/by-id
| Parameter | Type | Required | Description |
|---|---|---|---|
poolId | string | Yes | V4 pool id (32-byte hex) or pool address (20-byte hex) |
chains | string[] | No | Chain identifiers to search (default: every supported EVM chain) |
- Socket.IO
- HTTP
socket.emit(
"/evm/liquidity-pools/by-id",
{
poolId: "0x3f1c6e2a9b7d4c5e8f0a1b2c3d4e5f60718293a4b5c6d7e8f9a0b1c2d3e4f5a6",
chains: ["eth", "base"],
},
(response) => {
console.log(response);
}
);
await fetch("https://api.chainworks.co/evm/liquidity-pools/by-id", {
method: "POST",
headers: {
"Content-Type": "application/json",
Authorization: CHAINWORKS_API_AUTH_TOKEN,
},
body: JSON.stringify({
poolId: "0x3f1c6e2a9b7d4c5e8f0a1b2c3d4e5f60718293a4b5c6d7e8f9a0b1c2d3e4f5a6",
chains: ["eth", "base"],
}),
});
result is an array with one entry per chain and DEX the pool id exists on. It is empty when none are found.
{
"success": true,
"result": [
{
"poolId": "0x3f1c6e2a9b7d4c5e8f0a1b2c3d4e5f60718293a4b5c6d7e8f9a0b1c2d3e4f5a6",
"poolManager": "0x000000000004444c5dc75cb358380d2e3de08a90",
"tick": -198432,
"tickSpacing": "60",
"sqrtPriceX96": "1023456789012345678901234",
"fee": 3000,
"currency0": "0x0000000000000000000000000000000000000000",
"currency1": "0x6982508145454ce325ddbe47a25d4ec3d2311933",
"hooks": "0x0000000000000000000000000000000000000000",
"liquidity": "48213370915024778123",
"reserve0": "152340000000000000000",
"reserve1": "21876450000000000000000000000",
"blockNumber": "19500000",
"chain": "eth",
"dex": "uniswapV4"
}
]
}
latestProcessedBlock, plus:
| Field | Type | Description |
|---|---|---|
chain | string | Chain the pool is on |
dex | string | DEX the pool belongs to, for example uniswapV4 |
- Only V4-style pools are returned.
parametersandprotocolFeeare present on PancakeSwap V4 pools only.

