Skip to content

Reference

Macro Education

FXMacroData vs Statistics Denmark API: Danish Macro Data and the DKK Peg

A buyer-guide comparison of the Statistics Denmark StatBank API and FXMacroData for FX traders and developers who need Danish CPI, GDP, and Nationalbanken policy-rate data for EUR/DKK and DKK peg analysis.

Share article X LinkedIn Email
Pip, the FXMacroData robot mascot, balances two linked brass weights on a narrow beam, keeping them level, on a dark desk.
Statistics Denmark's StatBank API is the official source for Danish data. FXMacroData times the same releases to the second and puts them beside the ECB data that anchors the krone peg.

This comparison is for FX traders, quant developers, and analysts who need Danish macro data in code and are deciding whether to call the Statistics Denmark StatBank API directly or use FXMacroData. Denmark is an unusual case for currency work: the krone is pegged to the euro inside ERM II, so EUR/DKK trades in a narrow band and the policy rate of Danmarks Nationalbank exists to defend that peg rather than to steer domestic inflation. That changes which data matters and how you read it.

The core finding: the StatBank API at api.statbank.dk is the official, free, keyless source for Danish statistics, and it also carries Danmarks Nationalbank's own tables for interest rates, exchange rates, reserves, and intervention. It is licensed under CC BY 4.0, which allows commercial use with a source reference. FXMacroData reads the same official releases and adds what an FX workflow needs on top: second-level announcement timestamps, one schema across 22 currencies, a cross-country release calendar, Danish and euro-area data side by side, pair dashboards, and MCP access for AI assistants. Many DKK desks will use both.

Quick answer

Use the StatBank API when you need official Danish tables in full detail, Nationalbanken's daily rate and exchange-rate history, or bulk extracts at no cost. Use FXMacroData when Danish data is one input into a multi-currency FX workflow that needs exact release times, consistent JSON across countries, ECB and Nationalbanken decisions in one feed, and agent-ready access.

Choose StatBank API when

You need the source of record for Denmark, every CPI component and regional breakdown, Nationalbanken's intervention and reserve tables, or streaming bulk extracts.

Choose FXMacroData when

You trade EUR/DKK, USD/DKK, or Scandinavian crosses and want DKK releases beside EUR, USD, SEK, NOK and 17 other currencies in one schema, with second-level timing.

Entry access

StatBank: free, no API key for data calls.* FXMacroData: Always Free USD tier; DKK data on Individual at $50/month (14-day trial) or Business at $250/month for teams.

Takeaway: this is not official versus unofficial data. It is raw official access versus an FX-ready layer built on the same Danish releases.

* Statistics Denmark access terms retrieved from its public StatBank API documentation page in October 2026.

Pricing And Access

Price is not a like-for-like commercial comparison. Statistics Denmark offers the StatBank API as a public service with no paid tier. Data calls such as tableinfo and data work without registration or a key; the documentation notes that a key is needed only for the separate catalogue method. Statistics Denmark states that its statistical data can be used free of charge for commercial and non-commercial purposes as long as you include a source reference, which corresponds to Creative Commons CC BY 4.0.

FXMacroData is a paid workflow product. The Always Free tier needs no key and covers USD data only, at 100 requests per day with USD announcements delayed 15 minutes. DKK data starts on the Individual plan at $50/month or $500/year, with a 14-day trial, 1,000,000 requests per month, and bursts of 300 per minute. The Business plan at $250/month or $2,500/year covers companies and teams of up to 10 people with the same allowance and priority support. Redistribution to your own users is a self-serve add-on at $10/month per block of up to 100 measured users.

Statistics Denmark StatBank API

Free, no key*

Official Danish tables plus Nationalbanken statistics in CSV, JSON-stat, PX, XLSX, SDMX, and bulk formats. CC BY 4.0; commercial use with a source reference.

FXMacroData Individual

$50/month

22 currencies, 700+ series, release calendar, FX rates, COT, yields, MCP. 1,000,000 requests/month, 14-day trial.

FXMacroData Business

$250/month

Same data and allowance for companies and teams of up to 10 people, with company checkout and priority support.

Takeaway: if Denmark is the only country you need and you are happy to build the plumbing, StatBank costs nothing; FXMacroData's price buys cross-currency normalisation, release timing, and pair context.

* Statistics Denmark access terms retrieved from its public StatBank API documentation page in October 2026. No paid StatBank tier is listed.

