# LeBonCoin Real Estate Scraper \[Just 💰$0.59] — Property Ads (`blackfalcondata/leboncoin-real-estate-scraper`) Actor

💰 $0.59 per 1,000 listings, platform usage included — the cheapest LeBonCoin property scraper. Paste any search URL or filter by property type, surface & rooms, price and city. Seller details included; incremental tracking for market monitoring.

- **URL**: https://apify.com/blackfalcondata/leboncoin-real-estate-scraper.md
- **Developed by:** [Black Falcon Data](https://apify.com/blackfalcondata) (community)
- **Categories:** Real estate, Lead generation, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.59 / 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.

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

### What does LeBonCoin Real Estate Scraper do?

LeBonCoin Real Estate Scraper extracts structured property listings from [leboncoin.fr](https://leboncoin.fr), with price, location, seller details, real-estate attributes, paste-mode URLs, agency watchlists, optional phone reveal, and incremental tracking for new or changed ads.

**New to Apify?** [Sign up free](https://console.apify.com/sign-up?fpr=1h3gvi) and use the included $5 monthly platform credit to test this actor.

### Key features

- **📋 Full listing in every result:** every result already carries the full description, all photos, price, location, seller and property attributes — no second pass needed. Turn on `includeDetails` only for the extras: favorites count, shipping options and accepted payment methods, charged per listing.
- **🔔 Notifications:** Send new or changed property listings to Telegram, Discord, Slack, WhatsApp or a generic webhook after each run.
- **📦 Compact mode:** compact output keeps the core listing, property, seller and price fields for AI agents and lighter exports.
- **✂️ Description truncation:** limit description length with `descriptionMaxLength` when detail text is useful but full copy is too large.
- **♻️ Incremental mode:** incremental mode isolates state by query, paste URL and property filters, then emits only new, changed or optionally expired listings.
- **📤 Export anywhere:** results export as typed JSON rows with dataset views for overview, property details, sellers and full records.
- **🔌 MCP connectors:** apify MCP integrations can call the actor and read compact property listing records directly.
- **💵 Structured pricing:** numeric `price` and `currency` fields pair with `priceMin` and `priceMax` inputs for budget-band monitoring.
- **🔗 Paste-mode:** paste LeBonCoin real estate search URLs into `startUrls` to preserve site filters such as property type, surface, rooms, bedrooms and DPE.
- **📧 Email + phone extraction:** `includePhone` and `extractContacts` surface seller phone numbers, emails and URLs for agency and private-seller lead workflows.

### What data can you extract from LeBonCoin Real Estate?

Each result includes Core property fields (`vertical`, `listingId`, `url`, `title`, `price`, `priceCents`, `currency`, and `categoryId`, and more), detail fields when enrichment is enabled (`description`), and contact information (`extractedPhones`, `extractedEmails`, `hasPhone`, and `revealedPhone`). In standard mode, all fields are always present — unavailable data points are returned as `null`, never omitted. In compact mode, only core fields are returned.

Enable detail enrichment in the input to get richer fields such as favorites count, shipping options, and accepted payment methods where the source provides them.

### Input

The main inputs are a search keyword, an optional location filter, and a result limit. Additional filters and options are available in the input schema.

Key parameters:

- **`operation`** — Choose the LeBonCoin real estate section to scrape: properties for sale, rentals, shared rentals, or offices and commercial premises. (default: `"sale"`)
- **`propertyType`** — Filter by one or more LeBonCoin property type codes. 1=House, 2=Apartment, 3=Land, 4=Parking, 5=Other.
- **`cityName`** — City name (e.g. "Paris", "Lyon"). Resolved to the nearest known city.
- **`query`** — Optional keywords to search within LeBonCoin real estate listings, for example appartement, maison, studio or investissement.
- **`maxResults`** — Maximum number of listings to return per run. Set to 0 for unlimited. The actor defaults to 512 MB memory; choosing 1024 MB in run options can reduce wall-clock time but increases Apify compute usage billed to the user. (default: `100`)
- **`startUrls`** — Easiest way to start: run your search on leboncoin.fr with every filter you want, then copy the URL from the address bar and paste it here. All filters on the URL are kept. When set, the search fields above are ignored. Single ad URLs work too.
- **`surfaceMin`** — Only include properties with living surface at or above this value.
- **`surfaceMax`** — Only include properties with living surface at or below this value.
- **`roomsMin`** — Only include properties with at least this many rooms.
- **`roomsMax`** — Only include properties with at most this many rooms.
- **`bedroomsMin`** — Only include properties with at least this many bedrooms.
- **`bedroomsMax`** — Only include properties with at most this many bedrooms.
- ...and 46 more parameters

### Input examples

**Apartment listings with typed filters** — Scrape apartments with typed surface and room filters plus keyword search.

→ Up to 25 apartment listings with price, location, seller and property fields.

```json
{
  "operation": "sale",
  "query": "appartement",
  "propertyType": [
    "2"
  ],
  "surfaceMin": 40,
  "surfaceMax": 80,
  "roomsMin": 2,
  "roomsMax": 3,
  "features": [
    "with_garage_or_parking_spot",
    "cellar"
  ],
  "maxResults": 25,
  "includeDetails": false
}
```

**Paste a LeBonCoin real estate search URL** — Reuse an exact search URL from LeBonCoin while preserving its real-estate filters.

→ Property listings from the pasted URL, deduplicated and normalized into structured records.

```json
{
  "startUrls": [
    "https://www.leboncoin.fr/recherche?category=10&real_estate_type=2&square=30-70&rooms=2-3&specificities=cellar"
  ],
  "maxResults": 25,
  "includeDetails": false
}
```

**Track new apartment listings** — Run on a schedule and return only new or changed apartment listings after the first run.

→ New or changed apartment listings for the saved state key.

```json
{
  "operation": "sale",
  "query": "appartement",
  "propertyType": [
    "2"
  ],
  "maxResults": 25,
  "incrementalMode": true,
  "stateKey": "paris-apartment-watch",
  "includeDetails": false
}
```

### Output

Each run produces a dataset of structured property records. Results can be downloaded as JSON, CSV, or Excel from the Dataset tab in Apify Console.

### Example property record

```json
{
  "vertical": "real_estate",
  "listingId": "3213765017",
  "url": "https://www.leboncoin.fr/ad/ventes_immobilieres/3213765017",
  "title": "Appartement - 3 pièces - GEORGE V",
  "price": 630000,
  "priceCents": 63000000,
  "currency": "EUR",
  "categoryId": "9",
  "categoryName": "Ventes immobilières",
  "adType": "offer",
  "status": "active",
  "publishedAt": "2026-06-24 03:44:41",
  "indexDate": "2026-06-24 03:44:41",
  "scrapedAt": "2026-06-30T18:10:00.000Z",
  "city": "Saint-Malo",
  "zipcode": "35400",
  "department": "Ille-et-Vilaine",
  "region": "Bretagne",
  "lat": 48.63813,
  "lng": -2.0134,
  "sellerName": "PIERRE PROMOTION",
  "sellerType": "pro",
  "sellerId": "8ae0dcef-e543-4cb9-a1bf-8b6da445b25c",
  "storeId": "85772039",
  "storeName": "PIERRE PROMOTION",
  "activitySector": "2",
  "noSalesmen": true,
  "sellerSiren": "400594818",
  "operation": "sale",
  "surfaceM2": 68,
  "rooms": 3,
  "pricePerSqm": 9265,
  "leaseType": "sell",
  "saleType": "Appartement",
  "isNewConstruction": true,
  "realEstate": {
    "surfaceM2": 68,
    "rooms": 3,
    "pricePerSqm": 9265,
    "leaseType": "sell",
    "saleType": "Appartement",
    "isNewConstruction": true,
    "districtId": "3001235"
  },
  "imagesCount": 8,
  "imageUrls": [
    "https://img.leboncoin.fr/api/v1/lbcpb1/images/5f/a2/42/5fa242cc772c4d69bba1265f9bfcae38f463bcdf.jpg?rule=ad-image",
    "https://img.leboncoin.fr/api/v1/lbcpb1/images/a2/25/4b/a2254bc566be50e71d6c7c40d60b981cee1038e2.jpg?rule=ad-image",
    "https://img.leboncoin.fr/api/v1/lbcpb1/images/e4/5f/40/e45f4029507f14f18f14d27f3ac09f5830c31fb3.jpg?rule=ad-image",
    "https://img.leboncoin.fr/api/v1/lbcpb1/images/26/d9/5a/26d95ac498b71326322c29806532bb5ae14bec31.jpg?rule=ad-image",
    "https://img.leboncoin.fr/api/v1/lbcpb1/images/fb/65/c4/fb65c475ba53ef33b488aff86699804b113e7993.jpg?rule=ad-image",
    "... 3 more items"
  ],
  "thumbUrls": [
    "https://img.leboncoin.fr/api/v1/lbcpb1/images/5f/a2/42/5fa242cc772c4d69bba1265f9bfcae38f463bcdf.jpg?rule=ad-thumb",
    "https://img.leboncoin.fr/api/v1/lbcpb1/images/a2/25/4b/a2254bc566be50e71d6c7c40d60b981cee1038e2.jpg?rule=ad-thumb",
    "https://img.leboncoin.fr/api/v1/lbcpb1/images/e4/5f/40/e45f4029507f14f18f14d27f3ac09f5830c31fb3.jpg?rule=ad-thumb",
    "https://img.leboncoin.fr/api/v1/lbcpb1/images/26/d9/5a/26d95ac498b71326322c29806532bb5ae14bec31.jpg?rule=ad-thumb",
    "https://img.leboncoin.fr/api/v1/lbcpb1/images/fb/65/c4/fb65c475ba53ef33b488aff86699804b113e7993.jpg?rule=ad-thumb",
    "... 3 more items"
  ],
  "largeUrls": [
    "https://img.leboncoin.fr/api/v1/lbcpb1/images/5f/a2/42/5fa242cc772c4d69bba1265f9bfcae38f463bcdf.jpg?rule=ad-large",
    "https://img.leboncoin.fr/api/v1/lbcpb1/images/a2/25/4b/a2254bc566be50e71d6c7c40d60b981cee1038e2.jpg?rule=ad-large",
    "https://img.leboncoin.fr/api/v1/lbcpb1/images/e4/5f/40/e45f4029507f14f18f14d27f3ac09f5830c31fb3.jpg?rule=ad-large",
    "https://img.leboncoin.fr/api/v1/lbcpb1/images/26/d9/5a/26d95ac498b71326322c29806532bb5ae14bec31.jpg?rule=ad-large",
    "https://img.leboncoin.fr/api/v1/lbcpb1/images/fb/65/c4/fb65c475ba53ef33b488aff86699804b113e7993.jpg?rule=ad-large",
    "... 3 more items"
  ],
  "hasPhone": true,
  "attributes": {
    "activity_sector": "2",
    "external_ad_id": "lbcin_P271012",
    "has_variation": "true",
    "real_estate_type": "2",
    "square": "68",
    "rooms": "3",
    "available_date": "31/03/2028",
    "fai_included": "2",
    "district_id": "3001235",
    "district_visibility": "true",
    "district_type_id": "9",
    "district_resolution_type": "integration",
    "is_preview_program": "2",
    "has_visibility_option": "false",
    "store_logo": "https://img.leboncoin.fr/api/v1/lbcpb1/images/89/2c/41/892c4178-6a7c-4db3-9b3b-33fa7b7ffebe?rule=bo-thumb",
    "store_name": "PIERRE PROMOTION",
    "online_store_id": "7276995",
    "price_per_square_meter": "9265",
    "custom_ref": "1319257141",
    "immo_sell_type": "new",
    "rec_project_status": "launch",
    "rec_project_delivery_date": "2028-03-31",
    "rec_lot_group_size": "2",
    "new_seller_type": "realestate_promoter",
    "is_import": "true",
    "lease_type": "sell"
  }
}
```

### Incremental fields

When incremental mode is on, each emitted record also carries:

- `changeType` - one of `NEW`, `UPDATED`, `UNCHANGED`, `REAPPEARED`, `EXPIRED`. Default output covers `NEW` / `UPDATED` / `REAPPEARED`; set `emitUnchanged: true` or `emitExpired: true` to opt into the others.
- `firstSeenAt`, `lastSeenAt` - ISO-8601 timestamps tracking the listing across runs.

Repost detection is used as a filter when `skipReposts: true`; repost metadata is not emitted as separate output fields.

### How to scrape LeBonCoin Real Estate

1. Go to [LeBonCoin Real Estate Scraper](https://apify.com/blackfalcondata/leboncoin-real-estate-scraper?fpr=1h3gvi) in Apify Console.
2. Enter a search keyword and optional location filter.
3. Set `maxResults` to control how many results you need.
4. Enable `includeDetails` if you need favorites count, shipping options, accepted payment methods.
5. Click **Start** and wait for the run to finish.
6. Export the dataset as JSON, CSV, or Excel.

### Use cases

- Extract property data from LeBonCoin Real Estate for market research and competitive analysis.
- Track pricing trends across regions and categories over time.
- Monitor new and changed properties on scheduled runs without processing the full dataset every time.
- Feed structured data into AI agents, MCP tools, and automated pipelines using compact mode.
- Export clean, structured data to dashboards, spreadsheets, or data warehouses.
- Benchmark seller / dealer reputation using rating fields.

### How much does it cost to scrape LeBonCoin Real Estate?

LeBonCoin Real Estate Scraper uses [pay-per-event](https://docs.apify.com/platform/actors/paid-actors/pay-per-event) pricing. You pay a small fee when the run starts and then for each result that is actually produced.

- **Run start:** $0.00005 per run
- **Per result (primary event):** $0.00059

You are billed only for the events your run actually triggers. Prices below are the Free plan tier.

| Event | Price (Free tier) | Charged when |
|---|---|---|
| Actor Start | $0.00005 (one-time) | Charged when the Actor starts running. Number of events charged depends on Actor memory (one event per GB, minimum one event). |
| Result (primary) | $0.00059 | Single result in the default dataset. |
| Listing extras | $0.001 | Favorites count, shipping options and payment methods added to a delivered listing (only when listing extras are turned on) |
| Phone Number Revealed | $0.004 | Charged once each time a seller phone number is successfully revealed and returned in a result. |

Example costs (primary event only — other events above add cost when they fire):

- 10 results: **$0.00595**
- 25 results: **$0.015**
- 100 results: **$0.059**
- 200 results: **$0.12**
- 500 results: **$0.3**

#### Example: recurring monitoring savings

These examples compare full re-scrapes with incremental runs at different churn rates. Churn is the share of properties that are new or whose tracked content changed since the previous run. Actual churn depends on your query breadth, source activity, and polling frequency — the scenarios below are examples, not predictions.

Example setup: 250 properties per run, daily polling (30 runs/month). Costs scale linearly with the number of properties.

Numbers below are for the primary **Result** event. Other events (**Listing extras**, **Phone Number Revealed**) are billed separately when they fire.

| Churn rate | Full re-scrape run cost | Incremental run cost | Savings vs full re-scrape | Monthly cost after baseline |
|---|---:|---:|---:|---:|
| 5% — stable niche query | $0.15 | $0.00743 | $0.14 (95%) | $0.22 |
| 15% — moderate broad query | $0.15 | $0.02 | $0.13 (85%) | $0.67 |
| 30% — high-volume aggregator | $0.15 | $0.04 | $0.10 (70%) | $1.33 |

Full re-scrape monthly cost at the same cadence: $4.43. First month with incremental costs $0.36 / $0.79 / $1.43 for the 5% / 15% / 30% scenarios because the first run builds baseline state at full cost before incremental savings apply.

Platform usage is included in the per-result fee shown above.

**Run limits**: A run stops on its own after 12 hours if you set no timeout or a timeout longer than 12 hours. It also stops if it finds no new results for 60 minutes. Results collected before the stop are saved in your dataset.

### FAQ

#### How many results can I get from LeBonCoin Real Estate?

The number of results depends on the search query and available properties on LeBonCoin Real Estate. Use the `maxResults` parameter to control how many results are returned per run.

#### Does LeBonCoin Real Estate Scraper support recurring monitoring?

Yes. Enable incremental mode to only receive new or changed properties on subsequent runs. This is ideal for scheduled monitoring where you want to track changes over time without re-processing the full dataset.

#### Can I integrate LeBonCoin Real Estate Scraper with other apps?

Yes. LeBonCoin Real Estate Scraper works with Apify's [integrations](https://apify.com/integrations?fpr=1h3gvi) to connect with tools like Zapier, Make, Google Sheets, Slack, and more. You can also use webhooks to trigger actions when a run completes.

#### Can I use LeBonCoin Real Estate Scraper with the Apify API?

Yes. You can start runs, manage inputs, and retrieve results programmatically through the [Apify API](https://docs.apify.com/api/v2). Client libraries are available for JavaScript, Python, and other languages.

#### Can I use LeBonCoin Real Estate Scraper through an MCP Server?

Yes. Apify provides an [MCP Server](https://apify.com/apify/actors-mcp-server?fpr=1h3gvi) that lets AI assistants and agents call this actor directly. Use compact mode, `descriptionMaxLength`, a single `descriptionFormat`, and `excludeEmptyFields` to keep payloads manageable for LLM context windows.

#### Is it legal to scrape LeBonCoin Real Estate?

This actor extracts publicly available data from LeBonCoin Real Estate. Web scraping of public information is generally considered legal, but you should always review the target site's terms of service and ensure your use case complies with applicable laws and regulations, including GDPR where relevant.

#### Your feedback

If you have questions, need a feature, or found a bug, please [open an issue](https://apify.com/blackfalcondata/leboncoin-real-estate-scraper/issues?fpr=1h3gvi) on the actor's page in Apify Console. Your feedback helps us improve.

### You might also like

- [Airbnb Realtime API — Live Listing, Reviews & Search Lookups](https://apify.com/blackfalcondata/airbnb-realtime?fpr=1h3gvi) — Real-time Airbnb lookups over HTTP: ask for one listing, its reviews or a location search and the.
- [Airbnb Scraper \[Just 💰$0.4\] — Listings, Prices & Host Data](https://apify.com/blackfalcondata/airbnb-scraper?fpr=1h3gvi) — 💰 From $0.4 per 1,000 listings. Scrape airbnb.com — stays with price · ratings · amenities · host.
- [Airbnb URL Finder Scraper — listing discovery](https://apify.com/blackfalcondata/airbnb-url-scraper?fpr=1h3gvi) — Scrape airbnb.com — enumerate every listing URL for a city or neighborhood · return listing id URL.
- [Bayut Scraper \[Just 💰$0.8\] — UAE Property Listings & Agents](https://apify.com/blackfalcondata/bayut-scraper?fpr=1h3gvi) — 💰 $0.80 per 1,000 rows across the UAE, Saudi Arabia, Qatar, Oman and Jordan. Scrape Bayut property.
- [Comparis Scraper \[Just 💰$0.69/1k\] — Swiss Real Estate](https://apify.com/blackfalcondata/comparis-scraper?fpr=1h3gvi) — Scrape comparis.ch real estate listings with deal type, property type, rooms, price, living space.
- [Craigslist Scraper \[Just 💰$1\] — classifieds listings](https://apify.com/blackfalcondata/craigslist-scraper?fpr=1h3gvi) — 💰 $1 per 1,000 listings. Scrape craigslist.org — for-sale housing & jobs · gigs & services.
- [Domain.com.au Scraper \[💰$0.50/1k\] — Property & Agents](https://apify.com/blackfalcondata/domain-com-au-scraper?fpr=1h3gvi) — Domain.com.au property scraper for Australian real estate — extract for-sale, rental, and sold.
- [HAR Scraper \[Just 💰$1.5\] — Texas Real Estate](https://apify.com/blackfalcondata/har-scraper?fpr=1h3gvi) — 💰 $1.5 per 1,000 listings. Scrape har.com — the largest Texas MLS portal — homes for sale · rent.

### Getting started with Apify

New to Apify? [Create a free account with $5 credit](https://console.apify.com/sign-up?fpr=1h3gvi) — no credit card required.

1. Sign up — $5 platform credit included
2. Open this actor and configure your input
3. Click **Start** — export results as JSON, CSV, or Excel

Need more later? [See Apify pricing](https://apify.com/pricing?fpr=1h3gvi).

### Disclaimer

This actor accesses only publicly available data on leboncoin.fr. You are responsible for how you use the extracted data — in particular any personal information such as names, phone numbers, or email addresses — and for complying with LeBonCoin Real Estate's terms of use, applicable data-protection law (including the GDPR where it applies), and the anti-spam rules of your jurisdiction.

This actor is an independent tool and is not affiliated with, endorsed by, or sponsored by LeBonCoin Real Estate or any of its subsidiaries. All trademarks mentioned are the property of their respective owners.

### Search keywords

leboncoin scraper, leboncoin api, apify leboncoin, leboncoin data extraction, leboncoin real estate scraper, leboncoin real estate api, apify leboncoin real estate, leboncoin real estate data extraction, leboncoin.fr scraper, leboncoin.fr data, leboncoin.fr api, marketplace scraper, listings data, property listings scraper, real estate data, property data.

# Changelog

This Actor's version history is a separate document: https://apify.com/blackfalcondata/leboncoin-real-estate-scraper/changelog.md

# Actor input Schema

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

Choose the LeBonCoin real estate section to scrape: properties for sale, rentals, shared rentals, or offices and commercial premises.

## `propertyType` (type: `array`):

Filter by one or more LeBonCoin property type codes. 1=House, 2=Apartment, 3=Land, 4=Parking, 5=Other.

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

City name (e.g. "Paris", "Lyon"). Resolved to the nearest known city.

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

Optional keywords to search within LeBonCoin real estate listings, for example appartement, maison, studio or investissement.

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

Maximum number of listings to return per run. Set to 0 for unlimited. The actor defaults to 512 MB memory; choosing 1024 MB in run options can reduce wall-clock time but increases Apify compute usage billed to the user.

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

Easiest way to start: run your search on leboncoin.fr with every filter you want, then copy the URL from the address bar and paste it here. All filters on the URL are kept. When set, the search fields above are ignored. Single ad URLs work too.

## `surfaceMin` (type: `integer`):

Only include properties with living surface at or above this value.

## `surfaceMax` (type: `integer`):

Only include properties with living surface at or below this value.

## `roomsMin` (type: `integer`):

Only include properties with at least this many rooms.

## `roomsMax` (type: `integer`):

Only include properties with at most this many rooms.

## `bedroomsMin` (type: `integer`):

Only include properties with at least this many bedrooms.

## `bedroomsMax` (type: `integer`):

Only include properties with at most this many bedrooms.

## `landSurfaceMin` (type: `integer`):

Only include houses or land listings with land surface at or above this value.

## `landSurfaceMax` (type: `integer`):

Only include houses or land listings with land surface at or below this value.

## `energyClass` (type: `array`):

Filter by one or more DPE energy classes.

## `outsideAccess` (type: `array`):

Filter by LeBonCoin outdoor access tokens. Multiple selections can return listings matching any selected outdoor feature.

## `newBuild` (type: `boolean`):

When enabled, only include new-build property listings. Leave disabled to include both new and existing properties.

## `hasElevator` (type: `boolean`):

When enabled, only include apartment listings marked with an elevator.

## `topFloorOnly` (type: `boolean`):

When enabled, only include apartment listings on the top floor.

## `features` (type: `array`):

Filter by verified LeBonCoin amenity tokens. When multiple amenities are selected, LeBonCoin can return listings matching any selected amenity.

## `priceMin` (type: `integer`):

Only include properties priced at or above this value in EUR.

## `priceMax` (type: `integer`):

Only include properties priced at or below this value in EUR.

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

Leave as All for both private sellers and agencies.

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

Choose how matching property listings are ordered.

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

A LeBonCoin location token, passed verbatim: a city name (e.g. Paris), a department (d_75), or a region (r_12). Ignored when latitude/longitude are set, or when real estate search URLs are provided.

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

Decimal latitude, e.g. 48.8566. Requires longitude + radius.

## `lon` (type: `number`):

GPS longitude. Pair with lat.

## `radiusKm` (type: `integer`):

Search radius around the GPS point, in kilometres. Requires latitude + longitude.

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

Choose listing records or a deduplicated agency view built from professional sellers found in the scraped listings.

## `includeDetails` (type: `boolean`):

Every result already includes the full description, all photos, price, location, seller and structured attributes. Turn this on to also add the favorites count, shipping options and accepted payment methods for each listing. Charged as a separate per-listing event and makes the run slower. Leave off unless you need those three fields.

## `includePhone` (type: `boolean`):

Attempt to retrieve the seller phone number for each listing that shows one. Charged per number found.

## `extractContacts` (type: `boolean`):

Mine phone numbers, email addresses, and external URLs from listing description text.

## `watchSellerIds` (type: `array`):

Array of seller or agency IDs to monitor. When set, only listings from these sellers are returned.

## `compact` (type: `boolean`):

Return only core fields. Reduces payload size for LLM pipelines and agent tools.

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

Choose which representation of the listing description to include. `all` keeps every variant; the others keep only the selected one.

## `descriptionMaxLength` (type: `integer`):

Truncate listing descriptions to this many characters. Set to 0 for no truncation.

## `excludeEmptyFields` (type: `boolean`):

Drop null, empty-string, and empty-array fields from each record before output. Reduces payload size.

## `incrementalMode` (type: `boolean`):

Compare results against the previous run and only emit new or changed listings. Tracks state across runs automatically.

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

Optional stable ID for the tracked search. Leave empty to auto-derive from your search inputs - different filter combinations get isolated state.

## `emitExpired` (type: `boolean`):

When incremental mode is on, also emit listings that were seen before but are no longer found.

## `emitUnchanged` (type: `boolean`):

When incremental mode is on, also emit listings whose content has not changed since the last run.

## `skipReposts` (type: `boolean`):

In incremental mode, skip listings that appear to be reposts of a previously-seen expired listing with matching details.

## `notifyOnlyChanges` (type: `boolean`):

When incremental mode is on, send notifications only for new or updated listings. Has no effect outside incremental mode.

## `notificationLimit` (type: `integer`):

Maximum number of listings included in each notification message (1-20).

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

Telegram bot token from @BotFather. Required for Telegram notifications. Pairs well with incremental mode.

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

Chat ID (from @userinfobot) or channel ID (starts with -100). Required when telegramToken is set.

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

Discord channel webhook URL.

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

Slack incoming webhook URL.

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

WhatsApp Business phone number ID.

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

WhatsApp Cloud API access token from Meta Business Manager.

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

Recipient phone number in E.164 format without +.

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

Receives a JSON POST with {metadata, items} after each run.

## `webhookHeaders` (type: `object`):

Optional JSON object of custom HTTP headers for the webhook POST.

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

Optional connector ID for downstream app integrations.

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

Only when the connected app is an issue tracker: the team (name or ID) the summary issue is created under, if that app requires one.

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

Decimal longitude, e.g. 2.3522. Requires latitude + radius.

## `allowLowConfidence` (type: `boolean`):

When enabled, accepts a fuzzy or GPS-approximate city match instead of failing. Disable to prevent silent wrong-location results.

## `maxPages` (type: `integer`):

Maximum number of result pages to process per search.

## `proxyConfiguration` (type: `object`):

Proxy settings. Defaults to Apify Residential proxies in France for best results.

## Actor input object example

```json
{
  "operation": "sale",
  "query": "appartement",
  "maxResults": 100,
  "newBuild": false,
  "hasElevator": false,
  "topFloorOnly": false,
  "ownerType": "all",
  "sort": "time",
  "location": "Paris",
  "lat": "48.8566",
  "mode": "listings",
  "includeDetails": false,
  "includePhone": false,
  "extractContacts": true,
  "compact": false,
  "descriptionFormat": "all",
  "descriptionMaxLength": 0,
  "excludeEmptyFields": false,
  "incrementalMode": false,
  "emitExpired": false,
  "emitUnchanged": false,
  "skipReposts": false,
  "notifyOnlyChanges": false,
  "notificationLimit": 5,
  "lng": "2.3522",
  "allowLowConfidence": false,
  "maxPages": 5,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "FR"
  }
}
```

# 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 = {
    "operation": "sale",
    "maxResults": 100,
    "mode": "listings",
    "includeDetails": false,
    "includePhone": false,
    "descriptionFormat": "all",
    "excludeEmptyFields": false
};

// Run the Actor and wait for it to finish
const run = await client.actor("blackfalcondata/leboncoin-real-estate-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 = {
    "operation": "sale",
    "maxResults": 100,
    "mode": "listings",
    "includeDetails": False,
    "includePhone": False,
    "descriptionFormat": "all",
    "excludeEmptyFields": False,
}

# Run the Actor and wait for it to finish
run = client.actor("blackfalcondata/leboncoin-real-estate-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 '{
  "operation": "sale",
  "maxResults": 100,
  "mode": "listings",
  "includeDetails": false,
  "includePhone": false,
  "descriptionFormat": "all",
  "excludeEmptyFields": false
}' |
apify call blackfalcondata/leboncoin-real-estate-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,blackfalcondata/leboncoin-real-estate-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/S98yWfQkFxA7SCpMi/builds/H3HiiXOjVtPTtlFnv/openapi.json
