# Financial Data x402 – DeFi DEX Volume

> Financial Data x402 – DeFi DEX Volume is a paid API for AI agents from x402financialdata.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-13).

Returns 24-hour and 7-day trading volume data for decentralized exchange (DEX) protocols across multiple chains, paid via x402/USDC microtransaction.

## Facts

- Endpoint: GET https://x402financialdata.com/defi-dex-volume
- 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/financial-data-x402-defi-dex-volume-2186622a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ojiiJu4aGf2FKDJvCqiNt

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 financial-data-x402-defi-dex-volume-2186622a
```

Example prompt: What's the current 24-hour and 7-day DEX trading volume across major DeFi protocols like Curve — and which chains are they active on?

## When to prefer this

Choose this endpoint when you need real-time or near-real-time DeFi DEX volume data across multiple protocols and chains without committing to an API key subscription — ideal for pay-per-use agent workflows, one-off data pulls, or micropayment-native applications using the x402 protocol. Prefer over subscription-based DeFi data APIs when call frequency is low or cost-per-call economics are favorable at $0.01 USDC.

## Known failure modes

- Payment not settled via x402 — 402 Payment Required response returned
- Invalid or unsupported chain filter parameter — may return empty protocol list or error
- Stale data if upstream on-chain indexers lag — check as_of timestamp
- No protocols matching filter criteria — returns count:0 with empty protocols array
- Network timeout if Base/Solana payment rails experience delays

## How this service works

Pay-per-call stock, macro, on-chain, and crypto data over the x402 protocol. USDC on Base or Solana, no API keys, no subscriptions.

## Output

Returns a JSON object with an as-of timestamp, a count of protocols returned, per-protocol data (name, supported chains, 24h USD volume, 7d USD volume, 24h % change, 7d % change), an optional chain filter applied, and aggregate totals for 24h and 7d USD volume across all protocols.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "required": {
   "type": "string"
  },
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "as_of": "2026-08-09T12:00:00Z",
  "count": 1,
  "protocols": [
   {
    "name": "Curve DEX",
    "chains": [
     "Ethereum",
     "Arbitrum",
     "Base",
     "Polygon"
    ],
    "change_7d_pct": -33.79,
    "volume_7d_usd": 641168524,
    "change_24h_pct": -73.67,
    "volume_24h_usd": 26471496
   }
  ],
  "chain_filter": null,
  "total_7d_volume_usd": 45126041318.53,
  "total_24h_volume_usd": 4392931933.45
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/financial-data-x402-defi-dex-volume-2186622a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402financialdata.com](https://www.zero.xyz/host/x402financialdata.com/llms.txt)
