# claw402 Bollinger Bands (BBands) for US Stocks

> claw402 Bollinger Bands (BBands) for US Stocks is a paid API for AI agents from claw402.ai, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-14).

Returns Bollinger Bands technical indicator data for a given US stock symbol and interval, paid per-call via USDC.

## Facts

- Endpoint: GET https://claw402.ai/api/v1/stocks/us/bbands
- 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/claw402-bollinger-bands-bbands-for-us-stocks-31f1252c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_nCeWYfsPM-8eKZWRhdR8S

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 claw402-bollinger-bands-bbands-for-us-stocks-31f1252c
```

Example prompt: What are the Bollinger Bands for AAPL on the daily interval, using a 20-period time period and close series type with standard deviation of 2 for both upper and lower bands?

## When to prefer this

Use this endpoint when you need Bollinger Bands technical indicator data for US-listed stocks without requiring API key registration, paying only per call in USDC via the x402 protocol. Ideal for lightweight, on-demand technical analysis in automated or agent-driven workflows.

## Known failure modes

- Invalid or unsupported stock symbol returns empty data array
- Missing required query parameters may result in error response
- Payment failure via x402 protocol blocks the request
- Rate limiting or quota exhaustion if USDC payment not processed
- Unsupported interval or series_type values may return empty results

## How this service works

Backed by vergex.trade. Pay for any API with USDC. No API keys. No registration. Just a wallet.

## Output

Returns a JSON object with code 0 and a data array containing Bollinger Bands values (upper, middle, lower bands) for the requested stock symbol, interval, and configuration parameters.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "symbol": {
       "type": "string"
      },
      "nbdevdn": {
       "type": "string"
      },
      "nbdevup": {
       "type": "string"
      },
      "interval": {
       "type": "string"
      },
      "series_type": {
       "type": "string"
      },
      "time_period": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "code": 0,
  "data": []
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/claw402-bollinger-bands-bbands-for-us-stocks-31f1252c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from claw402.ai](https://www.zero.xyz/host/claw402.ai/llms.txt)
