Statistics Finland (StatFin) key tables
Statistics Finland statistics tables through its open data API: a fixed list of key tables (population, consumer_prices, gdp_quarterly, labour_force, housing_prices) with table structure lookup and bounded data queries.
No API key needed to call
- Source
- Statistics Finland open data API
- Licence and terms
- CC BY 4.0
- Coverage
- Finland
- Refresh cadence
- Answers are shared and cached for 21600 seconds.
Questions you can ask
- What variables does the Statistics Finland population table have?
- What was the population of Finland in the latest years?
Operations
Statistics Finland table structure
Answers: which variables, codes and sample values does a Statistics Finland statistics table have, and which can be left out? Call this before statfin_finland_table_data.
| table | required, string, population | consumer_prices | gdp_quarterly | labour_force | housing_prices, Table: population (key figures on population by region, yearly); consumer_prices (consumer price indices, overall, monthly); gdp_quarterly (quarterly GDP and national income); labour_force (labour force survey key indicators); housing_prices (price index of old dwellings, prices per square metre). |
|---|
Example: What variables does the Statistics Finland population table have?
Over MCP
{"tool":"call_connector_operation","arguments":{"connector":"statfin_finland","operation":"statfin_finland_table_info","params":{"table":"population"}}}Over HTTP
curl '/v1/connectors/statfin_finland/statfin_finland_table_info?table=population'Statistics Finland table data
Answers: What was the population of Finland in the latest years? Returns the newest values first with the codes that vary.
| table | required, string, population | consumer_prices | gdp_quarterly | labour_force | housing_prices, Table: population (key figures on population by region, yearly); consumer_prices (consumer price indices, overall, monthly); gdp_quarterly (quarterly GDP and national income); labour_force (labour force survey key indicators); housing_prices (price index of old dwellings, prices per square metre). |
|---|---|
| selections | required, string, Selections as Code=value pairs separated by semicolons; several values for one variable are comma separated (up to 20), for example alue_23_20260101=SSS;contentscode=vaerak-vaesto;timeperiod_y=top:3. Use top:N as the only value of the time variable for its latest N periods. Variable codes and values come from the table_info operation. Variables that can be omitted are summed t... |
Example: What was the population of Finland in the latest years?
Over MCP
{"tool":"call_connector_operation","arguments":{"connector":"statfin_finland","operation":"statfin_finland_table_data","params":{"table":"population","selections":"alue_23_20260101=SSS;contentscode=vaerak-vaesto;timeperiod_y=top:3"}}}Over HTTP
curl '/v1/connectors/statfin_finland/statfin_finland_table_data?table=population&selections=alue_23_20260101%3DSSS%3Bcontentscode%3Dvaerak-vaesto%3Btimeperiod_y%3Dtop%3A3'Source notice
Source: Statistics Finland. Terms were not quoted here: see the terms page. Statistics Finland publishes its free databases under the CC BY 4.0 licence, with the source mentioned. Values are trimmed and reordered here; the publisher does not endorse this presentation.