LeBonCoin Scraper — Search, Cars, Real Estate, Ads & Sellers avatar

LeBonCoin Scraper — Search, Cars, Real Estate, Ads & Sellers

Pricing

from $3.80 / 1,000 result-items

Go to Apify Store
LeBonCoin Scraper — Search, Cars, Real Estate, Ads & Sellers

LeBonCoin Scraper — Search, Cars, Real Estate, Ads & Sellers

Scrape Leboncoin.fr classified listings — cars, real estate, electronics, furniture & all categories. Extract 30+ fields: prices, images at all resolutions, GPS coordinates, DPE ratings, seller profiles, and dynamic attributes. 6 modes: search with advanced vehicle & real estate filters/

Pricing

from $3.80 / 1,000 result-items

Rating

0.0

(0)

Developer

Rémi Pelloux

Rémi Pelloux

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

a day ago

Last modified

Share

LeBonCoin Scraper — Cars, Real Estate, Classifieds, Seller Profiles & Images

Scrape Leboncoin.fr classified listings at scale — cars, real estate, electronics, furniture, jobs, and every other category. Get full listing details including prices, descriptions, all image URLs (thumbnails, small, large, gallery), structured location (city, department, region, GPS coordinates), dynamic attributes (surface, DPE, mileage, fuel type…), seller profiles, and listing options. Search with advanced filters for cars and real estate, or fetch any ad by ID.

One Actor. 6 modes. Complete Leboncoin data extraction.


How to Use — Just Fill In the Fields

No JSON required for basic searches. Fill in the fields in the Apify UI:

  1. Search keywords — type what you're looking for
  2. Category — pick from the dropdown (Voitures, Immobilier, etc.)
  3. Sort — NEWEST, cheapest, or most expensive first
  4. Location — city name or zipcode
  5. Price range — set min and max
  6. Max pages — how many pages to scrape (35 listings per page)
  7. Click Start

The Actor auto-detects the search mode from your inputs. No need to set mode manually.


What Data Do You Get?

Every listing includes 30+ fields — structured, clean, ready for export:

Listing Data

  • Title & description — full listing text
  • Price — in euros and raw cents
  • Category — id and label (Voitures, Ventes immobilieres, Informatique…)
  • Brand — when applicable
  • Status — active, expired, etc.
  • Publication date — first publication, expiration, index date
  • Favorites count — popularity indicator
  • Listing options — urgent, gallery, boosted, highlighted

Images & Media (all tiers)

  • Large photos — full-resolution gallery URLs
  • Thumbnails & small — optimized for previews
  • All distinct URLs — merged and deduplicated across all tiers
  • Image count — total photos per listing

Location (structured)

  • City, zipcode, department, region, country
  • GPS coordinates — latitude & longitude for mapping
  • Source & provider — geolocation metadata

Attributes (dynamic facets)

  • Key-value pairs — surface area, number of rooms, DPE rating, fuel type, mileage, gearbox, and every other attribute Leboncoin attaches to a listing
  • Labels — human-readable values and reader-friendly labels

Seller Data

  • Seller user ID — unique identifier
  • Seller profile — name, account type (pro/private), location
  • Include sellers — toggle to attach seller profiles to every search result

6 Modes — Full Leboncoin Coverage

ModeWhat it doesAuto-detected when
searchSearch any categoryDefault — just type keywords
searchCarsCar search with vehicle filtersYou set vehicle filters
searchRealEstateProperty search with real estate filtersYou set real estate filters
fetchAdGet a single listing by IDYou set a listing ID
fetchAdsBatchGet multiple listings by IDYou set listing IDs
fetchUserGet a seller profileYou set a user ID

Car Filters (vehicleFilters)

Filter by registration year, mileage, horsepower, fuel type, gearbox, brand, model, doors, seats, vehicle type, first owner, Crit'Air, color, and price range.

Real Estate Filters (realEstateFilters)

Filter by price, surface area (m2), number of rooms/bedrooms, DPE energy rating, GES rating, building year, real estate type, elevator, furnished, parking, shower rooms, charges, rent, and more.


Output Example

