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 and/or location. Returns total, max_pages, count, and ads (each with id, url, title, price_eur, currency, city, zipcode, category_id, category_name, seller_type, published_at, thumb_url, image_count). Paging is capped at max_pages=100.
Search leboncoin jobs
Search leboncoin's "Offres d'emploi" (job listings) category by free-text keyword and optional free-text city location. Reads the search page's own richer underlying data rather than the visible cards, so results include salary, contract type, sector, experience, study level, and work time when the poster provided them (fields are null otherwise, which is common for private-seller ads with no company attached). Location text is matched against leboncoin's own city list, picking the closest whole-city match; an unrecognized location throws. Pagination is 1-based, 35 results per page. An unmatched keyword returns a clean empty result rather than an error. One known limitation: requesting a page beyond the search's real page count is detected and reported as an explicit out-of-range error, rather than the misleading empty result leboncoin's own site would otherwise show.
