Skip to content
GET /v1/zscore

Z-score, mean, std-dev and overbought/oversold label for one pair

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/fxzscore-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

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

Example response

A real response from this endpoint, captured by the latest health check.

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