Side-By-Side Comparison

Attribute Statistics Denmark StatBank API FXMacroData
Core job Official programmatic access to every published StatBank table, including Danmarks Nationalbank's statistics. FX macro data API and dashboards built on official releases across 22 currencies.
Entry pricing Free; no paid tier listed.* $50/month Individual, $250/month Business.
Free tier Entire service is free; no key for data calls.* Always Free USD tier, no key, 100 requests/day, USD announcements delayed 15 minutes.
Coverage Denmark only, but every published table and dimension, plus Nationalbanken rates, exchange rates, reserves, and intervention. 22 currencies and 700+ series; DKK includes CPI, PPI, GDP, unemployment, wages, retail sales, trade, current account, policy rate, yields, reserves, and more.
Release timing Tables update at 08:00 Danish time on release days; table metadata carries an updated stamp without a time-zone offset.* Second-level announcement_datetime on every row; typically available within seconds of official publication, measured publicly.
API format REST with table IDs and variable codes, mostly POSTed as JSON; output in CSV, JSON-stat, PX, XLSX, SDMX, BULK, and more.* REST JSON with OpenAPI, X-API-Key header auth, SSE streaming, GraphQL, Python and JavaScript SDKs.
Rate limits Up to 1,000,000 cells per non-streaming extract; streaming formats have no upper limit. No request-rate limit stated in the documentation.* 1,000,000 requests/month; bursts of 300/min, 5,000/hour, 20 concurrent.
History Full table history, for example CPI from 2000 and Nationalbanken exchange rates from 1977. Release history with prior values and announcement times, in one schema across countries.
AI and MCP No MCP server found in the reviewed documentation; an interactive API console is provided. Official MCP server for Claude, ChatGPT, Cursor, and other clients.
Licence for programmatic and commercial use CC BY 4.0: free commercial and non-commercial use with a source reference.* Personal and internal use on Individual, team use on Business; redistribution via a self-serve add-on.
Best fit Danish economists, researchers, and data teams who need full official detail. FX traders and developers who need DKK beside EUR and other currencies, with timing and pair context.

* Statistics Denmark terms, formats, and extract limits retrieved from its public StatBank API documentation page in October 2026; update times read from StatBank table metadata.

What The Official Data Shows

To show what the StatBank API returns, the chart below is built from one request to table PRIS01 (Consumer price index), selecting the all-items index and the unit "percentage change compared to same month the year before". This is the headline Danish CPI rate that FX desks track. The table's metadata shows the latest update, covering August 2026, landed on 10 September 2026 at 08:00.

Denmark: CPI inflation, Sep 2025 to Aug 2026

All-items consumer price index, percentage change on the same month a year earlier. Hover for values.

Takeaway: Danish inflation dropped to 0.7% in February 2026 and climbed back to 2.0% by August, yet the krone barely moved, because under the peg Danish rates follow the ECB rather than Danish CPI.

Source: Statistics Denmark (Danmarks Statistik), StatBank table PRIS01, Consumer price index, retrieved via api.statbank.dk in October 2026. Licensed under CC BY 4.0.

The DKK Peg: Why Danish Data Works Differently

Denmark participates in ERM II at a central rate of 746.038 kroner per 100 euro, and Danmarks Nationalbank keeps the krone between 729.252 and 762.824, a band of 2.25% either side. The tools are intervention, buying or selling kroner against euro, and interest rates, which Nationalbanken describes as reserved for managing the exchange rate. Nationalbanken's daily rates in StatBank put EUR/DKK at 747.58 per 100 euro on 1 October 2026, about 0.2% from the central rate.

In practice the policy rate tracks the European Central Bank. On 10 September 2026 Nationalbanken raised its current-account rate by 0.25 percentage point to 2.10%, effective the next day, and said the move was a consequence of the ECB raising its deposit facility rate by the same amount, keeping the spread to the euro area unchanged. The previous change, to 1.85%, took effect on 12 June 2026. So for an FX desk the Danish policy rate is mostly an ECB echo, and the interesting signals are the spread to the ECB policy rate, pressure on EUR/DKK inside the band, reserve changes, and any rate move that is not matched by Frankfurt.

A peg-driven rate decision, step by step

ECB decides

The ECB changes its deposit facility rate. FXMacroData records the EUR decision and press release with its announcement time.

Nationalbanken follows

Nationalbanken announces a matching change the same day, effective the next. FXMacroData records it on the DKK feed.

