Ir al contenido
GET /v1/ma

Simple or exponential moving average

Pruébalo en vivo

10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.

Encabezados personalizados (opcional)
api.oanor.com/technicals-api

Funciona. Consigue una clave API y úsala en tu proyecto.

Obtener una clave API

Fragmentos de código

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_..."}
)

Respuesta de ejemplo

Una respuesta real de este endpoint, capturada en la última comprobación de estado.

{
    "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
}