Statistics

Statistics Denmark StatBank API

by dst.dk

Statistics Added on December 1st, 2026
Visit dst.dk →

What it does

The StatBank API gives the published tables of Statistics Denmark, on population, the economy, work, prices and more, for example to chart the Danish population by quarter. List tables, read a table's variables and fetch data with POST (recommended) or GET requests, as CSV, JSON-stat and other formats; add lang=en for English. Free, no key needed, for commercial and non-commercial use under CC BY 4.0 with a source reference. Non-streaming downloads are limited to 1,000,000 cells.
  • API
  • CSV
  • HTTP-GET
  • JSON
  • REST
  • XML

At a glance

API key
Not needed · More APIs with no key
Pricing
Free, no key needed, for commercial and non-commercial use under CC BY 4.0 with a source reference.
Commercial use
Allowed on the free plan
From the browser
Yes (CORS)
Formats
JSON, XML, CSV
Interface
REST, HTTP-GET
Provider
dst.dk

More information: https://www.dst.dk/en/Statistik/hjaelp-til-statistikbanken/api

Is this your service? Show that it is listed

Put this badge on your website or in your README; it links to this page. About the badge

Listed on Free Web Services

dst.dk
Statistics Denmark StatBank API

Example request

curl

curl 'https://api.statbank.dk/v1/data/FOLK1A/CSV?lang=en&Tid=2026K1'

JavaScript

const response = await fetch("https://api.statbank.dk/v1/data/FOLK1A/CSV?lang=en&Tid=2026K1");
const data = await response.json();
console.log(data);

Python

import requests

response = requests.get(
    "https://api.statbank.dk/v1/data/FOLK1A/CSV?lang=en&Tid=2026K1",
    timeout=30,
)
print(response.json())

The JavaScript works in a web page as well as in Node.js 18 or newer.

Did it work for you?

Tell us what you found when you tried Statistics Denmark StatBank API.