# A DEX pool

[Open the pool in TraceFast →](https://tracefast.xyz/defi/dex/pools/0x88e6a0c2ddd26feeb64f039a2c41296fcb3f5640)

One DEX pool — its protocol and version, its tokens (address, the symbol, name and decimals the token contract declares — verbatim, not verified — and role), the fee tier and tick spacing where the source records them, the factory, hook, vault, gauge and LP token where the pool has them, when it was created, and its USD volume and swap count over the last 24 hours and 7 days. A volume over days with swaps but no USD price is a partial sum, and the unpriced days are counted beside it. A pool that trades but is not in TraceFast's pool registry answers with what its swaps show (`registered: false`). `{pool}` is the pool's address, or a Uniswap v4 PoolId. No names, no verdicts.

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

| Parameter | In | Type | Notes |
|---|---|---|---|
| `pool` | path | string | The pool's address (`0x` + 40 hex), or a Uniswap v4 PoolId (`0x` + 64 hex); any case. |

**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_pool` 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`, the Uniswap v3 USDC/WETH 0.05% pool. Lists in the example are cut to two entries.

```json
{
  "data": {
    "chainId": 1,
    "pool": "0x88e6a0c2ddd26feeb64f039a2c41296fcb3f5640",
    "protocol": "uniswap",
    "version": "v3",
    "registered": true,
    "tokens": [
      {
        "address": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
        "symbol": "USDC",
        "name": "USD Coin",
        "decimals": 6,
        "role": "asset"
      },
      {
        "address": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
        "symbol": "WETH",
        "name": "Wrapped Ether",
        "decimals": 18,
        "role": "asset"
      }
    ],
    "compositionStatus": "complete",
    "feeTier": 500,
    "tickSpacing": 10,
    "factory": "0x1f98431c8ad98523631ae4a59f267346ea31f984",
    "creationBlock": 12376729,
    "creationTxHash": "0x125e0b641d4a4b08806bf52c0c6757648c9963bcda8681e4f996f09e00d4c2cc",
    "volumeUsd2d": 136624385.11201254,
    "swaps2d": 8457,
    "volumeUsd8d": 1568691428.9340897,
    "swaps8d": 53300
  },
  "meta": {
    "chain": "ethereum",
    "timestamp": 1794918372898,
    "cached": true,
    "docs": "https://docs.tracefast.xyz/api/pool"
  }
}
```

### `data`

| Field | Meaning |
|---|---|
| `chainId` | Chain id. `1` is Ethereum mainnet. |
| `compositionStatus` | Whether the pool's token list is known, as the source states it (`complete`: every token is listed). Absent when the pool is not registered. |
| `creationBlock` | The block the pool was created in, where it is recorded exactly; otherwise `creationBlockApprox` alone. |
| `creationBlockApprox` | The block the pool was created around (approximate), where the exact block is not recorded. |
| `creationTxHash` | The transaction that created the pool, where it is recorded exactly. |
| `factory` | The factory that created the pool, where it is recorded. |
| `feeTier` | The fee tier where the source records it (Uniswap v3-style pools; hundredths of a basis point, `500` = 0.05 %). Absent does not mean no fee. |
| `gauge` | The pool's gauge (the contract that rewards its liquidity providers), where it has one. |
| `hook` | The Uniswap v4 hook contract, where the pool has one. |
| `lpToken` | The pool's LP token, where it is a separate contract. |
| `pool` | The pool contract, lowercase and `0x`-prefixed. Absent for a Uniswap v4 pool. |
| `poolId` | The pool's own 32-byte id where it has one (the Uniswap v4 PoolId). |
| `protocol` | The protocol, for example `uniswap` or `curve`. |
| `registered` | `true` when the pool is in TraceFast's pool registry; `false` when it is known only from its swaps — then only the protocol, the token pair and the volume are stated. |
| `swaps2d` | Swaps over yesterday and today (UTC). |
| `swaps8d` | Swaps over today and the 7 days before it (UTC). |
| `tickSpacing` | The tick spacing where the source records it (Uniswap v3-style pools). Absent otherwise. |
| `tokens` | The pool's tokens. Empty when its composition is not known. |
| `vault` | The vault that holds the pool's tokens, where the pool has one. |
| `version` | The protocol's version, for example `v3`. Absent where it has none. |
| `volumeUsd2d` | USD volume over yesterday and today (UTC; today is still being counted). Absent when no day of it could be priced; partial when `volumeUsd2dUnpricedDays` is present. |
| `volumeUsd2dUnpricedDays` | Days of `volumeUsd2d` with swaps but no USD price. Absent when there are none. |
| `volumeUsd8d` | USD volume over today and the 7 days before it (UTC; today is still being counted). Absent when no day of it could be priced; partial when `volumeUsd8dUnpricedDays` is present. |
| `volumeUsd8dUnpricedDays` | Days of `volumeUsd8d` with swaps but no USD price. Absent when there are none. |

### `data.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`: `pool` is neither an address nor a PoolId (`pool_invalid`), or a query parameter was given |
| 404 | `not_found`: no pool by that address or id is known; `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

* [Pool reserves](/api/pool-reserves)
* [Pool swaps](/api/pool-swaps)
* [Pool volume](/api/pool-volume)
* [Pool liquidity events](/api/pool-liquidity-events)
* [All API methods](/api/methods) — every method on one page
* [Conventions](/api/conventions) — requests, responses, errors and pagination