StatBank updates

The daily interest-rate table DNRENTD shows the new rate from its effective date, alongside the DESTR reference rate.

FX check

Compare the EUR and DKK moves, then check EUR/DKK against the 746.038 central rate and the band edges.

Takeaway: the Danish rate decision is only half the story; you need the ECB decision and the EUR/DKK level in the same view to know whether the peg is under any pressure.

Coverage And Depth

StatBank's catalogue is far deeper on Denmark than any FX data product. PRIS01 alone splits CPI by commodity group down to individual product categories; other tables cover regions, industries, and household types. It also hosts Danmarks Nationalbank's statistics: daily official rates and the DESTR reference rate (DNRENTD), daily exchange rates back to 1977 (DNVALD), foreign-exchange reserve stocks (DNRA), and daily observations of net foreign-currency purchases from intervention (DNVALI). If your research question is about Danish rent inflation or the history of intervention, StatBank is the right place, and FXMacroData will not replace it.

FXMacroData's coverage is designed the other way round: narrower per country, wider across countries. For DKK it carries the series an FX desk watches: headline and month-on-month CPI, PPI, GDP, the unemployment rate, employment and wages, retail sales, trade and current account, confidence surveys, money supply, the Nationalbanken policy rate and a daily risk-free rate, government bond yields, and central-bank reserves. Its FX reference rates include Danmarks Nationalbank's own daily rates, published at about 16:00 Copenhagen time and mirroring the ECB's reference set, listed as a source on /v1/fx/sources. Statistics Denmark and Nationalbanken releases arrive in one consistent format, next to the euro-area data that drives them.

Release Timing And Timestamps

Statistics Denmark publishes at a fixed morning slot: StatBank tables update at 08:00 Danish time on release days, which is 06:00 or 07:00 UTC depending on daylight saving time. The August 2026 CPI, for example, appeared in PRIS01 with an updated value of 2026-09-10T08:00:00.

The difference is in how the time is represented. That updated stamp belongs to the table, carries no time-zone offset, and reflects the table's latest refresh rather than a per-observation release time, so your code has to know it means Copenhagen time and keep its own record of when each period first appeared. FXMacroData reads the same official release and stores an announcement_datetime in epoch seconds for every row, in the same field across all 22 currencies. Releases are typically available within seconds of official publication, against a target of one second, and the measured record is published at /release-speed, including the share of releases inside one second by source and every release that took longer. Danish and euro-area releases also sit together in the release calendar.

API Design And Developer Experience

The StatBank API is compact and well documented, with four main methods: subjects and tables for discovery, tableinfo for a table's variables and codes, and data for extraction. Requests can be sent as GET parameters or POSTed as a JSON object, and an online console helps you build them. The learning curve is the code system: you look up table IDs such as PRIS01 or DNRENTD, then variable codes such as VAREGR, ENHED, and time keys like 2026M08 or 2026M10D01. Default labels are in Danish unless you request English, and CSV values use a comma as the decimal separator.

FXMacroData uses named routes instead. The same indicator name works across countries, so switching from Danish to euro-area inflation is a change of currency code, not a new table lookup. A DKK CPI request looks like this:

curl -H "X-API-Key: YOUR_API_KEY" "https://api.fxmacrodata.com/v1/announcements/dkk/inflation"

Same August 2026 CPI release, two response shapes

StatBank CSV row (default Danish labels)

VAREGR;ENHED;TID;INDHOLD
00 Forbrugerprisindeks i alt;
Ændring i forhold til samme
måned året før (pct.);
2026M08;2,00

Semicolon-separated, comma decimal, period key; release time lives in separate table metadata. Wrapped here for width.

FXMacroData row (illustrative, abridged)

{
  "date": "2026-08-31",
  "val": 2.0,
  "prior": 1.7,
  "announcement_datetime": 1789020000
}

Numeric value with prior; epoch-second timestamp (06:00:00 UTC, 08:00 in Copenhagen).

Takeaway: StatBank gives you the official table exactly as published; FXMacroData gives you the same number timed to the second, in a shape shared by every currency.

Limits And Availability

Statistics Denmark caps non-streaming extracts at 1,000,000 cells, counted as rows multiplied by the number of variables plus time and value, and points larger jobs to the streaming BULK and SDMX formats, which have no upper limit. The documentation reviewed does not state a per-second or per-day request limit. For pulling a few headline series that is ample; the practical work is choosing selections carefully so that large tables do not return far more cells than you need.

