Discover/Leboncoin API
live

Leboncoin APIleboncoin.fr ↗

Search and retrieve listings from leboncoin.fr across cars, real estate, jobs, and more. Filter by price, location, category, and get pricing analytics.

Endpoint health
verified 14h ago
search_cars
get_average_price
search_listings
get_listing_detail
4/4 passing latest checkself-healing
Endpoints
4
Updated
15h ago

What is the Leboncoin API?

This API covers 4 endpoints for searching and extracting listing data from leboncoin.fr, France's largest classifieds platform. The search_listings endpoint returns up to 35 listings per page with filters for category, price range, department, region, or GPS radius. Dedicated endpoints handle car-specific searches by make and model, full listing detail retrieval, and price statistics computed from live results.

This call costs1 credit / call— charged only on success
Try it
Page number (1-100)
Search keyword (e.g., 'iphone', 'voiture')
Category ID (e.g., '2' for cars, '9' for real estate sales, '15' for electronics, '33' for jobs)
Location code: d_XX for department (e.g., d_39 for Jura, d_75 for Paris), r_XX for region (e.g., r_12 for Ile-de-France)
Maximum price filter in euros
Minimum price filter in euros
GPS point with search radius, in the site's own form City_ZIP__LAT_LNG_RADIUS_RADIUS (city name, 5-digit postal code, decimal latitude and longitude, radius in metres repeated twice), e.g. Nice_06300__43.70032_7.27768_5000_5000 for 5 km around Nice. Values in another form are rejected before any request.
Real-estate property type code as used by the site's real-estate filters; confirmed codes are 1 (Maison/house) and 3 (Terrain/land). Meaningful with category 9 (real estate sales).
Land plot surface range in m² as MIN-MAX, where either bound may be open: 500-max (at least 500 m²), min-2000 (at most 2000 m²) or 500-2000. Other forms are rejected before any request.
→ api.parse.bot/scraper/e47ee25c-b3eb-449c-b65b-e512fd4cf897/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Call it over HTTPgrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/e47ee25c-b3eb-449c-b65b-e512fd4cf897/search_listings?page=1&query=iphone&category=2&location=d_75&price_max=50000&price_min=100' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 4 totalmissing one? ·

Search for listings on leboncoin.fr with optional filters. Returns one page of up to 35 listings per call, paginated through the page input (1-100; omitted means page 1), with the total match count and the maximum page number. Location can be a leboncoin area code (d_XX for departments such as d_39 for Jura or d_75 for Paris, r_XX for regions such as r_12 for Ile-de-France) and/or a GPS point with a radius in metres (gps_location); when both are given listings matching either area are returned. Real-estate searches (category 9) additionally accept a property type filter (real_estate_type) and a land plot surface range in m² (land_plot_surface); real_estate_type is applied through the site's search service and costs one extra request per call. An unknown real_estate_type code yields an empty result set rather than an error.

