# DefiLlama — List all dexs along with summaries of their volumes and dataType history data

Get DefiLlama All DEX Volumes data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by DeFiLlama, pass parameters such as excludeTotalDataChart, and retrieve structured data including all chains, protocols, protocol canonical name, protocol display name, and total data chart to build dex leaderboards, discover valid chain filters, and track aggregate spot dex volume.

Documentation: https://openany.si/defillama/defillama-list-all-dexs-along-with-summaries-of-their-volumes-and-datatype-history-data/59a72fa4-bf72-4110-9dd1-40782cb01164/
API ID: 59a72fa4-bf72-4110-9dd1-40782cb01164
Provider: defillama
Contract revision: 5
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/defillama/overview/dexs
Page update time: 2026-12-03T02:39:15.533Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0 / call
The published contract currently has no usage charge. Authentication and service limits still apply.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:39:13.806Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "0",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Usage and limits
## DefiLlama All DEX Volumes API

Call this endpoint with the required `excludeTotalDataChart` and `excludeTotalDataChartBreakdown` query booleans to retrieve `allChains`, `protocols[]` volume summaries and optional `totalDataChart` history.

## What You Can Build

- **Build DEX leaderboards**: Rank decentralized exchanges globally by total24h, total7d and 1-day momentum.
- **Discover valid chain filters**: Read allChains before calling the chain-scoped DefiLlama Chain DEX Volumes API.
- **Track aggregate spot DEX volume**: Set excludeTotalDataChart=false to chart total daily on-chain spot volume over time.

## Returned Data

| Field | Meaning |
| --- | --- |
| `allChains` | List of all supported blockchain names for DEX volume filtering |
| `protocols` | Array of DEX protocol volume summary objects |
| `protocols[].name` | Protocol canonical name |
| `protocols[].displayName` | Protocol display name |
| `protocols[].chains` | Chains where the protocol operates |
| `protocols[].total24h` | Protocol 24-hour trading volume in USD |
| `protocols[].total7d` | Protocol 7-day trading volume in USD |
| `protocols[].change_1d` | 1-day percentage change in volume |
| `protocols[].change_7d` | 7-day percentage change in volume |
| `totalDataChart` | Aggregated historical daily DEX volume chart |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "DefiLlama — List all dexs along with summaries of their volumes and dataType history data request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "excludeTotalDataChart": {
          "type": "boolean",
          "description": "true to exclude aggregated chart from response"
        },
        "excludeTotalDataChartBreakdown": {
          "type": "boolean",
          "description": "true to exclude broken down chart from response"
        }
      },
      "required": [
        "excludeTotalDataChart",
        "excludeTotalDataChartBreakdown"
      ]
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "allChains": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "protocols": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "chains": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "change_1d": {
            "type": "number"
          },
          "change_7d": {
            "type": "number"
          },
          "displayName": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "total24h": {
            "type": "integer"
          },
          "total7d": {
            "type": "integer"
          }
        }
      }
    },
    "totalDataChart": {
      "type": "array",
      "items": {
        "type": "array",
        "items": {
          "type": "integer"
        }
      }
    }
  }
}
```

## Request example
Scenario: Official UI example (not runtime verified)
```bash
curl \
  'https://api.openany.si/v1/agent-apis/defillama/overview/dexs?excludeTotalDataChart=true&excludeTotalDataChartBreakdown=true' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## Response example
Published documentation example. Verify the actual response after an approved call.
Sample response · Documented HTTP 200
```json
{
  "allChains": [
    "Ethereum",
    "BSC",
    "Polygon"
  ],
  "protocols": [
    {
      "chains": [
        "Ethereum",
        "Polygon"
      ],
      "change_1d": 5.2,
      "change_7d": -2.1,
      "displayName": "Uniswap V3",
      "name": "Uniswap",
      "total24h": 1500000000,
      "total7d": 10000000000
    }
  ],
  "totalDataChart": [
    [
      1640995200,
      2500000000
    ]
  ]
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Common questions
### Are both query parameters mandatory?
Yes. Both excludeTotalDataChart and excludeTotalDataChartBreakdown are required booleans in the contract.

### How do I keep responses compact when I only need the protocol table?
Pass excludeTotalDataChart=true and excludeTotalDataChartBreakdown=true to omit bulky chart series.

### Where do I get valid chain names for chain-filtered DEX queries?
Use the strings returned in the top-level allChains array.

### How do I inspect a single DEX protocol in detail?
Pass its slug to the DefiLlama DEX Protocol Volume API.

### Does this endpoint include options DEXs or open interest?
No. Use the All Options Volumes API or Open Interest DEX API for those derivatives datasets.

### What currency are total24h and total7d reported in?
All trading volume figures are reported in USD.

## Available implementations
- defillama: https://openany.si/defillama/defillama-list-all-dexs-along-with-summaries-of-their-volumes-and-datatype-history-data/59a72fa4-bf72-4110-9dd1-40782cb01164/

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