FXMacroData's limits are 1,000,000 requests per month on Individual and Business, with bursts of 300 per minute, 5,000 per hour, and 20 concurrent requests. Because new releases can be pushed over SSE streaming, an FX application does not need to poll StatBank at 08:00 to catch the print.

Licensing And Redistribution

This is a genuine Statistics Denmark strength. Data from Statistikbanken.dk can be used free of charge for commercial as well as non-commercial purposes, including app development, as long as you include a source reference, matching CC BY 4.0. For a team publishing Danish statistics to clients, that is a clear and permissive basis.

FXMacroData's Individual plan covers a trader's or analyst's own research, dashboards, and scripts; Business covers internal team use. If you show FXMacroData data to your own users, the Commercial Redistribution add-on is $10/month per block of up to 100 measured users or 1,000 public-feed followers, and it is self-serve.

Where Statistics Denmark Is Genuinely Stronger

Source of record

The agency that produces Danish statistics, hosting the central bank's tables too. For citation and official reporting, nothing ranks above it.

Full detail

Every table, component, and breakdown, with English or Danish labels and many output formats.

Peg plumbing

Daily intervention purchases, reserve stocks, DESTR, and exchange rates back to 1977, straight from Nationalbanken.

Free and open

No key for data calls, no cost, streaming bulk extracts, and a CC BY 4.0 licence.

Takeaway: for Denmark-only research, peg history, or a Danish statistics warehouse, StatBank is the better tool.

Where FXMacroData Is Stronger

The gap opens as soon as Denmark is one of several countries in your model, and with a pegged currency that is almost always the case. EUR/DKK is driven by the ECB, so a DKK workflow needs euro-area policy and inflation beside Danish data; USD/DKK behaves much like EUR/USD, which brings in US CPI and Non-Farm Payrolls. With StatBank alone you would add the ECB, Eurostat, and US agencies as separate integrations, each with its own identifiers and time formats. With FXMacroData those rows share one schema and one timestamp field.

Around the releases, FXMacroData adds the context an FX desk uses: the cross-country release calendar, FX spot and reference rates, government bond yields for the Danish and euro-area curves, CFTC positioning in euro futures, central-bank press releases, pair dashboards, exports, and widgets. The MCP server lets Claude, ChatGPT, or Cursor query the same records directly, so an assistant can answer "did Nationalbanken match the ECB this month and where is EUR/DKK against the central rate" with sourced rows rather than a web search.

StatBank API tradeoffs

  • Denmark only; ECB and other data need other integrations.
  • Table and variable-code lookup before the first call.
  • Table-level update stamp without a time-zone offset.
  • No pair context, cross-country calendar, or MCP server found.

FXMacroData strengths

  • One schema across 22 currencies, EUR and DKK included.
  • Second-level announcement timestamps, measured publicly.
  • Calendar, FX rates, COT, yields, and press releases in one key.
  • REST, SSE, GraphQL, SDKs, and MCP.

FXMacroData tradeoffs

  • Not the original publisher of Danish statistics.
  • Carries FX-relevant series, not every table and breakdown.
  • No daily intervention series; use StatBank for that.
  • DKK data requires a paid plan.

Takeaway: FXMacroData trades away depth on one country for speed, consistency, and euro-area context, which is what a pegged currency needs.

Decision Matrix

Reader Better fit Why
Danish economist or academic researcher StatBank API Full official detail and long history matter more than FX packaging.
Analyst studying peg defence and intervention StatBank API Daily intervention, reserve, and exchange-rate tables come straight from Nationalbanken.
EUR/DKK or USD/DKK trader FXMacroData ECB and Nationalbanken decisions, Danish releases, and pair dashboards in one place.
Quant backtesting Scandinavian release reactions FXMacroData Epoch-second announcement times and prior values for DKK, SEK, NOK, and EUR in one schema.
AI or automation builder FXMacroData MCP and named REST routes avoid a custom table-code lookup layer.
Fintech publishing Danish stats to clients Depends StatBank plus CC BY 4.0 for Denmark only; FXMacroData's redistribution add-on for multi-country feeds.

Recommendation

Choose the Statistics Denmark StatBank API if your work is about Denmark itself: deep breakdowns, official citation, peg history, or a Danish data warehouse. It is free, simple to call, openly licensed, and it is a source FXMacroData itself relies on for Danish statistics and Nationalbanken data.

