Leboncoin scraper API: search results as JSON
Send any Leboncoin page URL with recipe=leboncoin and get title, price, location and 3 more fields as JSON. No selectors to write, no proxies to pick.
- 1 page type
- 6 fields
- 25 credits a page · $2.49 per 1,000
- Working · 96.2% in 7 days
5,000 free credits for 7 days, no card.
curl -G 'https://api.ujeebu.com/scrape' \
-H "ApiKey: $UJEEBU_API_KEY" \
--data-urlencode 'url=https://www.leboncoin.fr/recherche?text=console' \
--data-urlencode 'recipe=leboncoin'
{
"result": {
"title": "RENAULT Captur TCe 90 Evolution",
"price": "15 300 €",
"location": "Perpignan 66000",
"category": "Voitures"
},
"success": true
}
What you get from Leboncoin
The fields of each page type and a real sample from our last validation, shortened.
Search and listing pages recipe=leboncoin 25 credits a page
| Field | Type | Example |
|---|---|---|
ads | list of 3+ items | |
ads[].category | text | Voitures |
ads[].image | image URL | https://img.leboncoin.fr/api/v1/lbcpb1/images/25/2e/e6/252ee66193b1... |
ads[].location | text | Perpignan 66000 |
ads[].price | text | 15 300 € |
ads[].title | text | RENAULT Captur TCe 90 Evolution |
ads[].url | URL | https://www.leboncoin.fr/ad/voitures/3160754092 |
Sample answer, validated 2026-11-04
{
"ads": [
{
"category": "Voitures",
"image": "https://img.leboncoin.fr/api/v1/lbcpb1/images/25/2e/e6/252ee66193b1da5c93cc55bde17cb07f80a868bf.jpg?rule=ad-image",
"location": "Perpignan 66000",
"price": "15 300 €",
"title": "RENAULT Captur TCe 90 Evolution",
"url": "https://www.leboncoin.fr/ad/voitures/3160754092"
},
{
"category": "Voitures",
"image": "https://img.leboncoin.fr/api/v1/lbcpb1/images/3b/5d/3b/3b5d3b558eb523de6a545abb3fd856cf7eb8e5e3.jpg?rule=ad-image",
"location": "Sauvagnat-Sainte-Marthe 63500",
"price": "15 700 €",
"title": "Ford Focus 1.0 Flexifuel 125 SetS mHEV Titanium X Business",
"url": "https://www.leboncoin.fr/ad/voitures/3276600089"
}
]
}
One call
Send the page URL and the recipe name to the Scrape API. The recipe brings the extract rules and the settings that work on Leboncoin (JavaScript rendering and the premium proxy (FR)).
curl -G 'https://api.ujeebu.com/scrape' \
-H "ApiKey: $UJEEBU_API_KEY" \
--data-urlencode 'url=https://www.leboncoin.fr/recherche?text=console' \
--data-urlencode 'recipe=leboncoin'
import os, requests
r = requests.get(
"https://api.ujeebu.com/scrape",
params={"url": "https://www.leboncoin.fr/recherche?text=console", "recipe": "leboncoin"},
headers={"ApiKey": os.environ["UJEEBU_API_KEY"]},
timeout=120,
)
print(r.json()["result"])
const params = new URLSearchParams({
url: "https://www.leboncoin.fr/recherche?text=console",
recipe: "leboncoin",
});
const res = await fetch(`https://api.ujeebu.com/scrape?${params}`, {
headers: { ApiKey: process.env.UJEEBU_API_KEY },
});
console.log((await res.json()).result);
The answer is {"result": {...}} with the headers Ujb-Recipe and Ujb-Credits. Your own parameters always win over the recipe.
Search Leboncoin with parameters
Fill in the parameters and we build the Leboncoin search URL. The Playground and the Request builder do it for you.
| Parameter | Type | Values |
|---|---|---|
query required | string | Search words (French site). |
page | int | 1 to 20 |
Works today: the built URL with recipe=leboncoin/listing (query=console)
GET https://api.ujeebu.com/scrape?url=https%3A%2F%2Fwww.leboncoin.fr%2Frecherche%3Ftext%3Dconsole&recipe=leboncoin%2Flisting
A single call with the parameters and no URL is coming to the API; it is not live yet. Search with parameters in the docs
What people build with Leboncoin data
Price research
See what similar items sell for, by condition and location.
Learn moreNew ads alerts
Catch new ads for the searches you care about shortly after they appear.
Price
Same price as the page call, no fee for the recipe. Only successful responses are billed; blocked, timed-out and failed requests are free.
| Page type | Credits a page | Per 1,000, Starter | Per 1,000, Pro |
|---|---|---|---|
| Search results | 25 | $4.08 | $2.49 |
FAQ
What does the Leboncoin recipe return?
JSON with 6 fields from search results (recipe=leboncoin), for example title, price, location, category, image. The answer is {"result": {...}} with the fields shown on this page.
How much does it cost to scrape Leboncoin?
25 credits a page ($2.49 per 1,000 on Pro, $4.08 on Starter). Same price as the page call, no fee for the recipe. Only successful responses are billed; blocked, timed-out and failed requests are free.
Do I need proxies or a headless browser?
No. The recipe brings the settings that work on Leboncoin: JavaScript rendering and the premium proxy (FR). Send only the URL and recipe=leboncoin.
What happens when Leboncoin changes its pages?
We check Leboncoin every day and re-validate the recipe on real pages every week, then fix it when the site changes. Until a fix is live, the API answers 404 "the recipe has no working version" instead of empty data, and that call is free.
Can I search Leboncoin with parameters?
Yes. Fill in query, page: we build the Leboncoin search URL, and the call is that URL with recipe=leboncoin/listing. A single call with the parameters and no URL is coming to the API; it is not live yet.
Related recipes
CraigslistSearch results · 1 credits
VintedSearch results, Ad page · 5 credits
KleinanzeigenSearch results · 5 credits
GumtreeAd page · 25 credits- AvitoSearch results · 5 credits
- OLX BrazilSearch results, Ad page · 5 credits
Logos and names belong to their owners. Ujeebu is not affiliated with Leboncoin.
Get Leboncoin data as JSON today.
5,000 free credits for 7 days. No card.