# Leboncoin Products Scraper 🛍️ (`contactminerlabs/leboncoin-products-scraper`) Actor

Leboncoin Products Scraper extracts products from Leboncoin: product titles, descriptions, prices, categories, item condition, brand, location, seller details, images, posting dates and URLs. Paste one or more Leboncoin search URLs, with all the filters you want, and get  product data in minutes

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

## Pricing

from $0.00005 / actor start

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
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 Search Scraper – Extract Ads, Prices & Sellers from leboncoin.fr

🛒 Collect every ad of a leboncoin.fr search: title, price, price drop, category, condition, brand, model, city, zip code, GPS, seller (professional or private), delivery, photos and dates.

Paste one or many search URLs or keywords and get a clean table ready for Excel, CSV or JSON.

### 🔍 What It Does

✅ Bulk input: many leboncoin search URLs and keywords at once, all filters of the URL kept (category, place, price, sort…)

✅ Goes through the result pages automatically, up to the number of ads you want per URL

✅ 51 fields per ad: prices, price drop (old price, amount, %), buyer fee, delivery price, item attributes, location, seller, photos, dates

✅ Item attributes decoded with the site's own labels: condition, brand, model, storage…

✅ Every missing value is returned as `"N/A"`, every row has the same columns

### 📦 Field Descriptions

| Field | Description |
| --- | --- |
| 🆔 `adId` / `url` / `title` / `description` | Ad ID, ad page, title, description when shown in the list |
| 💶 `price` / `oldPrice` / `priceDrop` / `priceDropPercent` / `currency` | Price in EUR, previous price and drop |
| 🛡️ `priceWithFees` / `buyerFee` / `deliveryFrom` / `shippable` | Price with buyer protection, buyer fee, delivery from, delivery possible |
| 🏷️ `categoryId` / `categoryName` / `adType` / `status` | Category, offer or demand, status |
| 📱 `condition` / `itemBrand` / `itemModel` / `attributes` | Item condition, brand, model, all attributes ("Label: value") |
| 📍 `city` / `zipcode` / `departmentName` / `regionName` / `location` / `latitude` / `longitude` | Location |
| 👤 `sellerType` / `isPro` / `sellerName` / `storeId` / `sellerId` / `hasPhone` | Seller |
| ⭐ `isUrgent` / `isFeatured` / `isBoosted` | Ad options (Urgent, "À la une", boosted) |
| 🖼️ `imageCount` / `imageUrl` / `images` | Photos |
| 📅 `publishedAt` / `indexedAt` / `expiresAt` / `ageDays` | Dates (French time) and age in days |
| 🔗 `keyword` / `searchUrl` / `totalResults` / `page` / `position` / `source` / `scrapedAt` | Keyword, search URL, results available, page, position, Data source, scrape time |

A `SUMMARY` record (results, status and last page per URL) is saved in the key-value store.

### 🛠 How to Use the Scraper

1️⃣ Search on https://www.leboncoin.fr and set your filters (or just type keywords)

2️⃣ Add the URL(s) or keywords in "Leboncoin search URLs or keywords" (one per line, or "Bulk edit" to paste many)

3️⃣ Set the maximum number of ads per URL (0 = all pages)

4️⃣ Keep the RESIDENTIAL proxy (France) and run

5️⃣ Export to JSON, CSV, Excel, XML or HTML

💡 leboncoin shows a limited number of pages per search to visitors (100 pages of 35 ads at the time of writing). For very large searches, narrow them on the site (category, place, price range); the `SUMMARY` record tells you when a search reached this site limit.

💡 For thousands of ads, increase the run Timeout: the actor stops by itself a few seconds before the timeout and keeps everything collected.

### 💡 Why Use This Scraper?

🏷️ Resellers: spot under-priced items and price drops before they are gone

📊 Market research: second-hand prices by model, condition and region

🔔 Monitoring: schedule the actor with a "most recent" sort to follow new ads every day

🗂️ Lead lists: professional sellers active in a category

### 💸 Pricing

You only pay for the results you get (pay per result).

### Related Actors

If you're interested in other Company Leads, YouTube or Facebook scraping solutions, check out these related tools:

