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
- Working · 92.6% 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": {
"ads": [
{
"title": "DS DS 9 PureTech 225 EAT8 Performance Line +",
"price": "23 290 €",
"location": "Montpellier 34000"
}
]
},
"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 7 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-11
{
"ads": [
{
"category": "Voitures",
"image": "https://img.leboncoin.fr/api/v1/lbcpb1/images/05/b0/b7/05b0b7ba47df456c1effc597d4a54daf61bd9097.jpg?rule=ad-image",
"location": "Montpellier 34000",
"price": "23 290 €",
"title": "DS DS 9 PureTech 225 EAT8 Performance Line +",
"url": "https://www.leboncoin.fr/ad/voitures/3236659083"
},
{
"category": "Consoles",
"image": "https://img.leboncoin.fr/api/v1/lbcpb1/images/a5/92/07/a5920756847545ed9fe5e1ed8b75b0951e98985e.jpg?rule=ad-image",
"location": "Marlioz 74270",
"price": "280 €",
"title": "Console PS4 500 Go Call of Duty Modern Warfare II",
"url": "https://www.leboncoin.fr/ad/consoles/3301468349"
}
]
}
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,
)
for item in r.json()["result"]["ads"][:3]:
print(item["title"], item["price"], item["location"])
# Example output:
# DS DS 9 PureTech 225 EAT8 Performance... 23 290 € Montpellier 34000
# Console PS4 500 Go Call of Duty Moder... 280 € Marlioz 74270
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:
// DS DS 9 PureTech 225 EAT8 Performance... 23 290 € Montpellier 34000
// Console PS4 500 Go Call of Duty Moder... 280 € Marlioz 74270
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:
# DS DS 9 PureTech 225 EAT8 Performance... 23 290 € Montpellier 34000
# Console PS4 500 Go Call of Duty Moder... 280 € Marlioz 74270
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:
// DS DS 9 PureTech 225 EAT8 Performance... 23 290 € Montpellier 34000
// Console PS4 500 Go Call of Duty Moder... 280 € Marlioz 74270
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 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, 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 7 days. No card.