All scrapers

Marketplaces

leboncoin

leboncoin.fr

99.6% Success rate
12.3s Avg response
DataDome Protection
6,000 calls Measured over

leboncoin covers cars, property and general classifieds in one place and is DataDome's home turf - the vendor is French and this is one of its flagship deployments. Our run returned 99.6% against a 63.83% field average.

What you can extract

  • Listing title, category and reference
  • Price and price history where shown
  • Location, department and postcode
  • Seller type (private or professional)
  • Publication date and listing attributes

How to scrape it

curl -X POST \
  -H "X-ScrapeUnblocker-Key: $SU_API_KEY" \
  "https://api.scrapeunblocker.com/getPageSource?url=https%3A%2F%2Fwww.leboncoin.fr%2F&parsed_data=true"
import requests

resp = requests.post(
    "https://api.scrapeunblocker.com/getPageSource",
    headers={"X-ScrapeUnblocker-Key": SU_API_KEY},
    params={"url": "https://www.leboncoin.fr/", "parsed_data": True},
)
print(resp.text)
import { ScrapeUnblockerClient } from 'scrapeunblocker';

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

const results = await su.getPageSource({
  url: 'https://www.leboncoin.fr/',
  parsedData: true,
});
console.log(results);

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

Related scrapers

Start scraping this site today

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