# Dex Summary

> Dex Summary is a paid API for AI agents from stablecrypto.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-13).

Returns volume summary statistics for a specific decentralized exchange (DEX) protocol by slug

## Facts

- Endpoint: POST https://stablecrypto.dev/api/defillama/dex-summary
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/dex-summary-f8c91176
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_bYfenESuuGnCjrKO-xpFX

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability dex-summary-f8c91176 -d '<json body>'
```

Example prompt: Can you pull up the volume summary for Uniswap from DefiLlama — I want to see how much trading activity it's had recently?

## When to prefer this

Use this endpoint when you need volume statistics for a specific named DEX protocol (e.g. Uniswap, Curve, SushiSwap) and already know the protocol's slug identifier. Prefer this over broader DEX listing endpoints when you want focused summary data for one protocol rather than a list of all DEXes.

## Known failure modes

- Invalid or unknown protocol slug returns empty or error response
- Missing required 'protocol' field returns validation error
- Protocol exists but has no DEX volume data returns empty object
- Network timeout or upstream DefiLlama API unavailability returns 5xx error
- Malformed request body returns 400 error

## How this service works

Pay-per-request access to CoinGecko, DefiLlama, Alchemy, and Etherscan APIs. No auth, no subscriptions.

## Output

A JSON object containing volume summary data for the specified DEX protocol, including trading volume metrics such as total volume, daily/weekly breakdowns, and other protocol-level statistics sourced from DefiLlama.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "dataType": {
   "type": "string"
  },
  "protocol": {
   "type": "string",
   "description": "Protocol slug"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/dex-summary-f8c91176/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from stablecrypto.dev](https://www.zero.xyz/host/stablecrypto.dev/llms.txt)
