# DEX Volume Tracker — Uniswap Curve Sushi Live 24h Volume (`gochujang/dex-volume-tracker`) Actor

Live 24h + 7d + 30d DEX trading volume for Uniswap V2/V3, Curve, Sushiswap, Balancer, PancakeSwap, Trader Joe, Camelot across all chains. Track DeFi liquidity shifts and emerging DEX trends. DefiLlama data. PPE $0.001/protocol.

- **URL**: https://apify.com/gochujang/dex-volume-tracker.md
- **Developed by:** [Hojun Lee](https://apify.com/gochujang) (community)
- **Categories:** Business
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 protocol trackeds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

### DEX Volume Tracker — Decentralized Exchange Volume & Market Share Analytics

> Track **decentralized exchange volume** across Uniswap V3/V4, PancakeSwap, Aerodrome, Curve, Balancer, and 100+ more — plus aggregators (1inch, 0x, Jupiter, KyberSwap). Get **24h / 7d / 30d DeFi trading data**, market-share percentages, and growth trends in one structured dataset. No API key required.

***

### What does DEX Volume Tracker do?

**DEX Volume Tracker** is an Apify Actor that fetches live **decentralized exchange volume** and swap data from DefiLlama's comprehensive protocol index. For every DEX and aggregator it tracks, you get **24h, 7d, and 30d trading volumes in USD**, period-over-period growth percentages, and each protocol's share of total market volume. It covers both DEXes and swap aggregators, making it the single source of truth for **DeFi trading data** at the protocol level. You can filter by chain (e.g., Base, Solana, Ethereum) and set minimum volume thresholds to focus on protocols that matter, all without writing a single API call yourself.

***

### Why use DEX Volume Tracker?

**Crypto traders, DeFi researchers, and quant funds** rely on DEX volume shifts to read ecosystem narratives before they hit headlines. Here is what this Actor enables:

- **Ecosystem rotation signals** — When Jupiter's share spikes relative to Uniswap, that is Solana season starting. When Aerodrome outpaces competitors on Base, capital is rotating to that chain. Volume shift catches it first.
- **DEX league tables for daily reports** — Publish a ranked table of top DEXes by 24h volume every morning. Automate it with a scheduled Apify run piped to Telegram or Discord.
- **Breakout DEX detection** — Any protocol jumping into the top-20 by 24h **decentralized exchange volume** that you have never heard of is a signal worth investigating immediately.
- **Aggregator vs. direct DEX ratio** — Rising aggregator share means price-discovery is decentralizing. Falling aggregator share points to single-venue dominance and potential fragility.
- **Volume surge alerting** — Use the built-in Telegram alert to get pinged when any DEX grows 50%+ in a single day.

Whether you are building a **DeFi trading data** dashboard, running a crypto research newsletter, or feeding signals into a quantitative strategy, this Actor gives you structured, always-fresh numbers without manual scraping.

***

### How to use DEX Volume Tracker

1. Click **Try for free** on the Apify Store page.
2. Leave inputs at defaults for an instant top-50 DEX snapshot, or customize:
   - Set `category` to `aggregators` to focus on swap routers.
   - Set `chainFilter` to `Solana` or `Base` for chain-specific analysis.
   - Set `sortBy` to `change_1d_desc` to surface the fastest-growing protocols.
3. Click **Start** — the run completes in under 30 seconds.
4. Download results as JSON or CSV, or query the dataset via the Apify API.
5. For automated monitoring, click **Schedule** and set your preferred cadence (hourly, daily, etc.).

***

### Input

| Field | Type | Default | Description |
|-------|------|---------|-------------|
| `category` | string | `dexs` | `dexs`, `aggregators`, or `both` |
| `chainFilter` | string | empty | Substring match on chains, e.g. `Base` or `Solana` |
| `minVolume24hUsd` | integer | `1000000` | Skip dust protocols below this 24h volume |
| `sortBy` | string | `volume_24h_desc` | `volume_24h_desc`, `volume_7d_desc`, `change_1d_desc`, `change_7d_desc`, `share_24h_desc` |
| `limit` | integer | `50` | Maximum number of rows returned |
| `alertGrowth1dPct` | number | `0` | Send Telegram alert if 1d growth exceeds this %. `0` = disabled |
| `telegramBotToken` | string (secret) | — | Telegram bot token for growth alerts |
| `telegramChatId` | string | — | Telegram chat ID to receive alerts |

**Example — Top DEXes by 24h volume:**

```json
{"category": "dexs", "limit": 25}
```

**Example — Solana DEX scanner:**

```json
{"chainFilter": "Solana", "sortBy": "volume_24h_desc"}
```

**Example — Breakout aggregator alert:**

```json
{"category": "aggregators", "sortBy": "change_1d_desc", "alertGrowth1dPct": 50}
```

***

### Output

Each item in the dataset represents one DEX or aggregator:

```json
{
  "category": "DEX",
  "name": "Uniswap V4",
  "chains": ["Ethereum", "Arbitrum", "Base", "Optimism"],
  "volume_24h_usd": 1120000000,
  "volume_7d_usd": 5800000000,
  "volume_30d_usd": 24500000000,
  "change_1d_pct": 0.41,
  "change_7d_pct": -2.7,
  "change_1m_pct": 18.4,
  "share_24h_pct": 12.34,
  "url": "https://uniswap.org",
  "twitter": "Uniswap"
}
```

***

### Data fields

| Field | Description |
|-------|-------------|
| `category` | `DEX` or `Aggregator` |
| `name` | Protocol name (e.g. Uniswap V4, Jupiter) |
| `chains` | List of chains the protocol operates on |
| `volume_24h_usd` | 24-hour **decentralized exchange volume** in USD |
| `volume_7d_usd` | 7-day trading volume in USD |
| `volume_30d_usd` | 30-day trading volume in USD |
| `change_1d_pct` | % change vs prior 24h |
| `change_7d_pct` | % change vs prior 7d |
| `change_1m_pct` | % change vs prior 30d |
| `share_24h_pct` | Protocol share of total scanned universe volume |
| `url` | Protocol website |
| `twitter` | Protocol Twitter handle |

***

### Cost estimation

Pricing is **Pay-Per-Event at $0.001 per protocol returned**.

| Use case | Protocols returned | Estimated cost |
|----------|--------------------|----------------|
| Top 25 DEXes | 25 | **$0.025** |
| Top 50 DEXes (default) | 50 | **$0.05** |
| DEXes + Aggregators (~100) | ~100 | **$0.10** |
| Daily scheduled run × 30 days | 50/day | **$1.50/month** |

Running this Actor daily costs less than a single cup of coffee per month.

***

### FAQ

**Do I need an API key?**
No. All **DeFi trading data** is sourced from DefiLlama's public endpoints. No account, no key, no rate-limit setup required.

**How fresh is the data?**
DefiLlama updates its DEX volume data hourly. Each Actor run fetches the latest snapshot at time of execution.

**Can I track a specific chain only?**
Yes — set `chainFilter` to any chain name (e.g. `Base`, `Solana`, `Arbitrum`). The filter does substring matching, so `Eth` matches both `Ethereum` and any chain containing that string.

> **Disclaimer:** This Actor provides **decentralized exchange volume** data for informational purposes only. It does not constitute financial advice. Always conduct your own research before making investment or trading decisions. Past volume trends do not guarantee future performance.

***

### Live Sample Run

A real run executed on 2026-06-10:

| Field | Value |
|-------|-------|
| Items in dataset | 15 |
| Dataset (JSON) | `https://api.apify.com/v2/datasets/ZVYrAgDbtBpPtO8Xf/items?clean=1&format=json` |
| Dataset (CSV) | `https://api.apify.com/v2/datasets/ZVYrAgDbtBpPtO8Xf/items?clean=1&format=csv` |
| Run summary (KVS) | `https://api.apify.com/v2/key-value-stores/EiyvuDv8ns3769544/records/SUMMARY` |
| Run details | `https://api.apify.com/v2/actor-runs/QLZVbtFuGonBvcAhC` |

***

### Related Actors

- **[L2 + Chain TVL Tracker](https://apify.com/gochujang/l2-tvl-tracker)** — Pair DEX volume share with chain TVL for a complete ecosystem picture.
- **[DeFi Yield Scanner](https://apify.com/gochujang/defi-yield-scanner)** — LP yields downstream of volume activity.
- **[CEX Funding Rate Aggregator](https://apify.com/gochujang/cex-funding-aggregator)** — Funding rates and open interest across CEX perps.

### Feedback

[Leave a review on Apify Store](https://apify.com/gochujang/dex-volume-tracker#reviews)

***

**Keywords:** DEX volume tracker, Uniswap volume, decentralized exchange volume, DEX market share, PancakeSwap volume, Curve volume, Aerodrome volume, DEX growth tracker, on-chain swap volume, DefiLlama DEX, DEX volume ranking, DeFi volume data, breakout DEX, DEX rotation

# Actor input Schema

## `category` (type: `string`):

DEXes (AMMs / order books), aggregators (1inch, 0x, Jupiter, …), or both.

## `chainFilter` (type: `string`):

Substring match against protocol chain list (e.g. 'Ethereum', 'Base', 'Solana'). Empty = all.

## `minVolume24hUsd` (type: `integer`):

Skip protocols below this 24h volume.

## `sortBy` (type: `string`):

Sort order.

## `limit` (type: `integer`):

Maximum number of protocols to return.

## `includeHistory` (type: `boolean`):

Fetch per-protocol 7-day daily volume history from DefiLlama summary endpoint. Adds ~1 API call per protocol — enable only when needed.

## `alertGrowth1dPct` (type: `number`):

Telegram alert when any protocol's 1d growth ≥ X%. 0 = disabled.

## `telegramBotToken` (type: `string`):

Telegram bot token.

## `telegramChatId` (type: `string`):

Telegram chat ID to send alerts to (get it from @userinfobot)

## Actor input object example

```json
{
  "category": "dexs",
  "chainFilter": "",
  "minVolume24hUsd": 1000000,
  "sortBy": "volume_24h_desc",
  "limit": 50,
  "includeHistory": false,
  "alertGrowth1dPct": 0,
  "telegramChatId": ""
}
```

# Actor output Schema

## `dataset` (type: `string`):

No description

## `summary` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {};

// Run the Actor and wait for it to finish
const run = await client.actor("gochujang/dex-volume-tracker").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {}

# Run the Actor and wait for it to finish
run = client.actor("gochujang/dex-volume-tracker").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{}' |
apify call gochujang/dex-volume-tracker --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,gochujang/dex-volume-tracker"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/6m0IsDMqMxAFoesEb/builds/vBNtT7Qgv6Jz2MiwR/openapi.json
