Statistics Denmark StatBank Scraper: Official Tables
Pricing
from $0.30 / 1,000 statistic rows
Statistics Denmark StatBank Scraper: Official Tables
Official Statistics Denmark (Danmarks Statistik) StatBank tables as flat rows: population, prices, trade, labour and 2,000+ more. Official API, CC BY 4.0. Export CSV, Excel, JSON.
Pricing
from $0.30 / 1,000 statistic rows
Rating
0.0
(0)
Developer
ParseForge
Maintained by Apify PartnerActor stats
0
Bookmarked
2
Total users
1
Monthly active users
14 days ago
Last modified
Categories
Features
Share
Statistics Denmark StatBank Scraper: Official Tables as Flat Rows
Turn any of the 2,300+ official Statistics Denmark (Danmarks Statistik) StatBank tables into clean rows: one value per row with its period, measure, dimensions and unit. It reads StatBank's official public API, so the numbers are the ones Denmark publishes: population, consumer prices, labour market, trade, housing, education and more. No login, no API key. Export to CSV, JSON, Excel or XML.
| Who uses it | What for |
|---|---|
| Analysts and economists | Time series of prices, wages, unemployment or GDP without learning the API |
| Journalists and researchers | Quick pulls of official Danish figures with the table link for citation |
| Data and BI teams | Load official statistics into a warehouse or dashboard on a schedule |
| Market researchers | Population, income and housing context for Danish market sizing |
What it does
- 🔎 Find tables: set "What to get" to Find tables and a keyword (for example
unemployment) to list matching table ids, titles, units, periods and update dates. - 📊 Get data: list one or many table ids (for example
PRIS9,FOLK1A) and get the latest periods, or the full history withLatest periods = 0. - 🧩 Breakdowns on demand: by default optional dimensions (region, sex, age) come as totals. Turn on "Include all breakdowns" for every value.
- 📐 Size guard: very large selections are shortened to the most recent periods automatically, and the run tells you.
What a row looks like
| Field | Meaning |
|---|---|
tableId, tableTitle, tableUrl | The table and its StatBank link |
measure | What is measured (for example Population at the first day of the quarter) |
period, periodCode | Year, quarter or month, as text and as StatBank's code |
dimensions | Other dimensions with readable labels (for example {"sex":"Women"}) |
value, unit, decimals | The number and its unit |
tableUpdated, source, scrapedAt | Last update of the table, source reference, run time |
{"tableId": "FOLK1A","measure": "Population at the first day of the quarter","period": "2026Q1","periodCode": "2026K1","dimensions": { "sex": "Women" },"value": 3029291,"unit": "Number","source": "Statistics Denmark, StatBank.dk/FOLK1A (CC BY 4.0)"}
Input
| Field | Description |
|---|---|
mode | data (default) or tables (catalog search) |
tableIds | Table ids, for example ["PRIS9","FOLK1A"] |
searchText | Keyword for catalog mode |
latestPeriods | Most recent periods per table (default 12, 0 = full history) |
breakdowns | Include every value of every dimension (default off) |
maxItems | Maximum rows. Free users: 10 per run. Paid users: up to 1,000,000. |
Example: {"tableIds":["PRIS9"],"latestPeriods":5,"maxItems":100}
Behavior you can rely on
- An unknown table id, an empty selection or a search with no match ends as Succeeded with 0 items and a clear status message. Nothing is charged for results that are not delivered.
- Only a persistent StatBank outage (repeated HTTP 429 or 5xx) ends the run as Failed.
- The Actor uses the official API with a clear User-Agent, bounded retries and short pauses.
About the data
Data comes from Statistics Denmark's StatBank API. Statistics Denmark states that all statistical data on Statistikbanken.dk can be used free of charge for commercial and non-commercial purposes as long as the source is referenced, which corresponds to the Creative Commons CC BY 4.0 licence (https://www.dst.dk/en/Statistik/hjaelp-til-statistikbanken/api). Every row carries a source field you can use for the reference. This Actor is not affiliated with Statistics Denmark.
FAQ
Do I need an API key? No. How do I find a table id? Use "Find tables" mode, or browse https://www.statbank.dk. Are the numbers live? Yes, StatBank always returns the latest published data.
If this Actor helped you, a short review on the Actor page helps others find it.
