Leboncoin Classifieds Scraper avatar

Leboncoin Classifieds Scraper

Pricing

from $1.00 / 1,000 results

Go to Apify Store
Leboncoin Classifieds Scraper

Leboncoin Classifieds Scraper

Extract classified ads from leboncoin.fr with title, price, location, images, attributes, owner type. Supports all categories (real estate, vehicles, jobs, services, etc.) with filter URL pass-through.

Pricing

from $1.00 / 1,000 results

Rating

5.0

(10)

Developer

Crawler Bros

Crawler Bros

Maintained by Community

Actor stats

11

Bookmarked

1

Total users

0

Monthly active users

4 days ago

Last modified

Share

Extract classified ads from leboncoin.fr — France's largest classifieds platform. Returns title, description, price, location, images, owner info, and category-specific attributes (real estate specs, vehicle specs, job details, etc.).

Features

  • 30 output fields per ad — flat schema with typed defaults (zero nulls)
  • All categories supported — real estate (rentals + sales), vehicles, jobs, services, electronics, fashion, etc.
  • Filter by category, keyword, location, price — via Leboncoin URL parameters
  • Owner type (private vs pro) for lead segmentation
  • Geocoordinates for every ad
  • Image gallery with multiple resolutions
  • Generic attributes (real estate type, surface, rooms, energy class, etc.) flattened into a single dict
  • DataDome bypass via curl_cffi Chrome 131 + RESIDENTIAL/FR proxy (hardcoded, applied automatically)
  • Pagination via ?page=N (35 ads per page)

Input

FieldTypeDescription
startUrlsArrayLeboncoin search URLs (e.g., https://www.leboncoin.fr/recherche?category=10&locations=Paris)
categoryIntegerCategory ID when no startUrls. Verified: 9=real estate sales, 10=rentals, 2=cars, 6=auto equipment, 17=phones, 33=jobs. For other categories, find the ID in any leboncoin.fr search URL.
searchStringFree-text keyword (combined with category)
maxItemsIntegerMaximum ads to return (default 50, max 1000)

Example Input

{
"startUrls": [
"https://www.leboncoin.fr/recherche?category=10&locations=Paris&price=min-2000"
],
"maxItems": 100
}

Or filter mode:

{
"category": 2,
"search": "Tesla",
"maxItems": 50
}

Output

Each ad has 30 fields. All fields are always present — empty strings, zero, false, or empty array as typed defaults, never null.

Identity

FieldTypeDescription
idIntegerLeboncoin list_id
urlStringAd URL
subjectStringAd title
bodyStringDescription text (truncated to 2,000 chars)
categoryIdStringCategory ID
categoryNameStringCategory name
adTypeStringoffer / demand
statusStringactive / expired / sold

Price

FieldTypeDescription
priceIntegerPrice in EUR

Location

FieldTypeDescription
cityStringCity
zipcodeStringPostal code
departmentStringDepartment name
regionStringRegion name
countryStringCountry code (FR)
latitudeNumberLatitude
longitudeNumberLongitude

Owner

FieldTypeDescription
ownerNameStringSeller display name
ownerTypeStringprivate or pro
ownerIdStringSeller user ID
ownerStoreIdStringPro store ID (if pro)
hasPhoneBooleanWhether phone number is exposed

Media & Attributes

FieldTypeDescription
imageCountIntegerNumber of images
imageUrlsArrayAll large image URLs
thumbnailStringThumbnail URL
attributesObjectGeneric attributes (e.g., {"real_estate_type": "Appartement", "square": "60 m²", "rooms": "2"})

Dates & Flags

FieldTypeDescription
publishedDateStringFirst publication date
expirationDateStringExpiration date
isUrgentBooleanUrgent ad flag
isHighlightedBooleanHighlighted ad flag
scrapedAtStringISO 8601 scrape timestamp

FAQ

Q: Do I need a proxy? No configuration needed — a French residential proxy is hardcoded and applied automatically. Leboncoin's DataDome anti-bot blocks Apify datacenter IPs with a CAPTCHA challenge, so the scraper requires RESIDENTIAL/FR traffic combined with curl_cffi Chrome 131 TLS impersonation. Sessions are rotated automatically on failure.

Q: How do I find the category ID? Browse to leboncoin.fr, apply filters, then look at the URL: ?category=10 is rentals, ?category=9 is real estate sales, ?category=2 is vehicles. The full list is on Leboncoin's category page.

Q: How many results per page? 35 ads per page. The scraper paginates via ?page=N until maxItems is reached.

Q: Are pro and private ads both included? Yes. The ownerType field tells you which. You can filter post-scrape if you only want one type.

Q: How fresh is the data? Leboncoin's __NEXT_DATA__ contains the live search results — same data as their website at the moment of fetch.

Use Cases

  • Real estate market research — track rental and sale prices by city / region
  • Vehicle pricing intelligence — monitor used-car markets across France
  • Lead generation — discover pro sellers with mailing addresses (via owner data)
  • Job market analysis — extract job postings by region and category
  • Price monitoring — daily runs to detect price changes
  • Competitor analysis — track listings from specific stores