Places

Boundaries of all postal code areas as GeoJSON

A GeoJSON FeatureCollection of postal code area boundaries, for drawing a map. Large nationally — scope it to one municipality with kunta.

Example request: https://suomiatlas.com/api/v1/postal-codes?kunta=091

get/api/v1/postal-codes

Request

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

Query parameters

kuntastring

A 3-digit municipality code. Anything else is a 400; omitted means the whole country.

Response

Boundaries.

type'FeatureCollection' required

Example response

{
  "features": [
    {
      "geometry": {
        "type": "Polygon",
        "coordinates": [
          [
            [
              24.93,
              60.16
            ],
            [
              24.95,
              60.16
            ],
            [
              24.95,
              60.17
            ],
            [
              24.93,
              60.16
            ]
          ]
        ]
      }
    }
  ]
}

Changes