Connection check
verified live · 28h ago
area-statistics
Finnish postal-area and municipality statistics; rank, compare, history, air quality; paywall-aware
Tools
9
GitHub stars
—
Installs / wk
—
Licence
—
Transport
streamable-http
Last checked
28h ago
Tools & capabilities
9 toolsRead from the running server on 28h ago.
compare_areas
yearplaces*
Side-by-side statistics for several Finnish postal areas, with national benchmarks and percentiles. Accepts names or codes. Free callers are served only the FIRST TWO areas — the A… Side-by-side statistics for several Finnish postal areas, with national benchmarks and percentiles. Accepts names or codes. Free callers are served only the FIRST TWO areas — the API truncates silently, and this tool reports the dropped ones in `locked`. If areas were dropped, say so; do not present a two-area answer as if it covered everything asked for. A null value or percentile is suppressed or unpublished for that area and year (small-area confidentiality), not zero; only the areas named in `locked` are paywalled.
find_similar_areas
yearlimitplace*
Postal areas most like a given one across its whole statistical profile — income, age structure, education, housing and employment together, not one metric. Useful for "where else… Postal areas most like a given one across its whole statistical profile — income, age structure, education, housing and employment together, not one metric. Useful for "where else in Finland feels like this neighbourhood?". Similarity is statistical, not geographic: the results are usually spread across the country. An area whose statistics are suppressed shares too few dimensions to be compared and is left out, so absence from the list is not dissimilarity — it is unmeasured.
get_air_quality
kindplace*
Measured annual-mean air quality (PM2.5, PM10, NO₂, O₃) for a Finnish postal area or municipality, from Finnish Meteorological Institute and municipal monitoring stations, each com… Measured annual-mean air quality (PM2.5, PM10, NO₂, O₃) for a Finnish postal area or municipality, from Finnish Meteorological Institute and municipal monitoring stations, each compared against the WHO 2021 guideline and the EU limit. Answers "is the air clean in Vantaa?" with a verdict rather than a bare number. The latest reading, its benchmarks and its station are free for everyone; the multi-year `series` behind them needs Pro or an Area Pass and arrives empty otherwise, reported in `locked`. Coverage is sparse: Finland has ~160 stations, so a pollutant with no nearby station is reported as a gap — report that as unmeasured, never as clean.
get_area_report
yearplace*language
The download link for one postal area's printable PDF report (composite scores, trends and the full statistics table). Returns a URL and never the file itself — the report renders… The download link for one postal area's printable PDF report (composite scores, trends and the full statistics table). Returns a URL and never the file itself — the report renders the same data the other tools return, so offer the link when someone wants the document, and answer questions from get_place_stats instead. Downloading requires Suomiatlas Pro or an Area Pass for that area; when the caller has neither, the link still comes back and `locked` says what it costs. Reports exist per postal area only, not per municipality.
get_place_history
kindplace*variables
Time series for one Finnish postal area or municipality, with the direction and size of change computed for each metric so the trend does not have to be eyeballed. Answers question… Time series for one Finnish postal area or municipality, with the direction and size of change computed for each metric so the trend does not have to be eyeballed. Answers questions like "have apartment prices been rising in Espoo?" and "is the population growing?". Defaults to housing sale prices and population. For a postal area it also returns `trendMetrics`: precomputed 1/5/10-year indicators — population growth, income momentum, aging velocity, family influx, construction, education uplift, and unemployment relative to the national change — which answer "is this area gentrifying / aging / declining?" directly, and whose latest values are free for everyone. Free callers receive only the last 3 years of series, no per-year `history` on the trend metrics (Pro or an Area Pass adds up to 10 years per metric), and no municipality housing price history — each reported in `locked`. A short window is NOT evidence of a short trend: if a field is locked, say the full series requires Pro rather than describing the 3-year window as the trend. Series points are index-aligned to `years`: a null point is a year the source did not publish for this area, and `trend` is null when fewer than two points have values or the series starts at zero — call that too sparse to read, not flat.
get_place_stats
kindyearplace*variablesincludeAllVariablesincludeCompositeScores
Current statistics for one Finnish postal area or municipality: population, age, income, employment, education, housing sale prices (€/m²) and municipal crime rates, with national/… Current statistics for one Finnish postal area or municipality: population, age, income, employment, education, housing sale prices (€/m²) and municipal crime rates, with national/regional percentiles where available. Accepts a name or a code and resolves it automatically; if the name is ambiguous it returns the candidates instead of guessing. Answers questions like "how many people live in Toukola?", "how many live in Akaa?" and "how much is an apartment in Töölö?". Returns a headline set of metrics by default — pass `variables` to fetch specific codes from list_variables. A postal area's result also includes `ratios[]`: household composition and jobs-to-residents ratios compared against Finland as a whole (see each entry's `nationalBasis` and the response's `notes`). Anything in the `locked` field is withheld pending a Pro subscription, not missing: say so rather than reporting it as absent. Outside `locked`, a null value is a figure Statistics Finland suppressed (small-area confidentiality) or never published for that vintage, and a null percentile means one could not be computed — report both as unpublished, never as zero; `ratios[].areaValue` is null when the area's denominator is under 30 or an input is unpublished.
list_variables
groupvariableCode
The catalogue of every metric Suomiatlas publishes — population, income, education, employment, buildings and dwellings, housing sale prices, crime rates, composite scores — groupe… The catalogue of every metric Suomiatlas publishes — population, income, education, employment, buildings and dwellings, housing sale prices, crime rates, composite scores — grouped by theme, with codes, units and types. Call this to find the right `variableCode` for rank_areas or get_place_stats. Pass `variableCode` to get the years that metric covers instead; coverage differs per metric (Paavo 2010–2024, housing prices 2009–2025, air quality per municipality from 2019 with fewer stations in the early years). Air-quality codes (aq_pm25_avg, aq_pm10_avg, aq_no2_avg, aq_o3_avg) are municipality-grain and not in this catalogue; pass them to rank_areas directly. An empty year list for a code means it is unpublished, not that the metric is zero.
rank_areas
nearyearlimitorderscopewithinKm
+2
Rank Finnish postal areas by any metric — highest or lowest income, population, unemployment, education, housing prices — nationally or within one municipality or region. Crime rat… Rank Finnish postal areas by any metric — highest or lowest income, population, unemployment, education, housing prices — nationally or within one municipality or region. Crime rates (crime_total_rate and friends) and air quality (aq_pm25_avg, aq_pm10_avg, aq_no2_avg, aq_o3_avg — annual means in µg/m³) rank municipalities instead, since both are published only at that grain; the aq_ codes are not in list_variables, pass them directly. For air quality order="bottom" gives the cleanest municipalities first and order="top" the most polluted, so "which municipality has the cleanest air?" is rank_areas with aq_pm25_avg and order="bottom" — get_air_quality answers for one place only. A municipality absent from an air-quality or crime ranking has no published value there: report it as unmeasured, never as clean or safe. A null in `additionalValues` means that metric is unpublished for that area, not zero. For gender_balance_20_39 the useful question is usually which areas are closest to an even split, not which are most skewed: pass order="balance" for that, since both a high and a low ratio mean imbalance. Get valid metric codes from list_variables. Free callers receive at most 10 rows regardless of `limit`, reported in `locked`. `near` plus `withinKm` narrows the ranking to areas within a straight-line radius of another place. That is distance over the ground, never a travel or commute time. To screen areas on several metrics at once — "above-average family share and below-average housing prices" — rank by one metric and pass the rest as `includeVariables`; that is a single call. Do not call get_place_stats per area to collect a second metric.
search_places
kindlimitquery*