Skip to content
TraceFast Docs

Liquidity added to and removed from a DEX pool per day

Open the pool in TraceFast →

Per UTC day over the last days days (today included), oldest first, the USD value of the liquidity added to and removed from the pool and the net flow, how many add and remove events there were and how many distinct providers made them, and how many of the events' token legs could be priced (pricedLegs of totalLegs: below it the USD figures cover the priced legs only). A day without liquidity events is absent. Uniswap v4 pools are not covered: their liquidity events are not recorded, and such a pool answers 422 pool_not_covered rather than an empty list.

GET https://tracefast.xyz/api/v1/chains/1/pools/{pool}/liquidity-flow
ParameterInTypeNotes
poolpathstringThe pool's address (0x + 40 hex), or its own 32-byte id (0x + 64 hex: a Uniswap v4 PoolId, or a Balancer v2 poolId); any case.
daysqueryinteger, optional1 to 365, default 30.

Access — an API key on the Intelligence plan or higher (plans), or no key at all: pay per call with 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_liquidity_flow on the MCP server. Stable — see 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.

{
  "data": {
    "chainId": 1,
    "pool": "0x88e6a0c2ddd26feeb64f039a2c41296fcb3f5640",
    "days": 2,
    "points": [
      {
        "day": "2026-11-16",
        "addUsd": 3640099.8742161626,
        "removeUsd": 4784222.715501614,
        "netFlowUsd": -1144122.8412854513,
        "addEvents": 78,
        "removeEvents": 191,
        "uniqueProviders": 5,
        "pricedLegs": 538,
        "totalLegs": 538
      },
      {
        "day": "2026-11-17",
        "addUsd": 823787.0471987072,
        "removeUsd": 1517828.5215884326,
        "netFlowUsd": -694041.4743897254,
        "addEvents": 41,
        "removeEvents": 88,
        "uniqueProviders": 4,
        "pricedLegs": 258,
        "totalLegs": 258
      }
    ]
  },
  "meta": {
    "chain": "ethereum",
    "timestamp": 1794918373622,
    "cached": false,
    "docs": "https://docs.tracefast.xyz/api/pool-liquidity-flow"
  }
}

data

FieldMeaning
chainIdChain id. 1 is Ethereum mainnet.
daysThe window asked for, in UTC days ending today (today included).
pointsEvery day with liquidity events.
poolThe pool contract, lowercase and 0x-prefixed.

data.points[]

FieldMeaning
addEventsLiquidity additions of the day.
addUsdUSD value added, over the priced legs. Absent when none could be priced.
dayThe UTC day, YYYY-MM-DD.
netFlowUsdaddUsd − removeUsd, over the priced legs. Absent when none could be priced.
pricedLegsToken legs of the day's events that could be priced.
removeEventsLiquidity removals of the day.
removeUsdUSD value removed, over the priced legs. Absent when none could be priced.
totalLegsAll token legs of the day's events.
uniqueProvidersDistinct providers behind the day's additions and removals.

meta is the same envelope on every method — see conventions.

Errors

StatusWhen
400bad_request: pool is neither an address nor a PoolId (pool_invalid), days outside 1 to 365 (days_out_of_range), an unknown query parameter
404chain_not_supported, or an unknown path
422pool_not_covered: a Uniswap v4 pool, whose liquidity events are not recorded (protocol_not_covered)

Malformed input, unknown parameters and the key check's 401/403/429/503 are the same for every method — see conventions and API keys.


Last updated 19 Nov 2026, 11:46 UTC · verified against TraceFast v1.0.332 · Markdown