APIs / Hemnet / Locations

Hemnet: Locations

Locations from Hemnet as JSON. 1 credit per successful call.

GET /v1/hemnet/locations

Parameters

Send parameters in the query string.

ParameterTypeRequiredAllowed values
querystringRequiredUp to 200 characters
limitintegerOptionalAny
typesstringOptionalUp to 200 characters

Example request

Hemnet
GET/v1/hemnet/locations?query=Malmo&limit=5
{
  "success": true,
  "data": {
    "count": 5,
    "locations": [
      {
        "id": "17989",
        "full_name": "Malmö kommun",
        "parent_full_name": "Skåne län",
        "type": "MUNICIPALITY"
      },
      {
        "id": "923791",
        "full_name": "Malmö Live",
        "parent_full_name": "Malmö kommun",
        "type": "DISTRICT"
      },
      {
        "id": "924031",
        "full_name": "Östra Malmö",
        "parent_full_name": "Malmö kommun",
        "type": "DISTRICT"
      }
    ]
  },
  "meta": {
    "duration_ms": 392,
    "endpoint_family": "hemnet.locations"
  }
}
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.locations has these 4 fields, read from a recorded call that returned 5 items. The recording leaves out fields that were empty, so a live call can return more.

FieldType
idstring
full_namestring
parent_full_namestring
typestring