Danmarks Nationalbank Exchange Rate API
Official Danmarks Nationalbank rates for 10 Sept 2026: 1 USD = 6.4352 DKK, 1 EUR = 7.4751 DKK. All 30 currencies published, history back to 2016. Free JSON API for tax, audits, and compliant invoicing.
About Danmarks Nationalbank
Danmarks Nationalbank is Denmark's central bank, operator of the krone's long-standing peg to the euro. It publishes official exchange rates for around 30 currencies against the Danish krone every banking day at around 16:00 Copenhagen time.
- Official website: www.nationalbanken.dk
- Official rate publication: Official exchange rates
Quick start
One request for the pair you need — USD to DKK at the official Danmarks Nationalbank rate:
curl "https://allratestoday.com/api/v1/central-bank/dnb/latest?source=USD&target=DKK" \
-H "Authorization: Bearer art_live_your_key" Or the bank's full published table:
curl "https://allratestoday.com/api/v1/central-bank/dnb/latest" \
-H "Authorization: Bearer art_live_your_key" On paid plans, any historical date or a time series:
curl "https://allratestoday.com/api/v1/central-bank/dnb/history?source=USD&target=DKK&from=2025-01-01" \
-H "Authorization: Bearer art_live_your_key" Latest published rates (2026-09-10)
Danmarks Nationalbank's newest published table, verbatim — the same rows the /latest endpoint returns at this moment. Values are DKK per 1 unit of each currency:
Download this table: Excel (.xlsx) CSV (paid plan required)
One row per currency per publication date. Up to one year per download. Billed as one API call per currency per month of data.
Prefer a bulk file? The complete archive of every source is also published as an open dataset: central-bank-exchange-rates on Hugging Face
| Base | Quote | Type | Rate |
|---|---|---|---|
AUD | DKK | reference | 4.6237 |
BRL | DKK | reference | 1.2557 |
CAD | DKK | reference | 4.6577 |
CHF | DKK | reference | 7.9253 |
CNY | DKK | reference | 0.9595999999999999 |
CZK | DKK | reference | 0.30820000000000003 |
EUR | DKK | reference | 7.4751 |
GBP | DKK | reference | 8.7006 |
HKD | DKK | reference | 0.8207 |
HUF | DKK | reference | 0.020489999999999998 |
IDR | DKK | reference | 0.000366 |
ILS | DKK | reference | 2.1237 |
INR | DKK | reference | 0.0674 |
ISK | DKK | reference | 0.05339000000000001 |
JPY | DKK | reference | 0.041739 |
KRW | DKK | reference | 0.004789 |
MXN | DKK | reference | 0.37979999999999997 |
MYR | DKK | reference | 1.5829 |
NOK | DKK | reference | 0.6945 |
NZD | DKK | reference | 3.7488 |
PHP | DKK | reference | 0.10279999999999999 |
PLN | DKK | reference | 1.7294999999999998 |
RON | DKK | reference | 1.4232 |
SEK | DKK | reference | 0.6674 |
SGD | DKK | reference | 5.0813 |
THB | DKK | reference | 0.195 |
TRY | DKK | reference | 0.13269999999999998 |
USD | DKK | reference | 6.4352 |
XDR | DKK | reference | 8.8339 |
ZAR | DKK | reference | 0.3985 |
Node.js / TypeScript client
A dedicated zero-dependency npm package wraps these endpoints — danmarks-nationalbank-exchange-rate:
npm install danmarks-nationalbank-exchange-rate import { getRate } from 'danmarks-nationalbank-exchange-rate';
const pair = await getRate('USD', 'DKK', { apiKey: 'art_live_...' });
console.log(pair.rate, pair.rate_date); Zero dependencies, TypeScript types included, and it runs anywhere fetch exists — Node 18+, Bun, Deno, and edge runtimes.
Full reference — installation, all four functions, response shapes, error codes: danmarks-nationalbank-exchange-rate documentation.
Why use the official Danmarks Nationalbank rate?
A market rate is a moving target; the rate Danmarks Nationalbank publishes is a fixed, citable figure that stays put once printed — which is why invoicing, customs, audit evidence, and statutory accounting in Denmark lean on it rather than on a live feed. Every response from this API carries the bank's own rate_date, and on days with no publication you get the most recent published table — the one compliance rules tell you to apply.
Pairs the bank doesn't print directly are resolved from its table (inverse or cross via DKK) and explicitly flagged "derived": true — so what the bank printed and what was computed are never confused.
Endpoints
GET /api/v1/central-bank/dnb/latest— latest table or single pair (all plans)GET /api/v1/central-bank/dnb/{YYYY-MM-DD}— the table for any date (paid plans)GET /api/v1/central-bank/dnb/history— time series, up to 5,000 rows (paid plans)GET /api/v1/central-bank/dnb/availability— publication calendar: the dates the bank actually published (all plans)
Full parameter reference in the API documentation. Every request counts toward your plan's monthly quota — rates change once per business day, so caching a published table locally makes a small quota go far.
Frequently asked questions
Does an exchange rate API exist for Danmarks Nationalbank data?
Yes. This endpoint returns Danmarks Nationalbank's official daily figures as JSON; the newest table is free on every plan.
How often are the rates updated?
Danmarks Nationalbank publishes once per business day; the API ingests each new table shortly after publication (latest: 2026-09-10).
Are these really Danmarks Nationalbank's official figures?
Yes. Every value comes from Danmarks Nationalbank's own publication and is served unmodified, carrying the bank's publication date; computed pairs are explicitly flagged derived.
Danmarks Nationalbank rates, one API key
Latest table on every plan. History back to 2016 on paid plans. No credit card to start.
Get Free API Key Read the Docs