All statistics for one postal code area
The main area endpoint: every published metric for one area, with national, municipal and regional percentiles, plus an embedded crime block. Entirely free — including the latest dwelling sale prices and crime figures. History is what costs money, not the current picture.
Two things to read carefully. A null inside variables means Statistics Finland suppressed that figure for this area, usually because too few people or dwellings lie behind it — nothing is withheld here for payment. And nationalMedians is a median only for some metrics: check nationalBenchmarkBasis for the same key before describing any of these numbers, because for average-type metrics (mean incomes, dwelling prices) the value is a weighted mean.
Housing metrics carry their own, usually newer, vintage — see housingPricesYear.
Example request: https://suomiatlas.com/api/v1/postal-codes/00120/stats
Request
- Base URL: https://suomiatlas.com
- URL: https://suomiatlas.com/api/v1/postal-codes/{postalCode}/stats
- Auth: one of:
- none
- HTTP bearer
Path parameters
A 5-digit Finnish postal code. Not format-checked on this operation: an invalid code produces a 404 rather than a 400.
Query parameters
Defaults to the area's latest vintage. If the requested year holds no data, the response silently falls back to the latest year — so compare year in the response against what you asked for. A non-numeric value is a 404, not a 400.
Response
Statistics for the resolved year.
Example response
{
"crime": {
"metrics": [
{
"unit": "per 1,000 inhab."
}
]
}
}Changes
No recorded changes to this operation across all 1 revision of this API.