Leboncoin Scraper: Every Ad, Past 3,500 avatar

Leboncoin Scraper: Every Ad, Past 3,500

Pricing

from $1.05 / 1,000 ads

Go to Apify Store
Leboncoin Scraper: Every Ad, Past 3,500

Leboncoin Scraper: Every Ad, Past 3,500

Every ad of a Leboncoin search, past the 3,500 the site shows, checked against its count. $1.50 per 1,000 ads. Prices, places, sellers, details; ad pages optional.

Pricing

from $1.05 / 1,000 ads

Rating

0.0

(0)

Developer

Luzi

Luzi

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

12 days ago

Last modified

Features

Limited permissions

Share

Get every ad of a Leboncoin search, not just the 3,500 the site shows you: by search words, or from any results link with your own category, place, price and filters. The run's last message checks the ads saved against Leboncoin's own count for each search. No Leboncoin account, login or cookies needed.

Tested daily. Latest check: MEASURED_LINE

What does this Actor do?

You give it search words (searched across France, or in the departments you pick) or links to Leboncoin results pages. For each search it saves one row per ad, until it has every ad Leboncoin counts for that search or reaches your limit.

Leboncoin's own site stops at 100 pages of 35 ads (3,500) for any search, and each page shows two paid "à la une" ads in place of two results. This Actor reads past both: a bigger search is read region by region (and by price where needed), the paid ads from other searches are left out, and the results they hid are picked up, so its final message says, per search, whether it got all of Leboncoin's count ("605 of 605").

Each row comes with:

  • the ad id, link, title, category, offer or wanted, and status
  • the price in euros (and in cents), and an earlier price when the seller cut it
  • when it was published, last updated and when it expires
  • the condition, whether it can be shipped, the shipping options and the buyer protection fee
  • the city, postcode, district, department, region and map point
  • the seller's id, store id, name, private or professional, a business's SIREN number and activity sector, the "no canvassing" flag, and the seller's rating and number of ratings
  • whether it has a phone number, the urgent and boosted badges and the paid options
  • every picture (normal and large), floor plans for property, and every detail the seller filled in (mileage, fuel, rooms, surface, energy class…) with its name and value
  • the search it came from and Leboncoin's counts for the search (all, professional, private)

With Include ad pages on, each row also gets the ad's own page: the full description and how many people saved the ad to their favourites.

Why use it?

  • Every ad, not 3,500. A search with more ads than the site shows is read to its end; the run tells you for each search how many of the count it saved.
  • No ads lost to paid placements. The two "à la une" ads on every page are not saved, and the results they hide are still read.
  • Any search, from search words with departments, price, seller and order, or a results link with every filter the site offers.
  • Every field Leboncoin lists for an ad, details and seller rating included, and the full description when you want it.
  • $1.50 per 1,000 ads, ad pages included, and nothing per search.

How to use it

  1. Type search words under Search words, or paste Leboncoin results links under Search links.
  2. Set Max ads per search (1,000 by default). To get a whole search, set it above the number Leboncoin shows for it.
  3. Turn on Include ad pages if you need the descriptions.
  4. Start the run, then download the ads as JSON, CSV or Excel.

Run it with no input to see a sample: up to 50 ads for "velo electrique", charged as usual.

Input

FieldWhat it is
searchQueriesSearch words, one search per line, across France
startUrlsLeboncoin results links or category pages, with your filters
departmentsMainland department numbers, for the search words (all of France when empty)
minPriceLowest price in euros, for the search words
maxPriceHighest price in euros, for the search words
sellerTypeall (default), private or pro, for the search words
sortnewest (default), oldest, price_low or price_high
maxAdsPerSearch1 to 100,000, default 1,000
includeAdDetailstrue to read each ad's own page too (default false)

Example:

{
"startUrls": ["https://www.leboncoin.fr/recherche?category=2&text=clio"],
"searchQueries": ["velo electrique"],
"departments": ["75", "92"],
"maxPrice": 2000,
"sellerType": "private",
"maxAdsPerSearch": 5000,
"includeAdDetails": false
}

A link to a single ad, or a link to another site, is refused before the run starts, with the link named.

Output

One row per ad. Fields the site does not show for an ad are null or an empty list.

