APIs / Homegate / Locations

Homegate: Locations

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

GET /v1/homegate/locations

Parameters

Send parameters in the query string.

ParameterTypeRequiredAllowed values
namestringOptionalUp to 100 characters
idsstringOptionalUp to 500 characters
langstringOptionalde, en, fr, it
fromintegerOptionalAny
sizeintegerOptionalAny

Example request

Homegate
GET/v1/homegate/locations?name=zurich&lang=en&size=3
{
  "success": true,
  "data": {
    "query": {
      "name": "zurich"
    },
    "pagination": {
      "from": 0,
      "size": 3,
      "total": 75
    },
    "results": [
      {
        "id": "geo-city-zurich",
        "type": "place",
        "names": {
          "de": [
            "Zürich"
          ],
          "fr": [
            "Zurich"
          ],
          "it": [
            "Zurigo"
          ],
          "en": [
            "Zurich"
          ]
        },
        "url_names": {
          "en": "city-zurich",
          "de": "ort-zuerich",
          "fr": "lieu-zurich",
          "it": "luogo-zurigo"
        },
        "center": {
          "lat": 47.377194615088676,
          "lon": 8.539285808314094
        },
        "children": [
          "geo-zipcode-8001",
          "geo-zipcode-8002",
          "geo-zipcode-8003"
        ],
        "url": "https://www.homegate.ch/rent/real-estate/city-zurich/matching-list"
      },
      {
        "id": "geo-canton-zurich",
        "type": "canton",
        "names": {
          "de": [
            "Zürich"
          ],
          "fr": [
            "Zurich"
          ],
          "it": [
            "Zurigo"
          ],
          "en": [
            "Zurich"
          ]
        },
        "url_names": {
          "de": "kanton-zuerich",
          "en": "canton-zurich",
          "fr": "canton-zurich",
          "it": "cantone-zurigo"
        },
        "center": {
          "lat": 47.41936545165778,
          "lon": 8.666361227913432
        },
        "children": [
          "geo-region-affoltern",
          "geo-region-andelfingen",
          "geo-region-bulach"
        ],
        "url": "https://www.homegate.ch/rent/real-estate/canton-zurich/matching-list"
      },
      {
        "id": "geo-zipcode-8001",
        "type": "zip",
        "names": {
          "de": [
            "8001",
            "Zürich"
          ],
          "fr": [
            "8001",
            "Zurich"
          ],
          "it": [
            "8001",
            "Zurigo"
          ],
          "en": [
            "8001",
            "Zürich"
          ]
        },
        "url_names": {
          "de": "plz-8001",
          "fr": "npa-8001",
          "it": "npa-8001",
          "en": "zip-8001"
        },
        "center": {
          "lat": 47.37150385892116,
          "lon": 8.54520464730291
        },
        "url": "https://www.homegate.ch/rent/real-estate/zip-8001/matching-list"
      }
    ]
  },
  "meta": {
    "endpoint_family": "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.results has these 7 fields, read from a recorded call that returned 36 items. The recording leaves out fields that were empty, so a live call can return more.

FieldType
idstring
typestring
namesobject
url_namesobject
centerobject
childrenstring[]
urlurl