Leboncoin API for search results
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
- Mostly working · 66.7% in 7 days
5,000 free credits for 21 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": {
"ads": [
{
"title": "RENAULT Rafale E-Tech full hybrid 200 ch Techno",
"price": "33 990 €",
"location": "Hérouville-Saint-Clair 14200 Centre-ville - H..."
}
]
},
"success": true
}
Is there an official Leboncoin API?
No official API
No. Leboncoin has no public API for listing data and no developer program.
Source: leboncoin.fr on leboncoin.fr, checked November 6, 2026.
How to get Leboncoin data as JSON today
- Get a free API key: 5,000 free credits for 21 days, no card.
- Send any Leboncoin page URL with
recipe=leboncointo the Scrape API (the call). - Get 6 fields as JSON, 25 credits a page, billed only when the call succeeds.
Ujeebu's Leboncoin recipe returns title, price, location and 3 more fields from any public Leboncoin page as JSON: send the URL with recipe=leboncoin to the Scrape API, 25 credits a page, no Leboncoin account or partner approval needed.
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-19
{
"ads": [
{
"category": "Voitures",
"image": "https://img.leboncoin.fr/api/v1/lbcpb1/images/56/f2/e8/56f2e84b21b13083536f682efa10a23ad24f9329.jpg?rule=ad-image",
"location": "Hérouville-Saint-Clair 14200 Centre-ville - Haute Folie - Grande Delle - Prestavoine",
"price": "33 990 €",
"title": "RENAULT Rafale E-Tech full hybrid 200 ch Techno",
"url": "https://www.leboncoin.fr/ad/voitures/3279293504"
},
{
"category": "Voitures",
"image": "https://img.leboncoin.fr/api/v1/lbcpb1/images/31/88/cf/3188cf0d60599549973713e995e5a6b583f087cd.jpg?rule=ad-image",
"location": "Noisy-le-Grand 93160 Bords de Marne - Varenne",
"price": "15 990 €",
"title": "LEXUS RX 450h 3.5 V6 Pack Président CVT",
"url": "https://www.leboncoin.fr/ad/voitures/3278417252"
}
]
}
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).
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,
)
for item in r.json()["result"]["ads"][:3]:
print(item["title"], item["price"], item["location"])
# Example output:
# RENAULT Rafale E-Tech full hybrid 200... 33 990 € Hérouville-Saint-Clair 14200 Centre-v...
# LEXUS RX 450h 3.5 V6 Pack Président CVT 15 990 € Noisy-le-Grand 93160 Bords de Marne -...
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 },
});
const { result } = await res.json();
for (const item of result.ads.slice(0, 3)) {
console.log(item.title, item.price, item.location);
}
// Example output:
// RENAULT Rafale E-Tech full hybrid 200... 33 990 € Hérouville-Saint-Clair 14200 Centre-v...
// LEXUS RX 450h 3.5 V6 Pack Président CVT 15 990 € Noisy-le-Grand 93160 Bords de Marne -...
The answer is {"result": {...}} with the headers Ujb-Recipe and Ujb-Credits. Your own parameters always win over the recipe.
Search Leboncoin with parameters
One call, no URL: send recipe=leboncoin/search with the parameters below. We build the Leboncoin search URL and answer the listing JSON, at the same credits as the page call.
| Parameter | Type | Values |
|---|---|---|
query required | string | Search words (French site). |
page | int | 1 to 20 |
One call (query=console)
curl -G 'https://api.ujeebu.com/scrape' \
-H 'ApiKey: YOUR_API_KEY' \
-d 'recipe=leboncoin/search' \
-d 'query=console'
import os, requests
r = requests.get(
"https://api.ujeebu.com/scrape",
params={"recipe": "leboncoin/search", "query": "console"},
headers={"ApiKey": os.environ["UJEEBU_API_KEY"]},
timeout=120,
)
for item in r.json()["result"]["ads"][:3]:
print(item["title"], item["price"], item["location"])
# Example output:
# RENAULT Rafale E-Tech full hybrid 200... 33 990 € Hérouville-Saint-Clair 14200 Centre-v...
# LEXUS RX 450h 3.5 V6 Pack Président CVT 15 990 € Noisy-le-Grand 93160 Bords de Marne -...
const params = new URLSearchParams({
recipe: "leboncoin/search",
query: "console",
});
const res = await fetch(`https://api.ujeebu.com/scrape?${params}`, {
headers: { ApiKey: process.env.UJEEBU_API_KEY },
});
const { result } = await res.json();
for (const item of result.ads.slice(0, 3)) {
console.log(item.title, item.price, item.location);
}
// Example output:
// RENAULT Rafale E-Tech full hybrid 200... 33 990 € Hérouville-Saint-Clair 14200 Centre-v...
// LEXUS RX 450h 3.5 V6 Pack Président CVT 15 990 € Noisy-le-Grand 93160 Bords de Marne -...
The answer carries the built URL in the Ujb-Url header; a missing or invalid parameter answers 400 naming it (free). Have the URL already? Send it with recipe=leboncoin/listing. 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
Is there a Leboncoin API?
No. Leboncoin has no public API for listing data and no developer program. Ujeebu's Leboncoin recipe returns title, price, location and 3 more fields from any public Leboncoin page as JSON: send the URL with recipe=leboncoin to the Scrape API, 25 credits a page, no Leboncoin account or partner approval needed.
Does Leboncoin have a public API?
No. Leboncoin has no public API for listing data and no developer program. The public pages are the way in: Ujeebu's Leboncoin recipe returns title, price, location and 3 more fields from any public Leboncoin page as JSON: send the URL with recipe=leboncoin to the Scrape API, 25 credits a page, no Leboncoin account or partner approval needed.
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. 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, in one call: send recipe=leboncoin/search with query, page and no URL. We build the Leboncoin search URL (returned in the Ujb-Url header), apply recipe=leboncoin/listing and answer its JSON, at the same credits as the page call. A missing or invalid parameter answers 400 naming it, and that call is free.
Related recipes
Facebook MarketplaceSearch results · 5 credits
VintedSearch results, Ad page · 5 credits
KleinanzeigenSearch results · 5 credits
GumtreeSearch results, Ad page · 25 credits
OLXSearch results · 25 credits- AvitoSearch results · 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 21 days. No card.