Choose FXMacroData if Danish data is an input to FX decisions. You get DKK releases with second-level timing next to the ECB, euro-area, and US data that actually drives the krone, without maintaining a separate integration per publisher. Check the measured timing record at /release-speed, browse the API reference, follow Nationalbanken statements in the DKK press-release feed and the EUR/DKK dashboard, and compare plans on the pricing page; the Individual plan includes a 14-day trial.

Bottom line

StatBank is where Danish numbers are born; FXMacroData is where they meet the ECB and the rest of the FX market. Use StatBank for depth on Denmark and the peg's plumbing, and FXMacroData when the job is trading or modelling DKK against the world, timed to the second.

Sources Checked

Evidence checked - October 2026

FXMacroData API data

Data endpoints used in this article

No FXMacroData API data endpoint is attributed to this article. Its evidence base is identified in the article and source links.

Explore the FXMacroData API reference

Frequently asked

Questions about this topic

Is the Statistics Denmark StatBank API free?

Yes. The StatBank API is free, and data calls work without registration or an API key; Statistics Denmark says a key is needed only for its catalogue method. Data can be used commercially with a source reference, matching CC BY 4.0.

What are the limits of the StatBank API?

Non-streaming extracts are capped at 1,000,000 cells; the streaming BULK and SDMX formats have no upper limit. The documentation does not state a request-rate limit. FXMacroData paid plans allow 1,000,000 requests per month with bursts of 300 per minute.

What time does Statistics Denmark publish CPI?

StatBank tables update at 08:00 Danish time on release days; the August 2026 CPI appeared in table PRIS01 on 10 September 2026 at 08:00. FXMacroData records the same releases with second-level timestamps, typically within seconds of publication.

How does the DKK peg change which Danish data matters?

Denmark keeps the krone at a central rate of 746.038 per 100 euro within a 2.25% ERM II band, and Danmarks Nationalbank sets rates to manage the exchange rate, usually matching ECB moves. FX desks therefore watch ECB decisions, the Nationalbanken spread, EUR/DKK inside the band, and reserves alongside Danish CPI and GDP.

Why would an FX trader use FXMacroData instead of the StatBank API?

FXMacroData reads the same official Danish releases and adds what DKK workflows need: one schema across 22 currencies including EUR, epoch-second announcement times, a cross-country release calendar, FX rates, yields, press releases, pair dashboards, and an MCP server for AI assistants.

When is the StatBank API the better choice?

Choose StatBank for Denmark-only research that needs full table detail, Nationalbanken intervention and reserve history, official citation, or large bulk extracts at no cost.

Keep reading

Blogroll

AI Answer-Ready

Key Facts

Page
FXMacroData vs Statistics Denmark API: Danish Macro Data and the DKK Peg
Section
Articles
Canonical URL
https://fxmacrodata.com/articles/fxmacrodata-vs-statistics-denmark-api
Source
FXMacroData editorial and official publisher references
Last Updated
2026-10-05 15:04 UTC

Provenance And Trust

Cite the canonical URL and source field above. Where available, this page maps to official publisher releases and timestamped updates.

Quick Q&A

Is the Statistics Denmark StatBank API free? Yes. The StatBank API is free, and data calls work without registration or an API key; Statistics Denmark says a key is needed only for its catalogue method. Data can be used commercially with a source reference, matching CC BY 4.0.

What are the limits of the StatBank API? Non-streaming extracts are capped at 1,000,000 cells; the streaming BULK and SDMX formats have no upper limit. The documentation does not state a request-rate limit. FXMacroData paid plans allow 1,000,000 requests per month with bursts of 300 per minute.

What time does Statistics Denmark publish CPI? StatBank tables update at 08:00 Danish time on release days; the August 2026 CPI appeared in table PRIS01 on 10 September 2026 at 08:00. FXMacroData records the same releases with second-level timestamps, typically within seconds of publication.

How does the DKK peg change which Danish data matters? Denmark keeps the krone at a central rate of 746.038 per 100 euro within a 2.25% ERM II band, and Danmarks Nationalbank sets rates to manage the exchange rate, usually matching ECB moves. FX desks therefore watch ECB decisions, the Nationalbanken spread, EUR/DKK inside the band, and reserves alongside Danish CPI and GDP.

Prompt Packs

Use these in ChatGPT, Claude, Gemini, Mistral, Perplexity, or Grok for consistent source-aware outputs.

Share page X LinkedIn Email