# Fotocasa API
Fotocasa scraper API for Spain - 1.5M+ property listings across the mainland, Balearics and Andorra, with prices, photos, and granular filters.
- Page: https://happyendpoint.com/library/fotocasa-api
- RapidAPI: https://rapidapi.com/happyendpoint/api/fotocasa3
- RapidAPI host: `fotocasa3.p.rapidapi.com`
- MCP: `https://mcp.rapidapi.com` with headers `x-api-host: fotocasa3.p.rapidapi.com` and `x-api-key: <your key>`
- Postman documentation: https://documenter.getpostman.com/view/56555678/2sBYHYuxap
- Postman workspace (fork the collection): https://www.postman.com/happyendpoints-team/fotocasa-api
- Tags: map-search, analytics, property-details, market-trends
## Features

- Property Search
- Location Autocomplete
- Detailed Listings
- Market Analytics
- Spain and Andorra Coverage
- Balearic Islands
- Real-Time Updates
- RESTful JSON API

## Endpoints (3)

- `GET /property-suggestions` - Search suggestions and autocomplete for locations and properties in Spain
- `GET /search-properties` - Search property listings with filters for location, price, property type, and more
- `GET /property-details` - Comprehensive listing data for a specific property

The Fotocasa API provides access to one of Spain's largest real estate databases, with over 1.5 million property listings across Spain, Andorra, and the Balearic Islands. Data is updated continuously and delivered as clean JSON, making it straightforward to integrate into property search tools, market research platforms, and real estate applications.

## What the API Covers

**Property search** supports filtering by location, price, property type, number of rooms, and other standard real estate parameters. The search suggestion endpoint powers autocomplete experiences, returning location suggestions and property matches as users type.

**Listing data** is comprehensive. Each property record includes price, location, property type, size, photos, key specifications, and agent or developer information where available.

**Market coverage** spans all of Spain's regions, from major urban centers like Barcelona and Madrid to coastal areas such as Costa del Sol and the Canary Islands. Andorra and the Balearic Islands are also included, which is relevant for international buyers and cross-border property platforms.

## Use Cases

- Spanish real estate portals and property search applications
- Market research and analysis tools for the Spanish property sector
- Property valuation platforms using live listing data
- Investment portfolio tools tracking Spanish real estate
- Location intelligence and PropTech applications covering the Iberian market

## Authentication

All requests require the standard RapidAPI headers:

- `X-RapidAPI-Key`: your RapidAPI key
- `X-RapidAPI-Host`: `fotocasa3.p.rapidapi.com`

## Further reading

- [Fotocasa API: Spain real estate data](/blog/fotocasa-spain-real-estate-api)

## Disclaimer

This API is an independent service built by HappyEndpoint. It is not affiliated with, endorsed, or sponsored by Fotocasa. All data is retrieved from publicly available sources.