---
title: "Resolve a place name (city / ZIP) to Kleinanzeigen locationId(s) for the search `locationId` filter."
method: GET
path: "/v1/kleinanzeigen/locations"
tags: ["Kleinanzeigen"]
---

# Resolve a place name (city / ZIP) to Kleinanzeigen locationId(s) for the search \`locationId\` filter.

`GET /v1/kleinanzeigen/locations`

## Request

- Base URL: `https://api.scraper-api.com`
- URL: `https://api.scraper-api.com/v1/kleinanzeigen/locations`
- Auth: API key in header `x-api-key`

**Live endpoint.** Credit cost: **1** (1 request = 1 credit).

## Query parameters

- `query` string, required
- `depth` string

## Response `200`

Platform-native JSON payload (ScrapeCreators-compatible).

## Other responses

- `400`: Missing or invalid parameters.
- `401`: Missing or invalid API key.
- `402`: Not enough credits.
- `429`: Rate limit exceeded.
- `502`: Upstream scrape failed.

---

[API](https://skmtc.dev/scraper-api/apis/scraper-api-com-api.md) · [All operations](https://skmtc.dev/scraper-api/apis/scraper-api-com-api/llms.txt) · [OpenAPI document](https://skmtc.dev/scraper-api/apis/scraper-api-com-api/revisions/3c0343a0e65a?raw)