{
"mode": "searchCars",
"fetchedAt": "2026-03-23T12:00:00+00:00",
"searchPage": 1,
"id": 3156446415,
"subject": "Renault Clio Techno 2024",
"url": "https://www.leboncoin.fr/voitures/3156446415.htm",
"images": [
"https://img.leboncoin.fr/api/v1/lbcpb1/images/ab/cd/ef/...jpg?rule=ad-large"
],
"media": {
"urls_thumb": ["https://img.leboncoin.fr/...?rule=ad-thumb"],
"urls_small": ["https://img.leboncoin.fr/...?rule=ad-small"],
"urls_large": ["https://img.leboncoin.fr/...?rule=ad-large"],
"nb_images": 10,
"all_urls": ["https://img.leboncoin.fr/..."]
},
"price": 16900.0,
"price_cents": 1690000,
"category_name": "Voitures",
"brand": "Renault",
"ad_type": "offer",
"body": "Je vends ma Renault Clio Techno de 2024...",
"description": "Je vends ma Renault Clio Techno de 2024...",
"status": "active",
"has_phone": false,
"location": {
"country_id": "FR",
"region_name": "Auvergne-Rhone-Alpes",
"department_name": "Loire",
"city": "Saint-Symphorien-de-Lay",
"zipcode": "42470",
"lat": 45.94853,
"lng": 4.20617
},
"attributes": [
{ "key": "fuel", "value": "1", "value_label": "Essence" },
{ "key": "mileage", "value": "5000", "value_label": "5 000 km" },
{ "key": "regdate", "value": "2024", "value_label": "2024" }
],
"options": {
"has_option": true,
"photosup": true,
"urgent": false
},
"owner_user_id": "fc1a86b7-b8fa-4ce0-84fe-d899d5481211",
"user": null
}

Input Examples

Simple search — just keywords:

{
"text": "vélo électrique",
"sort": "NEWEST",
"maxPages": 3
}

Search cars under 20,000 EUR:

{
"text": "peugeot 308",
"category": "VEHICULES_VOITURES",
"priceMax": 20000,
"sort": "NEWEST",
"maxPages": 5,
"vehicleFilters": {
"registration_year": { "min": 2018, "max": 2024 },
"fuels": ["diesel", "essence"]
}
}

Search Paris apartments 45-90 m2:

{
"text": "appartement",
"location": "Paris",
"priceMin": 200000,
"priceMax": 500000,
"maxPages": 10,
"realEstateFilters": {
"square_m2": { "min": 45, "max": 90 },
"rooms": { "min": 2, "max": 4 },
"energy_rates": ["a", "b", "c"]
}
}

Fetch a single listing:

{ "adId": "3156446415" }

Batch fetch multiple listings:

{ "adIds": ["3156446415", "3152117503", "3157405116"] }

Get seller profile:

{ "userId": "fc1a86b7-b8fa-4ce0-84fe-d899d5481211" }

Input Parameters

ParameterTypeDefaultDescription
textstringSearch keywords (e.g. "renault clio", "appartement lumineux")
categorystringautoLeboncoin category from dropdown. Auto-set when using vehicle or real estate filters.
sortstringNEWESTNEWEST, PRICE_ASC, PRICE_DESC, or RELEVANCE
locationstringCity name, zipcode, or region (e.g. "Paris", "75009")
priceMinintegerMinimum price in euros
priceMaxintegerMaximum price in euros
maxPagesinteger1Pages to scrape (up to 35 listings per page)
vehicleFiltersobjectAdvanced car filters (auto-switches to searchCars mode)
realEstateFiltersobjectAdvanced property filters (auto-switches to searchRealEstate mode)
extraFiltersobjectRaw Leboncoin finder keys for advanced users
prefetchUsersbooleanfalseAttach seller profiles to every listing
delayBetweenPagesMsinteger0Pause between pages (ms) to reduce anti-bot pressure
adIdstringSingle listing ID to fetch
adIdsstring[]Multiple listing IDs to fetch in parallel
userIdstringSeller user ID to fetch
clientPoolSizeinteger4Parallel HTTP sessions (1-32)
proxyConfigurationobjectProxy settings. Use Apify Proxy with country FR if blocked.

Proxy — Important

Leboncoin uses anti-bot protection (Datadome). French residential proxy is recommended if requests are blocked. Use Apify Proxy with country FR or provide your own proxy URL. Many searches work fine without a proxy.

Faster startup (default): clients no longer load leboncoin.fr during pool construction. The same one-time cookie request runs automatically on first API call per session (same reliability, much faster actor boot with several parallel clients). To restore the old “warm everything at startup” behaviour, set env LBC_API_EAGER_SESSION_WARMUP=true.

Slow proxy / timeouts: if you see curl timeout (28), raise LBC_API_REQUEST_TIMEOUT (seconds, default 90).


API Integration

Python

from apify_client import ApifyClient
client = ApifyClient("YOUR_API_TOKEN")
run = client.actor("leadsit/leboncoin-scraper").call(run_input={
"text": "renault clio",
"priceMax": 15000,
"sort": "NEWEST",
"maxPages": 3,
"vehicleFilters": {
"registration_year": {"min": 2018},
"fuels": ["essence"]
}
})
for ad in client.dataset(run["defaultDatasetId"]).iterate_items():
print(f'{ad["subject"]}{ad["price"]}€ — {ad["location"]["city"]}')

JavaScript

