App Logo
leboncoin.fr

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.

Input

url required

Full Leboncoin ad URL, e.g. 'https://www.leboncoin.fr/ad/voitures/1234567890' (as returned by the search script's ads[].url).

Output

id required
url required
title required
images required
attributes required
lat optional
lng optional
city optional
zipcode optional
currency optional
has_phone optional
price_eur optional
category_id optional
description optional
image_count optional
region_name optional
seller_name optional
seller_type optional
published_at optional
category_name optional
department_name optional
favorites_count optional
seller_profile_url optional

Start building not clicking