{"openapi":"3.1.0","info":{"title":"Danmarks Nationalbank (Denmark) FX API","version":"1.0.0","description":"Official Danish krone (DKK) exchange rates from Danmarks Nationalbank, with no key. Get the latest official rate for every quoted currency, a single-currency rate, a currency converter and the list of quoted currencies. The central bank quotes rates as DKK per 100 units, so every rate is also normalised to a per-unit DKK value (rate ÷ 100) and conversions are correct. The Danish-FX layer for treasury, pricing and FX dashboards.","contact":{"name":"PremiumApi","url":"https://www.oanor.com/by/premiumapi"}},"servers":[{"url":"https://api.oanor.com/denmark-fx-api","description":"oanor gateway"}],"tags":[{"name":"FX"},{"name":"Meta"}],"components":{"securitySchemes":{"oanorKey":{"type":"apiKey","in":"header","name":"x-oanor-key","description":"Get your key at https://www.oanor.com/developer/keys"}}},"security":[{"oanorKey":[]}],"paths":{"/v1/convert":{"get":{"operationId":"get_v1_convert","tags":["FX"],"summary":"Convert an amount between two currencies via DKK","description":"","parameters":[{"name":"from","in":"query","required":true,"description":"Source ISO code (or DKK)","schema":{"type":"string"},"example":"USD"},{"name":"to","in":"query","required":true,"description":"Target ISO code (or DKK)","schema":{"type":"string"},"example":"DKK"},{"name":"amount","in":"query","required":false,"description":"Amount to convert","schema":{"type":"string"},"example":"100"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"to":"DKK","base":"DKK","date":"2026-06-12","from":"USD","rate":6.4618,"amount":100,"result":646.18},"meta":{"timestamp":"2026-06-15T11:15:43.748Z","request_id":"558e30f3-5e03-4512-9b2a-a1448476366a"},"status":"ok","message":"Conversion retrieved successfully","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/currencies":{"get":{"operationId":"get_v1_currencies","tags":["FX"],"summary":"All currencies quoted by Danmarks Nationalbank","description":"","parameters":[],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"base":"DKK","date":"2026-06-12","count":30,"currencies":["AUD","BRL","CAD","CHF","CNY","CZK","EUR","GBP","HKD","HUF","IDR","ILS","INR","ISK","JPY","KRW","MXN","MYR","NOK","NZD","PHP","PLN","RON","SEK","SGD","THB","TRY","USD","XDR","ZAR"]},"meta":{"timestamp":"2026-06-15T11:15:43.838Z","request_id":"277bd158-e38d-4293-92e6-9e91a703c3ee"},"status":"ok","message":"Currencies retrieved successfully","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/latest":{"get":{"operationId":"get_v1_latest","tags":["FX"],"summary":"Latest official DKK rates (all or selected)","description":"","parameters":[{"name":"symbols","in":"query","required":false,"description":"Comma-separated ISO codes","schema":{"type":"string"},"example":"USD,EUR,SEK"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"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}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/rate":{"get":{"operationId":"get_v1_rate","tags":["FX"],"summary":"Single-currency DKK rate","description":"","parameters":[{"name":"symbol","in":"query","required":true,"description":"3-letter ISO code","schema":{"type":"string"},"example":"USD"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"iso":"USD","base":"DKK","date":"2026-06-12","name":"US dollars","per_unit_dkk":6.4618,"rate_per_100":646.18},"meta":{"timestamp":"2026-06-15T11:15:44.034Z","request_id":"bbcb5ee0-5a7d-4a3a-94c8-d0333ab16636"},"status":"ok","message":"Rate retrieved successfully","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/meta":{"get":{"operationId":"get_v1_meta","tags":["Meta"],"summary":"Bank metadata & endpoint guide","description":"","parameters":[],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"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}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}}},"x-oanor-pricing":[{"slug":"free","name":"Free","price_cents_month":0,"monthly_call_quota":1420,"rps_limit":2,"hard_limit":true},{"slug":"basic","name":"Basic","price_cents_month":860,"monthly_call_quota":42600,"rps_limit":6,"hard_limit":true},{"slug":"pro","name":"Pro","price_cents_month":2580,"monthly_call_quota":172000,"rps_limit":15,"hard_limit":true},{"slug":"business","name":"Business","price_cents_month":5540,"monthly_call_quota":705000,"rps_limit":40,"hard_limit":true}],"x-oanor-marketplace-url":"https://www.oanor.com/api/denmark-fx-api"}