All scrapers

Marketplaces

leboncoin Scraper

leboncoin.fr

99.8% Success rate
1.8s Avg response
DataDome Protection
1,100 calls Measured over

leboncoin is served through a dedicated plugin endpoint rather than the generic page fetch. Give it a query - optionally a category, a city, postcode, department or region, and a price range - and it returns the ads already parsed from leboncoin's own page data: title, price, city and postcode, department and region, category, publication date, the seller's name and whether they are a professional or a private seller, the ad's attributes, an image and a clean URL. leboncoin is DataDome's home turf, where the Proxyway field averages 63.83%; across 1,100 varied searches the plugin succeeded 99.8% of the time at under two seconds a call.

What you can extract

  • Title, price and currency
  • City, postcode, department and region
  • Category and publication date
  • Seller name and type (pro or private)
  • Ad attributes, image and listing URL

Dedicated endpoints

/marketplace/leboncoin-search

A classifieds search on leboncoin

leboncoin ads for a query: a listings array with id, title, price, currency, city, zipcode, department, region, category, date, sellerName, sellerType, attributes, image and url, plus totalResults. Filter by category, location and price, sort, and page with max_results.

How to scrape it

curl -X POST \
  -H "X-ScrapeUnblocker-Key: $SU_API_KEY" \
  "https://api.scrapeunblocker.com/marketplace/leboncoin-search?query=velo%20electrique"
import requests

resp = requests.post(
    "https://api.scrapeunblocker.com/marketplace/leboncoin-search",
    headers={"X-ScrapeUnblocker-Key": SU_API_KEY},
    params={"query": "velo electrique"},
)
print(resp.text)
import { ScrapeUnblockerClient } from 'scrapeunblocker';

const su = new ScrapeUnblockerClient({ apiKey: process.env.SU_API_KEY });

const data = await su.leboncoinSearch('velo electrique', {
  category: 'bikes',
  sort: 'price_low',
  maxResults: 70,
});
console.log(data);

Requests are POST and take their parameters in the query string. Browser rendering always happens - there is no flag to enable.

Read the API docs

Frequently asked questions

Is it legal to scrape leboncoin?

Collecting publicly available leboncoin data such as ad titles, prices and locations is lawful in many jurisdictions, but the rules depend on your country, the data you collect and how you use it. Some of it can be personal data, so follow the privacy rules that apply to you. ScrapeUnblocker returns the public page; what you collect and how you use it is your responsibility.

How do I scrape leboncoin without getting blocked?

leboncoin is protected by DataDome. ScrapeUnblocker rotates residential and ISP exits and handles challenges, and the leboncoin plugin returns the ads as parsed JSON. In ScrapeUnblocker's benchmark it returned real content on 99.8% of 1,100 calls, about 1.8s per call.

What leboncoin data can I get?

For each ad: id, title, price and currency, city, postcode, department and region, category and publication date, the seller's name and whether the seller is a professional or private, the ad's attributes, an image and a clean URL, plus the total result count. Filter by category, location and price, and sort the results.

Do I need a leboncoin API or account?

No. The leboncoin plugin returns classified ads as JSON without a leboncoin API account or login. Give it a query, optionally with a category, a city, postcode, department or region, and a price range.

Can I monitor leboncoin at scale?

Yes. Each search pages through the results up to max_results, and calls run in parallel up to your plan's concurrency limit: 20 to 100 concurrent requests on Pay as you go, Starter and Pro, and 200 to 400 on Business, Scale and Ultimate. That covers price tracking across many queries and regions.

How much does it cost to scrape leboncoin?

Pricing is per request: 1 request = 1 credit, from EUR 1.00 per 1,000 on pay as you go to about EUR 0.55 per 1,000 on the Ultimate plan. Plugin calls use the same plan quota as any other request. One search call returns the listings array for one query. Blocks, timeouts and errors on ScrapeUnblocker's side are not billed, and the free trial includes 500 requests with no card.

Related scrapers

Start scraping this site today

Free tier included. No credit card required to test it.