- [Pracuj.pl Jobs Scraper 🇵🇱💼 - Cheap (Tani)](https://apify.com/scrapestorm/pracuj-pl-jobs-scraper---cheap-tani)
- [PanoramaFirm Company Scraper 🔍🏢 - Cheap Tani](https://apify.com/scrapestorm/panoramafirm-company-scraper---cheap-tani)
- [Clutch Company Search Scraper 📊🏢- Cheap](https://apify.com/scrapestorm/clutch-company-search-scraper---cheap)
- [Netmeds Product Scraper - Cheap 🛒](https://apify.com/scrapestorm/netmeds-product-scraper---cheap)
- [Y Combinator Company Scraper 🧠💼 - Cheap & Fast](https://apify.com/scrapestorm/y-combinator-company-scraper---cheap-fast)
- [BBB Business Directory Scraper 🏢💡 - Cheap & Fast](https://apify.com/scrapestorm/bbb-business-directory-scraper---cheap-fast)
- [Firmy.cz Search Scraper 🔍🏢 🇨🇿 - Cheap Levný](https://apify.com/scrapestorm/firmy-cz-search-scraper---cheap-levny)
- [AllRecipes Search Scraper 🔍🍽️ 👩‍🍳 - Cheap](https://apify.com/scrapestorm/allrecipes-search-scraper---cheap)
- [YouTube Full Channel Transcripts Extractor ⚡📜 - Fast & cheap](https://apify.com/scrapestorm/youtube-full-channel-transcripts-extractor---fast-cheap)
- [YouTube Transcript Short Scraper 📝 (⚡ Fast & 💸 Cheap)](https://apify.com/scrapestorm/youtube-transcript-short-scraper-fast-cheap)
- [YouTube Transcript Video Scraper 📝 (⚡ Fast & 💸 Cheap)](https://apify.com/scrapestorm/youtube-transcript-videos)
- [YouTube Email Extractor 📩📍 - Fast & cheap 💬⭐](https://apify.com/scrapestorm/youtube-email-extractor---fast-cheap)
- [YouTube Email & Phone Scraper 📧📞](https://apify.com/scrapestorm/youtube-email-phone-scraper)
- [YouTube Hashtag Shorts/Videos Scraper #️⃣📺 (All-in-one)](https://apify.com/scrapestorm/youtube-hashtag-shorts-videos-scraper-all-in-one)
- [YouTube Community Posts Scraper 🚀📄💬](https://apify.com/scrapestorm/youtube-community-posts-scraper)
- [🏎 YouTube Scraper (By Keyword) ](https://apify.com/scrapestorm/youtube)
- [🔴 Youtube Channel Scraper (Rental)](https://apify.com/scrapestorm/youtube-channel-scraper)
- [🌐 Youtube Shorts Scraper 📺 (Rental)](https://apify.com/scrapestorm/youtube-shorts-scraper-rental---fast-cheap)
- [Facebook Ads Library Scraper 🎯📈](https://apify.com/scrapestorm/facebook-ads-library-scraper)
- [Facebook Likes Scraper (Fast & Cheap) 👍 🌟](https://apify.com/scrapestorm/facebook-likes-scraper-fast-cheap)
- [Facebook Followers & Following Scraper 📊👥](https://apify.com/scrapestorm/facebook-followers-following-scraper)
- [Facebook Comments Scraper (All-in-One) 💬](https://apify.com/scrapestorm/facebook-comments-scraper-all-in-one)
- [YouTube Transcript Video Scraper 📝 (⚡ Fast & 💸 Cheap)](https://apify.com/scrapestorm/youtube-transcript-videos)
- [Youtube Playlist Scraper 🎵 - Rental (Fast & cheap)](https://apify.com/scrapestorm/youtube-playlist-scraper---rental-fast-cheap)

***

### ✏️ Input Schema Example

```
{
  "startUrls": [
    "https://www.leboncoin.fr/recherche?text=iphone&kst=k",
    "https://www.leboncoin.fr/recherche?text=samsung&sort=time&order=desc"
  ],
  "maxItemsPerUrl": 500,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "FR"
  }
}
```

The old input format (`bulkUrls` text, `urls`, `keywords`, `maxItems`, `max_items`…) is still accepted.

### 📤 Output Example

Fictitious example showing every field:

```
{
  "adId": "1234567890",
  "url": "https://www.leboncoin.fr/ad/telephones_objets_connectes/1234567890",
  "title": "iPhone 15 128 Go très bon état",
  "description": "N/A",
  "price": 450,
  "oldPrice": 600,
  "priceDrop": 150,
  "priceDropPercent": 25.0,
  "priceWithFees": 473.19,
  "buyerFee": 23.19,
  "currency": "EUR",
  "categoryId": "17",
  "categoryName": "Téléphones & Objets connectés",
  "adType": "offer",
  "status": "active",
  "condition": "Très bon état",
  "itemBrand": "Apple",
  "itemModel": "iPhone 15",
  "attributes": [
    "État: Très bon état",
    "Marque: Apple",
    "Modèle: iPhone 15",
    "Capacité de stockage: 128 Go"
  ],
  "shippable": true,
  "deliveryFrom": 2.49,
  "city": "Exampleville",
  "zipcode": "12000",
  "departmentName": "Aveyron",
  "regionName": "Occitanie",
  "location": "Exampleville 12000",
  "latitude": 44.35,
  "longitude": 2.57,
  "sellerType": "Private",
  "isPro": false,
  "sellerName": "Example seller",
  "storeId": "1234567",
  "sellerId": "00000000-0000-0000-0000-000000000000",
  "hasPhone": false,
  "isUrgent": false,
  "isFeatured": false,
  "isBoosted": false,
  "imageCount": 3,
  "imageUrl": "https://img.leboncoin.fr/api/v1/lbcpb1/images/example.jpg?rule=ad-large",
  "images": [
    "https://img.leboncoin.fr/api/v1/lbcpb1/images/example.jpg?rule=ad-large"
  ],
  "publishedAt": "2026-11-20T15:43:53",
  "indexedAt": "2026-11-23T11:46:17",
  "expiresAt": "2027-01-19T15:43:53",
  "ageDays": 3.1,
  "keyword": "iphone",
  "searchUrl": "https://www.leboncoin.fr/recherche?text=iphone&kst=k",
  "totalResults": 376277,
  "page": 1,
  "position": 1,
  "source": "page-data",
  "scrapedAt": "2026-11-23T19:00:00+00:00"
}
```

### 📊 Dataset Views

- **Overview**: photo, title, price, category, location, seller, date
- **Prices & deals**: price, old price, drop, price with fees, delivery
- **Item details**: category, condition, brand, model, attributes
- **Location**: city, zip code, department, region, GPS
- **Sellers**: seller type and name, ad options
- **All fields**: every column

The `SUMMARY` record (key-value store) gives the number of results, the status and the last page of each URL.

### 📫 Support

😊 Leave us a 5-star rating ⭐⭐⭐⭐⭐ if you're satisfied with the scraper

🌍 For any questions, specific needs, or issues, reach out through Apify's platform or via email - [Storm_Scraper 🌪️🌩️](https://apify.com/scrapestorm)

This actor is not affiliated with, endorsed by, or sponsored by leboncoin.

# Actor input Schema

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

Leboncoin search URLs or keywords, one per line. Set your filters on leboncoin.fr (category, place, price, sort...) and paste the URL: all filters are kept, and a page=N in the URL starts from that page. A plain keyword (e.g. iphone) searches all of France. Use 'Bulk edit' to paste many at once.

## `maxItemsPerUrl` (type: `integer`):

Maximum number of ads collected for each URL or keyword. 0 = no limit. For large numbers, increase the run Timeout.

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

RESIDENTIAL proxy in France recommended

## Actor input object example

```json
{
  "startUrls": [
    "https://www.leboncoin.fr/recherche?text=iphone&kst=k",
    "https://www.leboncoin.fr/recherche?text=samsung&sort=time&order=desc"
  ],
  "maxItemsPerUrl": 100,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "FR"
  }
}
```

# Actor output Schema

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

No description

## `prices` (type: `string`):

No description

## `items` (type: `string`):

No description

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

No description

## `sellers` (type: `string`):

No description

## `all_fields` (type: `string`):

No description

## `summary` (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 = {
    "startUrls": [
        "https://www.leboncoin.fr/recherche?text=iphone&kst=k",
        "https://www.leboncoin.fr/recherche?text=samsung&sort=time&order=desc"
    ],
    "maxItemsPerUrl": 100,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ],
        "apifyProxyCountry": "FR"
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("contactminerlabs/leboncoin-products-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 = {
    "startUrls": [
        "https://www.leboncoin.fr/recherche?text=iphone&kst=k",
        "https://www.leboncoin.fr/recherche?text=samsung&sort=time&order=desc",
    ],
    "maxItemsPerUrl": 100,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "FR",
    },
}

# Run the Actor and wait for it to finish
run = client.actor("contactminerlabs/leboncoin-products-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 '{
  "startUrls": [
    "https://www.leboncoin.fr/recherche?text=iphone&kst=k",
    "https://www.leboncoin.fr/recherche?text=samsung&sort=time&order=desc"
  ],
  "maxItemsPerUrl": 100,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "FR"
  }
}' |
apify call contactminerlabs/leboncoin-products-scraper --silent --output-dataset

```

## MCP server setup

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