Leboncoin Listings Scraper avatar

Leboncoin Listings Scraper

Pricing

from $0.60 / 1,000 item processeds

Go to Apify Store
Leboncoin Listings Scraper

Leboncoin Listings Scraper

Scrape public Leboncoin listing search results and listing details for marketplace research, real estate, vehicles, resale monitoring, and lead generation.

Pricing

from $0.60 / 1,000 item processeds

Rating

0.0

(0)

Developer

Fetch Cat

Fetch Cat

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

0

Monthly active users

2 days ago

Last modified

Features

Limited permissions

Share

Export public Leboncoin listings from keywords or search-result URLs into a dataset for resale research, property snapshots and vehicle shortlists. Get listing links and titles, with prices, locations, descriptions and images when the public page exposes them. Leboncoin challenges can prevent extraction.

Quick start

  1. Enter a keyword in queries, or paste a Leboncoin search URL into startUrls.
  2. Start with a small limit and leave detail enrichment disabled.
  3. Run the Actor and inspect the dataset. Export available rows as JSON, CSV or Excel.
{
"queries": ["velo"],
"maxItems": 10,
"maxPagesPerQuery": 1,
"includeDetails": false
}

Prefer a video guide? This short Apify walkthrough shows you how to set up and run an Actor. It uses a different Actor, but the setup steps are the same.

Ready-to-run examples

Choose a public example to see its settings before starting a run:

What you get

One row per distinct listing URL, with its title, source context and any exposed price, location, description, image and attribute fields. Search cards can remain usable when optional detail requests fail. Missing values are not invented, and sellerType remains null rather than a complete seller-profile classification.

Who is it for?

  • Resale researchers assembling asking-price and source-link samples.
  • Vehicle and property analysts reviewing available public listing attributes.
  • Market-research teams comparing their own bounded search snapshots.
  • Data developers retaining listing identities and collection context for downstream tools.

How you can use the data

  • Prepare a bicycle listing sheet. Use the existing velo query with ten rows, one page per query and details off. Keep listingUrl, listingId, title and available priceText together rather than treating sparse cards as complete offers.
  • Reuse your own filtered source search. Build a search on Leboncoin and supply its public result URL. Pasted URLs retain their own context, while category and raw location inputs only affect generated keyword searches. Keywords run before URL targets under the shared cap.
  • Inspect optional fields deliberately. Enable details for a small sample when available descriptions or attributes matter. Retain detailStatus and missingFields, knowing that success means the request completed and the missing-field list only checks price text, location text and category.
  • Compare your own later snapshots. Join listing links and IDs with source URLs and scrapedAt. Keep original price/date text: EUR is only assigned when a euro symbol was extracted, and postedAt is not normalized or timezone-validated. The Actor does not keep a market inventory history or send alerts.

Input settings

Provide at least one keyword or search URL. When both are supplied, keyword searches run first and URLs follow. The listing limit applies across the whole run. Neither alternative is individually required. Category and location settings affect generated keyword searches, not pasted URLs.

SettingJSON keyBehavior
Search keywordsqueriesList of terms used to build search URLs.
Search URLsstartUrlsExact public search-result URLs, as strings or objects with url.
Category codecategoryOptional source category code for keyword searches.
Location parameterlocationOptional raw Leboncoin locations value for keyword searches.
Maximum listingsmaxItemsGlobal saved-row limit. Default 10, form range 1–10000.
Maximum pagesmaxPagesPerQueryPage limit per keyword or URL. Default 1, form range 1–100.
Include detailsincludeDetailsDefault false. Visit listing pages to fill available missing fields.
Empty-result behaviorfailOnNoResultsDefault true. A run with no extracted rows fails. The form prefill is false. Inspect the submitted value.
Proxy configurationproxyConfigurationDefaults to Apify Residential Proxy in France from the first request. Existing custom proxy and explicit opt-out settings are accepted. See input help.

For a filtered search, build the search on Leboncoin and paste its URL. The Actor does not provide a separate sorting control or reorder results by price/date.

Example inputs

Use the Quick start input as a small first run. Adjust the fields described above for your own data.

Output data

One row represents a distinct listing URL. Optional fields can be missing even when visible on the website. This abbreviated example illustrates the shape only. It is not a captured listing:

