---
title: "Place and keyword type-ahead for Willhaben"
method: GET
path: "/willhaben/autocomplete"
tags: ["Willhaben"]
---

# Place and keyword type-ahead for Willhaben

`GET /willhaben/autocomplete`

## Request

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

## Query parameters

- `term` string, required

## Response `200`

- string

## Other responses

- `401`: Unauthorized - API key is missing or invalid
- `404`: The requested listing, agency or seller does not exist upstream. Non-billable, and not retryable: a different exit returns the same 404.
- `422`: A query parameter failed validation — a missing required id, an unknown vertical, or a value outside the documented range. Messages are per field in Laravel's standard wording, so the accepted vertical ids are published on the `vertical`...
- `503`: Willhaben answered with a JSON application error — an invalid filter, or a sort id that the vertical does not offer. Non-billable, and not retryable: the same request fails the same way on every exit. Published as 503 because SanitizeApi...

---

[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/2f4af6143d10?raw)
