# The DEX pools holding a token

[Open the token on its entity page →](https://tracefast.xyz/entity/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48)

The DEX pools that hold the token, newest created first — each with its protocol and version, fee tier, approximate creation block, its tokens (address, symbol, decimals, role, weight where the pool declares one) and its USD volume over the last 7 days. A Uniswap v4 pool has no address of its own and is named by its `poolId`, the PoolId the protocol's events use. TraceFast ranks at most the 10 000 most recently created pools of a token; `rankedPools` says how many are ranked. Paged by an opaque cursor: pass `nextCursor` back as `cursor` until it is absent; a page of pools whose tokens declare long texts can hold fewer than `limit` (pages are bounded in bytes too).

```
GET https://tracefast.xyz/api/v1/chains/1/tokens/{token}/pools
```

| Parameter | In | Type | Notes |
|---|---|---|---|
| `token` | path | string | The token contract, `0x` + 40 hex, any case. |
| `limit` | query | integer, optional | 1 to 100, default 25. |
| `cursor` | query | string, optional | `nextCursor` of the previous page. Opaque; valid only for this method and token. |

**Access** — an [API key](/api/authentication) on the **Intelligence** plan or higher ([plans](/api/authentication#plans)), or no key at all: pay per call with [x402](/api/x402) at the same path on `https://mpp.tracefast.xyz/api/v1`, at the price its `402` states. As a tool for AI agents: `get_token_pools` on the [MCP server](/api/mcp-server). **Stable** — see [stability](/api/conventions#stability).

`chains/1` is a literal: other chain ids answer `404 chain_not_supported`. An unknown query parameter is refused rather than ignored.

## Response

`200 application/json`, USDC. Lists in the example are cut to two entries.

```json
{
  "data": {
    "chainId": 1,
    "token": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
    "rankedPools": 10000,
    "pools": [
      {
        "poolId": "0x1e0674e8f95967850d7be67adbcf4e2221e256095c595d6d4cf7d4a73e7d7700",
        "protocol": "uniswap",
        "version": "v4",
        "creationBlockApprox": 26431713,
        "tokens": [
          {
            "address": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
            "symbol": "USDC",
            "name": "USD Coin",
            "decimals": 6,
            "role": "asset"
          },
          {
            "address": "0xfeed37054d28239b7a637cacf7c6d4f0b004321b",
            "symbol": "Rocco",
            "name": "Rocco",
            "decimals": 18,
            "role": "asset"
          }
        ],
        "compositionStatus": "complete"
      },
      {
        "poolId": "0x344ecc6e64777b1486c379d4122996c1187413957299200669e006889cebf1b8",
        "protocol": "uniswap",
        "version": "v4",
        "creationBlockApprox": 26431708,
        "tokens": [
          {
            "address": "0x223a053421a4d11ed3e5c36f69bc6bb68a2741d8",
            "symbol": "SNUT",
            "name": "Space Squirrel",
            "decimals": 18,
            "role": "asset"
          },
          {
            "address": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
            "symbol": "USDC",
            "name": "USD Coin",
            "decimals": 6,
            "role": "asset"
          }
        ],
        "compositionStatus": "complete"
      }
    ],
    "nextCursor": "AVsyNjQzMTcwOCwiNWNiNWJmNjEyMTdkNTIzNjI3YWMyYjQ2ZTY4MjEyNzQ2MzM5ZTg4NzFlMWU5NDRmMmYyYTZhNjU2NzY0MzU0NSJdF7IbF1RCbcUniXGjXvyOzw"
  },
  "meta": {
    "chain": "ethereum",
    "timestamp": 1794918385038,
    "cached": false,
    "docs": "https://docs.tracefast.xyz/api/token-pools"
  }
}
```

### `data`

| Field | Meaning |
|---|---|
| `chainId` | Chain id. `1` is Ethereum mainnet. |
| `nextCursor` | Pass back as `cursor` for the next page; absent on the last one. |
| `pools` | The pools of this page. It can hold fewer than `limit` when the tokens of its pools declare long names: a page is bounded in bytes too (about 112 KiB, one pool always served), and `nextCursor` then continues it. |
| `rankedPools` | How many pools of the token TraceFast ranks (at most the 10 000 most recently created). |
| `token` | The token, lowercase and `0x`-prefixed. |

### `data.pools[]`

| Field | Meaning |
|---|---|
| `compositionStatus` | Whether the pool's token list is known, as the source states it (`complete`: every token of the pool is listed). |
| `creationBlockApprox` | The block the pool was created around (approximate). |
| `feeTier` | The fee tier where the source records one (Uniswap v3 and PancakeSwap v3: hundredths of a basis point, `500` = 0.05 %). Absent does not mean the pool charges no fee. |
| `pool` | The pool contract, lowercase and `0x`-prefixed. Absent for a Uniswap v4 pool, which has no address of its own. |
| `poolId` | The pool's own 32-byte id where it has one (the Uniswap v4 PoolId, as the protocol's events name it). Absent for a pool with an address, and for a v4 pool the pool registry has not caught up with yet. |
| `protocol` | The protocol (`uniswap`, `curve`, …). |
| `tokens` | The pool's tokens. Empty when its composition is not known. |
| `version` | The protocol's version, for example `v3`. Absent where the protocol has none. |
| `volumeUsd7d` | USD volume over the last 7 days. Absent when the pool had none that could be priced (not the same as zero). |

### `data.pools[].tokens[]`

| Field | Meaning |
|---|---|
| `address` | The token contract, lowercase and `0x`-prefixed. |
| `decimals` | The decimals the token contract declares. Absent when unknown. |
| `name` | The name the token contract declares — verbatim, not verified. Absent when it declares none. Absent when longer than 128 characters — left out whole, never shortened. |
| `role` | The token's role in the pool as the source states it. |
| `symbol` | The symbol the token contract declares — verbatim, not verified. Absent when it declares none. Absent when longer than 64 characters — left out whole, never shortened. |
| `weightBps` | The pool's target weight of the token in basis points, where the pool declares weights. |

`meta` is the same envelope on every method — see [conventions](/api/conventions#meta).

## Errors

| Status | When |
|---|---|
| 400 | `bad_request`: a malformed `token` (`address_invalid`), `limit` outside 1 to 100, an unknown query parameter; `invalid_cursor`: the cursor is not valid for this request — restart from the first page |
| 404 | `chain_not_supported`, or an unknown path |

Malformed input, unknown parameters and the key check's `401`/`403`/`429`/`503` are the same for every method — see [conventions](/api/conventions#errors) and [API keys](/api/authentication#when-a-key-is-refused).

## Related pages

* [One token](/api/token)
* [Token holders](/api/token-holders)
* [Token transfers](/api/token-transfers)
* [Token statistics](/api/token-stats)
* [All API methods](/api/methods) — every method on one page
* [Conventions](/api/conventions) — requests, responses, errors and pagination
