# SwapHunt Bollinger-Band Squeeze / Volatility Compression Alert

> SwapHunt Bollinger-Band Squeeze / Volatility Compression Alert is a paid API for AI agents from x402.swaphunt.dev, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-14).

Detects Bollinger Band squeezes on a chosen asset and timeframe, returning a compression severity level (extreme/strong/moderate/none) plus bandwidth to anticipate volatility expansions and breakouts.

## Facts

- Endpoint: GET https://x402.swaphunt.dev/v1/vol/compression-alert
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/swaphunt-bollinger-band-squeeze-volatility-compression-alert-f29db2e8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ChSKDqXb-g5VZegrBXbUM

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-bollinger-band-squeeze-volatility-compression-alert-f29db2e8
```

Example prompt: Is BTC/USDT in a Bollinger Band squeeze right now on the 4h chart — and how severe is the compression? I want to know if volatility is coiling up for a breakout.

## When to prefer this

Use this endpoint when you need to identify whether a Bollinger Band squeeze is forming on a specific crypto asset and timeframe — particularly useful for pre-breakout detection, volatility regime analysis, or timing entries before a big move. Prefer this over general volatility endpoints when you specifically need squeeze severity classification and bandwidth metrics rather than raw ATR or historical volatility stats.

## Known failure modes

- Unknown asset symbol returns an error or empty result
- Unsupported timeframe value causes validation failure
- Quote currency not available for the requested pair returns an error
- Service unavailable or payment rejected returns 402 or 5xx
- Stale market data may cause delayed or inaccurate compression readings

## How this service works

Bollinger-Band squeeze detector: is volatility compressing toward a likely expansion? Returns extreme/strong/moderate/none plus bandwidth. Use to anticipate breakouts before they fire. Detects the setup, not the direction.

## Output

Returns a compression severity label (extreme, strong, moderate, or none), the current Bollinger Band bandwidth value, and enough context to assess whether a volatility expansion or breakout setup is forming — without predicting direction.

## 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"
      },
      "quote": {
       "type": "string",
       "default": "USDT",
       "description": "Quote currency (USDT, USDC, EUR)"
      },
      "timeframe": {
       "type": "string",
       "default": "4h",
       "description": "Timeframe (1h, 4h, 1d)"
      }
     }
    }
   },
   "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-bollinger-band-squeeze-volatility-compression-alert-f29db2e8/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)
