# The newest DEX pools, by their first swap

[Open the pool explorer →](https://tracefast.xyz/defi/dex/pools)

DEX pools in order of their first swap, newest first — the pool (its address, or for a Uniswap v4 pool its PoolId), its protocol and the first swap's block, time, transaction, tokens and amounts in token units. A pool appears once it has swapped; one created but never traded is not listed. The list is updated every hour and is complete through `meta.asOfBlock`: a pool whose first swap came later may not be listed yet (some protocols lag the others by a few hours). No USD value is stated for the first swap: a new pool's price is the least reliable one. Paged by an opaque cursor: pass `nextCursor` back as `cursor` until it is absent.

```
GET https://tracefast.xyz/api/v1/chains/1/pools/new
```

| Parameter | In | Type | Notes |
|---|---|---|---|
| `limit` | query | integer, optional | 1 to 100, default 25. |
| `cursor` | query | string, optional | `nextCursor` of the previous page. Opaque; valid only for this method. |

**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_new_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`. Lists in the example are cut to two entries.

```json
{
  "data": {
    "chainId": 1,
    "pools": [
      {
        "pool": "0x6c1cc31b30ddc11836932328964a1afb898ae1c5",
        "protocol": "uniswap",
        "version": "v2",
        "firstSwap": {
          "blockNumber": 26434433,
          "timestamp": 1794914483,
          "txHash": "0xd899386a0e0a4565e13dcda2a93c03aaa7f6731e4b4c490b0e3555191b573ca1",
          "logIndex": 379,
          "tokenIn": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
          "tokenOut": "0xf71c70ef343d3ef33c828cd7487752ce4d2c5e11",
          "amountIn": 0.000597
        }
      },
      {
        "poolId": "0x3bf7156208965bfffdd77159803a1823898b5e1543c144a7c9772e3befbeead7",
        "protocol": "uniswap",
        "version": "v4",
        "firstSwap": {
          "blockNumber": 26434414,
          "timestamp": 1794914255,
          "txHash": "0x663ca9b855bc4e7d826c437e859ba51ecfea57913c3301e546ed8b747f21aaac",
          "logIndex": 468,
          "tokenIn": "0x0000000000000000000000000000000000000000",
          "tokenOut": "0xa957d6c2c4ab947718b710659f1f6fff6943b981",
          "amountIn": 0.02686380685911732,
          "amountOut": 0.438014724739439
        }
      }
    ],
    "nextCursor": "AVsyNjQzNDQxNCwiZmJjMjA5MWNhYzcyYWY5MTU1MjNmZjBmZjMxM2M1OTIyY2Y3YmZkMGQ3M2IxOGZkYzFlNjVkMWJjODkwMTY0YSJdIgqxQ6jw8Q1M1V0YaVw1Ew"
  },
  "meta": {
    "chain": "ethereum",
    "timestamp": 1794918372882,
    "cached": false,
    "asOfBlock": 26434286,
    "docs": "https://docs.tracefast.xyz/api/pools-new"
  }
}
```

### `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, by first swap, newest first. |

### `data.pools[]`

| Field | Meaning |
|---|---|
| `firstSwap` | The pool's first swap — the event this feed orders pools by. |
| `pool` | The pool contract; absent for a Uniswap v4 pool, which is named by `poolId`. |
| `poolId` | The pool's own 32-byte id (the Uniswap v4 PoolId), `0x`-prefixed, where it has one. |
| `protocol` | The protocol, for example `uniswap` or `curve`. |
| `version` | The protocol's version where the pool registry states it, for example `v4`. Absent otherwise. |

### `data.pools[].firstSwap`

| Field | Meaning |
|---|---|
| `amountIn` | Amount sold, in whole token units (scaled by the token's decimals) as a floating-point number — an approximation, not an exact amount. Absent where it is not known. |
| `amountOut` | Amount bought, in whole token units (scaled by the token's decimals) as a floating-point number — an approximation, not an exact amount. Absent where it is not known. |
| `blockNumber` | Block of the pool's first swap. |
| `logIndex` | Index of the swap event within its block. |
| `timestamp` | Block time, Unix seconds. |
| `tokenIn` | The token sold into the pool, lowercase and `0x`-prefixed. Absent where it could not be determined. |
| `tokenOut` | The token bought from the pool, lowercase and `0x`-prefixed. Absent where it could not be determined. |
| `txHash` | Hash of the transaction that made the first swap, lowercase and `0x`-prefixed. |

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

## Errors

| Status | When |
|---|---|
| 400 | `bad_request`: `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 pool](/api/pool)
* [Pool reserves](/api/pool-reserves)
* [Pool swaps](/api/pool-swaps)
* [Pool volume](/api/pool-volume)
* [All API methods](/api/methods) — every method on one page
* [Conventions](/api/conventions) — requests, responses, errors and pagination
