Ecommerce Scraper API

Leboncoin Scraper API for Classified Ads and Seller Data

Extract structured Leboncoin data for classifieds research, price tracking and seller analysis. Search ads, retrieve complete listing details, find similar ads and explore seller storefronts across France without managing proxies, sessions or anti-bot systems.

1,000 free credits
No credit card required

Use the same API key and credit balance across every ScrapeBadger API.

GET /v1/leboncoin/search
{
  "ads": [
    {
      "list_id": 2845123456,
      "subject": "Vélo électrique VTC 500W - Excellent état",
      "category_name": "Vélos",
      "price_eur": 890,
      "currency": "EUR",
      "status": "active",
      "location": {
        "region_name": "Île-de-France",
        "city_label": "Paris 11e",
        "zipcode": "75011"
      },
      "owner": {
        "type": "private",
        "name": "Julien"
      }
    }
  ],
  "page": 1,
  "limit": 35
}
Endpoints

Explore All 10 Leboncoin API Endpoints

Search classified ads, retrieve complete listing details, find similar ads, inspect seller profiles and access French location reference data through structured JSON responses.

  1. Search
  2. Ad details
  3. Seller insights
  4. Structured JSON
GET/v1/leboncoin/search5 credits

Search Ads

Search Leboncoin classified ads across France. Filter results by keywords, category, location, price, seller type and ad type, then sort and paginate the response.

Optional Parameters: text, category, region_id, department_id, city, zipcode, price_min, price_max, owner_type, ad_type, sort, page, limit

Request
curl --get \
  'https://scrapebadger.com/v1/leboncoin/search' \
  --data-urlencode 'text=vélo électrique' \
  --data-urlencode 'region_id=22' \
  --data-urlencode 'page=1' \
  --header 'X-API-Key: YOUR_API_KEY'
Response200 OK
{
  "ads": [
    {
      "list_id": 2845123456,
      "subject": "Vélo électrique VTC 500W - Excellent état",
      "brand": "Moustache",
      "ad_type": "offer",
      "url": "https://www.leboncoin.fr/velos/2845123456.htm",
      "status": "active",
      "category_id": "24",
      "category_name": "Vélos",
      "price": [
        890
      ],
      "price_eur": 890.0,
      "currency": "EUR",
      "first_publication_at": "2026-06-18T09:42:11Z",
      "images": {
        "nb_images": 3,
        "urls": [
          "https://img.leboncoin.fr/api/v1/lbcpb1/images/ab/cd/abcd.jpg"
        ]
      },
      "location": {
        "country_id": "FR",
        "region_id": "22",
        "region_name": "Île-de-France",
        "department_id": "75",
        "department_name": "Paris",
        "city_label": "Paris 11e",
        "zipcode": "75011",
        "lat": 48.8594,
        "lng": 2.3765
      },
      "owner": {
        "user_id": "b3f1c2a0-8d4e-4a1b-9c2d-1e2f3a4b5c6d",
        "type": "private",
        "name": "Julien"
      }
    }
  ],
  "total": 1284,
  "total_pro": 312,
  "total_private": 972,
  "total_shippable": 540,
  "max_pages": 37,
  "page": 1,
  "limit": 35,
  "source": "leboncoin.fr"
}
View Search Ads documentation
200
Request completed successfully
401
API key is missing or invalid
402
The account does not have enough credits
422
A required parameter or filter is missing or invalid
429
The plan’s request limit has been reached

What Can You Build With the Leboncoin Scraper API?

Local Market and Price Monitoring

Track asking prices, newly published ads and available inventory by category, region, department, city or postal code. Compare local supply and price changes across France.

Search AdsGet Ad DetailList CategoriesList RegionsList Departments

Comparable Ad Research

Find listings related to a selected ad and compare prices, attributes, locations and seller types. Build comparison tools for vehicles, property, electronics, furniture and other classified categories.

Get Similar AdsGet Ad DetailSearch Ads

Seller and Storefront Intelligence

Analyze private and professional sellers using profile details, feedback, ratings, reviews and active inventory. Identify high-volume sellers and monitor competing storefronts.

Get Seller ProfileGet Seller Listings

Classifieds Aggregation and Alerts

Build location-aware feeds and alerts for new offers, wanted ads and price changes. Resolve place names into structured geographic filters and organize results in your own product.

Search AdsSearch LocationsGet Ad Detail
Sign Up For Free

1,000 free credits · No credit card required

Explore More E-commerce Scraper APIs

Connect Leboncoin data with other marketplace sources through the same ScrapeBadger account, API key and credit balance.

Why Choose ScrapeBadger?

Build Faster

Get normalized Leboncoin data without building parsers, managing proxy pools or maintaining selectors. Start with REST or an official SDK and ship faster.

Scale Confidently

Automatic session management, Chrome TLS impersonation, fingerprint rotation and French proxy routing handle Leboncoin's DataDome protection for you. Check live uptime on the API status page.

Complete Leboncoin Data in One API

Use 10 dedicated endpoints to search ads, retrieve listing details, find similar offers, analyze sellers and access French location reference data.

Integrate Anywhere

Connect through a REST API, 12 official SDKs or ScrapeBadger's MCP server. Responses use consistent structured JSON.

Integrate With Your Stack

