# Idealista Agency Scraper — Emails, Phones & Leads (ES/IT/PT/FR) (`memo23/idealista-agency-scraper`) Actor

Scrape Idealista real estate agencies across Spain, Italy, Portugal & France from $2/1K ($4/1K Free) — 60% cheaper than competing agency scrapers. Get agency names, verified phone numbers, microsites, logos, optional website email enrichment & instant database mode.

- **URL**: https://apify.com/memo23/idealista-agency-scraper.md
- **Developed by:** [Muhamed Didovic](https://apify.com/memo23) (community)
- **Categories:** Real estate, Lead generation, Automation
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 agency results

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/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 Agency Scraper — Emails, Phones & Leads (Spain · Italy · Portugal · France)

> 🏠 **Looking to scrape property listings instead of agencies?** Use **[memo23/idealista-scraper](https://apify.com/memo23/idealista-scraper)** — from **$0.48/1K** ($0.80/1K Free) with full 80+ fields included, drawn-map URLs, and `$0.10/1K` price-drop monitoring.

Extract clean, deduplicated **real-estate agency lead lists** from **Idealista.com** (Spain), **Idealista.it** (Italy), **Idealista.pt** (Portugal), and **Idealista.fr** (France) — with **verified phone numbers on every row**, microsite slugs, profile URLs, logos, and **optional website email discovery**.

**From `$2` per 1,000 agencies (`$4/1K` Free) — 60% cheaper than competing Idealista agency scrapers.**

### Why use this Idealista Agency Scraper?

| Capability | Competing Agency Scrapers | `memo23/idealista-agency-scraper` |
|---|---|---|
| **Price per 1,000 agencies** | `$10/1K` Free · `$3–$5/1K` paid | ✅ **`$4/1K` Free · `$2–$3/1K` paid (up to 60% cheaper)** |
| **Actor start fee** | `$0.10` Free · `$0.03–$0.05` paid | ✅ **`$0.005` Free · `$0.001–$0.002` paid (20× cheaper)** |
| **Phone numbers included** | Often partial | ✅ **Verified phone number on every agency row** |
| **Search modes** | Country + city names only | ✅ **City names, postal codes, whole country, OR paste any Idealista search URL** |
| **Website email enrichment** | Bundled at high flat cost | ✅ **Opt-in `enrichEmails`: `$0.05` only per found email (`$0` on misses)** |
| **Instant DB export** | ❌ | ✅ **`instantDatabase: true` for instant pre-collected ES/IT/PT agency pulls** |

### Pricing

Pay-per-event — no monthly subscription.

| Event | When it fires | Rate |
|---|---|---|
| `Actor Start` | Once per run | **$0.005** Free · **$0.002** Bronze · **$0.001** Silver+ |
| `Agency Result` | Per unique deduplicated agency returned | **$0.004** Free (`$4/1K`) · **$0.003** Bronze · **$0.0025** Silver · **$0.002** Gold–Diamond (`$2/1K`) |
| `Contact Email Enriched` | Optional, only when `enrichEmails: true` and a valid email is found | **$0.05** per found email (`$0` on misses) |

### Quick start examples

#### 1. Scrape agencies in Madrid (with phones)

```json
{
  "country": "es",
  "location": "Madrid",
  "maxItems": 100
}
```

#### 2. Scrape agencies + discover contact emails from their websites

```json
{
  "country": "es",
  "locations": ["Madrid", "Barcelona", "Marbella"],
  "enrichEmails": true,
  "maxItems": 200
}
```

#### 3. Pull agencies straight from Instant Agency Database

```json
{
  "instantDatabase": true,
  "dbCountry": "es",
  "dbHasPhone": true,
  "maxItems": 500
}
```

### Sample output

```jsonc
{
  "agencyName": "Walter Haus Madrid",
  "phone": "+34 919386183",
  "phoneRaw": "919386183",
  "phonePrefix": "34",
  "contactName": "Walter Haus",
  "micrositeShortName": "walterhauschamberi",
  "profileUrl": "https://www.idealista.com/pro/walterhauschamberi/",
  "agencyLogo": "https://st3.idealista.com/.../logo.gif",
  "userType": "professional",
  "firstSeenPropertyCode": "108342199",
  "country": "es",
  "sourceUrl": "https://www.idealista.com/venta-viviendas/madrid-madrid/",
  "scrapedAt": "2026-12-01T09:00:00.000Z"
}
```

When `enrichEmails: true` is enabled, matched rows also include `contactEmail`, `contactWebsite`, and `emailEnrichment`.

### FAQ

**Are emails included by default?**
Idealista does not display agency email addresses on its listing pages. Phone numbers are extracted on every agency row by default; enable `enrichEmails: true` to discover each agency's website and extract its published email (`$0.05` per email found, `$0` when none is found).

**How do I scrape property listings instead of agencies?**
Use our main property actor **[memo23/idealista-scraper](https://apify.com/memo23/idealista-scraper)** — it extracts 80+ fields per listing from `$0.48/1K` (`$0.80/1K` Free), supports drawn-map `?shape=` URLs, bypasses the 1,500-result cap, and offers `$0.10/1K` `indexMode` price-drop monitoring.

### Support

- **Bugs / feature requests** — open an [issue on this actor](https://console.apify.com/actors/YIXp6JJkOsXri4Gin/issues)
- **Custom agency datasets / API access** — email <muhamed.didovic@gmail.com>

### Explore More Scrapers

- **[Idealista Scraper (Spain, Italy, Portugal & France)](https://apify.com/memo23/idealista-scraper)** — full 80+ field property listings, drawn-map URLs, and `$0.10/1K` price-drop monitoring
- **[Fotocasa Scraper (Spain)](https://apify.com/memo23/fotocasa-scraper)** — Spanish property listings & 12,000+ agency contacts
- **[Immobiliare.it Scraper (Italy)](https://apify.com/memo23/immobiliare-scraper)** — Italian property listings & agencies
- **[SeLoger Scraper (France)](https://apify.com/memo23/seloger-scraper)** — French property listings & agency contacts
- **[ImmoScout24 Scraper (Germany, Austria & Switzerland)](https://apify.com/memo23/immobilienscout24-scraper)** — DACH real estate & price history

### SEO Keywords

idealista agency scraper, idealista agencies scraper, idealista email scraper, real estate agency leads spain, idealista phone scraper, idealista italy agencies, idealista portugal agencies, idealista france agencies, spain real estate b2b leads

# Actor input Schema

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

Idealista market to search.

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

Type a city, district, or neighbourhood name — e.g. "Madrid", "Barcelona", "Milano", "Lisboa", or "Marbella". Resolved against Idealista's own location index.

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

Maximum number of deduplicated agencies to extract. Each unique agency row is billed once.

## `locations` (type: `array`):

Multiple city or area names to scan in one run (deduplicated across all locations).

## `postalCodes` (type: `array`):

Search agencies active in specific postal codes (works on Spain, Italy, and Portugal).

## `scrapeWholeCountry` (type: `boolean`):

Sweep every province/department of the selected country (52 ES, 107 IT, 28 PT, 100 FR) and return deduplicated agencies.

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

Discover agencies active in sale listings or rental listings.

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

Discover agencies handling homes, offices, commercial premises, new developments, or land.

## `startUrls` (type: `array`):

Idealista search URLs to extract agencies from (e.g. https://www.idealista.com/venta-viviendas/madrid-madrid/).

## `enrichEmails` (type: `boolean`):

Looks up each agency's website and extracts its published contact email (contactEmail + contactWebsite). Only billed when a valid email is returned — never charged for misses.

## `qualifyByPayment` (type: `boolean`):

Requires Email Enrichment. Flags agency websites running Stripe, Shopify, PayPal, WooCommerce, etc. at no extra charge.

## `instantDatabase` (type: `boolean`):

Serve agencies from our pre-collected database instead of live scraping.

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

Optional filter (e.g. Tecnocasa). Auto-enables Instant Database mode.

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

Limit Instant Database results to es, it, or pt.

## `dbHasPhone` (type: `boolean`):

Filter Instant Database rows to agencies with a phone number on file.

## `proxy` (type: `object`):

Leave empty — the built-in proxy pipeline works out of the box.

## Actor input object example

```json
{
  "country": "es",
  "location": "Madrid",
  "maxItems": 25,
  "scrapeWholeCountry": false,
  "operation": "sale",
  "propertyType": "homes",
  "enrichEmails": false,
  "qualifyByPayment": false,
  "instantDatabase": false,
  "dbHasPhone": false
}
```

# Actor output Schema

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

Key property columns: ID, operation, type, price, size, rooms, location, coordinates, thumbnail, and listing URL.

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

Real-estate agency rows (scrapeAgencies / instantDatabase) and listing contact info, phone numbers, enriched emails, and websites.

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

Index/delta mode events (new, price_changed, removed), direct removal markers, and AI marketAnalysis investment summaries.

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

Complete dataset rows containing all scraped Idealista property, agency, monitoring, and market analysis fields.

# 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 = {
    "location": "Madrid",
    "maxItems": 25
};

// Run the Actor and wait for it to finish
const run = await client.actor("memo23/idealista-agency-scraper").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 = {
    "location": "Madrid",
    "maxItems": 25,
}

# Run the Actor and wait for it to finish
run = client.actor("memo23/idealista-agency-scraper").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 '{
  "location": "Madrid",
  "maxItems": 25
}' |
apify call memo23/idealista-agency-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,memo23/idealista-agency-scraper"
        }
    }
}
```

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/YIXp6JJkOsXri4Gin/builds/5Zuxsn6ElNhw3mq1U/openapi.json
