Skip to content
TraceFast Docs

DEX volume per day, by protocol

Open DEX Market →

Per UTC day, the DEX trading of each protocol — swaps, USD volume, active pools and how many of them could be priced — and the day's totals. A protocol's USD volume adds the pools that could be priced (unpricedPools counts the rest), so a total with unpriced pools is a partial sum. The volume counts the pools TraceFast has decoded. The DEX figures of the last days may still be revised: the source re-values the last 96 hours once a day, so those days are provisional too. UTC dates YYYY-MM-DD: the window is from to to, both included, at most 366 days; by default the 30 days up to today. A day the source is still counting is provisional: today, and yesterday until the source's first run after midnight. A day the source has no row for is absent.

GET https://tracefast.xyz/api/v1/chains/1/network/dex-volume
ParameterInTypeNotes
fromquerystring, optionalThe first UTC date, YYYY-MM-DD.
toquerystring, optionalThe last UTC date, YYYY-MM-DD. Default: today.

Access — an API key on the Enriched Data 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_dex_volume_daily 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. Lists in the example are cut to two entries.

{
  "data": {
    "chainId": 1,
    "from": "2026-11-01",
    "to": "2026-11-02",
    "days": [
      {
        "day": "2026-11-01",
        "swaps": 312365,
        "volumeUsd": 985680496.2685577,
        "unpricedPools": 436,
        "protocols": [
          {
            "protocol": "uniswap",
            "swaps": 280883,
            "volumeUsd": 689479699.5634874,
            "activePools": 9370,
            "unpricedPools": 340
          },
          {
            "protocol": "fluid",
            "swaps": 2978,
            "volumeUsd": 245321502.70691267,
            "activePools": 29
          }
        ]
      },
      {
        "day": "2026-11-02",
        "swaps": 328095,
        "volumeUsd": 1490963559.3032951,
        "unpricedPools": 461,
        "protocols": [
          {
            "protocol": "uniswap",
            "swaps": 294294,
            "volumeUsd": 1126570092.690125,
            "activePools": 8271,
            "unpricedPools": 345
          },
          {
            "protocol": "fluid",
            "swaps": 3532,
            "volumeUsd": 253730380.11136445,
            "activePools": 29
          }
        ]
      }
    ]
  },
  "meta": {
    "chain": "ethereum",
    "timestamp": 1794918362888,
    "cached": false,
    "docs": "https://docs.tracefast.xyz/api/network-dex-volume"
  }
}

data

FieldMeaning
chainIdChain id. 1 is Ethereum mainnet.
daysOne entry per day of the window, oldest first.
fromFirst day of the window, UTC date YYYY-MM-DD, included.
toLast day of the window, UTC date YYYY-MM-DD, included.

data.days[]

FieldMeaning
dayThe UTC day, YYYY-MM-DD.
protocolsThe day's protocols, by USD volume (unpriced last).
provisionaltrue for a day the source is still counting or may still revise.
swapsSwaps over every protocol.
unpricedPoolsActive pools that could not be priced, over every protocol; absent when none.
volumeUsdUSD volume over every protocol's priced pools; absent when none could be priced.

data.days[].protocols[]

FieldMeaning
activePoolsPools with swaps that day.
protocolThe protocol as the index names it (uniswap, curve, …).
swapsSwaps.
unpricedPoolsActive pools that could not be priced; absent when none. Present ⇒ volumeUsd is partial.
volumeUsdUSD volume over the pools that could be priced; absent when none could.

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

Errors

StatusWhen
400bad_request: a date not YYYY-MM-DD (date_invalid), from after to (date_window_inverted), a window over 366 days (date_window_out_of_range), an unknown query parameter
404chain_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.


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