Home Documentation Central Bank Rates Tax Authority Rates Playground Pricing API Status Blog About FAQ Contact Us

Danmarks Nationalbank Exchange Rate API

Official Danmarks Nationalbank (Denmark) daily exchange rates as JSON: 30 currencies, history back to 2016. The published DKK rates required for tax, audits, and compliant invoicing.

Denmark flagDanmarks Nationalbank official daily exchange rates as JSON: 30 currencies against the DKK, history back to 2016. Latest table on every plan. Get your API key.

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.

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-08-11)

The most recent table as published by Danmarks Nationalbank โ€” exactly what the /latest endpoint returns right now. Values are DKK per 1 unit of each currency:

Download this table: Excel (.xlsx) CSV

BaseQuoteTypeRate
AUD DKK reference 4.5762
BRL DKK reference 1.2690000000000001
CAD DKK reference 4.6479
CHF DKK reference 7.9945
CNY DKK reference 0.9604
CZK DKK reference 0.3084
EUR DKK reference 7.475700000000001
GBP DKK reference 8.7452
HKD DKK reference 0.8256
HUF DKK reference 0.02051
IDR DKK reference 0.000363
ILS DKK reference 2.1599
INR DKK reference 0.0679
ISK DKK reference 0.05257
JPY DKK reference 0.040691
KRW DKK reference 0.004587
MXN DKK reference 0.37829999999999997
MYR DKK reference 1.5829
NOK DKK reference 0.6814
NZD DKK reference 3.8091000000000004
PHP DKK reference 0.1059
PLN DKK reference 1.74
RON DKK reference 1.4265999999999999
SEK DKK reference 0.6819
SGD DKK reference 5.0604000000000005
THB DKK reference 0.1957
TRY DKK reference 0.13570000000000002
USD DKK reference 6.4780999999999995
XDR DKK reference 8.8499
ZAR DKK reference 0.4004

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.

Why use the official Danmarks Nationalbank rate?

Live market rates move continuously, but tax filings, customs declarations, audits, and statutory accounting in Denmark and beyond typically require the official rate published by Danmarks Nationalbank for a given date โ€” a fixed, citable number that never changes after publication. This API serves those published tables with the bank's own rate_date on every response; weekends and holidays return the most recent published date, which is the rate compliance rules require 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

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

Is there an API for Danmarks Nationalbank exchange rates?

Yes โ€” this one. Official daily DKK rates as clean JSON, latest table on every plan including free.

How often are the rates updated?

Danmarks Nationalbank publishes once per business day; the API ingests each new table shortly after publication (latest: 2026-08-11).

Are these the official rates?

Yes โ€” ingested from Danmarks Nationalbank's own published data, served unmodified with the bank's publication date. Anything computed rather than published is 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