---
title: "Location Autocomplete"
method: GET
path: "/seloger/locations"
tags: ["SeLoger"]
---

# Location Autocomplete

`GET /seloger/locations`

## Request

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

Autocomplete departments, city groups and postal codes.

## Query parameters

- `query` string, required
- `limit` integer, nullable

## Response `200`

- string

## Other responses

- `401`: Unauthorized - API key is missing or invalid
- `404`: The requested resource does not exist upstream: the listing is gone, was never live, or is not reachable through the search it would belong to. This is not billed.
- `422`: The query term or the limit failed validation.
- `503`: SeLoger did not return a usable response through any available request path, or refused the request this integration sent it. This failure is not billed and is retryable. The SeLoger integration is switched off. Reads as a clean 503 so a...

---

[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)
