Skip to the content

Scraper API

Leboncoin

leboncoin.listingAvailable

Leboncoin listing

The listing: title, price, category, place, date, every detail, the full text, every photo, and the kind of seller.

Give it a listing's id, or the address of its page.

1 unit a run, for runs that return data. Runs that fail cost nothing. How units work

Counted
1 unit a run
Inputs
1, 1 required
Record
24 fields
A run takes
up to 5 minutes
Records kept
7 days
Measured
its success, on the status page

POST/v1/scrapers/leboncoin.listing/runs

{
"input": {
"listing": "3285720958"
}
}

sent, and answered

a record of the run24 fields

{
id: "3285720958"
title: "Chaise haute bébé"
url: "https://www.leboncoin.fr/ad/equipement_bebe/3285720958"
category: "Équipement bébé"
category_id: "23"
price: 10
posted_at: "2026-10-10T14:41:13+02:00"
city: "Montesson"
zipcode: "78360"
… 15 more fields

ok1 unit a run

A record this scraper returned for this input. The first 9 of its 24 fields are set down here; the whole record is below.

leboncoin.fr
The page Leboncoin listing reads, as a browser shows it
The page this scraper reads, photographed in a browser on 19 November 2026. It belongs to its publisher, who has no part in this service.

What it is used for

Read a listing in full
One listing's title, price, place, posting date, details, full description and every photo.
Compare similar items
Set the attributes of several listings side by side, such as mileage, size or condition, with their prices.
Know when an item is gone
Read a listing on a schedule: once it is sold or withdrawn the run ends not_found and costs nothing.

What you send

A listing's id, or the address of its page. It is the one input.

listingstring Required
The listing's id (3308727647), or the address of its page (https://www.leboncoin.fr/ad/velos/3308727647).

A request, ready to send

It starts a run with the input shown at the top of this page, waits up to 60 seconds for it, and reads its records. Put your key in the variable it reads.

# Start a run and wait up to 60 seconds for it to finish
curl -X POST "https://api.enrichednow.com/v1/scrapers/leboncoin.listing/runs?wait=60" \
  -H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"listing":"3285720958"}}'

# Read its records, with the id the first call answered
curl "https://api.enrichednow.com/v1/runs/$RUN_ID/records?limit=100" \
  -H "Authorization: Bearer $ENRICHEDNOW_API_KEY"
from enrichednow import EnrichedNow

client = EnrichedNow()  # reads ENRICHEDNOW_API_KEY

# Start a run, wait for it to end, and get its records
result = client.scrape("leboncoin.listing", {"listing": "3285720958"})
print(result.run.id, result.run.status, result.run.record_count)

# Read its records: pages are fetched as you go
for record in result.records:
    print(record)

Install it with pip install enrichednow, then save as run.py and run python3 run.py

import EnrichedNow from "enrichednow";

const client = new EnrichedNow(); // reads ENRICHEDNOW_API_KEY

// Start a run, wait for it to end, and get its records
const { run, records } = await client.scrape("leboncoin.listing", { listing: "3285720958" });
console.log(run.id, run.status, run.record_count);

// Read its records: pages are fetched as you go
for await (const record of records) console.log(record);

Install it with npm install enrichednow, then save as run.mjs and run node run.mjs

package main

import (
	"context"
	"fmt"
	"log"
	"time"

	enrichednow "github.com/enrichednow/enrichednow-go"
)

func main() {
	client, err := enrichednow.NewClient() // reads ENRICHEDNOW_API_KEY
	if err != nil {
		log.Fatal(err)
	}
	ctx, cancel := context.WithTimeout(context.Background(), 10*time.Minute)
	defer cancel()

	// Start a run, wait for it to end, and get its records
	run, records, err := client.Scrape(ctx, "leboncoin.listing", map[string]any{"listing": "3285720958"})
	if err != nil {
		log.Fatal(err)
	}
	fmt.Println(run.ID, run.Status, run.RecordCount)

	// Read its records: pages are fetched as you go
	for records.Next() {
		fmt.Println(string(records.Current()))
	}
	if err := records.Err(); err != nil {
		log.Fatal(err)
	}
}

Install it with go get github.com/enrichednow/enrichednow-go@latest, then save as run.go and run go run run.go

import com.enrichednow.EnrichedNowClient;
import com.enrichednow.ScrapeResult;
import java.util.Map;

public class Run {
    public static void main(String[] args) {
        EnrichedNowClient client = EnrichedNowClient.fromEnv(); // reads ENRICHEDNOW_API_KEY

        // Start a run, wait for it to end, and get its records
        ScrapeResult result = client.scrape("leboncoin.listing", Map.of("listing", "3285720958"));
        System.out.println(result.run().id() + " " + result.run().status() + " " + result.run().recordCount());

        // Read its records: pages are fetched as you go
        for (Map<String, Object> record : result.records()) {
            System.out.println(record);
        }
    }
}

Add com.enrichednow:enrichednow-java:0.4.0 to your Maven or Gradle build, then save as Run.java

enrichednow run leboncoin.listing --input-json '{"listing":"3285720958"}'

Install it with curl -fsSL https://raw.githubusercontent.com/enrichednow/enrichednow-cli/main/install.sh | sh

What comes back

The listing: title, price, category, place, date, every detail, the full text, every photo, and the kind of seller. A record has 24 fields. One we could not read is null, never an empty string or a zero.

