---
title: "GET /fotocasa/search"
method: GET
path: "/fotocasa/search"
tags: ["Fotocasa"]
---

# GET /fotocasa/search

`GET /fotocasa/search`

## Request

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

## Query parameters

- `property_type` integer, nullable
- `transaction_type` integer, nullable
- `location[]` string[]
- `page` integer
- `size` integer
- `sort` 'scoring' | 'publicationDate' | 'price' | 'null', nullable
- `sort_order_desc` boolean, nullable
- `new_construction` boolean, nullable
- `latitude` number, nullable
- `longitude` number, nullable

## Response `200`

- string

## Other responses

- `401`: Unauthorized - API key is missing or invalid
- `404`: The requested listing or location was not found. This response is not billable.
- `422`: A public parameter is invalid, including an unknown property_type or transaction_type. This response is not billable.
- `503`: The service could not obtain a complete result from Fotocasa. 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/1e1aa78ff103?raw)
