Bollinger Bands API — Squeeze & Breakout Detection
Get upper, middle, lower band, and band-width as JSON. Pre-calculated using 20-period SMA and 2 standard deviations. Spot squeezes before the breakout.
No credit card. $2.50 PAYG credit on sign up.
What is the Bollinger Bands API?
Bollinger Bands place an upper and lower envelope around a 20-period moving average based on standard deviation. When the bands contract (squeeze), it signals a period of low volatility — often a precursor to a sharp move. Our API delivers BB_upper, BB_middle, BB_lower, and BB_width pre-calculated from live broker terminal data, updated every 2 seconds. Build breakout alerts, mean-reversion bots, or volatility dashboards without touching a single candle.
One Request. Instant Data.
curl -X GET \
"https://tickatlas.com/v1/indicator?symbol=EURUSD&indicator=BB_upper&timeframe=H1" \
-H "X-API-Key: YOUR_API_KEY" Why Use TickAtlas?
Pre-Calculated, Sub-100ms
Indicator values are computed server-side on every new candle. Your app queries the result — no TA library, no candle history needed.
7 Timeframes
M1, M5, M15, M30, H1, H4, D1 — the same endpoint serves scalpers and position traders alike.
Forex, Crypto, Commodities
EURUSD, GBPUSD, XAUUSD, BTCUSD, USDJPY — data available for all symbols active on connected broker terminals.
Plug into any stack
- ChatGPT Custom GPTs
- Claude Tools
- Python / pandas
- Node.js
- Discord bots
- Slack webhooks
- n8n
- Zapier
- Google Sheets
Four Band Values. One Endpoint Each.
Available BB indicators
- BB_upper — Upper band (SMA20 + 2σ)
- BB_middle — Middle band (SMA20)
- BB_lower — Lower band (SMA20 − 2σ)
- BB_width — Band width (upper − lower)
Frequently Asked Questions
What BB parameters does the API use?
The standard 20-period SMA with 2 standard deviations (20,2). This is the widely accepted default and matches standard platforms's built-in Bollinger Bands indicator. Custom period support is on the roadmap.
How do I detect a Bollinger Band squeeze?
Query BB_width over time and monitor when it falls below a threshold relevant to your symbol (e.g., 0.0015 for EURUSD on H1). Use the /v1/indicator/history endpoint to retrieve historical BB_width values and calibrate your squeeze threshold.
Can I combine Bollinger Bands with RSI from the same API?
Absolutely. Both are on the same /v1/indicator endpoint with the same request format. Query BB_upper, BB_lower, and RSI_14 in parallel — common confluence: price touching upper band + RSI above 70 = overbought signal.
Is BB_middle the same as SMA_20?
Yes — BB_middle is the 20-period simple moving average, identical to SMA_20. You can query either indicator name to get the same value.
Start Building in 5 Minutes
Sign up, grab your API key, make your first request.
Every new account gets $2.50 in free PAYG credits. No card required.