DeFi Metrics
/gateway/v1/project/defi/metricsReturns historical time-series for a single DeFi protocol metric (e.g. daily TVL). Each data point has a Unix timestamp and value.
Available metrics: `volume`, `fee`, `fees`, `revenue`, `tvl`, `users`.
Lookup: by UUID (`id`) or name (`q`). Filter by `chain` and date range (`from`/`to`). Returns 404 if the project is not found.
Pagination: check `meta.has_more`; when true, increase `offset` or `limit` to fetch the remaining points.
Note: this endpoint only returns data for DeFi protocol projects (e.g. `aave`, `uniswap`, `lido`, `makerdao`). Use `q` with a DeFi protocol name.
Query Parameters
Surf project UUID. PREFERRED — always use this when available from a previous response (e.g. project_id from /fund/portfolio or id from /search/project). Takes priority over q.
25c6612a-395c-4974-94eb-3b5f9f4b2ed7Fuzzy entity name search. Only use when 'id' is not available. May return unexpected results for ambiguous names.
uniswapMetric to query. Can be `volume`, `fees` (or `fee` alias), `revenue`, `tvl`, or `users`. Defaults to tvl.
volumefeefeesrevenuetvluserstvlStart of time range. Accepts Unix seconds (`1704067200`) or date string (`2024-01-01`)
2024-01-01End of time range. Accepts Unix seconds (`1706745600`) or date string (`2024-02-01`)
2024-02-01Filter by chain. Can be `ethereum`, `polygon`, `bsc`, `arbitrum`, `optimism`, `base`, `avalanche`, `fantom`, or `solana`.
ethereumpolygonbscarbitrumoptimismbaseavalanchefantomsolanaethereumResults per page
20Pagination offset
0