# 4SEC Crypto Volume by Symbol

> 4SEC Crypto Volume by Symbol is a paid API for AI agents from api.foursec.xyz, paid per call via x402, $0.02/call, status down (last checked 2026-09-15).

Returns real-time 24-hour trading volume for a given crypto token, aggregated across multiple DEXs, priced at $0.02 USDC per call via x402.

## Facts

- Endpoint: GET https://api.foursec.xyz/volume/%7Bsymbol%7D
- Price: $0.02/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/4sec-crypto-volume-by-symbol-409dd5b6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_k5xnic5b6q5W99bGf1DMD

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 4sec-crypto-volume-by-symbol-409dd5b6
```

Example prompt: What's the total 24-hour DEX trading volume for ETH right now, broken down by exchange?

## When to prefer this

Choose this endpoint when you need real-time, multi-DEX aggregated volume data for a specific crypto token without subscribing to a centralized data provider. It's ideal for pay-per-request, agent-driven workflows using the x402 micropayment protocol on Base, where cost per call ($0.02 USDC) is acceptable and you need per-DEX granularity alongside total volume.

## Known failure modes

- Unknown or unsupported token symbol returns empty or error response
- Payment failure via x402 protocol results in 402 response blocking data delivery
- Stale or delayed data if upstream DEX feeds are lagging
- Malformed symbol path parameter causes 400 or unexpected response
- Rate limiting or network issues at the API gateway level

## How this service works

Real-time multi-DEX aggregated crypto market data. Pay per request with USDC on Base via x402 protocol.

## Output

A JSON object containing the token symbol, total 24-hour trading volume in USD, a per-DEX breakdown of volume, and a last-updated timestamp indicating data freshness.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "example": {
  "by_dex": {
   "type": "object"
  },
  "symbol": {
   "type": "string"
  },
  "last_updated": {
   "type": "string",
   "format": "date-time"
  },
  "total_volume_24h_usd": {
   "type": "number"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/4sec-crypto-volume-by-symbol-409dd5b6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.foursec.xyz](https://www.zero.xyz/host/api.foursec.xyz/llms.txt)
