PeumeAPI

Finance & crypto

Project DeFi Metrics

Returns historical time-series for a single DeFi protocol metric (e.g. daily TVL).

$0.018 per call

Call it

curl https://api.peume.com/v1/call/project-defi-metrics \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "metric": "tvl",
    "limit": 20,
    "offset": 0
  }
}'

Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: project-defi-metrics.

Parameters

idstring

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. Example: 25c6612a-395c-4974-94eb-3b5f9f4b2ed7.

qstring

Fuzzy entity name search. Only use when 'id' is not available. May return unexpected results for ambiguous names. Example: uniswap.

metricstring

Metric to query. Can be volume, fees (or fee alias), revenue, tvl, or users. Defaults to tvl. Example: tvl. Defaults to "tvl".

volume · fee · fees · revenue · tvl · users

Example: tvl

fromstring

Start of time range. Accepts Unix seconds (1704067200) or date string (2024-01-01). Example: 2024-01-01.

tostring

End of time range. Accepts Unix seconds (1706745600) or date string (2024-02-01). Example: 2024-02-01.

chainstring

Filter by chain. Can be ethereum,, bsc, arbitrum, optimism, base, avalanche, fantom, or solana. Example: ethereum.

ethereum · polygon · bsc · arbitrum · optimism · base · avalanche · fantom · solana

limitinteger

Results per page. Example: 20. Defaults to 20.

Example: 20

offsetinteger

Pagination offset. Example: 0. Defaults to 0.

Example: 0

Start free · $1 of calls included

Every API your business needs. One key.

7,267 data and AI APIs behind one key, with backup sources built in.