A record leboncoin.listing returned
{
  "id": "3285720958",
  "title": "Chaise haute bébé",
  "url": "https://www.leboncoin.fr/ad/equipement_bebe/3285720958",
  "category": "Équipement bébé",
  "category_id": "23",
  "price": 10,
  "posted_at": "2026-10-10T14:41:13+02:00",
  "city": "Montesson",
  "zipcode": "78360",
  "department": "Yvelines",
  "region": "Ile-de-France",
  "latitude": 48.907,
  "longitude": 2.149,
  "seller_type": "private",
  "shop_name": null,
  "image": "https://img.leboncoin.fr/api/v1/lbcpb1/images/a0/68/33/a068338bdea62ac1a62c7a2073e28bebe954214b.jpg?rule=ad-image",
  "image_count": 1,
  "shippable": false,
  "attributes": [
    {
      "key": "condition",
      "name": "État",
      "value": "Bon état"
    },
    {
      "key": "baby_equipment_universe",
      "name": "Univers",
      "value": "Alimentation"
    }
  ],
  "fetched_at": "2026-11-19T18:10:59.748650Z",
  "description": "Je vends cette chaise haute pour bébé avec sa table amovible.\n- Type de produit : Chaise haute\n- Univers : Alimentation\n- Couleur : Bleu\n\nN'hésitez pas à me contacter pour plus d'informations ou de photos.",
  "images": [
    "https://img.leboncoin.fr/api/v1/lbcpb1/images/a0/68/33/a068338bdea62ac1a62c7a2073e28bebe954214b.jpg?rule=ad-large"
  ],
  "status": "active",
  "favorites": 9
}

The scraper returned this record for the input above, reading a saved copy of the page, not the live site.

Values shortened for this page: attributes: 4 items, the first 2 shown.

The fields of a record

idstring
Leboncoin's id of the listing, the digits at the end of its address.
titlestring
The listing's title.
urlstring
The listing's page on leboncoin.fr.
categorystring or null
The category it is listed in, e.g. Vélos or Voitures.
category_idstring or null
Leboncoin's number of that category.
pricenumber or null
The price asked, in euros. Null where the listing states none.
posted_atdatetime or null
When the listing was first published, with Paris's offset.
citystring or null
The town the listing is in.
zipcodestring or null
Its postcode.
departmentstring or null
Its département, e.g. Gironde.
regionstring or null
Its region, e.g. Aquitaine.
latitudenumber or null
The latitude of the place Leboncoin shows on the listing's map (the town, or the area the seller chose).
longitudenumber or null
Its longitude.
seller_typestring or null
private for a private person, pro for a business.
shop_namestring or null
The business's name, for a pro seller. Always null for a private seller: a person's name is not returned.
imagestring or null
The listing's first photo.
image_countinteger
How many photos the listing has.
shippableboolean or null
True when the seller offers to send the item; null where the listing does not say.
attributeslist of objects
The details the listing shows with a label, in the page's order: brand, model, mileage, size, condition, rooms, surface, …Each holds key, name, value.
fetched_atdatetime
When the page was read, in UTC.
descriptionstring or null
The listing's text as the seller wrote it, with its line breaks.
imageslist of strings
Every photo of the listing, largest size, in order.
statusstring or null
The listing's state as Leboncoin states it, e.g. active.
favoritesinteger or null
How many visitors have saved the listing, as the page counts them at the time of the run.

The whole schema, in its reference

Units and limits

Counted per request
Billed per request: a run that returns data costs 1 unit, however many records it returns.
A miss costs nothing
A run that fails, that meets something not supported yet, or that you cancel costs nothing. You pay for runs that return data.
What bounds a run
A run may take up to 5 minutes. Its records are read in pages of up to 1,000 and are kept for 7 days.

What it does not do

  • One run reads one listing.
  • A private seller's name is not returned; a business's shop name is.
  • A listing that was sold or withdrawn ends as failed, with the reason not_found, and costs nothing.

Scraper API pricing: how units workThe five ways a run ends

Questions

What does Leboncoin listing return?

The listing: title, price, category, place, date, every detail, the full text, every photo, and the kind of seller. A record has 24 fields, among them id, title, url, category, category_id and price. A value that could not be read is null, never an empty string or a zero.

What do I send?

A listing's id, or the address of its page. The input listing is required.

How is it counted?

Billed per request: a run that returns data costs 1 unit, however many records it returns. A run that fails, that meets something not supported yet, or that you cancel costs nothing. The first 1,000 units each month are free.

What does it not do?

One run reads one listing. A private seller's name is not returned; a business's shop name is. A listing that was sold or withdrawn ends as failed, with the reason not_found, and costs nothing.

How long are the records kept, and in what format do they come?

Records are kept for 7 days after the run ended, and read in pages of up to 1,000. They come as JSON, as NDJSON with one record a line, or as CSV with a column for each field.

Can an AI assistant call it?

Yes. Through the EnrichedNow MCP server an assistant calls the tool run_scraper with the scraper_id leboncoin.listing and the same input. It costs what the same API call costs.

Leboncoin

Leboncoin's public search results and listing pages: what is for sale in France, at what price and where.

  • Leboncoin search

    leboncoin.search

    Words to search for, and a page. The listings on a page of the results: title, price, category, place, date, details, photo, and whether the seller is a business.

Leboncoin on the line-up

Where
France

Run it on an input of your own.

Create an account, make a key, and send the request above with your own input. The first 1,000 units each month are free.