Leboncoin Scraper — France Classifieds Listings & Prices avatar

Leboncoin Scraper — France Classifieds Listings & Prices

Pricing

from $3.00 / 1,000 listings

Go to Apify Store
Leboncoin Scraper — France Classifieds Listings & Prices

Leboncoin Scraper — France Classifieds Listings & Prices

Scrape Leboncoin (France #1 classifieds): title, price, category, location, published date, images, and attributes. Uses the Next.js data route. Requires a residential proxy (DataDome protection — buyer provides via Bright Data or similar). Pay per result.

Pricing

from $3.00 / 1,000 listings

Rating

0.0

(0)

Developer

Vitalii Bondarev

Vitalii Bondarev

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

0

Monthly active users

14 hours ago

Last modified

Share

Leboncoin Scraper — France Classifieds, Real Estate & Vehicles | from $1.50/1K

Built for French market researchers, real-estate analysts, vehicle pricing teams, and lead-gen professionals who need structured data from France's largest classifieds site. 59 fields per ad — GPS, price-drop detection, DPE energy class, vehicle specs, seller SIREN. DataDome-aware with Apify Residential proxy — no external accounts needed.

Scrape listings from Leboncoin.fr, France's #1 classifieds marketplace. Search by keyword, location, category, price range and seller type, then export clean, structured data for every matching ad: title, full description, price (with price-drop detection), category, GPS location, publication dates, seller info, image URLs, and every category-specific attribute. Built for price monitoring, market and competitor research, real-estate and vehicle intelligence, and lead generation — at scale, with pay-per-result pricing.

This scraper reads Leboncoin's own Next.js data layer (__NEXT_DATA__ + the /_next/data JSON route), so the output is structured JSON, not brittle scraped HTML. A resilient fallback chain keeps it producing data even when Leboncoin redeploys (rotating buildId) or shifts its page structure, and every record carries a parse_confidence score so you can spot drift instantly.

What you can do with it

  • Price monitoring — track how listing prices move over time across any keyword, category, or region; the old_price and price_dropped fields flag reductions automatically.
  • Market & competitor research — pull every Renault Clio in a price band, every T3 apartment in a city, or every listing from professional sellers, with one filtered run.
  • Real-estate intelligence — surface, rooms, bedrooms, DPE energy class and GES greenhouse rating are lifted into dedicated columns plus GPS coordinates.
  • Vehicle intelligence — brand, model, mileage, fuel, gearbox and registration year are extracted into structured fields.
  • Lead generation — filter to professional or private sellers, capture seller name, store ID, SIREN and whether a phone number is published.

Key features

  • Search filters that actually filter — keyword, location slug, category ID, min/max price, seller type (private vs professional), and sort order are applied server-side, so you only pay for the listings you want (no mixed-category noise).
  • Rich schema (59 fields) — far more than thin incumbents: full description, price-drop detection, subcategory, region/department IDs, expiration date, seller SIREN, image thumbnail, a flat attributes_map for one-step filtering, and structural real-estate / vehicle columns.
  • Automatic pagination — walks every results page via Leboncoin's fast JSON route; maxItems caps the volume (and your spend).
  • Resilient by design — guarded fallback chain (__NEXT_DATA__/_next/data JSON → HTML re-extraction → structural card parse) with a per-record parse_confidence and machine-readable warnings, so silent breakage is impossible.
  • DataDome-aware — sticky residential session with cookie continuity and automatic fresh-IP rotation on a block, the right shape for Leboncoin's anti-bot.
  • No external accounts — uses Apify's built-in Residential proxy, billed to your run. Nothing else to sign up for.

Proxy requirement

Leboncoin uses DataDome anti-bot protection. Datacenter IPs can receive a 403 challenge, so Apify Residential proxy is required — set country to France (FR) for the best pass rate. The scraper carries the DataDome session cookie across pages and automatically rotates to a fresh residential IP if it ever hits a block. The buyer's proxy usage is billed at Apify's residential rate; the actor itself charges only per listing returned.

Input

FieldTypeDescription
searchTextstringKeyword(s) to search (required), e.g. vélo, iphone 14, clio 4.
locationsstringCity/region slug from a Leboncoin URL, e.g. Bordeaux_33000, paris_75. Blank = all France.
categorystringNumeric category ID to restrict results, e.g. 9 real estate, 2 cars, 17 phones.
priceMin / priceMaxintegerPrice range in euros.
ownerTypeenumall, private, or pro.
sortenumRelevance, newest/oldest first, cheapest/most expensive.
maxItemsintegerMax listings (0 = all; default 100). You are charged per listing.
proxyConfigurationobjectApify Residential proxy (FR) — required.

Output fields (selection)

FieldDescription
ad_idLeboncoin listing ID
title / descriptionAd title and full body text (HTML stripped)
price / price_cents / price_currencyPrice in EUR / cents / EUR
old_price / price_droppedPrevious price and a derived price-reduction flag
category / category_id / subcategoryTaxonomy
location_city / _region / _department / _zipcodeLocation hierarchy (with IDs)
location_lat / location_lngGPS coordinates
published_date / index_date / expiration_dateISO 8601 dates
owner_type / owner_name / owner_store_id / owner_sirenSeller info
has_phoneWhether a phone number is published
images / image_count / thumbnailImage URLs and preview
attributes / attributes_mapFull attribute list and a flat key→value map
surface_m2 / rooms / bedrooms / energy_rate / gesReal-estate fields
vehicle_brand / vehicle_model / mileage / fuel / gearbox / registration_yearVehicle fields
urgency_level / is_boosted / statusListing flags
parse_confidence / warnings / source / scraped_atData-quality provenance

The dataset ships with three preset views — Listings Overview, Real Estate, and Vehicles — so the right columns surface for whatever you're scraping.

How it works (technical)

Leboncoin is a Next.js SSR site with no public API. Page 1 is fetched as HTML and the __NEXT_DATA__ blob is parsed for the first page of ads plus the deploy-specific buildId. Pages 2+ are pulled from the fast /_next/data/{buildId}/recherche.json endpoint. The buildId is re-extracted on every run (it rotates on each Leboncoin deploy — never hardcoded), and if it rotates mid-run the scraper transparently re-mints it from the HTML route. Search filters are plain query parameters on the same route, so filtering adds zero extra anti-bot exposure.

Pricing

Pay-per-result: from $1.50 per 1,000 listings. You are charged once per listing returned. You separately pay Apify's residential proxy bandwidth for your run. There is no charge for failed runs or for the actor starting.

VolumeActor feeEstimated proxy (FR residential)Total est.
100 listings~$0.15~$0.05~$0.20
1,000 listings~$1.50~$0.20~$1.70
10,000 listings~$15.00~$1.50~$16.50

FAQ

Do I need my own proxy account? No. The actor uses Apify's built-in Residential proxy billed to your Apify account — no external proxy subscription needed. Just set proxyConfiguration to use Apify Residential (France) as shown in the default input.

What output formats are available? JSON, CSV, and Excel — downloadable from the Apify dataset UI or via the REST API. The dataset ships with three preset views: Listings Overview, Real Estate, and Vehicles.

Can I schedule this to run automatically for price monitoring? Yes. Use Apify's scheduler to run daily or hourly and push new listings to your pipeline via webhook. The price_dropped and old_price fields are designed exactly for this use case.

What if Leboncoin blocks the scraper? The actor automatically rotates to a fresh residential IP on a block and retries. If a page consistently fails, the parse_confidence on affected records drops below 1.0 and warnings is populated — so breakage is never silent.


Use with AI agents (MCP)

This actor is available as an MCP tool for Claude, GPT-4, and other AI agents that support the Model Context Protocol:

https://mcp.apify.com/?tools=bovi/leboncoin-listings

Search French classifieds by keyword, location, and category — ideal for AI price-monitoring assistants, real-estate analytics pipelines, and vehicle arbitrage bots.


vs. competitors

This actorTypical Leboncoin scraper
Fields per listing595–15
Price-drop detection✓ (old_price, price_dropped)No
Real-estate fields (DPE, surface)Rarely
Vehicle fields (brand, mileage, fuel)Rarely
GPS coordinatesNo
parse_confidenceNo
DataDome handlingResidential proxy + cookie continuityOften breaks
Pricefrom $1.50/1K$3–10/1K

Integrations

Built for French market researchers, real-estate analysts, and vehicle-pricing teams extracting classifieds data with price-drop detection — the JSON/dataset output drops into the tools you already run, no glue code:

  • n8n / Make / Zapier — trigger a run or pipe every new dataset item into 500+ apps (Google Sheets, Airtable, Slack, HubSpot, your database) with no code: n8n, Make, Zapier.
  • Webhooks — fire your own endpoint the moment a run finishes, to push results straight into your pipeline (docs).
  • MCP server — expose this actor as a tool to Claude, Cursor, or any MCP client so an AI agent can pull this data mid-conversation (guide).
  • API & SDKs — fetch the dataset as JSON, CSV, or Excel through the Apify REST API or the Python / JS SDKs.

See all Apify integrations.