Areas

Areas statistically similar to this one

Nearest neighbours by statistical profile, not by distance on the map, each with a similarity score. Free.

Example request: https://suomiatlas.com/api/v1/postal-codes/00120/similar?k=5

get/api/v1/postal-codes/{postalCode}/similar

Request

  • Base URL: https://suomiatlas.com
  • URL: https://suomiatlas.com/api/v1/postal-codes/{postalCode}/similar
  • Auth: one of:
    • none
    • HTTP bearer

Path parameters

postalCodestring required

A 5-digit Finnish postal code. Not format-checked on this operation: an invalid code produces a 404 rather than a 400.

Query parameters

yearinteger

Defaults to the latest year. A non-numeric value is a 404.

kinteger

How many neighbours to return. Below 1 is a 400; above 50 is silently clamped to 50, not rejected.

Response

Neighbours, most similar first.

postalCodestring required
yearinteger required

Changes

No recorded changes to this operation across all 1 revision of this API.