---
title: "Fotocasa API: JSON data, 7 endpoints, 1 credit per call"
description: "Get Fotocasa data as structured JSON with one API key: map search, search, agency and listing. Free credits every month."
url: https://perceptlayer.com/apis/fotocasa
---

[APIs](https://perceptlayer.com/apis) / [Real estate](https://perceptlayer.com/verticals/real-estate) / Fotocasa

1 credit per call 7 endpoints

# Fotocasa API

Get Fotocasa data as structured JSON with one API key: map search, search, agency and listing. Free credits every month.

[Get a free API key](https://perceptlayer.com/signup) Run it below

Fotocasa

GET /v1/fotocasa/search?property\_type=2&transaction\_type=1&size=5 

```
curl "https://api.perceptlayer.com/v1/fotocasa/search?property_type=2&transaction_type=1&size=5" \
  -H "X-API-Key: $API_KEY"
```

cURL 1 credit per successful call

Run this call below or from your dashboard to see a live response.

Playground

## Run this API

cURL shell 

```
curl "https://api.perceptlayer.com/v1/fotocasa/search?property_type=2&transaction_type=1&size=5" \
  -H "X-API-Key: $API_KEY"
```

Fotocasa · 7 endpoints

## Endpoints

Every endpoint takes the same key. Open one for its parameters and an example request.

| Endpoint | Required parameters | Cost |
| --- | --- | --- |
| [GET `/v1/fotocasa/agency`](https://perceptlayer.com/apis/fotocasa/agency) | none +7 optional | 1 credit |
| [GET `/v1/fotocasa/listing`](https://perceptlayer.com/apis/fotocasa/listing) | `path` | 1 credit |
| [GET `/v1/fotocasa/locations`](https://perceptlayer.com/apis/fotocasa/locations) | `query` +3 optional | 1 credit |
| [GET `/v1/fotocasa/map-search`](https://perceptlayer.com/apis/fotocasa/map-search) | `latitude` `longitude` +8 optional | 1 credit |
| [GET `/v1/fotocasa/polygons`](https://perceptlayer.com/apis/fotocasa/polygons) | `level` `code` | 1 credit |
| [GET `/v1/fotocasa/price-index`](https://perceptlayer.com/apis/fotocasa/price-index) | none | 1 credit |
| [GET `/v1/fotocasa/search`](https://perceptlayer.com/apis/fotocasa/search) | none +10 optional | 1 credit |

Overview

## About the Fotocasa API

## What you can get

The Fotocasa API returns map search, search, agency and listing as clean JSON. Each successful call costs one credit, and calls that fail are free.

Real estate JSON REST MCP

### More real estate APIs

[99acres](https://perceptlayer.com/apis/99acres) [Apartments.com](https://perceptlayer.com/apis/apartments-com) [Argenprop](https://perceptlayer.com/apis/argenprop) [Bayut](https://perceptlayer.com/apis/bayut) [Bien'ici](https://perceptlayer.com/apis/bienici) [Boliga](https://perceptlayer.com/apis/boliga) [Booli](https://perceptlayer.com/apis/booli) [Casa.it](https://perceptlayer.com/apis/casa-it) [Centris](https://perceptlayer.com/apis/centris) [Crexi](https://perceptlayer.com/apis/crexi) [Daft.ie](https://perceptlayer.com/apis/daft-ie) [Domain.com.au](https://perceptlayer.com/apis/domain-com-au)

Use cases

### Monitor listing prices and new listings

`Use the Fotocasa API to monitor listing prices and new listings` 

### Pull comparables for valuations

`Use the Fotocasa API to pull comparables for valuations` 

### Power alerts and investment analysis

`Use the Fotocasa API to power alerts and investment analysis` 

FAQ

## Questions

**How much does the Fotocasa API cost?**

Each successful call costs one credit. New accounts get free credits every month, and credit packs bring the price down as you scale.

**What format are responses in?**

Every endpoint returns JSON, with no HTML parsing on your side.

**Do I need a separate key for Fotocasa?**

No. One key works for every API in the catalogue.

## Try the Fotocasa API with 1,000 free credits

No credit card. Failed calls are never billed.

[Get a free API key](https://perceptlayer.com/signup) [Read the docs](https://perceptlayer.com/docs)
