# SwapHunt Realized Volatility

> SwapHunt Realized Volatility is a paid API for AI agents from x402.swaphunt.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-14).

Returns realized (historical) volatility for a crypto asset over a lookback period, including daily and annualized percentages, a volatility bucket (low/normal/high/extreme), and the 24-hour high/low/range.

## Facts

- Endpoint: GET https://x402.swaphunt.dev/v1/vol/realized
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/swaphunt-realized-volatility-3b38b4c5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_YzLzObQW1nOT-IDCGep4w

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 swaphunt-realized-volatility-3b38b4c5
```

Example prompt: What's the realized volatility for ETH over the last 30 days — is it in a low, normal, high, or extreme bucket, and what was the 24h high/low range?

## When to prefer this

Use this endpoint when you need backward-looking (realized) volatility rather than implied/options-based volatility, especially for position sizing, stop-loss calibration, or determining whether current market conditions are calm or turbulent. Prefer this over generic price endpoints when you need a volatility regime classification and annualized stats in one call.

## Known failure modes

- Unsupported asset symbol returns an error or empty result
- Invalid period format causes a 400 bad request
- Insufficient historical data for the requested lookback period
- Service unavailable or payment not processed returns a 402 or 5xx error

## How this service works

Realized volatility for an asset: daily and annualized %, plus a low/normal/high/extreme bucket and the 24h high/low/range. Use to size positions and set expectations. Backward-looking (realized), not implied/option vol.

## Output

Returns daily and annualized realized volatility percentages for the specified asset and lookback period, a categorical volatility bucket (low/normal/high/extreme) for regime classification, and the 24-hour high, low, and range values.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "asset": {
       "type": "string",
       "default": "BTC",
       "description": "Asset symbol"
      },
      "period": {
       "type": "string",
       "default": "30d",
       "description": "Lookback period"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/swaphunt-realized-volatility-3b38b4c5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.swaphunt.dev](https://www.zero.xyz/host/x402.swaphunt.dev/llms.txt)
