/v1/meta
Bank metadata & endpoint guide
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
curl "https://api.oanor.com/denmark-fx-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/denmark-fx-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/denmark-fx-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/denmark-fx-api/v1/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"bank": "Danmarks Nationalbank",
"note": "The bank quotes DKK per 100 units; per_unit_dkk = rate_per_100 / 100, used for conversions.",
"source": "Danmarks Nationalbank XML feed (nationalbanken.dk/api/currencyratesxml), keyless",
"country": "Denmark",
"examples": {
"rate": "/v1/rate?symbol=USD",
"latest": "/v1/latest?symbols=USD,EUR,SEK",
"convert": "/v1/convert?from=USD&to=DKK&amount=100",
"currencies": "/v1/currencies"
},
"endpoints": {
"/v1/rate": "single-currency rate with per-100 and per-unit DKK value (symbol=USD)",
"/v1/latest": "latest official DKK rates for all (or selected) currencies (symbols optional)",
"/v1/convert": "convert an amount between any two quoted currencies via DKK (from, to, amount)",
"/v1/currencies": "all currencies quoted by Danmarks Nationalbank"
},
"cache_ttl_ms": 300000,
"base_currency": "DKK"
},
"meta": {
"timestamp": "2026-06-15T11:15:44.128Z",
"request_id": "fda5d194-3db2-4942-a1f9-3a969a15b805"
},
"status": "ok",
"message": "Meta",
"success": true
}