# French Real Estate Agents · Multi-Network CRM & Lead Export (`corent1robert/fr-realty-agents-hub`) Actor

Turn public French property advisor directories into clean B2B and CRM-ready tables without maintaining nine separate scrapers. Choose one network per run—eXp France, megAgence, IAD, KW, Sextant, SAFTI, BSK, LF immo, or Les Porteclés.

- **URL**: https://apify.com/corent1robert/fr-realty-agents-hub.md
- **Developed by:** [Corentin Robert](https://apify.com/corent1robert) (community)
- **Categories:** Real estate, Lead generation, Automation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

from $9.99 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## France realty networks — unified agent export

**Stop rebuilding the same scrapers for every French network.** This Actor pulls **published advisor data** from major French real estate brands and delivers it in **one consistent dataset**—ready for CRM import, enrichment tools, or analysis—without maintaining nine separate integrations.

---

### Why teams use this

| Benefit | What it means for you |
|--------|------------------------|
| **One schema everywhere** | Same column names (`network`, `sourceKey`, names, phones, emails when public, profile URLs, location fields, `extra` for brand-specific data). No more mapping eight different JSON shapes. |
| **Pick the brand per run** | Need eXp this week and IAD the next? Change **one input field**—no new Actor, no new codebase. |
| **Honest field coverage** | Empty cells mean *the public site doesn’t show that field*, not a broken run. The coverage table below sets expectations per brand. |
| **CRM-friendly export** | Structured rows with stable `sourceKey` values you can dedupe on (`network:id`). Optional local CSV after `apify run` (semicolon, UTF-8 BOM). |
| **Faster go-to-market** | Lead gen, market mapping, recruiter lists, or partner outreach—focus on outreach, not on fixing selectors for each franchise site. |

---

### Who it’s for

- **Sales & growth teams** building prospect lists from public directories (always respect each brand’s terms and **GDPR**).
- **Data & ops** who need repeatable runs and a single pipeline into Sheets, Airtable, or a warehouse.
- **Agencies & consultants** comparing networks for clients—switch `network` instead of juggling multiple tools.

---

### Supported brands (one run = one network)

Choose **`network`** in the input:

| Value | Brand | Typical use |
|-------|--------|----------------|
| `exp_france` | eXp France | Large advisor directory; often includes professional email. |
| `megagence` | megAgence | Strong phone + profile coverage; **no public email** on listings. |
| `lf_immo` | LF immo | Directory or targeted profile URLs. |
| `les_portecles` | Les Porteclés | Directory or profile URLs. |
| `safti_france` | SAFTI France | Full directory scan then profile enrichment. |
| `bsk_immobilier` | BSK Immobilier | JSON-backed directory; URL mode for hand-picked profiles. |
| `sextant_france` | Sextant France | National map (`agents-map.htm`) or paste specific URLs; optional social + listing stats. |
| `kw_france` | KW France | Full `/conseillers` list or paste KW profile URLs only. |
| `iad_france` | IAD France | Public sitemap + agent JSON API; optional filters via Input JSON (`filterRegion`, `filterPostalCode`, listing/review thresholds). |

The Console UI is intentionally minimal (**Brand** only). Power options (`maxResults`, URL-only modes, etc.) go through **Input JSON** or the **API**—see below.

---

### Field coverage (public data only)

This Actor reads **what each site exposes on public pages**. Some brands never show email on the directory; others hide city split in the unified row—use the **profile URL** in `extra` / shared columns when needed.

| Topic | eXp | megAgence | LF immo | Les Porteclés | SAFTI | BSK | Sextant | KW | IAD |
|--------|-----|-----------|---------|---------------|-------|-----|---------|-----|-----|
| Professional email | Often | **Not on public pages** | Often on profile | — | Often / heuristic | Often | Often | Often / API+heuristic | Pattern `slug@iadfrance.fr` (verify before outreach) |
| Phone | Usually | Usually | Usually | — | Usually | Usually | Usually | Usually | Usually (decoded when API exposes hash) |
| City / postal | Usually | Usually | See profile | Often | Often | Often | Often | — | Usually |
| Profile URL | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes |
| RSAC / licence-style | Often | — | — | — | Often | Often | — | — | Often |
| Lat / lng | — | Often | — | Often | Often | Often | Often (map mode) | — | — |

Network-specific identifiers and extras (slugs, RSAC hints, listing counts, etc.) sit under **`extra`** so your main columns stay stable.

---

### How to run

#### Apify Console (simplest)

1. Select **Brand** and start the run.  
2. Default behavior for crawl-based networks = **full public directory** (same idea as the live site’s list or map).  
3. Download the **Dataset** (JSON or export) when the run completes.

#### Go further (API or Input JSON)

| Need | What to pass |
|------|----------------|
| Limit rows for a test | `"maxResults": 50` (omit or `0` for no cap—within platform limits). **IAD France:** same key caps sitemap profiles before API fetch. |
| **IAD-only filters** | `"filterRegion": ["Île-de-France"]`, `"filterPostalCode": "75"`, `filterMinPropertyCount`, `filterMaxPropertyCount`, `filterMinReviewsCount` (exact region label match for `filterRegion`) |
| **Profile-only** mode (specific URLs, not the full directory) | `"directoryMode": "urls"` and `"profileStartUrls": ["https://…"]` — supported for LF immo, Les Porteclés, SAFTI, BSK, KW; Sextant also accepts `startUrls` / `profileStartUrls` to switch to URL mode |
| LF immo legacy keys | `lfImmoMode` / `lfImmoStartUrls` still work in raw JSON |

The input schema uses `additionalProperties: true`, so these keys work even when they’re not shown in the form.

**Examples**

```json
{
  "network": "exp_france",
  "maxResults": 50
}
````

```json
{
  "network": "megagence",
  "maxResults": 0
}
```

```json
{
  "network": "kw_france",
  "maxResults": 100,
  "directoryMode": "list"
}
```

```json
{
  "network": "lf_immo",
  "maxResults": 30,
  "directoryMode": "list"
}
```

```json
{
  "network": "safti_france",
  "maxResults": 25,
  "directoryMode": "list"
}
```

***

### Output

- Every row: **`network`**, **`sourceKey`** (`network:stable-id`), shared fields when available, **`extra`** for anything brand-specific.
- **Local runs:** after `apify run`, a **semicolon CSV** (UTF-8 BOM) can be written when the dataset is non-empty—handy for Excel in French locales.

***

### Local development

```bash
cd fr-realty-agents-hub
npm install
echo '{"network":"megagence","maxResults":5}' > input.json
apify run
```

***

### Compliance & responsibility

Data comes from **public** pages only. You are responsible for using it in line with each brand’s terms, **GDPR**, and applicable prospecting rules. This tool does not bypass logins or paywalls.

***

### Support & customization

**Custom automation, extra networks, or white-label runs:**\
<corentin@outreacher.fr>

***

### Technical notes (sources)

- **eXp France:** Supabase REST (public anon key as used by the web app).
- **megAgence:** JSON search API.
- **LF immo / Les Porteclés:** HTML directory + Cheerio parsers.
- **SAFTI France:** `__NEXT_DATA__` listing + profile HTML.
- **BSK Immobilier:** Public agent search JSON API.
- **Sextant France:** `agents-map.htm` (Windows-1252); optional fetches for social + listing pages. **LinkedIn AI enrichment** from the standalone Sextant Actor is **not** included in this hub.
- **KW France:** Paginated list + profile HTML + AgentDetail API for emails. **LinkedIn AI enrichment** from the standalone KW Actor is **not** included in this hub.

# Actor input Schema

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

Which network should this run export?

## `maxResults` (type: `integer`):

0 = full result for that network. Use a small number for a quick test.

## `concurrency` (type: `integer`):

Higher values can speed up saving large exports.

## `fetchTimeout` (type: `integer`):

Maximum time to wait for each HTTP request.

## `pageSize` (type: `integer`):

Only for eXp France: how many advisors are read per round trip.

## `listConcurrency` (type: `integer`):

Parallel HTTP requests when scanning listing pages or fetching many profile URLs (LF immo, Les Porteclés, SAFTI listing, BSK listing, IAD France API).

## Actor input object example

```json
{
  "network": "exp_france",
  "maxResults": 25,
  "concurrency": 55,
  "fetchTimeout": 60000,
  "pageSize": 500,
  "listConcurrency": 40
}
```

# Actor output Schema

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

All rows — open Dataset or export CSV / Excel.

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

Slim columns: network, name, phone, profile.

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

Progress while the run saves rows.

# 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 = {
    "maxResults": 25
};

// Run the Actor and wait for it to finish
const run = await client.actor("corent1robert/fr-realty-agents-hub").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 = { "maxResults": 25 }

# Run the Actor and wait for it to finish
run = client.actor("corent1robert/fr-realty-agents-hub").call(run_input=run_input)

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

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

```

## CLI example

```bash
echo '{
  "maxResults": 25
}' |
apify call corent1robert/fr-realty-agents-hub --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=corent1robert/fr-realty-agents-hub",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "French Real Estate Agents · Multi-Network CRM & Lead Export",
        "description": "Turn public French property advisor directories into clean B2B and CRM-ready tables without maintaining nine separate scrapers. Choose one network per run—eXp France, megAgence, IAD, KW, Sextant, SAFTI, BSK, LF immo, or Les Porteclés.",
        "version": "1.4",
        "x-build-id": "WPQSbmJemWmW3rxQV"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/corent1robert~fr-realty-agents-hub/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-corent1robert-fr-realty-agents-hub",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/corent1robert~fr-realty-agents-hub/runs": {
            "post": {
                "operationId": "runs-sync-corent1robert-fr-realty-agents-hub",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/corent1robert~fr-realty-agents-hub/run-sync": {
            "post": {
                "operationId": "run-sync-corent1robert-fr-realty-agents-hub",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "network"
                ],
                "properties": {
                    "network": {
                        "title": "Brand",
                        "enum": [
                            "bsk_immobilier",
                            "exp_france",
                            "iad_france",
                            "kw_france",
                            "lf_immo",
                            "les_portecles",
                            "megagence",
                            "safti_france",
                            "sextant_france"
                        ],
                        "type": "string",
                        "description": "Which network should this run export?",
                        "default": "exp_france"
                    },
                    "maxResults": {
                        "title": "Max rows",
                        "minimum": 0,
                        "type": "integer",
                        "description": "0 = full result for that network. Use a small number for a quick test.",
                        "default": 0
                    },
                    "concurrency": {
                        "title": "Save parallelism",
                        "minimum": 3,
                        "maximum": 100,
                        "type": "integer",
                        "description": "Higher values can speed up saving large exports.",
                        "default": 55
                    },
                    "fetchTimeout": {
                        "title": "Request timeout (ms)",
                        "minimum": 15000,
                        "type": "integer",
                        "description": "Maximum time to wait for each HTTP request.",
                        "default": 60000
                    },
                    "pageSize": {
                        "title": "eXp: page size",
                        "minimum": 50,
                        "maximum": 1000,
                        "type": "integer",
                        "description": "Only for eXp France: how many advisors are read per round trip.",
                        "default": 500
                    },
                    "listConcurrency": {
                        "title": "Directory / profile fetch parallelism",
                        "minimum": 5,
                        "maximum": 80,
                        "type": "integer",
                        "description": "Parallel HTTP requests when scanning listing pages or fetching many profile URLs (LF immo, Les Porteclés, SAFTI listing, BSK listing, IAD France API).",
                        "default": 40
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
