StatFin Finland Statistics PxWeb Scraper avatar

StatFin Finland Statistics PxWeb Scraper

Pricing

from $7.50 / 1,000 results

Go to Apify Store
StatFin Finland Statistics PxWeb Scraper

StatFin Finland Statistics PxWeb Scraper

Scrapes statistical records from StatFin Finland's PxWeb database by subject path. Returns each record as a flat row for export to CSV, JSON, Excel, or XML.

Pricing

from $7.50 / 1,000 results

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

StatFin Finland Statistics PxWeb Scraper

Scrape StatFin Finland statistics tables from any PxWeb subject path, up to a million records per run. Each record is a clean, flattened row from the official Statistics Finland database. No API key or registration. Export to CSV, JSON, Excel, or XML.

Statistics Finland's official StatFin database holds thousands of statistical tables on population, economy, labour, and regions, but the PxWeb interface is built for browsing one table at a time. This Actor reads the public PxWeb API directly, follows any subject path you give it, and returns each statistical record as one flat row. You can pull a single table or walk an entire subject area in one run.

Who uses itWhat they scrape StatFin Finland Statistics for
Market researchersPull demographic and economic indicators for Finland into a spreadsheet for trend analysis.
Data journalistsGather official statistics on population, labour, or regional development for reporting.
Policy analystsCollect time series from StatFin to support policy evaluation and forecasting.
Academic researchersDownload large statistical datasets for quantitative studies without manual table exports.
Business intelligence teamsFeed Finnish official statistics into internal dashboards and models.

What it does

This Actor collects statistical records from StatFin Finland's PxWeb database by subject path and returns each record as a flat row.

  • πŸ“ Subject path browsing: start at the root or drill into any sub-path like vrm/vaerak to target a specific table or folder.
  • πŸ”’ Record limit control: set maxItems from 1 to 1,000,000 to cap the number of statistical records per run.
  • πŸ“Š Flat row output: every record is returned as a clean, flattened row with all dimension values and the measure.
  • 🌐 Official source data: reads directly from Statistics Finland's public PxWeb API, no third-party cache.

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

What you can do with StatFin Finland Statistics data

πŸ“ˆ Track population trends.

A market researcher sets the path to the population subject area and collects yearly records to see how age structure changes across Finnish municipalities.

πŸ“° Support data journalism.

A journalist pulls labour force statistics for a story on regional employment differences and exports the rows to CSV for analysis.

πŸ›οΈ Inform policy analysis.

A policy analyst gathers economic indicators from StatFin to compare Finland's performance against EU targets and prepares a briefing.

πŸŽ“ Build academic datasets.

A researcher collects a large set of education statistics by subject path and loads the flat rows into R or Python for modelling.

πŸ“Š Feed business dashboards.

A BI team schedules the Actor to refresh regional economic data from StatFin and pushes the records into their internal reporting tool.

Why choose this scraper

What you get
Official dataDirect from Statistics Finland's StatFin PxWeb database, the authoritative source for Finnish statistics.
No API keyUses the public PxWeb endpoint, so you can start scraping without registration or credentials.
Flexible scopeTarget one table or an entire subject area by changing the path parameter.
ScalableCollect up to a million records in a single run, enough for large time series and cross-table studies.

How it compares

This Actor is a straightforward scraper for StatFin PxWeb, while the Statistics Finland (StatFin) MCP is an MCP server for AI assistants to search and query the same database interactively.

FeatureParseForgeStatistics Finland (StatFin) MCP
Scrape by subject pathYesNot listed
Flat row outputYesYes
Search across 3,000+ tablesNot listedYes
Inspect table variablesNot listedYes
Query clean flattened statisticsYesYes
MCP server for AI assistantsNot listedYes

Configure the run

Drive the Actor with a subject path inside StatFin PxWeb, and set a maximum number of records to collect per run. The Input tab lists every parameter.

A first run with the defaults:

{
"maxItems": 10
}

A larger pull:

{
"maxItems": 200
}

Pricing

Pay-per-result: $0.0085 per result collected. You pay only for the results written to your dataset.

Results collectedApproximate cost
100 results$0.85
1,000 results$8.50
10,000 results$85.00

New Apify accounts start with $5 in free credit.

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 StatFin Finland Statistics PxWeb 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 StatFin Finland Statistics 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/statfin-finland-pxweb-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 subject path is correct. Try leaving the path empty to list the root subjects, then drill down step by step. Also ensure maxItems is set to at least 1.

Why does the run stop before collecting all records?

The maxItems parameter limits the number of records per run. Increase it if you need more data, up to 1,000,000.

Why do I see an error about the path?

The path must be a valid sub-path within StatFin PxWeb. Check for typos and make sure you are not including the base URL, only the part after it.

Why are some labels in Finnish?

StatFin provides labels in multiple languages. The Actor returns them as they appear in the API. You can map them to English using the table metadata if needed.

Can I get the data in a different format?

The Actor outputs records in a flat structure. You can export to CSV, JSON, Excel, or XML from the Apify dataset, or use the API to retrieve the data programmatically.

FAQ

QuestionAnswer
What is StatFin Finland?StatFin is the official statistics database of Statistics Finland. It contains thousands of statistical tables on population, economy, labour, regions, and more, all accessible through the PxWeb interface.
Do I need an API key or registration?No. This Actor uses the public PxWeb API endpoint, so you can start scraping immediately without any credentials.
How do I find the right subject path?You can browse the StatFin PxWeb website to find the subject area you need. The path is the part of the URL after the base address, for example vrm/vaerak for population structure. Leave the path empty to list the root subjects.
What does the output look like?Each statistical record is returned as a flat row with all dimension values and the measure. The exact fields depend on the table, but the structure is consistent for easy export to CSV, JSON, Excel, or XML.
Can I scrape multiple tables at once?Yes. If you set the path to a subject folder rather than a single table, the Actor will walk that folder and collect records from all tables inside it, up to your maxItems limit.
What is the maximum number of records I can collect?You can set maxItems up to 1,000,000 records per run. The default is 10, which is useful for testing.
Is the data in English or Finnish?StatFin tables often have labels in Finnish, Swedish, and English. The Actor returns the values as provided by the API, so you may see multilingual labels depending on the table.
Can I filter the data before scraping?The Actor currently supports only the subject path and maxItems. For more advanced filtering, you can post-process the exported dataset or use the StatFin PxWeb API directly.
How often is the data updated?The data comes directly from Statistics Finland's live database, so each run reflects the latest published figures.
Is this Actor affiliated with Statistics Finland?No, this is an independent scraper that reads the public PxWeb API. It is not endorsed by or affiliated with Statistics Finland.

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 Finland. 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.