{
"query": "velo",
"listingUrl": "https://www.leboncoin.fr/ad/velos/1234567890",
"listingId": "1234567890",
"title": "Example listing",
"priceText": null,
"priceValue": null,
"currency": null,
"sellerType": null,
"imageUrls": [],
"attributes": {},
"detailStatus": "not_requested",
"missingFields": ["priceText", "locationText", "category"]
}
FieldsMeaning
listingUrl, listingId, titleListing link, available identifier and title.
query, sourceUrl, pageUrlKeyword, original source and page where the row was found. URL inputs have a null query.
priceText, priceValue, currencyAvailable price text and numeric value. Currency is EUR only when the extracted text contains a euro symbol.
category, subcategoryAvailable category values. Not guaranteed human-readable labels.
sellerName, sellerTypeAvailable seller name. sellerType is currently always null. No phone numbers or seller profiles are collected.
locationText, city, department, regionAvailable location labels, not precise geocoding.
postedAtText, postedAtSource date strings. postedAt is not normalized or timezone-validated.
imageUrls, description, attributesAvailable images, description and category-specific attributes.
detailStatusnot_requested, success, blocked, missing or failed. success means the detail request completed, not that all fields were filled.
missingFieldsChecks only priceText, locationText and category. Not a complete quality report.
scrapedAtUTC extraction timestamp.

Search rows are retained if optional detail requests fail. A search request failure or challenge fails the run, preserving rows already saved. Normal completed runs have no separate run-summary record; customer-limit stops write RUN_SUMMARY with the stop reason.

Download your results

Open your run's dataset, choose Export and select JSON, CSV or Excel. JSON keeps nested fields together. CSV and Excel are useful when you want to review the records in a spreadsheet.

See Apify's download and export guide for the available formats and field options.

Pricing

Pay-per-event pricing uses a one-time start charge and item for each listing processed for saving. A row with missing optional fields or failed detail enrichment still counts as an item. Empty pages do not generate item events, while the start fee can still apply.

Keep saved-row and per-source page caps small. Optional details add requests and runtime. See the live Pricing tab for current rates and discounts.

Tips for best results

  • Start with the existing keyword example and details off. Inspect the actual fields before asking for a larger search.
  • Set total and per-source page limits explicitly. Neither guarantees every listing in a market.
  • Use a source-built URL for specific filters. Separate category and location settings do not rewrite pasted URLs.
  • Keep detail status with sparse cards. Optional enrichment failure does not necessarily remove a useful listing row.
  • Choose zero-row behavior explicitly. The failOnNoResults default and form prefill differ, so inspect the submitted setting.

Limits and caveats

Only public pages are collected, with no login, private-account access, phone unlocking, seller-profile collection or messaging. Leboncoin challenges, removed listings and source changes can prevent extraction. No complete market inventory, built-in alert or change tracker is provided, and this is not an official Leboncoin API.

With failOnNoResults true, any zero-row result fails, including no matches. With false, a run can succeed empty, which does not prove that its extraction route succeeded. Missing rows do not establish privacy or deletion. A source request failure or challenge fails the run while preserving listings already saved. Search rows survive optional detail failures. Customer spending or time limits stop gracefully with a warning and a RUN_SUMMARY limit reason; no search or explicit charge is made when the allowance cannot fit startup plus one listing.

Normal completed runs have no separate run-summary record. For customer-limit stops, inspect RUN_SUMMARY in the run's key-value store. Also inspect run status, logs and row detailStatus rather than assuming complete coverage. The Actor has no separate sorting input or local price/date reordering.

Optional fields can be absent even when visible on the website. SellerType is always null, no phone numbers are collected and location is not precise geocoding. Original dates are not normalized, category values need not be readable labels, and missingFields checks only three named fields. Review original sources before comparisons or decisions.

Automation and integrations

Save your settings for next time

Once you have an input that works for you, save it as an Apify task. This keeps your settings together so you can use them again without filling in the form from scratch.

Run on a schedule

Need fresh results regularly? You can schedule the Actor or a saved task to run at a time that suits you.

Each scheduled run collects the data again. If you want to compare results or highlight changes, add that step in your own workflow.

Send results to your other tools

Use n8n, Make or Zapier to connect this scraper to the rest of your workflow. For example, you could pass its results to an AI assistant or add records to a spreadsheet. Follow the Apify integration guides for your chosen tool.

For a custom connection, an Apify webhook can notify your app when a run finishes or fails. Your app can then fetch the results or handle the failure.

API usage

Want to collect this data from your own app or automation? The examples below send input to the scraper and show how to collect its results.

The Node.js and Python examples wait for the run to finish before reading its results. The cURL example starts the run and returns its details. Wait for that run to finish, then use its defaultDatasetId to fetch the results.

For setup instructions, see Apify's JavaScript client guide, Python client guide and Actor runs API reference.

cURL

curl -X POST 'https://api.apify.com/v2/acts/fetch_cat~leboncoin-listings-scraper/runs' \
-H "Authorization: Bearer $APIFY_TOKEN" \
-H 'Content-Type: application/json' \
--data @- <<'JSON'
{
"queries": [
"velo"
],
"maxItems": 10,
"maxPagesPerQuery": 1,
"includeDetails": false
}
JSON