Input
ParamTypeDescription
pageintegerPage number (1-100)
querystringSearch keyword (e.g., 'iphone', 'voiture')
categorystringCategory ID (e.g., '2' for cars, '9' for real estate sales, '15' for electronics, '33' for jobs)
locationstringLocation code: d_XX for department (e.g., d_39 for Jura, d_75 for Paris), r_XX for region (e.g., r_12 for Ile-de-France)
price_maxintegerMaximum price filter in euros
price_minintegerMinimum price filter in euros
gps_locationstringGPS point with search radius, in the site's own form City_ZIP__LAT_LNG_RADIUS_RADIUS (city name, 5-digit postal code, decimal latitude and longitude, radius in metres repeated twice), e.g. Nice_06300__43.70032_7.27768_5000_5000 for 5 km around Nice. Values in another form are rejected before any request.
real_estate_typestringReal-estate property type code as used by the site's real-estate filters; confirmed codes are 1 (Maison/house) and 3 (Terrain/land). Meaningful with category 9 (real estate sales).
land_plot_surfacestringLand plot surface range in m² as MIN-MAX, where either bound may be open: 500-max (at least 500 m²), min-2000 (at most 2000 m²) or 500-2000. Other forms are rejected before any request.
Response
{
  "type": "object",
  "fields": {
    "page": "integer current page number",
    "total": "integer total number of matching listings",
    "results": "array of listing objects with id, title, price, url, date, category, location, images, owner, owner_type, attributes",
    "max_pages": "integer maximum page number available",
    "total_all": "integer total across all categories"
  },
  "sample": {
    "data": {
      "page": 1,
      "total": 378045,
      "results": [
        {
          "id": 3153786520,
          "url": "https://www.leboncoin.fr/ad/telephones_objets_connectes/3153786520",
          "date": "2026-05-15 17:55:26",
          "owner": "DBC MARSEILLE",
          "price": 170,
          "title": "IPhone 12 Pro Max & iPhone 11 Pro Max avec garantie",
          "images": [
            "https://img.leboncoin.fr/api/v1/lbcpb1/images/29/79/2f/29792f8d772eaf523060f1329bd0a36cdfe661d5.jpg?rule=ad-image"
          ],
          "category": "Téléphones & Objets connectés",
          "location": "Marseille 13001",
          "attributes": {
            "condition": "Bon état",
            "phone_brand": "Apple"
          },
          "owner_type": "pro"
        }
      ],
      "max_pages": 100,
      "total_all": 378045
    },
    "status": "success"
  }
}

About the Leboncoin API

Search and Filter Listings

The search_listings endpoint accepts a query keyword, a category ID (e.g., 2 for cars, 9 for real estate sales, 15 for electronics, 33 for jobs), and price bounds via price_min and price_max. Location filtering works through location codes — d_XX for a specific department (e.g., d_75 for Paris) or r_XX for a region — or through gps_location for a lat/lng point with a radius. Each response includes total, max_pages, and a results array of listing objects carrying id, title, price, url, date, category, location, images, owner, owner_type, and attributes. Pagination goes up to page 100.

Listing Detail and Car Search

get_listing_detail takes a full listing URL or numeric ID and returns the complete record: description, all image URLs, the full attributes object (varies by category), seller name, city and postal code, and the first publication date. The search_cars endpoint wraps car-specific filtering — pass make in uppercase (e.g., PEUGEOT, BMW) and model to narrow results. When both are provided, the model filter resolves against the correct make automatically. Results share the same shape as search_listings.

Price Analytics

get_average_price takes a required query and an optional category ID, and returns average, min, max, and count — the number of priced listings in the sample. Statistics are derived from up to 35 listings from the first result page, so they reflect current market pricing rather than historical aggregates. This is useful for quick valuation checks on a specific car model, electronics item, or property type before doing a deeper search.

Reliability & maintenanceVerified

The Leboncoin API is a managed, monitored endpoint for leboncoin.fr — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when leboncoin.fr changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.

This isn't an official leboncoin.fr API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.

Last verified
14h ago
Latest check
4/4 endpoints passing
Maintenance
Monitored & self-healing
Will this API break when the source site changes?+
It's built not to. Every endpoint is health-checked on a schedule with automated test probes. When the source site changes and a check fails, the API is automatically queued for repair and re-verified — that's the self-healing layer. Each API page shows when its endpoints were last verified. And because marketplace APIs are shared, any fix reaches everyone using it.
Is this an official API from the source site?+
No — Parse APIs are independent, managed REST wrappers over publicly available data. That is the point: where a site has no official API (or only a limited one), Parse gives you a maintained, monitored endpoint for that data and keeps it working as the site changes — so you get a stable contract over a source that never promised one.
Can I fix or extend this API myself if I need a new endpoint or field?+
Yes — and you don't have to wait on us. This API was generated by the Parse agent, which stays attached. Describe the change in plain English ("add an endpoint that returns reviews", "fix the price field") in the revise box on the API page or via the revise_api MCP tool, and the agent rebuilds it against the live site in minutes. Contributing the change back to the public API is free.
What happens if I call an endpoint that has an issue?+
Errors are machine-readable: a bad call returns a clean status with the list of available endpoints and a repair hint, so an agent (or you) can recover or trigger a fix instead of failing silently. Confirmed failures feed the automatic repair queue.
Common use cases
  • Monitor price trends for a specific car make and model using search_cars with make and model filters
  • Build a real estate aggregator by querying category 9 or 10 with department-level location codes and real_estate_type
  • Estimate resale value for consumer electronics with get_average_price scoped to category 15
  • Track new job listings in a specific region by polling search_listings with category 33 and a region code
  • Retrieve full listing details including all attributes and seller info via get_listing_detail for a given listing URL
  • Alert users to listings below a price threshold by combining price_max filtering with GPS-radius search in search_listings
  • Compare asking prices across departments for a property type by running get_average_price against multiple d_XX location codes
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo2005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 req/min
Team$300/mo20,000300 req/min
Company$1,000/mo100,000500 req/min

