{"openapi":"3.1.0","info":{"title":"FX Z-Score & Mean-Reversion API","version":"1.0.0","description":"How statistically stretched each currency pair is right now versus its own recent average — the z-score mean-reversion gauge — computed live from Yahoo Finance daily rates (no key, nothing stored). A price alone tells you nothing about whether a pair is cheap or dear; the z-score does: it measures how many standard deviations the current rate sits above or below its rolling mean. A pair two standard deviations above its average is statistically overbought and prone to snap back; two below is oversold. The zscore endpoint returns, for a pair, the current rate, its rolling mean and standard deviation, the z-score, the percent distance from the mean and a plain overbought / oversold label. The screener endpoint scans the major and cross pairs and ranks them by how stretched they are — the most overbought and most oversold at a glance, the mean-reversion opportunity scan. The pairs endpoint lists what is covered. The statistical-stretch / mean-reversion cut for FX — distinct from the FX range, pivot-point, volatility and signals APIs. It answers how far from normal a pair is, not where its support sits or how fast it moves.","contact":{"name":"PremiumApi","url":"https://www.oanor.com/by/premiumapi"}},"servers":[{"url":"https://api.oanor.com/fxzscore-api","description":"oanor gateway"}],"tags":[{"name":"Z-Score"},{"name":"Screener"},{"name":"Pairs"},{"name":"Meta"}],"components":{"securitySchemes":{"oanorKey":{"type":"apiKey","in":"header","name":"x-oanor-key","description":"Get your key at https://www.oanor.com/developer/keys"}}},"security":[{"oanorKey":[]}],"paths":{"/v1/zscore":{"get":{"operationId":"get_v1_zscore","tags":["Z-Score"],"summary":"Z-score, mean, std-dev and overbought/oversold label for one pair","description":"","parameters":[{"name":"pair","in":"query","required":true,"description":"FX pair (see /v1/pairs)","schema":{"type":"string"},"example":"EURUSD"},{"name":"window","in":"query","required":false,"description":"Rolling window in trading days (20-250)","schema":{"type":"string"},"example":"100"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK"},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/screener":{"get":{"operationId":"get_v1_screener","tags":["Screener"],"summary":"Major/cross pairs ranked by absolute z-score","description":"","parameters":[{"name":"window","in":"query","required":false,"description":"Rolling window (20-250)","schema":{"type":"string"},"example":"100"},{"name":"pairs","in":"query","required":false,"description":"Optional comma list to restrict scan","schema":{"type":"string"},"example":"EURUSD,USDCAD,GBPJPY"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK"},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/pairs":{"get":{"operationId":"get_v1_pairs","tags":["Pairs"],"summary":"Supported FX pairs","description":"","parameters":[],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK"},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/meta":{"get":{"operationId":"get_v1_meta","tags":["Meta"],"summary":"Service metadata","description":"","parameters":[],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK"},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}}},"x-oanor-pricing":[{"slug":"free","name":"Free","price_cents_month":0,"monthly_call_quota":900,"rps_limit":2,"hard_limit":true},{"slug":"starter","name":"Starter","price_cents_month":972,"monthly_call_quota":22500,"rps_limit":6,"hard_limit":true},{"slug":"pro","name":"Pro","price_cents_month":2944,"monthly_call_quota":110000,"rps_limit":18,"hard_limit":true},{"slug":"business","name":"Business","price_cents_month":7140,"monthly_call_quota":560000,"rps_limit":45,"hard_limit":true}],"x-oanor-marketplace-url":"https://www.oanor.com/api/fxzscore-api"}