FieldWhat it is
ad_id, url, title, category_id, category_name, ad_type, statusThe ad
price, currency, old_price, price_centsThe price in euros, an earlier price, the price in cents
published_at, updated_at, expires_atDates, in French time with their offset
condition, condition_code, shippable, shipping_options, buyer_feeCondition, shipping and the buyer protection fee
city, zipcode, district, location_text, department_id, department_name, region_id, region_name, countryWhere it is
latitude, longitude, location_is_areaThe map point, and whether it marks an area rather than a spot
seller_id, seller_store_id, seller_name, seller_type, seller_siren, seller_activity_sector, seller_no_salesmenThe seller
seller_rating, seller_rating_count, seller_picture_urlThe seller's rating out of 5, its number of ratings, picture
has_phone, is_urgent, is_boosted, promotionsPhone number shown, urgent and boosted badges, paid options
image_url, images, images_large, image_count, floor_plansPictures and floor plans
attributesEvery detail: key, label, value, values, value_label
search_url, search_total, search_total_pro, search_total_privateThe search the row came from and Leboncoin's counts for it
details_read, description, favoritesWith ad pages: whether the page was read, the text, favourites

Sellers' names and ids are personal data: check that your use is allowed where you are (in the EU, the GDPR applies).

How much does it cost?

No surcharges and no paid options; an item that fails is not charged.

This Actor is priced per ad saved:

  • $1.50 per 1,000 ads ($0.0015 an ad), with or without ad pages. Each ad is charged once per run.
  • No start fee, and nothing per search.

So 1,000 ads cost $1.50. If you set a maximum cost for a run, the Actor stops when it reaches it and keeps every ad saved so far.

How long does a run take?

TIMING_LINE

Good to know

  • Leboncoin's count. The final message compares the ads saved with the site's count for each search. The count moves while a big search is read, as ads come and go.
  • Reading a whole search costs more pages. To get the results the paid ads hide, a search is read a second time in the other order once the first pass ends short of the count. A run with a limit below the count stops at the limit and is read once.
  • Ads with no price. A region that holds more than 3,500 ads is split by price, and an ad with no price at all can then be missed.
  • An ad in two of your searches is saved once, under the first search that reached it.
  • Order. Rows come in the order you chose; a search over 3,500 ads comes back region by region. A link sorted by relevance is read newest first.
  • Ad pages. A taken-down ad keeps the row from the results page, marked details_read: false. Phone numbers are not read: Leboncoin shows them only to signed-in users.
  • France only, as Leboncoin.

More Actors from us

Use it from an AI agent or the API

One call starts a run and returns its items (Apify waits up to 300 seconds; for a longer run, start it with POST /v2/acts/…/runs and read its dataset):

POST https://api.apify.com/v2/acts/luzivanlt~leboncoin-listings-scraper/run-sync-get-dataset-items?token=<YOUR_APIFY_TOKEN>

With the sample input as its JSON body:

{
"searchQueries": ["velo electrique"],
"sellerType": "all",
"sort": "newest",
"maxAdsPerSearch": 50,
"includeAdDetails": false
}

Its inputs, in the order of the input form:

InputWhat it takesDefault
searchQueries (Search words)What to search for across France, one search per line, as you would type it in Leboncoin's search box (up to 100 characters each).—
startUrls (Search links)Leboncoin results links, copied from your browser after you set the category, place, price and other filters you want (https://www.leboncoin.fr/recherche?category=2&text=clio), or a category page (https://www.leboncoin.fr/c/velos).—
departments (Departments)Only ads in these mainland departments, by number, for the search words above (all of France when empty).—
minPrice (Lowest price (€))Only ads priced at or above this many euros, for the search words above.—
maxPrice (Highest price (€))Only ads priced at or below this many euros, for the search words above.—
sellerType (Seller)Private sellers, professionals (dealers, shops and agencies), or both (the default), for the search words above."all"
sort (Order)Which ads come first, which decides the ones you get when a search holds more than your limit: newest (the default), oldest, cheapest or dearest."newest"
maxAdsPerSearch (Max ads per search)Stop each search after this many ads, from 1 to 100,000 (1,000 by default).1000
includeAdDetails (Include ad pages)Also open each ad's own page for its full description and how many people saved it to their favourites.false

Apify's MCP server, https://mcp.apify.com, lists it as luzivanlt/leboncoin-listings-scraper. To give an AI agent this Actor as a tool, add the server to the agent's MCP config:

{
"mcpServers": {
"apify": {
"url": "https://mcp.apify.com?tools=luzivanlt/leboncoin-listings-scraper"
}
}
}

The client signs in with OAuth, or add "headers": { "Authorization": "Bearer <APIFY_TOKEN>" }.

Charged per ad delivered; the sample input above costs at most $0.08.

FAQ

Can I get every ad of a big search? Yes. Set Max ads per search above the site's count; the final message tells you how many of the count were saved.

Can I use my own filters? Yes. Set them on Leboncoin, copy the link from your browser and paste it under Search links.

Can I get sellers' phone numbers? No. Leboncoin shows them only to signed-in users, and this Actor never signs in. Each row says whether the ad has one (has_phone).

This Actor reads pages anyone can open without an account. Check Leboncoin's terms and the laws where you are before you use the data, especially the personal data of sellers.

Support

Open an issue on the Actor's page and describe the search and what you expected.