Each endpoint has a fixed posted price per successful call — most fall between 1 and 10 credits — shown on this API's page before you run it. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does leboncoin.fr have an official public developer API?+
No. Leboncoin does not offer a public developer API. There is no documented REST or GraphQL API available to third-party developers on their website.
What does the `attributes` field in listing results contain?+
The attributes object is category-specific. For car listings it typically includes fields like mileage, fuel type, gearbox, and year. For real estate it includes surface area, number of rooms, and property type. The exact keys vary by category and are returned as-is from the listing.
How accurate is `get_average_price`?+
The statistics are computed from up to 35 listings returned on the first result page for the given query. The count field in the response tells you exactly how many priced listings were used in the calculation. For categories with many results, this is a sample rather than a full-catalog aggregate.
Does the API expose seller contact details like phone numbers or email addresses?+
Not currently. The get_listing_detail endpoint returns owner (seller name) and owner_type, but phone numbers and email addresses that leboncoin gates behind authentication are not included. You can fork the API on Parse and revise it to add an endpoint targeting that data if you have the appropriate access.
Can I retrieve historical listing data or sold/expired listings?+
The API reflects currently active listings on leboncoin.fr. Expired or removed listings are not accessible, and there is no historical archive endpoint. You can fork the API on Parse and revise it to store snapshots over time to build your own historical dataset.
Page content last updated . Spec covers 4 endpoints from leboncoin.fr.
Related APIs in MarketplaceSee all →
lacentrale.fr API
Search and browse thousands of used cars from La Centrale, France's top automotive marketplace, with detailed specifications like price, mileage, engine type, gearbox, and exterior color. Find your next vehicle by filtering listings and comparing comprehensive car details all in one place.
lacentrale.com API
Search used car listings on lacentrale.fr to instantly compare price statistics—including minimum, maximum, average, and median values—filtered by make, model, year, fuel type, gearbox, and other specifications. Make informed pricing decisions by analyzing real market data for the exact vehicle configuration you're interested in.
encheres-publiques.com API
Search and browse real estate, vehicle, art, and equipment auctions across France, viewing detailed lot information and upcoming auction events from various organizers. Filter auction listings by category and type to find specific items and compare auction details to make informed bidding decisions.
olx.pt API
Search and monitor real estate listings and business advertisements from OLX Portugal with advanced filtering and pagination options. Get detailed information about specific listings including prices, descriptions, and seller details to find exactly what you're looking for.
dba.dk API
Search and retrieve detailed listings from Denmark's largest marketplace DBA.dk, including product information, pricing, and seller details across general goods and car categories. Browse marketplace categories, find specific items, and access comprehensive data on both regular listings and automotive inventory.
craigslist.org API
Search Craigslist listings across any region and instantly access structured data including prices, locations, coordinates, images, and direct URLs. Find exactly what you're looking for with organized sale listings that are easy to filter and analyze.
2ememain.be API
Search and browse listings on 2ememain.be, view detailed product information and seller profiles, and explore what items specific sellers have available. Filter by category, price, condition, and location to find listings across the marketplace — all with full seller details in one place.
olx.ba API
Search and browse listings on OLX.ba across all categories. Retrieve listing names, prices, categories, and URLs, or drill into individual listings for detailed attributes such as location, address, area, floor, condition, and seller information. Includes dedicated support for apartment listings.