# 4SEC Crypto Volatility Index API

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

Returns a real-time volatility index score and risk metrics for a given crypto token symbol, aggregated across multiple DEXes.

## Facts

- Endpoint: GET https://api.foursec.xyz/volatility-index/%7Bsymbol%7D
- Price: $0.03/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-volatility-index-api-e35db1b7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_k3IiXWsGtmJS4PWYoLiyF

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-volatility-index-api-e35db1b7
```

Example prompt: What's the current volatility index and risk category for ETH right now — pull it from the multi-DEX aggregated data?

## When to prefer this

Choose this endpoint when you need a real-time, aggregated volatility signal for a specific crypto token across multiple DEXes — especially useful for pre-trade risk assessment or monitoring DeFi positions. Prefer over single-exchange data sources when cross-DEX aggregation matters for accuracy.

## Known failure modes

- Unknown or unsupported token symbol returns an error or empty result
- Payment failure via x402 protocol (insufficient USDC balance or incorrect payment header) returns HTTP 402
- Rate limiting or network issues may return 5xx errors
- Symbol format mismatch (e.g. lowercase vs uppercase) may cause lookup failures

## 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 queried token symbol, a numeric volatility index value, a categorical volatility label (e.g. low/medium/high), and a risk_metrics object with supporting risk detail — all aggregated from live multi-DEX data.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "example": {
  "symbol": {
   "type": "string"
  },
  "risk_metrics": {
   "type": "object"
  },
  "volatility_index": {
   "type": "number"
  },
  "volatility_category": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/4sec-crypto-volatility-index-api-e35db1b7/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)
