Zum Inhalt springen
GET /v1/ma

Simple or exponential moving average

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/technicals-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

curl "https://api.oanor.com/technicals-api/v1/ma" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/technicals-api/v1/ma", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/technicals-api/v1/ma");
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/technicals-api/v1/ma",
    headers={"x-oanor-key": "oanor_test_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "type": "ema",
        "count": 21,
        "value": 106.003828,
        "period": 20,
        "series": [
            100.777607,
            100.441644,
            100.209107,
            100.100621,
            100.129133,
            100.299692,
            100.609245,
            101.045507,
            101.588792,
            102.212717,
            102.886744,
            103.576578,
            104.24738,
            104.865725,
            105.40137,
            105.828858,
            106.130872,
            106.296503,
            106.324455,
            106.222126,
            106.003828
        ],
        "source": "TECHNICALS",
        "indicator": "ma"
    },
    "meta": {
        "timestamp": "2026-06-10T22:56:27.634Z",
        "request_id": "ed8f0f0a-352b-4862-8706-d54533068228"
    },
    "status": "ok",
    "message": "Moving average computed",
    "success": true
}