Μετάβαση στο περιεχόμενο
GET /v1/meta

Service metadata

Δοκιμάστε το ζωντανά

10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.

Προσαρμοσμένες κεφαλίδες (προαιρετικά)
api.oanor.com/fxcorrelation-api

Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.

Λάβετε ένα κλειδί API

Αποσπάσματα κώδικα

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

Παράδειγμα απόκρισης

Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.

{
    "data": {
        "note": "window is 20-365 trading days (default 60). pair is a canonical 6-letter code (EURUSD, USDJPY, GBPJPY, ...). Correlation uses daily log returns aligned on common trading days. Read fresh per call, nothing cached.",
        "pairs": [
            "EURUSD",
            "GBPUSD",
            "USDJPY",
            "USDCHF",
            "AUDUSD",
            "USDCAD",
            "NZDUSD",
            "EURGBP",
            "EURJPY",
            "GBPJPY",
            "EURCHF",
            "AUDJPY",
            "USDMXN",
            "USDCNY"
        ],
        "source": "Yahoo Finance daily closes, live",
        "service": "fxcorrelation-api",
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/pair": "One pair's correlations ranked into co-movers and hedges (pair=EURUSD, window=60).",
            "GET /v1/matrix": "The full FX correlation matrix across all pairs (window=60).",
            "GET /v1/highlights": "The most correlated and most inversely correlated pairs across the grid (window=60)."
        },
        "description": "FX correlation matrix — how the major currency pairs move together, live from Yahoo Finance daily closes (no key, nothing stored). matrix returns the full pairwise correlation grid across ~14 majors and crosses; pair returns one pair's correlation to every other ranked into its closest co-movers and best hedges; highlights surfaces the most correlated and most inversely correlated pairs across the grid. Correlation on daily log returns over a chosen window. The FX-pair correlation cut — distinct from the cross-asset-class correlation matrix, the currency-strength meter, the FX heat-map (day's move, not co-movement) and the price APIs.",
        "pairs_count": 14,
        "upstream_status": "ok",
        "tightest_pair_60d": "EURUSD/GBPUSD"
    },
    "meta": {
        "timestamp": "2026-06-12T10:34:50.915Z",
        "request_id": "1eeafb22-875f-40bd-a857-35dbe52c8c93"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}