/v1/cci
Commodity Channel Index
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/oscillators-api/v1/cci" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/oscillators-api/v1/cci", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/oscillators-api/v1/cci");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/oscillators-api/v1/cci",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"cci": 168.306,
"note": "CCI = (typical price - SMA of typical price) / (0.015 x mean absolute deviation) over the period. Typical price = (H+L+C)/3. >=+100 overbought, <=-100 oversold.",
"period": 20,
"signal": "overbought",
"source": "OSCILLATORS",
"candles": 20,
"typical_price": 111.33333333
},
"meta": {
"timestamp": "2026-06-11T07:49:09.552Z",
"request_id": "8a944671-f5dd-48a6-8129-bf3eec00a67f"
},
"status": "ok",
"message": "CCI computed",
"success": true
}