Leboncoin login (Google SSO)
Log into Leboncoin with Continuer avec Google, handling the Google account chooser and consent screen, and land on your account page. Returns straight away if you are already signed in, and reports the Leboncoin account email. A captcha is named rather than attempted. Optionally pass which Google account to use. Needs a browser already signed in to Google and a Google account that already has a Leboncoin account.
Input
email optionalGoogle account to pick in the chooser. Omit to use the first account listed.
Output
url requiredalready requiredtrue when a session already existed and no sign-in was needed
loggedIn requiredaccount optionalLeboncoin account email
FAQ
Get Leboncoin ad
Fetch a single Leboncoin classified ad by its URL. Returns title, full description, price, seller info, location, favorites count, all images, and a generic list of the ad's own category-specific attributes (e.g. mileage/fuel for a car, rooms/surface for a real estate listing, condition/material for furniture) with their labels and values as leboncoin itself displays them. Works across every category since the attribute list is read generically rather than assuming a fixed schema per category.
Search Leboncoin ads
Search Leboncoin classifieds by keyword, location, category, price range and seller type, sorted by relevance, newest or price. Returns total, max_pages, count and one page of 35 ads (id, url, title, price, city, zipcode, category, seller type, publication and listing dates, thumbnail, photo count, and whether the ad is promoted). Leboncoin places promoted ads among the results whatever the sort. A search with no match returns an empty list; a page past the last one fails with the page count.
Search leboncoin jobs
Search leboncoin's job listings ("Offres d'emploi") by free-text keyword and optional city. Results include salary, contract type, sector, experience, study level and work time when the poster provided them; those fields are null otherwise, which is common for ads with no company attached. The location is matched against leboncoin's own city list, picking the closest whole-city match; an unrecognized city is refused. Pagination is 1-based, 35 results per page; a page beyond the last is refused rather than returned as an empty result. A keyword with no match returns an empty result, not an error.
