Statistics Denmark Statbank Scraper avatar

Statistics Denmark Statbank Scraper

Pricing

Pay per usage

Go to Apify Store
Statistics Denmark Statbank Scraper

Statistics Denmark Statbank Scraper

Scrapes records from a specified Statbank table on statbank.dk and returns each row as a flat object with all dimensions and values.

Pricing

Pay per usage

Rating

0.0

(0)

Developer

ParseForge

ParseForge

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

11 days ago

Last modified

Share

ParseForge

Statistics Denmark Statbank Scraper

Scrape any table from Statistics Denmark's Statbank, up to a million records per run. Each row comes with all dimensions and values, ready for analysis. No API key or registration. Export to CSV, JSON, Excel, or XML.

Statistics Denmark's official API requires a subscription and complex queries. This reads the public Statbank tables directly, by table ID, and returns every record in a flat, consistent schema. Filter by maximum records to control the size of your dataset.

Who uses itWhat they scrape Statistics Denmark Statbank for
EconomistsPull CPI, GDP, or employment tables for time-series analysis.
Data journalistsGet population or housing data to support stories with official numbers.
Market researchersAnalyze demographic trends from census or migration tables.
Policy analystsMonitor social indicators like unemployment or education statistics.

What it does

This Actor collects records from a specified Statbank table and returns each one as a flat row with all dimensions and values.

  • ๐Ÿ“Š Any Statbank table: provide a table ID like PRIS9 for CPI or FOLK1A for population.
  • ๐Ÿ”ข Up to a million records: set maxItems to collect as many rows as you need.
  • ๐Ÿ“ Structured output: each record is a flat object with all dimensions and values.
  • โšก No API key: the Actor reads the public Statbank interface directly.

Results export to CSV, JSON, Excel, or XML, or straight from the API.

What you can do with Statistics Denmark Statbank data

๐Ÿ“ˆ Track inflation over time.

An economist runs the Actor with table ID PRIS9 to collect annual CPI data and builds a trend chart for a report.

๐Ÿ—บ๏ธ Map population changes.

A data journalist scrapes FOLK1A to get population by municipality and creates an interactive map for a news article.

๐Ÿ  Analyze housing statistics.

A market researcher pulls housing construction data to identify regional growth patterns for a client presentation.

๐ŸŽ“ Study education outcomes.

A policy analyst collects education attainment tables to evaluate the impact of a new program.

Why choose this scraper

What you get
Official dataDirectly from Statistics Denmark's public Statbank.
Flexible tablesScrape any table by its ID, from CPI to population.
Large volumeCollect up to one million records per run.
Clean schemaEvery record is a flat object, ready for analysis.

How it compares

No other Store actor targets Statistics Denmark Statbank the same way, so the honest comparison is with the alternatives teams actually weigh.

Statistics Denmark Statbank ScraperBuild it in-houseBy hand
SetupRun it now, zero configDays of engineeringNone, but hours per pull
When Statistics Denmark Statbank changesMaintained for youYou fix itYou re-learn the page
Proxies, retries, anti-botBuilt inYour problemBrowser only
OutputFixed JSON schema, CSV/Excel exportWhatever you buildCopy-paste
CostPay per resultEngineering timeAnalyst hours

Configure the run

Drive the Actor with a Statbank table ID and a maximum record count. The table ID selects which dataset to scrape, and maxItems limits how many rows are returned. The Input tab lists every parameter.

A first run with the defaults:

{
"tableId": "PRIS9",
"maxItems": 10
}

A larger pull:

{
"tableId": "PRIS9",
"maxItems": 200
}

Free users

Free-plan runs return up to 10 results as a preview. Upgrade your Apify plan to collect up to 1,000,000 results per run.

Run it

  1. Create a free Apify account with $5 in credit.
  2. Open the Statistics Denmark Statbank Scraper.
  3. Set your inputs and any filters, then click Start.
  4. Export the results as CSV, Excel, JSON, or XML from the Dataset tab.

Run it programmatically through the Apify API (run-sync-get-dataset-items) or the ApifyClient for JavaScript and Python.

Use with AI agents (MCP)

Give an AI agent live access to Statistics Denmark Statbank through the Model Context Protocol. Add the Actor to Claude, Cursor, or any MCP client:

$claude mcp add --transport http apify "https://mcp.apify.com?tools=parseforge/statbank-denmark-v2-scraper"

Then prompt it in plain language to run the scraper and read back the results.

Troubleshooting

Why am I getting no results?

Check that the table ID is correct and that the table has data. Some tables may be empty or require specific parameters.

The run fails with an error.

Verify the table ID. If it is correct, the table might be temporarily unavailable. Try again later.

I only got a few records but expected more.

Increase the maxItems value. The default is 10, but you can set it up to 1,000,000.

The output has strange characters.

The data may include Danish characters. Ensure your downstream tool handles UTF-8 encoding.

FAQ

QuestionAnswer
What is a Statbank table ID?It is the unique identifier for a dataset on Statistics Denmark's Statbank, such as PRIS9 for annual consumer price index or FOLK1A for population. You can find it in the table's URL or metadata.
Do I need an API key?No. The Actor reads the public Statbank interface directly, so no registration or key is required.
How many records can I get?You can set maxItems up to 1,000,000 records per run. The actual number depends on the table size.
What format is the output?Each record is a flat JSON object with all dimensions and values. You can export the dataset to CSV, JSON, Excel, or XML.
Can I scrape multiple tables at once?This Actor scrapes one table per run. To scrape multiple tables, run it multiple times with different table IDs.
Is the data in English or Danish?The data comes as published by Statistics Denmark. Some tables have English labels, others Danish. The Actor returns the raw values.
How do I find the table ID?Go to statbank.dk, find the table you want, and look at the URL or the table information. The ID is usually a short code like PRIS9.
Can I filter by specific dimensions?This Actor returns all rows for the table up to maxItems. For dimension filtering, you would need to process the output or use a different tool.
Is there a rate limit?The Actor is designed to be respectful of the source. If you need many records, consider increasing maxItems gradually.
What if the table ID is wrong?The run will fail with an error. Check the ID on statbank.dk and try again.

Browse the full ParseForge collection for more scrapers.

๐Ÿ†˜ Need help? Email parseforge@protonmail.com with your run ID, your input, and what you expected.

โš ๏ธ Disclaimer. This Actor is unofficial and is not affiliated with, endorsed by, or sponsored by Statistics Denmark. It collects only publicly available data. You are responsible for using the collected data in compliance with the source's terms of service and applicable data-protection laws, including GDPR, CCPA, and PIPL. Do not use it to collect personal data unlawfully.