APIs / Booli / Areas

Booli: Areas

Areas from Booli as JSON. 1 credit per successful call.

GET /v1/booli/areas

Parameters

Send parameters in the query string.

Required Send query or ids.

ParameterTypeRequiredAllowed values
querystringOptionalUp to 100 characters
idsstringOptionalUp to 200 characters

Example request

Booli
GET/v1/booli/areas?query=Stockholm
{
  "success": true,
  "data": {
    "query": "stockholm",
    "count": 9,
    "areas": [
      {
        "id": "1",
        "name": "Stockholm",
        "display_name": "Stockholms kommun",
        "type": "Kommun",
        "type_name": "Kommun",
        "parent": {
          "id": "2",
          "name": "Stockholms län",
          "display_name": "Stockholms län",
          "type": "Län",
          "type_name": "Län"
        }
      },
      {
        "id": "2",
        "name": "Stockholms län",
        "display_name": "Stockholms län",
        "type": "Län",
        "type_name": "Län",
        "parent": {
          "id": "77104",
          "name": "Sverige",
          "display_name": "Sverige",
          "type": "Land",
          "type_name": "Land"
        }
      },
      {
        "id": "143",
        "name": "Stockholms innerstad",
        "display_name": "Stockholms innerstad",
        "type": "userDefined",
        "type_name": "Område",
        "parent": {
          "id": "1",
          "name": "Stockholm",
          "display_name": "Stockholms kommun",
          "type": "Kommun",
          "type_name": "Kommun"
        }
      }
    ]
  },
  "meta": {
    "duration_ms": 1631,
    "endpoint_family": "booli.areas"
  }
}
200 OKJSONX-Credits-Used: 1
Recorded 12 Nov 2026 and shortened.

Run this endpoint in the playground with your own parameters. 1 credit per successful call; failed calls are free.

Response fields

Each item in data.areas has these 6 fields, read from a recorded call that returned 9 items. The recording leaves out fields that were empty, so a live call can return more.

FieldType
idstring
namestring
display_namestring
typestring
type_namestring
parentobject