Leboncoin API

Find French classifieds by category, keyword, city, and price. Pass a listing URL to get the asking price, condition, description, and available photos.

Request and response

Browse endpoints
Read a listing from the search results

Use a returned listing URL to see the exact item’s asking price, condition, location, and photos.

POST /v1/leboncoin/listings/details

Request body

{
  "listing_url": "https://www.leboncoin.fr/ad/velos/3313349679"
}

Observed listing detail excerpt

{
  "listing_id": "3313349679",
  "listing_url": "https://www.leboncoin.fr/ad/velos/3313349679",
  "market": "fr",
  "title": "Vélo électrique Orus E - 4000",
  "price": 150,
  "currency": "EUR",
  "condition": "Bon état",
  "city": "Paris",
  "postal_code": "75004",
  "image_urls": [
    "https://img.leboncoin.fr/api/v1/lbcpb1/images/62/e4/4f/62e44fb36590a245021f8c6feadae344ea1b2917.jpg?rule=ad-large"
  ]
}

Use Cases

Find local listings within a budget

Choose a category and city, then enter a postal code and price range to focus the results.

Search across France

Send a category and a keyword to find listings through Leboncoin's public keyword search.

Inspect a listing before comparing offers

Use a listing URL from the search results to get its exact condition, description, and photos.

API Endpoints

Available endpoints for the Leboncoin API

POST /v1/leboncoin/categories

Leboncoin Category Reference API

Read category names and families documented by Leboncoin's help center. The source publishes labels.

View endpoint documentation
POST /v1/leboncoin/departments

French Departments for Leboncoin API

List French departments with official INSEE department and region codes. Filter by an INSEE region code.

Parameters

region_insee_code string
View endpoint documentation
POST /v1/leboncoin/listings/details

Leboncoin Listing Details

Read a public French listing by URL. Get its asking price, description, condition, location, and photos when shown.

Parameters

listing_url string required
View endpoint documentation
POST /v1/leboncoin/listings/search

Leboncoin Listing Search

Find active French listings by category, keyword, and city. Filter by price and pass any listing URL to Listing Details.

Parameters

category string required
city string
limit integer
max_price integer
min_price integer
page integer
postal_code string
query string
View endpoint documentation
POST /v1/leboncoin/locations/search

French Location Lookup for Leboncoin API

Find French communes by name or postal code and look up department or region names. Location identifiers use official INSEE codes.

Parameters

kind string
limit integer
q string required
View endpoint documentation
POST /v1/leboncoin/markets

Leboncoin Market Reference API

Read the Leboncoin France market's domain, currency and locale.

View endpoint documentation
POST /v1/leboncoin/regions

French Regions for Leboncoin API

List French administrative regions, including overseas regions, with official INSEE codes.

View endpoint documentation

Frequently Asked Questions

Common questions about the Leboncoin API

How does a keyword work with a city?

Browsable matches the keyword against titles and descriptions on the requested city page. The source total counts listings on the site before that keyword filter, and the next page can contain matches even when the current page returns zero.

How do I get the next page?

Reuse the same filters and send the number returned in pagination.next_page.

What URL does Listing Details accept?

Pass the public listing_url returned by Listing Search or copy an individual listing link from Leboncoin.

Start scraping Leboncoin

Get your free API key