Skip to main content
Piloterr
Back to library

Leboncoin Search API

Scrape Leboncoin search results or category pages by URL, returning paginated listings with price, location, and attributes. Returns structured JSON by default, or raw HTML on demand.

Active1 credit = 1 requestGET/v2/leboncoin/search

Endpoint Overview

Detailed documentation, pricing, and usage examples.

OverviewLink to Overview

Extract listings from any Leboncoin search or category URL. Returns paginated, structured JSON by default. Switch to raw HTML via return_page_source=true.

QuickstartLink to Quickstart

GET https://api.piloterr.com/v2/leboncoin/search?query=https://www.leboncoin.fr/recherche?text=macbook

ParametersLink to Parameters

Parameter Type Required Default Description
query string yes - Leboncoin search or category URL
return_page_source boolean no false false = parsed JSON, true = raw HTML

Status codesLink to Status codes

  • 200 Search succeeded
  • 404 No results or page not found (applies to both JSON and HTML modes)
  • 400 Invalid input

Main use casesLink to Main use cases

  • Scrape regional car listings for market analysis
  • Monitor category pages for new listings
  • Build price intelligence dashboards
  • Aggregate classifieds data across regions

Related APIs

Expand your data capabilities with these complementary tools.

Ready to get started?

Your web scraping API is one click away. Start with +500 credits, no infrastructure to set up, no proxies to manage, and no credit card required.

  • +500 credits
  • No credit card required
  • All endpoints included