Node.js

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('fetch_cat/leboncoin-listings-scraper').call({
"queries": [
"velo"
],
"maxItems": 10,
"maxPagesPerQuery": 1,
"includeDetails": false
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);

Python

import os
from apify_client import ApifyClient
client = ApifyClient(os.environ['APIFY_TOKEN'])
run = client.actor('fetch_cat/leboncoin-listings-scraper').call(run_input={'queries': ['velo'], 'maxItems': 10, 'maxPagesPerQuery': 1, 'includeDetails': False})
print(client.dataset(run['defaultDatasetId']).list_items().items)

API usage notes

Use the same bounded input with the official clients. Retrieve rows from the run's defaultDatasetId.

Poll the returned run ID until it finishes, then read /v2/datasets/DATASET_ID/items using its defaultDatasetId.

MCP and AI agents

You can ask your AI assistant to collect data with Leboncoin Listings Scraper and help you work with the results. The scraper returns the data, and your assistant can then summarize it, compare records or prepare notes.

Connect your assistant through the Apify MCP server. MCP gives your assistant a way to find this scraper, run it and read the results. Follow the official setup and sign-in guide for your app.

Easier setup with an Apify plugin

If you use a supported coding assistant, the official Apify plugin can set up the connection for you. It connects your assistant to Apify and includes instructions for common tasks. Follow the guide for your particular app.

Use Apify AI in Console

Prefer to keep everything in Apify? Open Apify AI in Console and ask it to find Fetch Cat's Leboncoin Listings Scraper. You can describe the data you want and ask questions about the results.

Apify AI is currently in beta. It asks for confirmation before starting an Actor, and normal run charges apply.

Choose your assistant

Connect just this scraper

To keep your setup focused on this scraper, add this server configuration to a compatible MCP client:

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

Sign in to Apify when your client asks. If your client uses a Bearer token instead, follow its setup guide and keep the token in its secure configuration. Configuration formats vary by app, so use the linked guide if your client needs a different format.

Use Apify's general server

Already connected to the general Apify MCP server at https://mcp.apify.com? You can use it to find this scraper without adding another server. Ask your assistant to use Leboncoin Listings Scraper by Fetch Cat, or give it the identifier fetch_cat/leboncoin-listings-scraper.

Your assistant can check the available settings and retrieve the results from the returned run. If the run is still working, it should follow that run rather than start it again. Both connection options use Apify's hosted service.

Example requests

  • “Use Fetch Cat’s Leboncoin Listings Scraper to collect up to 5 velo listings from one page with optional details off and fail-on-no-results on. Show source listing links and available price text without claiming complete coverage.”
  • “Collect up to 3 velo listings from one page with details enabled and fail-on-no-results on. Keep descriptions and attributes when exposed, with detail-status and selected missing-field checks rather than invented seller data.”
  • “Retrieve up to 5 velo listing cards from one page with details off and fail-on-no-results off. Keep listing identities and collection times for my own later comparison, and explain that empty success alone does not prove source access worked.”

Normal Apify charges apply. Check the live Pricing tab before asking your assistant to run a larger batch.

Pay with x402

If your AI agent has a funded wallet, it can pay for Apify usage through x402. This experimental option lets an agent use Apify without a conventional account.

Apify AGI provides a prepaid API token with a spending cap after payment. Your agent can use that token to run this scraper through the Apify API or an authenticated MCP connection.

Some MCP setups also support paying for each request directly. That is a different payment option, so check the official guide for its availability.

Follow the official guide for wallet setup, supported payment options and current terms. Apify handles the payments. Keep wallet keys and payment tokens in your agent's secure configuration.

Other ways for agents to pay

Apify also supports MPP for prepaid access through AGI and Skyfire for eligible Actors. If your agent already uses one of these, see the agentic payment guide to choose the right setup.

FAQ

Why are prices or seller fields empty?

The public response may not expose fields in a supported form. The Actor keeps the listing row rather than inventing values. sellerType is currently always null.

Does this provide live alerts or an official Leboncoin API?

No. It exports a bounded snapshot of public listings and is not affiliated with Leboncoin. It does not include built-in alerts or change tracking.

Support and feedback

For custom additions or integrations, email hello@fetchcat.dev.

Found an error or have a feature request? Open an issue with the run URL, a non-sensitive input example and what you expected.

Need help sharing it? See Apify’s guide to sharing a run when reporting an issue. Sharing a run can give the developer access to its input, logs and results, so use a run that contains no sensitive data. Please leave out API tokens, passwords, cookies, private documents and personal data. Use a public sample URL or a redacted example instead.

Tried this scraper? We'd love to hear how it worked for you. Leave a review to help others choose the right tool and help us improve it. Your feedback means a lot to us.

Made with care for curious people, AI agents and the possibilities in data. ♥