Leboncoin professional seller

GET https://api.api.sh/leboncoin/v1/seller
1 credit / call e-commerce try it in the playground →

A professional seller's Leboncoin shop and its ads: shop id and name, user id, slogan, description, website, SIREN and SIRET, activity sector, active since, address, city, department, region and coordinates, opening hours, logo, cover and pictures, rating (value, count, source), reply time, last activity, badges, and one page of its ads (id, title, price, category, status, publication, update and expiry dates, location, description, images, attributes, link; raw per ad). Private sellers' profiles are not offered. Pass next_page back as page (null on the last page).

Every response includes credits_used: the credits this call cost.

Parameters

nametypedescription
url string The shop page (https://www.leboncoin.fr/boutique/<id>) or the seller's profile page (https://www.leboncoin.fr/profil/<user id>). Example: https://www.leboncoin.fr/boutique/41172
id string The shop id, instead of url.
user_id string The seller's user id (owner_id of an ad from /leboncoin/v1/search), instead of url.
page integer Page of the seller's ads (default 1).
limit integer Ads per page, 1 to 35 (default 10).
sort newest | oldest | price_asc | price_desc Order of the ads (default: the shop's own order).

Every endpoint also takes fresh, raw, fields (see lean responses and caching).

Example

curl "https://api.api.sh/leboncoin/v1/seller?url=https%3A%2F%2Fwww.leboncoin.fr%2Fboutique%2F41172" \
  -H "x-api-key: $APISH_KEY"

Response

A JSON object with the fields described above, plus raw (the source's own data), cached, fetched_at and credits_used. Errors return {"success": false, "error": "…"} with the HTTP status (see errors). A lookup that ran but found nothing (404) costs the price above; refused calls and errors on our side are free (what's charged).

The fastest way to see the full response is the playground: it runs this endpoint with your account and shows the exact JSON.