Actor picture

Leboncoin extractor


Extract information from : simply provide your search URL (+ your filters and location) and the number of times you want to click on "Page Suivante".

Free trial for 3 days

Then $30/month

No credit card required now

Author's avatarguillim
  • Modified
  • Users43
  • Runs518
Actor picture
Leboncoin extractor

Free trial for 3 days

Then $30/month

This actor aims to extract information from Data can be exported to various formats such as JSON or CSV. You have to option to customise the information you want to extract by modifying the javascript function which is executed on each page.

How to Start

1 - Setup

  • On your laptop, simply go to leboncoin and make a search, with all the filters you want, and location you want. Dont' forget to launch the search Screenshot-2022-04-28-at-10-57-30.png and watch for :
  • Then copy the URL of first page of search results, and paste it in the start-URL of this Actor. Please add the root url first, so that it mimics the user behaviour, as shown in the image bellow :
  • Update the field "Page suivante: how many times ?" to paginate deeper in the results.
  • If you encounter issues, set up a french residential proxy. It helps because leboncoin bans non-french request from its website. Go to "Advanced Configuration" :

2 - Run & Download

  • Click Run

Then wait for the result to appear in the "dataset" section and download them.

Advanced Configuration

  • Max pages : it's a limit, to prevent the actor from crawling too many pages.
  • Function : It's the function extracting the result on each pages. If the default is not enough for you, just update it using jQuery selectors to fetch other piece of information from !
  • Respect URL pattern : you can ask the actor to follow only links with a specific Regex pattern. By default, it follows only[.*] to avoid going wild in the web !
  • Avoid anti-bot detection with Proxy : the Proxy option sets proxies to prevent detection by leboncoin. Best to have french proxies since leboncoin bans foreign IPs. see Apify Proxy for more info


See how Leboncoin extractor is used in industries around the world