A DEX pool's daily volume
The pool's trading per UTC day over the last days days (today included), oldest first — USD volume, swaps, the volume of each of its two tokens in token units and how many distinct addresses sent swaps — with the totals. Today's row is still being counted. A day's USD volume adds the hours that could be priced: a day with swaps but no priced hour has no volumeUsd and is counted in unpricedDays (then totalVolumeUsd is a partial sum); a day priced only in part is not marked. A day without swaps is absent. The pool must be in TraceFast's pool registry. {pool} is the pool's address, or a Uniswap v4 PoolId.
GET https://tracefast.xyz/api/v1/chains/1/pools/{pool}/volume
| Parameter | In | Type | Notes |
|---|---|---|---|
pool | path | string | The 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. |
days | query | integer, optional | 1 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_volume 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",
"token0": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
"token1": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
"days": 2,
"totalVolumeUsd": 136624385.11201254,
"totalSwaps": 8457,
"points": [
{
"day": "2026-11-16",
"volumeUsd": 106011957.31610657,
"swaps": 6183,
"uniqueSenders": 0,
"volumeToken0": 52604360.856196,
"volumeToken1": 29421.470409625537
},
{
"day": "2026-11-17",
"volumeUsd": 30612427.795905963,
"swaps": 2274,
"uniqueSenders": 0,
"volumeToken0": 14790557.500954,
"volumeToken1": 8715.303420550963
}
]
},
"meta": {
"chain": "ethereum",
"timestamp": 1794918375304,
"cached": false,
"docs": "https://docs.tracefast.xyz/api/pool-volume"
}
}data
| Field | Meaning |
|---|---|
chainId | Chain id. 1 is Ethereum mainnet. |
days | The window asked for, in UTC days ending today (today included). |
points | Every day with swaps. |
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. |
token0 | The pool's token0, which volumeToken0 refers to. Absent where unknown. |
token1 | The pool's token1, which volumeToken1 refers to. Absent where unknown. |
totalSwaps | Swaps over the window. |
totalVolumeUsd | USD volume over the window; partial when unpricedDays is present, absent when no day could be priced. |
unpricedDays | Days with swaps but no USD price. Absent when there are none. |
data.points[]
| Field | Meaning |
|---|---|
day | The UTC day, YYYY-MM-DD. |
swaps | Swaps of the day. |
uniqueSenders | Distinct addresses that sent the day's swaps. |
volumeToken0 | Volume of token0, in whole token units (scaled by its decimals) as a floating-point number — an approximation, not an exact amount. Absent where unknown. |
volumeToken1 | Volume of token1, in whole token units (scaled by its decimals) as a floating-point number — an approximation, not an exact amount. Absent where unknown. |
volumeUsd | USD volume; absent when the day's swaps could not be priced. |
meta is the same envelope on every method — see conventions.
Errors
| Status | When |
|---|---|
| 400 | bad_request: pool is neither an address nor a PoolId (pool_invalid), days outside 1 to 365 (days_out_of_range), an unknown query parameter |
| 404 | not_found: the pool is not in the pool registry; 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 and API keys.
Related pages
- One pool
- Pool reserves
- Pool swaps
- Pool liquidity events
- All API methods — every method on one page
- Conventions — requests, responses, errors and pagination
Last updated 19 Nov 2026, 11:46 UTC · verified against TraceFast v1.0.332 · Markdown