Leboncoin Scraper avatar
Leboncoin Scraper

Pricing

from $1.00 / 1,000 results

Go to Apify Store
Leboncoin Scraper

Leboncoin Scraper

Scrape ads from leboncoin.fr Extracts prices, photos, descriptions, and seller info.

Pricing

from $1.00 / 1,000 results

Rating

5.0

(1)

Developer

DaddyAPI

DaddyAPI

Maintained by Community

Actor stats

1

Bookmarked

3

Total users

1

Monthly active users

2 days ago

Last modified

Share

Leboncoin Scraper 🇫🇷

The specialized scraper for Leboncoin.fr. Extract detailed listings including prices, locations, descriptions, and photos from France's largest marketplace.

Apify Actor Node.js

⚡ Pricing: Pay Per Result

No Subscription Fee. You only pay for the data you get.

  • Pay Per Event: Costs are calculated based on the number of successful search results scraped.
  • Cost-Effective: Filter your search to get exactly what you need.

🚀 Features

  • Leboncoin Optimized: Specifically tuned for leboncoin.fr (Next.js structure).
  • High Fidelity Data:
    • Full Prices: Extracts raw amounts (€).
    • High-Res Photos: Captures all available images.
    • Descriptions: Full body text extraction (where available).
    • Location: City and Department (Région).
  • Smart Pagination: Automatically traverses search results pages.
  • Keyword Search: Search for any term (e.g., "Clio 4", "iPhone 15", "Appartement Paris").

📖 How to Use

Option 1: Apify Console (Easy Mode)

  1. Search Keyword: Enter the product or service you are looking for (e.g., PlayStation 5).
  2. Sort By: Choose Newest to get the latest listings, or Cheapest for deals.
  3. Max Pages: Limit how many pages to scrape (1 page ≈ 35 ads).
  4. Proxy Setup (Crucial):
    • Leboncoin has strict security.
    • Select "Residential Proxies" (Apify Proxy).
    • Note: Datacenter proxies often fail with 403 errors.
  5. Start: Click the Play button and wait for the run to finish.
  6. Download: Export your data in Excel, CSV, JSON, or XML format.

Option 2: API (For Developers)

You can integrate this actor into your own applications using the Apify API.

Input Payload (JSON):

{
"searchQuery": "Renault Clio",
"sortBy": "newest",
"maxPages": 1,
"proxyConfiguration": {
"useApifyProxy": true,
"apifyProxyGroups": ["RESIDENTIAL"]
}
}

📊 Data Output Structure

The scraper returns structured JSON for each ad.

{
"id": 2405891234,
"title": "iPhone 14 Pro Max 256GB Parfait État",
"price": {
"display": "950 €",
"amount": 950,
"currency": "EUR"
},
"location": {
"city": "Paris",
"region": "Ile-de-France"
},
"description": "Vends iPhone 14 Pro Max, batterie 98%...",
"photos": [
"https://img.leboncoin.fr/api/v1/lbcpb1/images/1.jpg",
"https://img.leboncoin.fr/api/v1/lbcpb1/images/2.jpg"
],
"url": "https://www.leboncoin.fr/telephonie/2405891234.htm",
"postedAt": "2024-01-05T14:30:00Z",
"isBusiness": false,
}

🛡️ Proxy Recommendations

  • Residential Proxies (France): Highly Recommended.
  • Datacenter Proxies: Likely to be blocked.

This scraper is intended for educational and analytical purposes.

  • Respect Leboncoin's Terms of Service.
  • Do not use this tool to spam sellers.
  • Use responsible rate limits to avoid overloading the website.

🌟 More Scrapers from DaddyAPI

Check out our other specialized tools for scraping data:

ScraperDescriptionPrice
OLX Search Scraper (Global)Supports Ukraine, Poland, Romania, Portugal, and more. The universal solution for OLX Europe.Pay per result
OLX Brazil ScraperDedicated scraper for olx.com.br. Optimized for Brazil.Pay per result
Generic Html Scraper[Participating in the $1M Challenge]
A lightweight, robust, and simple actor to fetch the raw HTML content of any URL.
Pay per result