Onchain

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).

Lookup: chain + exactly one of project (e.g. uniswap, pancakeswap) or address (a router measured as tx_to).

Related: per-swap rows for a single token → /v1/token/dex-trades.

Chains: Ethereum, Base, BSC, Arbitrum, Tron · Refresh: ~24h · USD volume lags ~3 days (see enriched_ratio).

get/gateway/v1/onchain/dex/activity

Query parameters

chain'ethereum' | 'base' | 'bsc' | 'arbitrum' | 'tron' required

Chain to query.

Example:ethereum

Chain to query.

projectstring

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

Example:uniswap

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

addressstring

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

Example:0x1111111254eeb25477b68fb85ed929f73a960582

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

time_range'1d' | '7d' | '30d' | '90d'

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

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

fromstring

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

Example:2025-01-01

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

tostring

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

Example:2025-02-01

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

group_by'total' | 'day'

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

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

Response

OK

$schemastring uri

A URL to the JSON Schema for this object.

Example response

{
  "$schema": "https://example.com/schemas/DataResponseDexActivityItem.json"
}

Changes

No recorded changes to this endpoint across all 2 revisions of this API.