# Figaro Immobilier Scraper (`dadhalfdev/figaro-immobilier-scraper`) Actor

Scrape property listings from immobilier.lefigaro.fr. Use structured filters (listing type, property type, location, rooms, price — great for AI agents) or paste an input\_url (great for humans). Returns price, surface, rooms, DPE, location, agency, and photos.

- **URL**: https://apify.com/dadhalfdev/figaro-immobilier-scraper.md
- **Developed by:** [Marco Rodrigues](https://apify.com/dadhalfdev) (community)
- **Categories:** Real estate
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.00 / 1,000 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/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/docs.md):

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

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python/docs.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/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

## 🏠 Figaro Immobilier Scraper

Want to pull property listings from [Figaro Immobilier](https://immobilier.lefigaro.fr/) or analyze the French buy/rent market? This scraper makes it super easy!

Use **structured filters** (listing type, property type, location, rooms, price) — structured filters work better for AI agents — **or paste an `input_url`** from your browser. When `input_url` is set, it overrides the filters. Either way, you get price, surface, rooms, DPE, agency, and photos as CSV or JSON.

### 💡 Perfect for...

- **Buyers & Renters:** Monitor apartments and houses by city, room count, and budget.
- **Agencies & Investors:** Track competitor inventory and pricing across France.
- **Market Research:** Analyze supply, €/m² signals, and DPE distributions.
- **Data Analysts:** Export clean structured rows for dashboards and models.
- **🤖 AI Agents:** Power bots and OpenClaw workflows with filter-based search (no brittle URL crafting).
- **📚 RAG Systems:** Feed listing specs and descriptions into retrieval pipelines.
- **🔗 AI Workflows:** Plug into LangChain, AutoGPT, CrewAI, and similar stacks.

### ✨ Why you'll love this scraper

- 🔗 **Input URL or Filters:** Paste a Figaro search URL (`input_url`) if you already filtered in the browser, or use structured filters (better for AI agents). `input_url` always wins when set.
- 🎯 **Structured Filters:** Sale/rent, property type, city, district, postal code, rooms, and price min/max.
- 📊 **Rich Listings:** Price, area, rooms/bedrooms, DPE, location, agency, images, and listing URL.
- 🔁 **Pagination:** Collects listings across result pages until `max_properties` is reached.

### 📦 What's inside the data?

For every listing you get:
- **Core:** `id`, `url`, `reference`, `transaction`, `property_type`, `description`
- **Pricing & Size:** `price`, `price_label`, `area_m2`, `rooms`, `rooms_label`, `bedrooms`
- **Location:** `city`, `postal_code`, `department`, `department_code`, `latitude`, `longitude`
- **Energy:** `dpe_energy`, `dpe_energy_category`, `dpe_ges`, `dpe_ges_category`
- **Agency & Media:** `agency_name`, `agency_id`, `image_url`, `images`
- **Meta:** `is_exclusive`, `is_boosted`, `first_publication_date`, `updated_at`, `origin_site`

### 🚀 Quick start

**Option A — Input URL**
1. Open [Figaro Immobilier](https://immobilier.lefigaro.fr/), apply filters in the browser, copy the results URL.
2. Paste it into `input_url`.
3. Set `max_properties` and click **Start**.

**Option B — Structured filters (better for AI agents)**
1. Leave `input_url` empty.
2. Set `listing_type`, `property_type`, `location` (e.g. `paris`), optional `district` / `postal_code` / `rooms` / price bounds.
3. Set `max_properties` and click **Start**.

Export JSON, CSV, or Excel when done.

---

#### Tech details for developers 🧑‍💻

**Input Example (filters)**

```json
{
  "listing_type": "vente",
  "property_type": "appartement",
  "location": "paris",
  "district": "11eme",
  "postal_code": "75011",
  "rooms": "2pieces",
  "price_max": 500000,
  "max_properties": 50
}
````

**Input Example (URL override)**

```json
{
  "input_url": "https://immobilier.lefigaro.fr/annonces/immobilier-vente-appartement-paris.html",
  "max_properties": 50
}
```

**Output Example**

```json
{
  "id": "103497843",
  "url": "https://immobilier.lefigaro.fr/annonces/annonce-103497843.html",
  "transaction": "vente",
  "property_type": "appartement",
  "price": 366000,
  "area_m2": 33.78,
  "rooms_label": "2 pièces",
  "bedrooms": 1,
  "city": "Paris 11ème (75)",
  "postal_code": "75011",
  "dpe_energy_category": "F",
  "agency_name": "Example Agency",
  "image_url": "https://..."
}
```

### 📋 Input reference (detailed)

| Parameter | Type | Required | Default | Description |
|-----------|------|----------|---------|-------------|
| `input_url` | string | No | — | Optional override. Paste any Figaro Immobilier search URL. When set, **overrides all filters below**. |
| `listing_type` | string enum | No | `vente` | `vente` (sale) or `location` (rent). |
| `property_type` | string enum | No | `appartement` | `appartement`, `maison`, `parking`, `terrain`, `divers`, `bien` (all). |
| `location` | string | No | `paris` | City/place name (e.g. `paris`, `lyon`, `toulouse`, `france`). |
| `district` | string | No | — | Optional district (e.g. `11eme`, `16eme`). |
| `postal_code` | string | No | — | Postal code — often helpful (`31000` Toulouse, `33000` Bordeaux). Auto-filled for common cities when empty. |
| `rooms` | string enum | No | any | `studio`, `2pieces` … `6pieces` (applied for apartments; ignored for maisons). |
| `price_min` / `price_max` | integer | No | — | Price bounds in euros. |
| `max_properties` | integer | No | `50` | How many listings to return (`1`–`500`). |

#### Notes

- `input_url` always wins over filters when provided.
- Each run returns at most **`max_properties`** listings.
- For complex browser-only criteria, paste the results URL into `input_url`.

# Actor input Schema

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

Optional. Paste any Figaro Immobilier search results URL to override the filters below. Leave empty to use structured filters instead (better for AI agents).

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

Buy (vente) or rent (location). Ignored when input\_url is set.

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

Property category. Ignored when input\_url is set.

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

City or place name (e.g. paris, lyon, toulouse, france). Many cities work better with a postal code — common ones are auto-added if postal\_code is empty. Ignored when input\_url is set.

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

Optional district (e.g. 11eme, 16eme). Ignored when input\_url is set.

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

Postal code (e.g. 31000 for Toulouse, 33000 for Bordeaux). Helpful for many cities. Ignored when input\_url is set.

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

Optional room filter. Ignored when input\_url is set.

## `price_min` (type: `integer`):

Optional minimum price in euros. Ignored when input\_url is set.

## `price_max` (type: `integer`):

Optional maximum price in euros. Ignored when input\_url is set.

## `max_properties` (type: `integer`):

How many listings to return (1–500).

## Actor input object example

```json
{
  "input_url": "https://immobilier.lefigaro.fr/annonces/immobilier-vente-appartement-paris.html",
  "listing_type": "vente",
  "property_type": "appartement",
  "location": "paris",
  "rooms": "",
  "max_properties": 50
}
```

# Actor output Schema

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

Table view using the dataset 'overview' view.

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

All items from the default dataset without view transformation.

# 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 = {
    "input_url": "https://immobilier.lefigaro.fr/annonces/immobilier-vente-appartement-paris.html"
};

// Run the Actor and wait for it to finish
const run = await client.actor("dadhalfdev/figaro-immobilier-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 = { "input_url": "https://immobilier.lefigaro.fr/annonces/immobilier-vente-appartement-paris.html" }

# Run the Actor and wait for it to finish
run = client.actor("dadhalfdev/figaro-immobilier-scraper").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 '{
  "input_url": "https://immobilier.lefigaro.fr/annonces/immobilier-vente-appartement-paris.html"
}' |
apify call dadhalfdev/figaro-immobilier-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=dadhalfdev/figaro-immobilier-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Figaro Immobilier Scraper",
        "description": "Scrape property listings from immobilier.lefigaro.fr. Use structured filters (listing type, property type, location, rooms, price — great for AI agents) or paste an input_url (great for humans). Returns price, surface, rooms, DPE, location, agency, and photos.",
        "version": "0.1",
        "x-build-id": "oyG5Urz46gx9fiR9O"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/dadhalfdev~figaro-immobilier-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-dadhalfdev-figaro-immobilier-scraper",
                "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/dadhalfdev~figaro-immobilier-scraper/runs": {
            "post": {
                "operationId": "runs-sync-dadhalfdev-figaro-immobilier-scraper",
                "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/dadhalfdev~figaro-immobilier-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-dadhalfdev-figaro-immobilier-scraper",
                "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",
                "properties": {
                    "input_url": {
                        "title": "Input URL",
                        "type": "string",
                        "description": "Optional. Paste any Figaro Immobilier search results URL to override the filters below. Leave empty to use structured filters instead (better for AI agents)."
                    },
                    "listing_type": {
                        "title": "Listing type",
                        "enum": [
                            "vente",
                            "location"
                        ],
                        "type": "string",
                        "description": "Buy (vente) or rent (location). Ignored when input_url is set.",
                        "default": "vente"
                    },
                    "property_type": {
                        "title": "Property type",
                        "enum": [
                            "appartement",
                            "maison",
                            "parking",
                            "terrain",
                            "divers",
                            "bien"
                        ],
                        "type": "string",
                        "description": "Property category. Ignored when input_url is set.",
                        "default": "appartement"
                    },
                    "location": {
                        "title": "Location",
                        "type": "string",
                        "description": "City or place name (e.g. paris, lyon, toulouse, france). Many cities work better with a postal code — common ones are auto-added if postal_code is empty. Ignored when input_url is set.",
                        "default": "paris"
                    },
                    "district": {
                        "title": "District / arrondissement",
                        "type": "string",
                        "description": "Optional district (e.g. 11eme, 16eme). Ignored when input_url is set."
                    },
                    "postal_code": {
                        "title": "Postal code",
                        "type": "string",
                        "description": "Postal code (e.g. 31000 for Toulouse, 33000 for Bordeaux). Helpful for many cities. Ignored when input_url is set."
                    },
                    "rooms": {
                        "title": "Rooms",
                        "enum": [
                            "",
                            "studio",
                            "2pieces",
                            "3pieces",
                            "4pieces",
                            "5pieces",
                            "6pieces"
                        ],
                        "type": "string",
                        "description": "Optional room filter. Ignored when input_url is set.",
                        "default": ""
                    },
                    "price_min": {
                        "title": "Minimum price (€)",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Optional minimum price in euros. Ignored when input_url is set."
                    },
                    "price_max": {
                        "title": "Maximum price (€)",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Optional maximum price in euros. Ignored when input_url is set."
                    },
                    "max_properties": {
                        "title": "Maximum number of listings",
                        "minimum": 1,
                        "maximum": 500,
                        "type": "integer",
                        "description": "How many listings to return (1–500).",
                        "default": 50
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
