PeumeAPI

Finance & crypto

DEX Protocol Activity

Active traders, trade count, and USD volume for a DEX protocol (or a specific router contract), as a single aggregate or a daily series (group_by=day).

$0.018 per call

Call it

curl https://api.peume.com/v1/call/dex-protocol-activity \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "chain": "ethereum",
    "time_range": "7d",
    "group_by": "total"
  }
}'

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: dex-protocol-activity.

Parameters

chainRequiredstring

Chain to query. Example: ethereum.

ethereum · base · bsc · arbitrum · tron

projectstring

DEX project name (e.g. uniswap, pancakeswap, aerodrome). Exactly one of project / address is required. Example: uniswap.

addressstring

A specific router/contract measured as tx_to. Exactly one of project / address is required. Example: 0x1111111254eeb25477b68fb85ed929f73a960582.

time_rangestring

Look-back window (hard 90d cap). Overridden by from/to when set. Defaults to "7d".

1d · 7d · 30d · 90d

Example: 7d

fromstring

Start of range — Unix seconds or YYYY-MM-DD. With to, the range may span at most 90 days. Example: 2025-01-01.

tostring

End of range — Unix seconds or YYYY-MM-DD. Without from, the window is time_range ending at to. Example: 2025-02-01.

group_bystring

total = single aggregate; day = daily series (newest first). Defaults to "total".

total · day

Example: total

Start free · $1 of calls included

Every API your product needs. One key.

7,267 endpoints, one bill, and you only pay for calls that work.