# DeFi DEX Volume & Revenue Report

**Use case:** 

Get precise metrics on DEX trading volume, fees, and revenue. Analyze data filtered by chain and sorted by performance over various timeframes.

## Input

```json
{
  "dataset": "dex_volume",
  "chain": "",
  "category": "",
  "minValue24h": 0,
  "sortBy": "total24h",
  "maxResults": 500
}
```

## Output

```json
{
  "rank": {
    "label": "#",
    "format": "integer"
  },
  "name": {
    "label": "Protocol",
    "format": "string"
  },
  "category": {
    "label": "Category",
    "format": "string"
  },
  "dominantChain": {
    "label": "Chain",
    "format": "string"
  },
  "value24h": {
    "label": "24h",
    "format": "number"
  },
  "value7d": {
    "label": "7d",
    "format": "number"
  },
  "value30d": {
    "label": "30d",
    "format": "number"
  },
  "change1dPct": {
    "label": "24h %",
    "format": "number"
  },
  "change7dPct": {
    "label": "7d %",
    "format": "number"
  },
  "chainsText": {
    "label": "All chains",
    "format": "string"
  },
  "url": {
    "label": "DefiLlama",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [DeFi DEX Volume, Fees & Revenue Scraper (DefiLlama)](https://apify.com/foxlabs/defillama-volume-fees) with a specific input configuration. Visit the [Actor detail page](https://apify.com/foxlabs/defillama-volume-fees) to learn more, explore other use cases, and run it yourself.