import { ApifyClient } from "apify-client";
const client = new ApifyClient({ token: "YOUR_API_TOKEN" });
const run = await client.actor("leadsit/leboncoin-scraper").call({
text: "appartement",
location: "Lyon",
priceMin: 150000,
priceMax: 350000,
maxPages: 5,
realEstateFilters: {
square_m2: { min: 30, max: 70 },
},
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
for (const ad of items) {
console.log(`${ad.subject}${ad.price}€ — ${ad.location.city}`);
}

cURL

curl -X POST "https://api.apify.com/v2/acts/leadsit~leboncoin-scraper/runs?token=YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"text": "golf", "priceMin": 5000, "priceMax": 25000, "maxPages": 2}'

Use Cases

Car Market Intelligence

Scrape thousands of car listings with price, mileage, year, fuel type, and location. Track price trends by model, identify underpriced vehicles, or monitor competitor dealership inventory.

Real Estate Market Analysis

Extract property listings with surface area, rooms, DPE rating, GPS coordinates, and price. Build market maps, compare prices by neighborhood, or monitor new listings daily.

Classified Listing Monitoring

Track specific listings by ID — monitor price changes, status updates, and availability over time using scheduled runs.

Seller Analysis

Fetch seller profiles to identify professional dealers vs. private sellers. Cross-reference with listing data for dealer inventory analysis.

Lead Generation from Classifieds

Extract seller contact information from listings — identify professionals, agencies, and dealers for B2B outreach.

Price Comparison & Analytics

Build datasets of listings across categories for price benchmarking, market sizing, and trend analysis.

Image & Media Collection

Download all listing photos at multiple resolutions (thumbnail, small, large) for visual analysis, machine learning, or catalog building.


Integrations

ToolUse case
Google SheetsAuto-sync listings to spreadsheets
ZapierAutomate alerts when new listings match your criteria
Make (Integromat)Multi-step workflows — search, filter, route to CRM
AirtableBuild a searchable property or vehicle database
Slack / EmailGet notified when new listings match your filters
Apify APIRun from Python, Node.js, or cURL
WebhooksTrigger custom actions on run completion
Scheduled RunsMonitor listings daily or weekly with the Apify Scheduler
Apify MCPConnect to AI assistants via Model Context Protocol

FAQ

How many listings can I extract? Each search page returns up to 35 listings. Set maxPages to control depth — up to 500 pages (17,500 listings) per search. Combine multiple runs for larger datasets.

What categories are supported? All Leboncoin categories — cars, real estate, electronics, furniture, clothing, jobs, services, pets, vacations, and more. Pick from the dropdown or type the category code.

Do I need to set the mode? No. The Actor auto-detects the mode from your inputs: if you set vehicleFilters, it searches cars; if you set realEstateFilters, it searches real estate; if you set adId, it fetches that listing. You only need to set mode if you want to override auto-detection.

Do I need a proxy? Not always locally; on Apify Cloud datacenter IPs are often blocked by Datadome. Turn on Proxy in the Actor input (default: Apify Proxy, France, residential). If you see “proxy appears to have a poor reputation”, you were likely on datacenter IPs — use RESIDENTIAL (default when no group is set) and country FR, per Apify Proxy username rules. Apify does not put proxy under Settings → Integrations — open Proxy in the Console for password and groups. The Actor builds the connection string from APIFY_PROXY_* env vars as in Connection from Actors and pins one session per run so all requests share the same proxy IP.

What image data is included? Every listing includes all image tiers — thumbnails, small, large, and gallery URLs — plus a deduplicated all_urls list and image count.

Can I get seller contact information? Seller user IDs are on every listing. Enable prefetchUsers to attach full seller profiles (name, account type, location) to search results.

How do car filters work? Set vehicleFilters in the input — registration year, mileage, horsepower, price, fuel, gearbox, brand, model, and more. The Actor auto-switches to car search mode.

How do real estate filters work? Set realEstateFilters in the input — surface, rooms, DPE, building year, price, and more. The Actor auto-switches to real estate search mode.

Can I monitor listings over time? Yes. Use Apify's built-in scheduler for daily or weekly runs. Fetch specific ads by ID with adId or adIds to track price and status changes.

What happens if a page fails? The Actor handles errors gracefully — a failed page is logged and skipped. Previously fetched data is safe. After 3 consecutive failures, pagination stops automatically.



Built by Leadsit.eu — Lead generation and data extraction tools for modern sales teams.

Keywords: leboncoin scraper, leboncoin api, scrape leboncoin, leboncoin car scraper, leboncoin real estate scraper, leboncoin immobilier scraper, leboncoin voiture scraper, extract leboncoin listings, leboncoin data extraction, leboncoin classified scraper, leboncoin price tracker, leboncoin listing monitor, apify leboncoin, leboncoin crawler, leboncoin scraping tool, leboncoin ads extractor, scraper annonces leboncoin, france classified scraper, leboncoin images extractor, leboncoin seller scraper