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

Service metadata

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

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

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

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

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

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

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

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

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

{
    "data": {
        "method": "Pearson correlation of daily appreciation (vs EUR) log-returns",
        "source": "ECB daily reference rates via Frankfurter (live)",
        "periods": [
            "1m",
            "3m",
            "6m",
            "1y"
        ],
        "service": "currencycorrelation-api",
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/pair": "Correlation coefficient for a pair (base=USD&quote=JPY, period=).",
            "GET /v1/matrix": "Correlation matrix for a basket (currencies=USD,JPY,GBP… or default, period=).",
            "GET /v1/currency": "One currency's correlations to all others, ranked (code=USD, period=1m|3m|6m|1y)."
        },
        "description": "Live FX correlation analytic from ECB reference rates (Frankfurter): how currencies' daily moves co-vary. Get one currency's correlations to all others, the coefficient for any pair, or a full correlation matrix for a basket. Live, no key. Distinct from currency-strength (direction) and FX-volatility (magnitude).",
        "default_basket": [
            "USD",
            "JPY",
            "GBP",
            "AUD",
            "CAD",
            "CHF",
            "CNY",
            "NZD",
            "SEK",
            "NOK"
        ],
        "currencies_live": 29
    },
    "meta": {
        "timestamp": "2026-06-09T03:03:35.680Z",
        "request_id": "d0dc73f7-f5b6-478a-b374-2272b33efc07"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}