How to scrape LeBonCoin in 2026 (complete guide)

LeBonCoin is one of the most visited sites in France, with millions of listings across real estate, cars, jobs and private goods. It's a first-rate data source for price monitoring and local market analysis. But the site is protected by DataDome, and a plain scraper gets cut off very fast. Here's how to go about it.
What data you can collect on LeBonCoin
- Listings: title, description, photos, publication date.
- Prices: asking amount, history by category, geographic comparison.
- Location: city, postal code, area, often down to the neighborhood.
- Categories: real estate, cars, jobs, electronics, each with its own attributes (surface area, mileage, etc.).
At scale, this data lets you measure an average price per city, track how a local market moves, or spot outlier listings.
What blocks a naive scraper
LeBonCoin uses DataDome. A request sent with a plain HTTP client is quickly redirected to a verification page, or hits a CAPTCHA served by geo.captcha-delivery.com. DataDome stacks several layers:
- the IP reputation: datacenter addresses are filtered out from the start;
- the TLS and browser fingerprint: a script is recognized even under a fake Chrome User-Agent;
- the behavior: an overly regular pace, no movement, anything that isn't human.
The classic trap: believing a clean residential IP is enough. It only fixes one layer out of several.
The details are in our article on how anti-bot systems work.
How to get the data cleanly
Getting past DataDome on LeBonCoin requires a real browser, a French residential IP and a coherent signature. WyndPath orchestrates all of that: you send the URL of the results page, and it returns the content.
curl -G "https://api.wyndpath.com/v1/" \
--data-urlencode "api_key=YOUR_KEY" \
--data-urlencode "url=https://www.leboncoin.fr/recherche?category=9&text=appartement" \
--data-urlencode "render_js=1" \
--data-urlencode "country=fr"
render_js=1 drives a real browser, and country=fr guarantees a French exit. Billing is pay-per-success: a block costs nothing. To browse several pages of the same search, reuse a constant session value so you stay on the same IP.
session from one page to the next and space your requests reasonably to stay discreet and respectful of the site.The legal framework
LeBonCoin's listings are public, but collecting them is regulated. The GDPR applies as soon as personal data is involved, and French case law has confirmed that a listings database can be protected by the sui generis right: a massive, substantial extraction can be sanctioned. Respect robots.txt, take only what you need, and read our article web scraping and the GDPR in France before launching a large-scale project.
Collect LeBonCoin data without getting blocked
WyndPath handles proxies, JavaScript rendering and anti-bot bypass in a single API call. Pay-per-success, within the rules published by the sites.
Start for free →