---
title: "Resolve place names into search filters"
method: GET
path: "/immoweb/locations"
tags: ["Immoweb"]
---

# Resolve place names into search filters

`GET /immoweb/locations`

## Request

- Base URL: `https://scrappa.co/api`
- URL: `https://scrappa.co/api/immoweb/locations`
- Auth: API key in header `X-API-KEY`

## Query parameters

- `input` string, required
- `language` 'nl' | 'fr' | 'en' | 'null', nullable
- `types` 'DISTRICT' | 'LOCALITY_NAME' | 'POSTAL_CODE' | 'PROVINCE' | 'REGION' | 'COUNTRY' | 'null', nullable
- `maxResults` integer, nullable

## Response `200`

- union
  - string
  - object
    - `success` boolean, required
    - `results` unknown[], required
      - unknown
  - object
    - `success` boolean, required
    - `error` object, required
      - `code` string, required
      - `message` string, required

## Other responses

- `401`: Unauthorized - API key is missing or invalid
- `422`: One or more query parameters failed validation. No credits are charged.
- `503`: One upstream lookup per request. A failed lookup is never billed.

---

[API](https://skmtc.dev/scrappa/apis/scrappa-api-documentation.md) · [All operations](https://skmtc.dev/scrappa/apis/scrappa-api-documentation/llms.txt) · [OpenAPI document](https://skmtc.dev/scrappa/apis/scrappa-api-documentation/revisions/1e1aa78ff103?raw)
