Naar de inhoud
GET /v1/meta

Service metadata

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/currencycorrelation-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

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