Scraper API
Leboncoinleboncoin.searchAvailable
Leboncoin search
The listings on a page of the results: title, price, category, place, date, details, photo, and whether the seller is a business.
Give it Words to search for, and a page.
1 unit a run, for runs that return data. Runs that fail cost nothing. How units work
- Counted
- 1 unit a run
- Inputs
- 2, 1 required
- Record
- 22 fields
- A run takes
- up to 5 minutes
- Records kept
- 7 days
- Measured
- its success, on the status page
POST/v1/scrapers/leboncoin.search/runs
sent, and answered
a record of the run22 fields
ok1 unit a run
A record this scraper returned for this input. The first 9 of its 22 fields are set down here; the whole record is below.

What it is used for
- See what things sell for
- Search an item and read the asking
price, the category and the town of each listing across France. - Spot new offers early
- Run the same search on a schedule and list the listings you have not seen yet, with price, place and the day they went up.
- Size a second-hand market
- Count the listings for a product and how many come from businesses (
seller_type), to see how much of it changes hands.
What you send
Words to search for, and a page. These are its 2 inputs, as its schema has them.
querystring Required- Words to search for, such as vélo or canapé cuir.
pageinteger Optional- The page of results, from 1 to 10.Default
1
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.search/runs?wait=60" \
-H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":{"query":"velo"}}'
# 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.search", {"query": "velo"})
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.search", { query: "velo" });
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.search", map[string]any{"query": "velo"})
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.search", Map.of("query", "velo"));
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.search --input query=veloInstall it with curl -fsSL https://raw.githubusercontent.com/enrichednow/enrichednow-cli/main/install.sh | sh
What comes back
The listings on a page of the results: title, price, category, place, date, details, photo, and whether the seller is a business. A record has 22 fields. One we could not read is null, never an empty string or a zero.
{
"id": "3297659500",
"title": "Vélo",
"url": "https://www.leboncoin.fr/ad/sport_plein_air/3297659500",
"category": "Sport & Plein air",
"category_id": "29",
"price": 55,
"posted_at": "2026-10-29T15:27:56+01:00",
"city": "Rosheim",
"zipcode": "67560",
"department": "Bas-Rhin",
"region": "Alsace",
"latitude": 48.496,
"longitude": 7.468,
"seller_type": "private",
"shop_name": null,
"image": "https://img.leboncoin.fr/api/v1/lbcpb1/images/e0/bb/fd/e0bbfd4405a5e2c24a07ed026b029e2c73afe16c.jpg?rule=ad-image",
"image_count": 9,
"shippable": false,
"attributes": [
{
"key": "condition",
"name": "État",
"value": "Bon état"
},
{
"key": "sports_hobbies_universe",
"name": "Univers",
"value": "Sports d’aventure et plein air"
}
],
"fetched_at": "2026-11-19T18:10:59.750669Z",
"position": 3,
"promoted": false
}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: 5 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élosorVoitures. 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 nullprivatefor a private person,profor a business.shop_namestring or null- The business's name, for a
proseller. 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.
positioninteger- The listing's place on the page, from 1.
promotedboolean- True for a listing the page shows as promoted ("à la une"), which can be outside the search's category.
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 page of results, across France: 35 listings. A place or a category cannot be chosen.
- Promoted listings are returned where the page shows them, marked as promoted.
- A search nothing matches ends as ok, with no records.
The bounds its schema sets
page- 1 to 10; 1 unless you say otherwise
Questions
What does Leboncoin search return?
The listings on a page of the results: title, price, category, place, date, details, photo, and whether the seller is a business. A record has 22 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?
Words to search for, and a page. The input query is required. Optional: page.
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.
How much does one run return?
Its schema sets these bounds: page 1 to 10 (1 unless you say otherwise). A run may take up to 5 minutes.
What does it not do?
One run reads one page of results, across France: 35 listings. A place or a category cannot be chosen. Promoted listings are returned where the page shows them, marked as promoted. A search nothing matches ends as ok, with no records.
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.search 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 listing
leboncoin.listingA listing's id, or the address of its page. The listing: title, price, category, place, date, every detail, the full text, every photo, and the kind of seller.
- Industry
- Shopping and retail
- Where
- France
- For
- E-commerce
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.