Leboncoin Scraper API
Search classified ads, pull full ad detail, fetch similar ads, and retrieve seller profiles and storefronts from Leboncoin — France’s largest classifieds marketplace. The API handles authentication, DataDome anti-bot bypass, and French location routing automatically.Key Features
France Coverage
Full national coverage of leboncoin.fr, filterable by region, department, city, or postal code.
Location Filters
Narrow searches by
region_id, department_id, city, or zipcode, including DOM-TOM overseas territories.DataDome Bypass
Automatic session management, Chrome TLS impersonation, and fingerprint rotation to clear Leboncoin’s DataDome protection.
Rich Ad Data
Prices, category-specific attributes, images, publication dates, shipping eligibility, and seller info.
Seller Insights
Private and pro seller profiles, feedback scores, store ratings, reviews, and full storefront listings.
French Proxies
Requests are routed through French proxies for accurate pricing, availability, and DataDome trust.
SDK Support
First-class support via the ScrapeBadger Node.js and Python SDKs.
Leboncoin is a single-country marketplace (France only). There is no
domain or market selector — instead you scope results geographically with region_id, department_id, city, or zipcode. Overseas territories (DOM-TOM) are exposed as region values.Coverage & Locations
Leboncoin operates as one national marketplace (leboncoin.fr). Instead of picking a country domain, you filter results by French administrative geography:
| Filter | Parameter | Lookup endpoint |
|---|---|---|
| Region (incl. DOM-TOM) | region_id | /v1/leboncoin/regions |
| Department | department_id | /v1/leboncoin/departments |
| City / postal code | city, zipcode | /v1/leboncoin/locations/search |
Quick Start
Endpoints
| Endpoint | Method | Description |
|---|---|---|
/v1/leboncoin/search | GET | Search ads across France |
/v1/leboncoin/ads/{list_id} | GET | Full detail for a single ad |
/v1/leboncoin/ads/{list_id}/similar | GET | Ads similar to a given ad |
/v1/leboncoin/sellers/{user_id} | GET | Seller public profile |
/v1/leboncoin/sellers/{user_id}/listings | GET | A seller’s active listings |
/v1/leboncoin/categories | GET | List categories |
/v1/leboncoin/regions | GET | List French regions (incl. DOM-TOM) |
/v1/leboncoin/departments | GET | List departments |
/v1/leboncoin/locations/search | GET | Autocomplete a location by name |
/v1/leboncoin/markets | GET | List supported markets |
Credit Costs
| Endpoint | Cost |
|---|---|
| Search | 5 credits |
| Get ad detail | 5 credits |
| Get similar ads | 5 credits |
| Get seller | 5 credits |
| Seller listings | 5 credits |
| Search locations | 2 credits |
| List categories | 0 credits |
| List regions | 0 credits |
| List departments | 0 credits |
| List markets | 0 credits |
| Failed requests | 0 credits |
Authentication
All requests require your API key in theX-API-Key header:
Anti-Bot Handling
Leboncoin protects its catalog with DataDome, which combines IP-reputation scoring, TLS/HTTP-2 fingerprinting, and JavaScript challenges. ScrapeBadger clears these automatically using Chrome TLS impersonation on French sessions. You never need to manage proxies, sessions, or CAPTCHAs.For accurate pricing, availability, and DataDome trust, requests are routed through French proxies. This is handled automatically.
Next Steps
Search Ads
Full API reference for searching Leboncoin classifieds
Get Ad Detail
Retrieve the full detail for a single ad by
list_id
