# Alpha Vantage Bollinger Bands (BBANDS) via Locus x402

> Alpha Vantage Bollinger Bands (BBANDS) via Locus x402 is a paid API for AI agents from alphavantage.x402.paywithlocus.com, paid per call via x402, $0.008/call, status unknown (last checked 2026-09-14).

Fetches Bollinger Bands technical indicator data for a given stock symbol, interval, and moving average configuration, paid per-call via USDC.

## Facts

- Endpoint: POST https://alphavantage.x402.paywithlocus.com/alphavantage/bbands
- Price: $0.008/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/alpha-vantage-bollinger-bands-bbands-via-locus-x402-d52081fd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_VQKdt5_P7syunIlSIAmkc

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 alpha-vantage-bollinger-bands-bbands-via-locus-x402-d52081fd -d '<json body>'
```

Example prompt: Can you pull the daily Bollinger Bands for AAPL over a 20-period window using the closing price and EMA (type 1), with standard deviations of 2 for both upper and lower bands?

## When to prefer this

Choose this endpoint when you need programmatic, pay-per-call access to Bollinger Bands technical indicator data without managing an Alpha Vantage API key subscription. It is ideal for AI agents that need on-demand financial technical analysis with USDC micropayment settlement, particularly for stock, forex, or crypto volatility analysis in automated trading or research pipelines.

## Known failure modes

- Invalid or unsupported ticker symbol returns empty or error data
- Missing required fields (symbol, interval, time_period, series_type) cause request failure
- Insufficient USDC balance causes payment failure and no data returned
- Unsupported interval string returns an API error
- Invalid matype number outside 0–8 range may cause unexpected behavior
- Alpha Vantage upstream rate limit or outage returns failure response

## How this service works

Financial market data — stock prices, forex, crypto, commodities, economic indicators, technical analysis, and news sentiment.

## Output

Returns a JSON object with timestamped Bollinger Band values (upper, middle, lower bands) for the requested symbol and interval, along with payment confirmation metadata including settled USDC amount and request tracking ID.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "month": {
   "type": "string"
  },
  "matype": {
   "type": "number"
  },
  "symbol": {
   "type": "string"
  },
  "nbdevdn": {
   "type": "number"
  },
  "nbdevup": {
   "type": "number"
  },
  "datatype": {
   "type": "string"
  },
  "interval": {
   "type": "string"
  },
  "series_type": {
   "type": "string"
  },
  "time_period": {
   "type": "number"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {},
  "payment": {
   "scheme": "exact",
   "settledUsdc": "0.001000",
   "authorizedMaxUsdc": "0.001000"
  },
  "request": {
   "id": "00000000-0000-4000-8000-000000000000",
   "statusUrl": "/requests/00000000-0000-4000-8000-000000000000"
  },
  "success": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/alpha-vantage-bollinger-bands-bbands-via-locus-x402-d52081fd/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from alphavantage.x402.paywithlocus.com](https://www.zero.xyz/host/alphavantage.x402.paywithlocus.com/llms.txt)
