# Base DEX Volume Tracker

> Base DEX Volume Tracker is a paid API for AI agents from httpay.xyz, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

Returns real-time 24-hour DEX volume rankings, market share, and growth rates for decentralized exchanges on the Base network, sourced from DeFiLlama.

## Facts

- Endpoint: POST https://httpay.xyz/api/dex-volume-tracker
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/httpay-xyz-4d78e05f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rt-ewoJWSwdsaqTXpf9lr

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 httpay-xyz-4d78e05f -d '<json body>'
```

Example prompt: Can you pull the latest 24h DEX volume rankings on Base — I want to see which exchanges are leading, their market share, and which ones are growing the fastest right now?

## When to prefer this

Use this endpoint when you need real-time DEX volume rankings specifically on the Base network with market share and growth rate context. Prefer over generic DeFi APIs when Base-specific DEX comparison and DeFiLlama-sourced data is required.

## Known failure modes

- DeFiLlama upstream unavailable — stale or empty data returned
- Invalid chain parameter — only Base is supported
- Network timeout if DeFiLlama is slow to respond
- Demo mode may return synthetic/cached data rather than live figures

## How this service works

Real-time DEX volume tracker on Base. Top DEXes by 24h volume, market share, and growth rate. Live data from DeFiLlama. Supports ?chain=base&period=24h&demo=true.

## Output

Returns a ranked list of DEXes on Base with their 24-hour trading volumes, market share percentages, and growth rates, sourced live from DeFiLlama.

## Example request

```json
{
 "chain": "base",
 "period": "24h",
 "sortBy": "volume"
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "description": "Real-time DEX volume tracker on Base. Top DEXes by 24h volume, market share, and growth rate. Live data from DeFiLlama. Supports ?chain=base&period=24h&demo=true."
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/httpay-xyz-4d78e05f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from httpay.xyz](https://www.zero.xyz/host/httpay.xyz/llms.txt)
