# The largest liquidity removals from DEX pools

[Open LP Liquidity Events →](https://tracefast.xyz/defi/liquidity)

The largest removals of liquidity from DEX pools over the last 24 hours, 7 days or 30 days of blocks up to the events' reach, by USD removed — each with the pool, its protocol, the provider, the transaction and how many of its token legs could be priced. Only events with at least one priced leg rank, and their USD covers the priced legs only. Uniswap v4 pools are not covered: their liquidity events are not recorded.

```
GET https://tracefast.xyz/api/v1/chains/1/pools/liquidity-removals
```

| Parameter | In | Type | Notes |
|---|---|---|---|
| `window` | query | string, optional | `24h`, `7d` (default) or `30d`. |
| `limit` | query | integer, optional | 1 to 100, default 25. |

**Access** — an [API key](/api/authentication) on the **Investigation** 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_largest_liquidity_removals` 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,
    "window": "24h",
    "fromBlock": 26427236,
    "toBlock": 26434435,
    "removals": [
      {
        "blockNumber": 26428607,
        "txIndex": 295,
        "logIndex": 701,
        "timestamp": 1794844343,
        "txHash": "0xb51e464bffb416518f4a8f4143607c5d7e1bdea6e69bb41c135f55caf85d3a76",
        "pool": "0xbb2b8038a1640196fbe3e38816f3e67cba72d940",
        "protocol": "uniswap",
        "protocolVersion": "v2",
        "provider": "0x0ea041260095b20feda41ef4fdbef7d801f4c438",
        "eventType": "burn",
        "usdRemoved": 25914759.702610955,
        "pricedLegs": 2,
        "unpricedLegs": 0,
        "tokenCount": 2,
        "dominantToken": "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599"
      },
      {
        "blockNumber": 26428607,
        "txIndex": 295,
        "logIndex": 696,
        "timestamp": 1794844343,
        "txHash": "0xb51e464bffb416518f4a8f4143607c5d7e1bdea6e69bb41c135f55caf85d3a76",
        "pool": "0xb4e16d0168e52d35cacd2c6185b44281ec28c9dc",
        "protocol": "uniswap",
        "protocolVersion": "v2",
        "provider": "0x0ea041260095b20feda41ef4fdbef7d801f4c438",
        "eventType": "burn",
        "usdRemoved": 25901065.92277387,
        "pricedLegs": 2,
        "unpricedLegs": 0,
        "tokenCount": 2,
        "dominantToken": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48"
      }
    ]
  },
  "meta": {
    "chain": "ethereum",
    "timestamp": 1794918372056,
    "cached": false,
    "asOfBlock": 26434435,
    "docs": "https://docs.tracefast.xyz/api/pools-liquidity-removals"
  }
}
```

### `data`

| Field | Meaning |
|---|---|
| `chainId` | Chain id. `1` is Ethereum mainnet. |
| `fromBlock` | First block the window covered. |
| `removals` | The removals, largest first. |
| `toBlock` | Last block the window covered. |
| `window` | The window asked for, as given in the request. |

### `data.removals[]`

| Field | Meaning |
|---|---|
| `blockNumber` | Block of the removal. |
| `dominantToken` | The token that carried most of the removed value, where stated. |
| `eventType` | The event as the pool names it. |
| `logIndex` | Index of the removal event within its block. |
| `pool` | The pool, lowercase and `0x`-prefixed. |
| `pricedLegs` | The event's token legs that could be priced. |
| `protocol` | The pool's protocol, for example `uniswap` or `curve`. |
| `protocolVersion` | The protocol's version, for example `v3`. |
| `provider` | The liquidity provider the event names, where it names one. |
| `timestamp` | Block time, Unix seconds. |
| `tokenCount` | The number of tokens the event moved. |
| `txHash` | Hash of the transaction, lowercase and `0x`-prefixed. |
| `txIndex` | Position of the transaction within its block, from `0`. |
| `unpricedLegs` | The event's token legs that could not be priced; their value is not in `usdRemoved`. |
| `usdRemoved` | USD removed over the legs that could be priced. |

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

## Errors

| Status | When |
|---|---|
| 400 | `bad_request`: `window` outside `24h` / `7d` / `30d` (`window_invalid`), `limit` outside 1 to 100, an unknown query parameter |
| 404 | `chain_not_supported`, or an unknown path |
| 503 | `service_unavailable`: the events' reach could not be read; retry with backoff; or `service_degraded`: who is calling could not be established right now; retry after `Retry-After`. |

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