Use ScrapeBadger through an official SDK, a standard API request or the tools already in your workflow.

Python SDK

Search Leboncoin ads, retrieve listing details and analyze sellers with typed methods and structured response objects.

Node.js SDK

Add Leboncoin classified, pricing, location and seller data to Node.js or TypeScript applications with an official SDK.

REST API

Connect from any backend or programming language using standard HTTP requests and receive structured JSON responses.

12 Official SDKs

Use official clients for Python, TypeScript, Go, Rust, PHP, C#, Java, Kotlin, Ruby, Swift, Dart and C++.

MCP for AI Tools

Connect ScrapeBadger to Claude, ChatGPT, Cursor and other MCP-compatible tools through typed tools with structured parameters and responses.

One API Key

Access Leboncoin and ScrapeBadger's other supported marketplace APIs through one account, API key and shared credit balance.

Trusted by Developers Worldwide

See what customers say about ScrapeBadger.

“Awesome scraper! we've used it to analyse products to launch for a ecom analytics company. probably will use further; also used their Amazon product and search scrapers.”

MR
MRiabov
Apify Store review
18 June 2026

“Perfect for my small SAAS, couldnt get vinted working but they do!”

NE
Nebulus
Trustpilot review · Spain
3 September 2026

“Fantastic service - been using this for over 6 months and hasn't failed me ONCE. They are consistently bringing out new scrapers and the prices are the cheapest ive seen on the market. Definitely recommended!”

PY
P Yam
Trustpilot review · United Kingdom
25 September 2026

“Looked for a scraper for multiple platforms to integrate in my projects, ScrapeBadger simply worked for everything I needed. Also integrating the API in my code was a breeze thanks to provided documentation.”

DV
Daniel Varan
Trustpilot review · Romania
8 July 2026

“It is the simplest scraper I ever tried, simple yet effective. simple end points, direct and straighforward. affordable. without doubt : it is a winner. application is easy to use and to connect to your database. service is amazing.”

EA
Emran Andraos
Trustpilot review · Saudi Arabia
10 September 2026

“really easy to use, excellent integration and plenty of free credits meant I was able to test and validate what I wanted without spending money. Great service!”

AT
Alan Tweddell
Trustpilot review · United Kingdom
8 September 2026
Pricing

Simple, transparent pricing

Pay As You Go from $10 or save with a monthly or annual subscription. Every Leboncoin endpoint is available on every plan.

Not Sure Which Plan Fits Your Needs? Calculate Your Cost and Find the Right Plan.

Choose a Leboncoin endpoint and enter the number of successful requests you expect to make. Failed requests cost 0 credits.

FAQ

Frequently asked questions

Everything you need to know about the Leboncoin Scraper API.

What data can I retrieve with the Leboncoin Scraper API?

Search results can include ad IDs, titles, descriptions, brands, ad types, URLs, status, categories, prices in EUR, publication dates, images, category-specific attributes, locations and seller summaries. Dedicated endpoints add complete ad details, similar ads, seller profiles, storefront ratings, reviews and active seller listings.

What geographic coverage does the Leboncoin Scraper API support?

The API covers leboncoin.fr across France. Leboncoin is a single-country marketplace, so there is no domain or market selector. Filter searches with region_id, department_id, city or zipcode. Region reference data also includes DOM-TOM overseas territories.

How do I filter Leboncoin ads by location?

Use region_id, department_id, city or zipcode with Search Ads. List Regions and List Departments provide official IDs, while Search Locations resolves a place name into structured city, postal code, region, department and coordinate data.

Can I filter by seller type and ad type?

Yes. Set owner_type to all, pro or private. Set ad_type to offer for items being offered or demand for wanted ads. You can combine these options with category, price and location filters.

How do sorting and pagination work?

Search Ads supports relevance, newest, oldest, lowest-price and highest-price sorting. The default page is 1, and the default limit is 35 results. You can request up to 100 results per page. Get Seller Listings uses the same default and maximum page size.

How do I retrieve full details or similar ads?

Use the integer list_id returned by Search Ads. Pass it to Get Ad Detail for the complete listing or to Get Similar Ads for related listings. The similar-ads endpoint returns 20 results by default and supports up to 100.

What seller information is available?

Get Seller Profile can return the seller's name, account type, registration date, active ad count, description, location, badges, feedback, reply rate and presence status. Professional sellers may also include SIREN and SIRET numbers, business details, storefront ratings and recent reviews. Get Seller Listings returns the seller's active inventory.

How does ScrapeBadger handle Leboncoin's anti-bot protection?

Leboncoin uses DataDome protection. ScrapeBadger automatically manages sessions, Chrome TLS impersonation, fingerprint rotation and French proxy routing, so you do not need to manage proxies, sessions or CAPTCHAs.

How much does the Leboncoin Scraper API cost?

Search Ads, Get Ad Detail, Get Similar Ads, Get Seller Profile and Get Seller Listings each cost 5 credits per successful request. Search Locations costs 2 credits. List Categories, List Regions, List Departments and List Markets are free. Failed requests cost 0 credits.

Start Building With the Leboncoin Scraper API

Use 1,000 free credits to search classified ads, monitor prices, inspect listings and analyze sellers across France.

No credit card required · 1,000 free credits · Failed requests cost 0 credits