# Leboncoin Scraper - France Classifieds & Prices, No Login (`cliqtomedia/leboncoin-scraper`) Actor

Scrape Leboncoin listings to track prices and spot resale deals in France. Search by keyword, category, place and price. Get price, city, photos, condition and seller type. No login or phone numbers.

- **URL**: https://apify.com/cliqtomedia/leboncoin-scraper.md
- **Developed by:** [Cliqto Media](https://apify.com/cliqtomedia) (community)
- **Categories:** E-commerce
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.94 / 1,000 listings

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

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

## What's an Apify Actor?

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

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

## How to integrate an Actor?

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

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

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

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

# README

Leboncoin Scraper collects public listings from Leboncoin in France by keyword, category, place and price, and returns one row per listing with price, city, photos, condition and seller type. No login or API key is needed. A first run of 20 listings takes a few seconds and costs about $0.04 on the Free plan.

Use it to track prices and spot resale deals in France. The smallest run needs one keyword, for example `vélo électrique`.

[![Leboncoin Scraper: from a keyword, category and place to a table of listings with price, city, photos and seller type](https://api.apify.com/v2/key-value-stores/J03J1mknwoFqFbFQA/records/hero-20261105.png)](https://console.apify.com/actors/Qu1gSJykdO2VmKGiJ/input)

### Table of contents

- [What it does](#what-it-does)
- [How it works](#how-it-works)
- [Quick start](#quick-start)
- [Use cases](#use-cases)
- [Input](#input)
- [Output](#output)
- [Pricing](#pricing)
- [Limits](#limits)
- [API, export and integrations](#api-export-and-integrations)
- [Troubleshooting](#troubleshooting)
- [FAQ](#faq)
- [Related Actors](#related-actors)
- [Support](#support)

### What it does

This Actor reads public listings on [Leboncoin](https://www.leboncoin.fr/), the big French classifieds site. You give it a keyword, a category, a place or a price range. You can also paste links from the site. You get a table of listings that you can export as CSV, Excel or JSON.

It does not sign in. It does not collect phone numbers. It does not save the names of private sellers.

#### Good fit

- A reseller who wants underpriced items in one category or region.
- A market analyst who wants price levels for cars, bikes, phones or flats in France.
- A buyer who wants a daily list of new listings for one search.
- A shop that wants to see what professional sellers ask for similar items.

> **👉 [Try it now: open the input form](https://console.apify.com/actors/Qu1gSJykdO2VmKGiJ/input)**

### How it works

1. The Actor reads the public Leboncoin results for your keyword, category, place and price, or for the links you paste.
2. It applies your filters, removes duplicates and masks phone numbers and emails in the listing text.
3. It saves one row per listing to the Dataset and writes a run summary with a status, a message and counts for each search.

> **👉 [Try it now: open the input form](https://console.apify.com/actors/Qu1gSJykdO2VmKGiJ/input)**

### Quick start

[![Input form: box 1 marks the search keyword and box 2 marks the maximum number of listings](https://api.apify.com/v2/key-value-stores/J03J1mknwoFqFbFQA/records/quick-start-form-20261105.png)](https://console.apify.com/actors/Qu1gSJykdO2VmKGiJ/input)

1. Open the **Input** tab. Keep `vélo électrique` in **Search keyword** or type your own (box 1 in the picture).
2. Keep **Max listings per search** at 20 for a first test (box 2). This is the value the form suggests. If you leave the field out in the API, the limit is 100.
3. Click **Start**.
4. Open the **Listings** table in the **Output** tab. Check **Title** and **Price (€)** (box 4 in the picture).

   [![Output table: box 4 marks the title and price columns](https://api.apify.com/v2/key-value-stores/J03J1mknwoFqFbFQA/records/output-table-20261105.png)](https://api.apify.com/v2/key-value-stores/J03J1mknwoFqFbFQA/records/output-table-20261105.png)

Expected result: 20 listings with a link, a title, a price and a city, newest first. The first result often includes other goods that mention the keyword in their text. To avoid them, turn on **Search in titles only** or choose a category.

> **👉 [Try it now: open the input form](https://console.apify.com/actors/Qu1gSJykdO2VmKGiJ/input)**

### Use cases

| Buyer job | Input path | Output entity | Key fields | Next integration |
| --- | --- | --- | --- | --- |
| Track prices of one product in France | `query`, `category`, `maxItems` | Listing | `price`, `oldPrice`, `postedAt`, `city` | Export to a sheet on a schedule |
| Spot resale deals below your price | `query`, `maxPrice`, `sortBy`, `excludeTerms` | Listing | `title`, `price`, `condition`, `url` | Send a summary to Slack |
| Monitor new listings for one search | `searchUrls`, `onlyNew`, `stateName` | New listing | `listingId`, `title`, `price`, `url` | Schedule and webhook |
| Compare professional sellers | `category`, `sellerType`, `includeSellerStats` | Listing with seller details | `sellerName`, `sellerSiren`, `price`, `sellerStats` | Export to CSV |
| Study real estate or car prices in one area | `category`, `location`, `minRooms`, `minSurface` or a search link | Listing | `price`, `attributes`, `zipcode`, `department` | Export to your analysis tool |

> **👉 [Try it now: open the input form](https://console.apify.com/actors/Qu1gSJykdO2VmKGiJ/input)**

### Input

#### Input fields

| Field | Plain name | Type | Required | Default / prefill | Allowed values | Effect | Example | Recommendation |
| --- | --- | --- | --- | --- | --- | --- | --- | --- |
| `query` | Search keyword | text | no | prefill `vélo électrique`; no default | up to 200 characters | Searches titles and descriptions | `iphone 15` | Write it in French, as buyers do |
| `category` | Category | text | no | all categories | a Leboncoin category id from the form list | Limits the search to one category or group | `55` (bikes) | Use it when a keyword matches too many goods |
| `location` | Place | text | no | all of France | city, postcode, department name or number, region | Limits the search to one place | `Lyon`, `69003`, `69`, `Bretagne` | Leave empty for all of France |
| `minPrice` | Minimum price (€) | whole number | no | none | 0–1,000,000,000 | Keeps listings at or above this price | `50` | Listings with no price are dropped |
| `maxPrice` | Maximum price (€) | whole number | no | none | 0–1,000,000,000 | Keeps listings at or below this price | `500` | Listings with no price are dropped |
| `maxItems` | Max listings per search | whole number | no | default 100; prefill 20 | 1–20,000 | Limit for each search, not for the whole run | `20` | Start small, then raise it |
| `searchUrls` | Search links | list of text | no | empty | up to 20 links to `www.leboncoin.fr/recherche` | Each link is one more search | see the examples | Best for filters that have no field here, such as mileage |
| `adUrls` | Listing links or ids | list of text | no | empty | up to 100 links or ids | Fetches these listings directly | `3302515620` | Use it when you already have the links |
| `moreQueries` | More search keywords | list of text | no | empty | up to 20 keywords | Each keyword is one more search with the same filters | `vtt électrique` | A listing found twice is saved and charged once |
| `radiusKm` | Radius around the place (km) | whole number | no | 0 | 0–200 | Widens a city or postcode to a circle | `30` | Ignored for departments and regions |
| `sellerType` | Seller type | choice | no | `all` | `all`, `pro`, `private` | Keeps one type of seller | `pro` | |
| `sortBy` | Sort by | choice | no | `newest` | `newest`, `oldest`, `relevance`, `price-low`, `price-high` | Sets the order and which listings fit your limit | `price-low` | Keep `newest` for monitoring |
| `maxAgeDays` | Maximum listing age (days) | whole number | no | none | 1–3,650 | Keeps recent listings only | `7` | With `newest` the run also stops early |
| `minRooms`, `maxRooms` | Rooms | whole number | no | none | 0–100 | Real estate only | `3` | Use with a real estate category |
| `minSurface`, `maxSurface` | Surface (m²) | whole number | no | none | 0–100,000 | Real estate only | `60` | Use with a real estate category |
| `adType` | Listing type | choice | no | `offer` | `offer`, `demand` | Offers or wanted listings | `demand` | |
| `titleOnly` | Search in titles only | true/false | no | `false` | | Matches the keyword in the title only | `true` | Use it to remove off-topic listings |
| `urgentOnly` | Urgent listings only | true/false | no | `false` | | Keeps listings marked as urgent | `true` | |
| `freeOnly` | Free items only | true/false | no | `false` | | Keeps free items | `true` | Do not use with a price limit |
| `shippableOnly` | Shippable items only | true/false | no | `false` | | Keeps listings with delivery | `true` | |
| `excludeTerms` | Exclude words in titles | list of text | no | empty | up to 50 words | Drops listings with these words in the title, ignoring case and accents | `pièces`, `HS` | Dropped listings are not charged |
| `includeSellerStats` | Add seller statistics | true/false | no | `false` | | Adds registration date, number of ads, reply rate, badges and rating | `true` | Costs extra, once per seller per run |
| `onlyNew` | Only new listings since last run | true/false | no | `false` | | Saves only listings that appeared since your last run and that you did not get before | `true` | Use it with a schedule and the `newest` sort. A search link with no sort of its own then runs newest first. With another sort it means any listing you did not get before |
| `stateName` | Monitoring name | text | no | one shared memory | lowercase letters, digits and hyphens, up to 63 | Keeps the memory of separate monitors apart. The memory is a store with this name in your Apify account | `paris-velos` | Use one name per monitor, not the name of another store |
| `deliveryConnector` | Send results to | connector | no | none | your connector | Posts a short summary after the run | | See [Send results to Slack or Notion](#send-results-to-slack-or-notion) |
| `deliveryTarget` | Notion page or channel | text | no | none | Notion page link or Slack channel ID | Where the summary goes | | |

Set at least one of `query`, `category`, `location`, `searchUrls` or `adUrls`. With none of them, the run fails at once with a clear message and costs only the start fee.

Lists take plain text. The list editor in the form also works. Repeated listing links are fetched and charged once. A link that is not valid is skipped with a warning and is not charged. If no link in the input is valid and nothing else is set, the run fails with the reason.

#### Interacting settings

| When | Input A | Input B | Effective behavior | Example | Cost/result effect |
| --- | --- | --- | --- | --- | --- |
| Listing links are set | `adUrls` | search fields, `searchUrls` | Only the listing links run. The search fields are ignored with a warning | 2 links and a keyword | Charged at the listing-link price |
| Monitoring with listing links | `onlyNew` | `adUrls` | `onlyNew` is ignored with a warning | | Each link is charged again |
| Keyword and links together | `query` | `searchUrls` | Both run as separate searches | 1 keyword and 2 links | `maxItems` applies to each of the 3 |
| Fields and a search link | `sellerType`, `category`, `location`, `minPrice`, `maxPrice`, `titleOnly` | `searchUrls` | A link keeps its own filters. These fields do not change it | | Set them on the site before you copy the link |
| Filters for every search | `maxAgeDays`, `excludeTerms`, `maxItems`, `onlyNew`, `includeSellerStats` | `searchUrls` | These fields work on links too | | Dropped listings are not charged |
| Free items and price | `freeOnly` | `minPrice`, `maxPrice` | Not allowed. The run fails with a clear message | | Start fee only |
| Radius and big areas | `radiusKm` | `location` | Works with a city or postcode. Ignored with a warning for a department or region | | None |
| Deep search | `maxItems` above 3,500 | no place | The search is split by department to go deeper | `maxItems` 20,000 | More rows, more time |
| Deep search in one place | `maxItems` above 3,500 | `location` or a link with a place | The search stops at 3,500 and the run says so | | Narrow the filters to reach the rest |

#### Input examples

##### First test

```json
{
  "query": "vélo électrique",
  "maxItems": 20
}
```

Expected behavior: one search across France, newest first.
Expected output: 20 listings with `title`, `price`, `city`, `sellerType` and `url`.
Limit or cost note: about $0.04 on the Free plan.

##### Deals in one region

```json
{
  "query": "vélo électrique",
  "category": "55",
  "location": "Bretagne",
  "maxPrice": 800,
  "titleOnly": true,
  "excludeTerms": ["pièces", "HS"],
  "maxItems": 100
}
```

Expected behavior: one search in Brittany, bikes only, up to €800. Titles with these words are dropped.
Expected output: up to 100 listings. It can be fewer if the search has fewer.
Limit or cost note: dropped listings are not charged.

##### Daily monitoring of a search link

```json
{
  "searchUrls": ["https://www.leboncoin.fr/recherche?category=2&text=clio&locations=d_69"],
  "onlyNew": true,
  "stateName": "rhone-clio",
  "maxItems": 200
}
```

Expected behavior: the first run saves the 200 newest listings. Later runs save only listings that appeared since. Older listings below the first 200 are not saved or charged.
Expected output: new listings with `listingId`, `price` and `url`.
Limit or cost note: a run with nothing new costs only the start fee.

##### Listings by link

```json
{
  "adUrls": ["https://www.leboncoin.fr/ad/velos/3302515620", "3302515621"]
}
```

Expected behavior: each listing is fetched on its own through a slower route.
Expected output: one row per live listing, with the same fields as a search row.
Limit or cost note: each link costs the listing-link price, including a link that no longer exists.

> **👉 [Try it now: open the input form](https://console.apify.com/actors/Qu1gSJykdO2VmKGiJ/input)**

### Output

#### Output fields

Every row has all fields. A value that the listing does not have is `null` or an empty list.

| Field | Meaning | Type | Can be empty? | Example / enum | Source / notes |
| --- | --- | --- | --- | --- | --- |
| `listingId` | Listing number | text | no | `3302515620` | The number at the end of the link |
| `url` | Listing page | text | no | `https://www.leboncoin.fr/ad/velos/3302515620` | |
| `title` | Title | text | rarely | `Vélo électrique GIANT` | Phone numbers and emails are masked |
| `description` | Full text | text | rarely | | Phone numbers and emails are masked |
| `price` | Price in euros | number | yes | `80` | Empty for free items or no price |
| `oldPrice` | Earlier price | number | yes | `120` | Only when the seller lowered the price |
| `currency` | Currency | text | yes | `EUR` | |
| `buyerFee` | Buyer protection fee in euros | number | yes | `1.99` | |
| `shippingFees` | Delivery options with price | list | yes | | Empty with no delivery |
| `category` | Category name | text | rarely | `Vélos` | As shown on the site |
| `categoryId` | Category id | text | rarely | `55` | Same value as the `category` input |
| `location` | City and postcode | text | rarely | `Périgueux 24000` | |
| `city` | City | text | rarely | `Périgueux` | |
| `zipcode` | Postcode | text | rarely | `24000` | |
| `department`, `departmentId` | Department | text | rarely | `Dordogne`, `24` | |
| `region`, `regionId` | Region | text | rarely | `Aquitaine`, `2` | The site uses the regions from before 2016 |
| `latitude`, `longitude` | Approximate position | number | yes | `45.184`, `0.723` | Approximate, not an address |
| `postedAt` | First publication date | text | rarely | `2026-11-05T00:54:35.000Z` | UTC |
| `indexedAt` | Last republish or update | text | rarely | `2026-11-05T00:54:35.000Z` | UTC. The newest-first order follows this date |
| `expiresAt` | Expiry date | text | yes | | UTC |
| `images` | Photo links, largest size | list | yes | | |
| `imageCount` | Number of photos | whole number | no | `5` | |
| `attributes` | Category details | object | yes | `{"bicycle_type": "Vélo électrique"}` | Labels change by category, such as mileage or surface |
| `condition` | Item condition | text | yes | `Très bon état` | As shown on the site |
| `adType` | Listing type | text | rarely | `offer`, `demand` | |
| `status` | Listing status | text | rarely | `active` | |
| `urgent`, `boosted` | Listing marks | true/false | rarely | `false` | `boosted` means the seller paid for a higher place |
| `shippable` | Delivery is offered | true/false | yes | `false` | Often empty when the seller did not set delivery |
| `hasPhone` | The listing has a phone number | true/false | rarely | `false` | The number itself is never collected |
| `sellerType` | Seller type | text | rarely | `pro`, `private` | |
| `sellerName` | Business name | text | yes | | Always empty for private sellers |
| `sellerSiren` | French company number | text | yes | | Always empty for private sellers |
| `sellerStoreId` | Store id | text | yes | | Always empty for private sellers |
| `sellerStats` | Seller statistics | object | yes | | Only with `includeSellerStats` |
| `searchQuery` | Keyword that found the listing | text | yes | `vélo électrique` | |
| `searchUrl` | Search link that found the listing | text | yes | | |
| `scrapedAt` | When the row was fetched | text | no | `2026-11-05T01:36:44.007Z` | UTC |

#### Output entities and surfaces

| Situation | Dataset/API/KVS/live view | Result shape | User action |
| --- | --- | --- | --- |
| Normal item | Dataset, table **Listings** in the **Output** tab, API, export | One row per listing | Open, export or use the `url` field |
| Domain-empty result | Empty Dataset. `RUN_SUMMARY` in the Key-value store has status `NOT_FOUND`. The run succeeds | No rows | Check the keyword, the filters and the place |
| Partial result | Saved rows stay in the Dataset. `RUN_SUMMARY` has status `PARTIAL` with a reason | Normal rows, fewer than asked | Read the status message and follow its advice |
| Technical failure or retry | The run fails with a clear message. Rows saved before the failure stay. `RUN_SUMMARY` has the reason | Normal rows or none | Run again later. If it repeats, open an issue |

#### Output example

This run used the first input example. The example is trimmed and shows one listing.

```json
{
  "listingId": "3302515620",
  "url": "https://www.leboncoin.fr/ad/velos/3302515620",
  "title": "Vélo électrique GIANT",
  "price": 80,
  "oldPrice": null,
  "currency": "EUR",
  "buyerFee": 1.99,
  "category": "Vélos",
  "categoryId": "55",
  "location": "Périgueux 24000",
  "city": "Périgueux",
  "zipcode": "24000",
  "department": "Dordogne",
  "region": "Aquitaine",
  "postedAt": "2026-11-05T00:54:35.000Z",
  "imageCount": 5,
  "attributes": {
    "bicycle_type": "Vélo électrique",
    "bicycle_brand": "Giant"
  },
  "condition": null,
  "adType": "offer",
  "status": "active",
  "sellerType": "private",
  "sellerName": null,
  "sellerStats": null,
  "searchQuery": "vélo électrique",
  "searchUrl": null
}
```

`null` means the listing does not have this value or the option is off. Here `sellerName` is `null` because the seller is private. Listing data comes from the site as it is at the time of the run. Sellers can change or remove it later.

#### Send results to Slack or Notion

Pick your connector in the optional `deliveryConnector` field. After the run saves its data, the Actor posts a short summary (up to 25 rows and a link to the full dataset) there. Put a Notion page link or a Slack channel ID in `deliveryTarget`: in Notion every run is added on top of that one page, so your workspace does not fill up with new pages. A delivery error never fails the run and costs nothing extra. Connect a service once in Apify Console → MCP connectors.

#### Use case → fields

| Buyer job | Input path | Output entity | Key fields | Next integration |
| --- | --- | --- | --- | --- |
| Price tracking | `query`, `category` | Listing | `price`, `oldPrice`, `postedAt` | Sheet or database |
| Resale deals | `query`, `maxPrice` | Listing | `title`, `price`, `url` | Slack summary |
| Monitoring | `searchUrls`, `onlyNew` | New listing | `listingId`, `price`, `url` | Schedule and webhook |
| Seller comparison | `sellerType`, `includeSellerStats` | Listing with seller details | `sellerName`, `sellerStats` | CSV |

> **👉 [Try it now: open the input form](https://console.apify.com/actors/Qu1gSJykdO2VmKGiJ/input)**

### Pricing

#### Pricing unit

You pay per event. The Actor pays for Apify platform usage, so you see only these charges:

| Event | When | Free | Bronze | Silver | Gold and above |
| --- | --- | ---: | ---: | ---: | ---: |
| Actor start | Once per run, per GB of memory | $0.01 | $0.01 | $0.01 | $0.01 |
| Listing | One listing from a search saved to the Dataset | $0.00135 | $0.00121 | $0.00108 | $0.00094 |
| Listing link check | One link from `adUrls` | $0.01 | $0.009 | $0.008 | $0.007 |
| Seller statistics | One seller lookup, only with `includeSellerStats` | $0.0005 | $0.00045 | $0.0004 | $0.00035 |

- **Start fee and memory:** the start fee is per GB of run memory, with a minimum of one. This Actor runs at 256 MB and allows up to 512 MB, so a run has one start fee.
- **No results:** a valid search with no listings costs only the start fee. So does a filter with no matches.
- **Monitoring with no changes:** a run with `onlyNew` and nothing new costs only the start fee. Listings you already got are not charged.
- **Duplicates and dropped listings:** these are not charged.
- **Partial and failed runs:** you pay the start fee and the rows that were saved. A failed search adds no row charge.
- **Listing links cost more** because each one goes through a slower route. The row has the same fields as a search row, so use a search when you can. A link that no longer exists costs the same as a live one, because the check is the same work. A link that is not valid is not charged.

#### Cost examples

Amounts show the Free plan and then Gold and above.

| Scenario | Input scope | Expected item/event count | Base charge | Optional charge | Stop/cap behavior |
| --- | --- | ---: | ---: | ---: | --- |
| First test | 1 keyword, `maxItems` 20 | 20 listings | $0.037 / $0.029 | up to $0.010 / $0.007 with seller statistics | Stops at 20 |
| Small | 1 keyword, `maxItems` 100 | 100 listings | $0.145 / $0.104 | up to $0.050 / $0.035 | Stops at 100 |
| Large | 1 keyword, `maxItems` 1,000 | 1,000 listings | $1.360 / $0.950 | up to $0.50 / $0.35 | Stops at 1,000 |
| Very large | 1 keyword, `maxItems` 3,500 | 3,500 listings | $4.735 / $3.300 | up to $1.75 / $1.23 | Stops at 3,500 |
| One listing link | 1 link | 1 check | $0.020 / $0.017 | up to $0.0005 / $0.00035 | |
| 100 listing links | 100 links | 100 checks | $1.010 / $0.710 | up to $0.05 / $0.035 | The maximum for one run |
| No results or nothing new | any | 0 listings | $0.01 / $0.01 | none | Ends without row charges |

To cap a run, set **Maximum cost per run** on the run form. The run stops when it reaches the cap, keeps the saved rows and says so. Prices and limits here match the live settings of this Actor.

> **👉 [Try it now: open the input form](https://console.apify.com/actors/Qu1gSJykdO2VmKGiJ/input)**

### Limits

- **One search shows at most 3,500 listings.** This is a limit of the site. A search with no place and a `maxItems` above 3,500 is split by department to go deeper. A search with a place stops at 3,500 and says so.
- **The maximum is 20,000 listings per search,** 21 keyword searches and 20 search links per run, and 100 listing links per run.
- **Time.** On our runs, 500 listings took about 1 minute, 3,500 listings took about 3 to 5 minutes and 20,000 listings took 14 to 28 minutes. Listing links are slower: 100 links took about 7 to 14 minutes. A run can take longer when the site slows down requests. The default run timeout is 60 minutes, and a run works for at most 60 minutes even with a higher timeout. Start several deep searches as separate runs. A run that reaches the time limit keeps its rows and says so.
- **Monitoring memory.** `onlyNew` remembers the last 50,000 listings for each search and the newest date it reached. If more new listings appear than `maxItems`, the rest arrive with the next run. A listing the source indexes more than 2 hours late, or that sits behind a full page of listings you already got, counts as old. With narrow filters on a very busy search, a run can stop after 1,000 listings with no match and end as partial. New matches above that point are saved, but a match further down may not arrive.
- **Filter stop.** If none of the last 1,000 listings pass your filters, the search stops and says so. This protects you from a long scan with no results.
- **Newest first follows the date of the last republish.** Paid or republished listings can have an older `postedAt`.
- **A keyword also matches the description.** A search for `vélo électrique` can return flats and cars that mention one. Use `titleOnly` or `category`.
- **No private data.** The Actor does not collect phone numbers or private sellers' names. Phone numbers and emails are masked in listing text. It does not read messages or accounts.
- **Only France.** The Actor covers `www.leboncoin.fr`. It does not support other sites.
- **No promise of completeness.** The site can change, limit or block results at any time. A run shows what the site returned at that moment.
- **Your use of the data.** You are responsible for how you use the data, including the site terms and privacy law in your country.

> **👉 [Try it now: open the input form](https://console.apify.com/actors/Qu1gSJykdO2VmKGiJ/input)**

### API, export and integrations

- **API:** start a run with the same JSON as in the form through the [Apify API](https://docs.apify.com/api/v2). Read rows from the default Dataset and the status from the `RUN_SUMMARY` record.
- **Export:** download CSV, Excel, JSON, JSONL, XML or HTML from the **Output** tab or through the API.
- **Scheduling:** use [Apify Schedules](https://docs.apify.com/platform/schedules) with `onlyNew` to get new listings every day. The next system reads `listingId` and `url`.
- **Webhooks / no-code:** use [Apify webhooks](https://docs.apify.com/platform/integrations/webhooks) when a run ends, or connect Make, Zapier or n8n through their Apify apps. They read the Dataset rows.
- **Slack or Notion:** see [Send results to Slack or Notion](#send-results-to-slack-or-notion).

#### Use with AI agents (MCP)

MCP server with only this Actor: `https://mcp.apify.com?tools=cliqtomedia/leboncoin-scraper`. See the [Apify MCP documentation](https://docs.apify.com/platform/integrations/mcp).

The smallest useful input:

```json
{
  "query": "vélo électrique",
  "maxItems": 20
}
```

Key output fields:

- `title`: listing title.
- `price`: price in euros, can be empty.
- `city`: city of the listing.
- `sellerType`: `pro` or `private`.
- `url`: listing page.

This run takes a few seconds and costs about $0.04 on the Free plan. Limits: 3,500 listings per search with a place, 20,000 with no place, and 100 listing links per run. Use a search and not listing links when you can: it is faster and costs less.

> **👉 [Try it now: open the input form](https://console.apify.com/actors/Qu1gSJykdO2VmKGiJ/input)**

### Troubleshooting

#### The results include goods I did not search for

Symptom: a search for a bike also returns flats or cars.
Likely reason: the keyword is in the description of these listings.
Check: read the `description` of a wrong row.
Action: turn on `titleOnly`, choose a `category` or add `excludeTerms`.

#### The run ended with no rows

Symptom: the run succeeded, the Dataset is empty, and the status says no listings were returned.
Likely reason: nothing matches the filters, or with `onlyNew` nothing is new.
Check: open the same search on the site.
Action: loosen the filters. For monitoring, an empty result is normal.

#### The run stopped early with few rows

Symptom: the status says that none of the last 1,000 listings passed your filters.
Likely reason: `excludeTerms`, `maxAgeDays` or the price limit drop almost everything in this search.
Check: read the status message and the counts in `RUN_SUMMARY`.
Action: loosen the filters or use a narrower keyword or category.

#### I got exactly 3,500 listings

Symptom: the message says the site shows at most 3,500 listings per search.
Likely reason: this is the limit of the site for a search with a place or filters from a link.
Check: look at `totalAvailable` in `RUN_SUMMARY`.
Action: split the search by price or by place, or remove the place so the Actor can split by department.

#### A link was skipped

Symptom: the status message says a link was skipped.
Likely reason: the link does not point to a Leboncoin search or listing page.
Check: read `warnings` in `RUN_SUMMARY`.
Action: open the listing or search on the site and copy the link again.

#### The run failed with a source error

Symptom: the run failed and the message names a source error. Any saved rows stay in the Dataset.
Likely reason: the site did not answer or refused the requests after all retries. This is not an empty result.
Check: read the message and `http` in `RUN_SUMMARY`.
Action: run again later with a smaller `maxItems`. If it repeats, open an issue with the run ID.

> **👉 [Try it now: open the input form](https://console.apify.com/actors/Qu1gSJykdO2VmKGiJ/input)**

### FAQ

#### Do I need a Leboncoin account or an API key?

No. The Actor reads public listings without a login.

#### Can I get the seller's phone number or name?

No. The Actor does not collect phone numbers and does not save private sellers' names. For professional sellers it returns the business name and company number when the listing shows them.

#### Why does the price differ for listing links?

Each listing link goes through a slower route, and this costs more to run. Search rows have the same fields, so a search is the better choice for many listings.

#### How do I get only new listings every day?

Turn on `onlyNew`, add a `stateName` and create a schedule. The first run saves the newest listings, up to `maxItems`. Later runs save and charge only the ones that appeared since.

#### Why is a value empty?

The seller did not give it, or the category does not have it. For example, `condition` is empty for many categories. Seller statistics are empty unless you turn them on.

#### How fresh is the data?

Each row shows the site at the time of the run. The `scrapedAt` field gives this time. A listing can change or end after that.

> **👉 [Try it now: open the input form](https://console.apify.com/actors/Qu1gSJykdO2VmKGiJ/input)**

### Related Actors

- [Vinted Scraper](https://apify.com/cliqtomedia/vinted-scraper): second-hand fashion listings, also in France.
- [Facebook Marketplace Scraper](https://apify.com/cliqtomedia/facebook-marketplace): local listings and price drops on another marketplace.
- [AutoScout24 Scraper](https://apify.com/cliqtomedia/car-listings-scraper): car listings across Europe for price comparison.
- [Subito.it Scraper](https://apify.com/cliqtomedia/subito-listings-scraper): the same kind of classifieds data for Italy.
- [Kleinanzeigen Scraper](https://apify.com/cliqtomedia/kleinanzeigen-scraper): the same kind of classifieds data for Germany.

> **👉 [Try it now: open the input form](https://console.apify.com/actors/Qu1gSJykdO2VmKGiJ/input)**

### Support

For a bug, question or feature request, open the **Issues** tab of this Actor on Apify. Include the run ID, the input mode you used and the error text. Never send tokens, cookies or private data.

> **👉 [Try it now: open the input form](https://console.apify.com/actors/Qu1gSJykdO2VmKGiJ/input)**

# Changelog

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

# Actor input Schema

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

What to search for, in French as buyers type it (e.g. "vélo électrique", "iphone 15", "canapé"). Leave empty to browse a whole category or place.

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

Limit to one Leboncoin category. "(all)" entries cover the whole group.

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

A city ("Lyon"), postcode ("69003"), department name or number ("Rhône", "69") or region ("Bretagne", "Occitanie"). Leave empty for all of France.

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

Keep listings at this price or higher. Listings without a price are dropped when a price limit is set.

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

Keep listings at this price or lower. Listings without a price are dropped when a price limit is set.

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

Upper limit of listings saved for each search. Leboncoin shows at most 3,500 per search; above that a nationwide search is split by department automatically.

## `searchUrls` (type: `array`):

Links copied from www.leboncoin.fr/recherche with every filter you set on the site, including category filters such as mileage or surface. Each link is one more search. A link that is not valid is skipped with a warning.

## `adUrls` (type: `array`):

Fetch these listings directly, with the full description and all attributes. When set, the search fields and search links are ignored. Charged per listing at the listing-link price. A link that is not valid is skipped with a warning and not charged.

## `moreQueries` (type: `array`):

Extra keywords, each run as one more search with the same filters. A listing found by several keywords is saved and charged once.

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

Widen a city or postcode to a circle of this radius. Ignored for departments and regions.

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

Only professional sellers or only private sellers.

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

Order of results, which also decides which listings fit into your limit.

## `maxAgeDays` (type: `integer`):

Keep listings posted within this many days. Older listings are not charged. With "Newest first" the run also stops as soon as the results get older, which is faster.

## `minRooms` (type: `integer`):

Real estate only: at least this many rooms. Use with a real estate category.

## `maxRooms` (type: `integer`):

Real estate only: at most this many rooms. Use with a real estate category.

## `minSurface` (type: `integer`):

Real estate only: at least this living area. Use with a real estate category.

## `maxSurface` (type: `integer`):

Real estate only: at most this living area. Use with a real estate category.

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

Offers are things for sale or rent. Wanted listings are people looking for something.

## `titleOnly` (type: `boolean`):

Match the keyword in the listing title, not in the description.

## `urgentOnly` (type: `boolean`):

Only listings the seller marked as urgent.

## `freeOnly` (type: `boolean`):

Only listings given away for free ("Dons"). Cannot be combined with a price limit.

## `shippableOnly` (type: `boolean`):

Only listings that offer delivery.

## `excludeTerms` (type: `array`):

Drop listings whose title contains any of these words, ignoring case and accents (e.g. "pièces", "HS"). Dropped listings are not charged.

## `includeSellerStats` (type: `boolean`):

Add each seller's registration date, number of ads, reply rate, badges and rating. Charged once per seller per run. Never includes private sellers' names or phone numbers.

## `onlyNew` (type: `boolean`):

Remembers what each search returned and saves (and charges) only listings that appeared since the last run. Use it with a schedule and the newest sort to monitor a search. With another sort it means any listing you have not received yet.

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

Keep the memory of separate monitors apart, e.g. "paris-velos". Lowercase letters, digits and hyphens. The memory is a store with this name in your Apify account, so do not use the name of another store. Leave empty to share one memory.

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

Your Slack, Notion or other MCP connector. After the run the Actor posts a short summary there. Connect services once in Apify Console → MCP connectors.

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

Where to post the summary: a Notion page link (each run is added on top of that page) or a Slack channel ID. Leave empty to let the connector decide.

## Actor input object example

```json
{
  "query": "vélo électrique",
  "category": "",
  "maxItems": 20,
  "sellerType": "all",
  "sortBy": "newest",
  "adType": "offer",
  "titleOnly": false,
  "urgentOnly": false,
  "freeOnly": false,
  "shippableOnly": false,
  "includeSellerStats": false,
  "onlyNew": false
}
```

# Actor output Schema

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

Leboncoin listings as a table.

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

Status, per-search counts, totals available and request statistics.

# 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 = {
    "query": "vélo électrique",
    "maxItems": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("cliqtomedia/leboncoin-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 = {
    "query": "vélo électrique",
    "maxItems": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("cliqtomedia/leboncoin-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 '{
  "query": "vélo électrique",
  "maxItems": 20
}' |
apify call cliqtomedia/leboncoin-scraper --silent --output-dataset

```

## MCP server setup

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