Zum Inhalt springen
GET /v1/latest

Latest official DKK rates (all or selected)

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/denmark-fx-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

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

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "base": "DKK",
        "date": "2026-06-12",
        "count": 3,
        "rates": [
            {
                "iso": "EUR",
                "name": "Euro",
                "per_unit_dkk": 7.4744,
                "rate_per_100": 747.44
            },
            {
                "iso": "SEK",
                "name": "Swedish kronor",
                "per_unit_dkk": 0.684,
                "rate_per_100": 68.4
            },
            {
                "iso": "USD",
                "name": "US dollars",
                "per_unit_dkk": 6.4618,
                "rate_per_100": 646.18
            }
        ],
        "quote_per": 100
    },
    "meta": {
        "timestamp": "2026-06-15T11:15:43.938Z",
        "request_id": "b9253852-6cfe-4ed3-ad0d-ca5a045a0763"
    },
    "status": "ok",
    "message": "Latest rates retrieved successfully",
    "success": true
}