CCI API — Live Commodity Channel Index
CCI values above +100 signal overbought; below -100 signal oversold. Pull both CCI_14 and CCI_20 from REST without managing typical-price calculations.
No credit card. $2.50 PAYG credit on sign up.
What is the CCI API?
The Commodity Channel Index measures how far price has deviated from its statistical average, expressed as a multiple of mean absolute deviation. Values above +100 indicate a strongly overbought condition or the start of a new trend; below -100, oversold. Originally designed for commodities, CCI works equally well on Forex and crypto. TickAtlas pre-calculates CCI_14 and CCI_20 from live broker data so your bot queries final values, not raw OHLC arrays.
One Request. Instant Data.
curl -X GET \
"https://tickatlas.com/v1/indicator?symbol=EURUSD&indicator=CCI_14&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
Two Periods. One Endpoint Each.
Available CCI indicators
- CCI_14 — 14-period CCI (standard)
- CCI_20 — 20-period CCI (smoother)
CCI interpretation:
Above +100 — overbought / strong bullish trend
Below -100 — oversold / strong bearish trend
Between ±100 — normal price range
Frequently Asked Questions
Why does the CCI API return values like +142 or -250?
Unlike RSI or Stochastic, CCI is not bounded to a 0–100 range. Values can theoretically go to any extreme. The ±100 levels are conventional thresholds — extreme readings like ±200 indicate very strong momentum conditions.
Is CCI useful for Forex pairs, not just commodities?
Yes — despite the name, CCI is widely used on all markets. It works particularly well on trending Forex pairs and gold (XAUUSD). The ±100 thresholds remain the standard reference points regardless of the instrument.
What's the difference between CCI_14 and CCI_20?
CCI_14 reacts faster and crosses ±100 more frequently. CCI_20 produces fewer, higher-quality signals. Compare both: if both exceed +100 simultaneously, it's a stronger confirmation of overbought pressure.
Can I use CCI to identify divergence?
Yes — query CCI_14 history via /v1/indicator/history and compare the CCI trend to the price trend. If price makes a new high but CCI_14 makes a lower high, that's bearish divergence — a potential reversal signal.
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.