# Idealista, Rightmove & Zoopla API: Listings as JSON (`benthepythondev/property-portals-api`) Actor

Property listings API for Idealista, Rightmove, Zoopla and 18 more portals: one JSON schema with price, beds, area, address, coordinates, agent and photos. Track only new and price-changed listings between runs. Uses your Listingrail key, 250 listings free.

- **URL**: https://apify.com/benthepythondev/property-portals-api.md
- **Developed by:** [Ben](https://apify.com/benthepythondev) (community)
- **Categories:** Real estate, Developer tools, Automation
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 96.8% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.23 / 1,000 listings

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## 🏠 Idealista, Rightmove & Zoopla API: Listings as JSON

**Property Portals API** returns property listings from **Idealista, Rightmove, Zoopla and 18 more portals** in one JSON schema: price, currency, bedrooms, bathrooms, area, address, coordinates, the agent's name and phone, and photos. Pick a portal, type a city or paste a portal search link, and get clean rows in seconds. Turn on **Only new and price-changed listings** and a scheduled run returns just what changed since the last run, so you never pay twice for the same listing.

It runs on the [Listingrail](https://listingrail.com/) listings API: bring your Listingrail key (**250 listings free**, no card). No proxies to set up, no browser, no login.

**What a run costs:** on Apify, $0.30 per 1,000 listings on the free plan (down to $0.20 on Diamond) plus a $0.00005 start. Each listing also uses one Listingrail credit (250 free, then from $9 for 2,500). A search that fails at the portal, an empty search and, in change mode, an unchanged listing cost nothing on either side.

### 🔎 What is the Property Portals API?

It is one Actor that reads 21 property portals in 11 countries and normalizes every listing to the same fields. A Rightmove flat in Leeds and an Idealista piso in Madrid come back with the same `price`, `beds`, `area`, `lat`, `lng` and `agent` keys, so one spreadsheet, database table or n8n flow handles all of them.

| Portal | Country | Rent | Sale |
|---|---|---|---|
| Idealista | Spain, Italy, Portugal | ✅ | ✅ |
| Rightmove | UK | ✅ | ✅ |
| Zoopla | UK | ✅ | ✅ |
| Fotocasa | Spain | ✅ | ✅ |
| ImmobilienScout24, Kleinanzeigen | Germany | ✅ | ✅ |
| Daft.ie | Ireland | ✅ | ✅ |
| Otodom | Poland | ✅ | ✅ |
| Imovirtual | Portugal | ✅ | ✅ |
| Hemnet | Sweden | | ✅ |
| Bayut, Property Finder | UAE | ✅ | ✅ |
| Zillow, Realtor.com, Redfin, Zumper, PadMapper, Apartments.com, Craigslist | US (PadMapper also Canada) | ✅ | ✅ |

#### What data does it return?

Every row: `id`, `url`, `source`, `title`, `price`, `currency`, `price_period` (month, week or none for sales), `beds`, `rooms`, `baths`, `area`, `area_unit`, `property_type`, `address`, `city`, `region`, `postal_code`, `country`, `lat`, `lng`, `listed_at`, `photos`, `agent` (`name`, `phone`, `company`), plus `change_status` (`new`, `price_changed` or `unchanged`) and `previous_price`. Fields a portal does not publish are `null`. Tick **Include the portal's raw record** to add the original portal record as `raw`.

### ⬇️ Input

| Field | What to enter |
|---|---|
| **Portal** | One of the 21 portals above |
| **Location or search link** | A city, area or postcode (`Madrid`, `roma, it`, `London`, `SW1A`, `Austin, TX`) or a search link copied from the portal (it keeps its own filters) |
| **Rent or sale** | `rent` or `sale` |
| **Listingrail API key** | Your key, starting with `re_`. [Get one free](https://listingrail.com/#key) |
| **Max listings** | 1 to 500 per run |
| **Min price, Max price, Min bedrooms** | Optional filters (some portals take them only through a search link) |
| **Only new and price-changed listings** | Compare with the previous run of the same search |

#### Example input

```json
{
  "portal": "rightmove",
  "location": "Manchester",
  "type": "rent",
  "maxItems": 100,
  "maxPrice": 1500,
  "apiKey": "re_your_key",
  "onlyChanges": true
}
```

**No key yet?** Run the default input without a key: it returns a free sample snapshot of real listings for sample cities (Madrid, Barcelona, Valencia, London, Manchester, Leeds, Birmingham, Berlin, Dublin and more), so you see the exact output before you sign up.

### 🔔 How do I get only new listings and price drops?

Save the input as a Task with **Only new and price-changed listings** on and schedule it (hourly or daily). The first run returns everything and remembers each listing's id and price. Every later run of the same search returns only listings that are new or changed price, with `previous_price` filled in. Unchanged listings are not saved and not charged. Store issue tabs of Idealista scrapers show complaints about duplicate rows in repeat runs; this mode keys on the portal's listing id, so a listing you already have does not come back.

### ⬆️ Output

```json
{
  "id": "96227473",
  "url": "https://www.idealista.com/inmueble/96227473/",
  "source": "idealista",
  "title": "Piso en Calle la Granja de San Ildefonso, 38, Ensanche de Vallecas - La Gavia, Madrid",
  "price": 990,
  "currency": "EUR",
  "price_period": "month",
  "beds": 1,
  "baths": 1,
  "area": 56,
  "area_unit": "sqm",
  "property_type": "flat",
  "city": "Madrid",
  "country": "ES",
  "lat": 40.3658358,
  "lng": -3.6185881,
  "photos": ["https://img4.idealista.com/..."],
  "agent": {"name": "VIVENIO", "phone": "+34911988050", "company": "Vivenio"},
  "change_status": "new",
  "previous_price": null
}
```

Export as JSON, CSV or Excel, or read it from the dataset API.

### 🆚 How does it compare with single-portal scrapers?

| | Property Portals API | Typical single-portal scraper |
|---|---|---|
| Portals per Actor | 21, one schema | 1 |
| Proxy setup | None | Often residential proxies |
| Only new and price-changed listings | Yes, by listing id | Some, some return duplicates |
| Failed portal search | No credits, no listing charge | Start fee and proxy cost still charged |
| Same data outside Apify | Same key works on the Listingrail REST API and MCP server | No |

If you need one portal's deepest fields (full descriptions, floorplans, EPC), a dedicated scraper for that portal gives more per listing. This Actor is for the same fields across many portals and for cheap change tracking.

### 💡 Use cases

- Rental price tracking across Madrid, Lisbon and London in one table
- Lead lists of estate agents with phone numbers per city
- Price-drop alerts into Slack, Sheets or a CRM through Make, Zapier or n8n
- Investment screening: price per square metre by district
- Feeding listings to an AI agent with the same schema for every country

### 🤖 For AI agents

Call the Actor with `portal`, `location`, `type` and `maxItems`; every row has the same keys whatever the portal. Through Apify's MCP server an agent can run it as a tool. The same Listingrail key also works on Listingrail's own MCP endpoint and REST API (`POST https://listingrail.com/v1/listings/search`).

### ❓ FAQ

**Is there an Idealista API?** Idealista's official API is for partners and approved projects. This Actor gives Idealista listings for Spain, Italy and Portugal as JSON with a free key.

**Is there a Rightmove or Zoopla API for listings?** Neither portal offers a public API to read listings (Rightmove's feeds only take listings in). This Actor returns Rightmove and Zoopla listings as JSON.

**Why do I need a Listingrail key?** The searches run on Listingrail's infrastructure, which keeps the portals answering without proxies on your side. The key is free with 250 listings; paid packs start at $9 for 2,500.

**What happens when my credits run out?** The run stops with a message and a link to top up. Nothing is charged for listings you did not get.

**How fresh is the data?** Searches are live at run time. Only the keyless sample is a stored snapshot (its rows carry `demo: true` and `snapshot_date`).

**Can I paste a search link?** Yes for Idealista, Rightmove, Zoopla, Zillow, Fotocasa, Hemnet, Bayut and Property Finder; the link keeps its own filters.

### ⚠️ Limits

- Up to 500 listings per run; for more, split by area or price band.
- Search results only: no full-description detail pages.
- Public listing data only. Agent names and phones are business contacts as published on the portal.

### 🔗 You might also like

- [Idealista Scraper](https://apify.com/benthepythondev/idealista-scraper)
- [Rightmove Scraper](https://apify.com/benthepythondev/rightmove-scraper)
- [Zoopla Scraper](https://apify.com/benthepythondev/zoopla-scraper)

# Actor input Schema

## `portal` (type: `string`):

The property portal to search. Every portal returns the same fields.

## `location` (type: `string`):

A city, area or postcode ('Madrid', 'roma, it', 'London', 'SW1A', 'Austin, TX'), or a search link copied from the portal (a link keeps its own filters). Without a key, use a sample city such as Madrid, Barcelona, London or Manchester.

## `type` (type: `string`):

Leave empty for the portal's default.

## `apiKey` (type: `string`):

Your Listingrail key (starts with re\_). Get one free with 250 listings at https://listingrail.com/#key. Without a key the run returns the free sample snapshot of a few listings.

## `maxItems` (type: `integer`):

Listings to return (1 to 500). Each listing uses one Listingrail credit.

## `minPrice` (type: `integer`):

In the portal's currency. Some portals ignore price filters; use a search link there.

## `maxPrice` (type: `integer`):

In the portal's currency.

## `minBeds` (type: `integer`):

Only listings with at least this many bedrooms.

## `onlyChanges` (type: `boolean`):

Compare with the previous run of the same search and return only listings that are new or changed price. Unchanged listings are not saved and not charged.

## `includeRaw` (type: `boolean`):

Adds the portal's original record as a 'raw' field next to the normalized fields.

## Actor input object example

```json
{
  "portal": "idealista",
  "location": "Madrid",
  "type": "rent",
  "maxItems": 20,
  "onlyChanges": false,
  "includeRaw": false
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "portal": "idealista",
    "location": "Madrid",
    "type": "rent",
    "maxItems": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("benthepythondev/property-portals-api").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "portal": "idealista",
    "location": "Madrid",
    "type": "rent",
    "maxItems": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("benthepythondev/property-portals-api").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "portal": "idealista",
  "location": "Madrid",
  "type": "rent",
  "maxItems": 20
}' |
apify call benthepythondev/property-portals-api --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,benthepythondev/property-portals-api"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/5g4BtISNyWg74sWgb/builds/OMMK0C63z9fsqByva/openapi.json
