---
title: "GET /habitaclia/locations"
method: GET
path: "/habitaclia/locations"
tags: ["Habitaclia"]
---

# GET /habitaclia/locations

`GET /habitaclia/locations`

## Request

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

## Query parameters

- `query` string, required
- `property_type` 'flat' | 'house' | 'office' | 'garage' | 'building' | 'land', required
- `transaction_type` 'buy' | 'rent' | 'null', nullable

## Response `200`

- string

## Other responses

- `401`: Unauthorized - API key is missing or invalid
- `404`: The requested listing was not found. This response is not billable.
- `422`: A public parameter is invalid, including an unknown transaction_type, property_type or sort_by. This response is not billable.
- `503`: The service could not obtain a complete result from Habitaclia. This response is not billable.

---

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