Every indexed pool for a token
const url = 'https://api.getchord.xyz/v1/arc/token/example/pools';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.getchord.xyz/v1/arc/token/example/poolsV2 pairs, V3 pools and V4 pool ids (with hooks) that hold the token, with the creation block. For LP-oriented ranking use /lp/token/{address}/pools.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters”EVM address, hex, case-insensitive.
Responses
Section titled “ Responses ”object
EVM address, hex, case-insensitive.
object
A pool: a 20-byte contract address (V2 / V3) or a 32-byte Uniswap V4 pool id.
EVM address, hex, case-insensitive.
EVM address, hex, case-insensitive.
Fee in pips (100 = 0.01%).
EVM address, hex, case-insensitive.
Unix time, milliseconds — when the server built this answer.
Example
{ "chain": 5042, "token": "0x171a4217b86a807a64eb94757db6849fb4bdbaa0", "pools": [ { "pool": "0x82916bee18fcef517b26c72d7cb5f13694e1db41", "dex": "uniswap_v3", "kind": "clmm", "token0": "0x171a4217b86a807a64eb94757db6849fb4bdbaa0", "token1": "0x3600000000000000000000000000000000000000", "fee": 100, "createdBlock": 21076890 }, { "pool": "0xecd988913031a292bcf0e4e07ccd5815c8969a48", "dex": "uniswap_v3", "kind": "clmm", "token0": "0x171a4217b86a807a64eb94757db6849fb4bdbaa0", "token1": "0x3600000000000000000000000000000000000000", "fee": 3000, "createdBlock": 21081300 } ], "updatedAt": 1789891855402}Invalid parameters — error names the check that failed (INVALID_PARAMS, BAD_ADDRESS, BAD_LIMIT, BAD_HOURS, …).
Every non-2xx body.
object
Stable machine code, e.g. INVALID_PARAMS, NOT_READY, RATE_LIMIT_EXCEEDED.
For humans.
HTTP status, when included.
Example
{ "error": "INVALID_PARAMS", "message": "amount must be an integer string in the token's smallest unit"}The lane behind this endpoint is not ready or not enabled here (NOT_READY, CHAIN_NOT_ENABLED, NOT_ENABLED, *_UNAVAILABLE). Retry later; do not treat it as an empty answer.
Every non-2xx body.
object
Stable machine code, e.g. INVALID_PARAMS, NOT_READY, RATE_LIMIT_EXCEEDED.
For humans.
HTTP status, when included.
Example
{ "error": "INVALID_PARAMS", "message": "amount must be an integer string in the token's smallest unit"}