/v1/zscore
Z-score, mean, std-dev and overbought/oversold label for one pair
Pruébalo en vivo
10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.
Funciona. Consigue una clave API y úsala en tu proyecto.
Obtener una clave APIFragmentos de código
curl "https://api.oanor.com/fxzscore-api/v1/zscore" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/fxzscore-api/v1/zscore", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/fxzscore-api/v1/zscore");
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/fxzscore-api/v1/zscore",
headers={"x-oanor-key": "oanor_test_..."}
)
Respuesta de ejemplo
Una respuesta real de este endpoint, capturada en la última comprobación de estado.
{
"data": {
"base": "EUR",
"mean": 1.169,
"note": "z_score = (current rate - rolling mean) / rolling standard deviation over window_days. Above +2 is statistically overbought (stretched high, mean-reversion expects a pullback); below -2 is oversold. Sample standard deviation. Not financial advice.",
"pair": "EURUSD",
"rate": 1.15808,
"quote": "USD",
"signal": "neutral / fair value",
"source": "Yahoo Finance",
"std_dev": 0.01254,
"z_score": -0.87,
"window_low": 1.14351,
"window_days": 100,
"window_high": 1.20176,
"observations": 100,
"pct_from_mean": -0.93
},
"meta": {
"timestamp": "2026-06-12T10:35:26.417Z",
"request_id": "e8479c4b-a8d8-48d6-b651-3171cce3a764"
},
"status": "ok",
"message": "Z-score retrieved successfully",
"success": true
}