Skip to main content

Query Parameters

text
string
Search keywords. Matches against ad titles and descriptions.
category
string
Restrict results to a Leboncoin category id. Use /v1/leboncoin/categories to look up ids.
region_id
string
Restrict results to a French region (includes DOM-TOM overseas territories). Use /v1/leboncoin/regions to look up ids.
department_id
string
Restrict results to a French department. Use /v1/leboncoin/departments to look up ids.
city
string
Restrict results to a city name. Resolve names with /v1/leboncoin/locations/search.
zipcode
string
Restrict results to a French postal code.
price_min
integer
Minimum price filter in euros.
price_max
integer
Maximum price filter in euros.
owner_type
string
default:"all"
Filter by seller type.
ValueDescription
allAll sellers (default)
proProfessional sellers only
privatePrivate individuals only
ad_type
string
default:"offer"
Filter by ad type.
ValueDescription
offerItems offered for sale (default)
demandWanted / demand ads
sort
string
default:"relevance"
Sort order for results.
ValueDescription
relevanceBest match (default)
newestMost recently published first
oldestOldest first
price_lowCheapest first
price_highMost expensive first
page
integer
default:1
Page number for paginated results.
limit
integer
default:35
Results per page. Maximum 100.

Response

ads
array
Array of matching ads.
total
integer
Number of ads matching the current filters.
total_all
integer
Total ads matching the query across all seller types.
total_pro
integer
Total matching ads from professional sellers.
total_private
integer
Total matching ads from private sellers.
total_shippable
integer
Total matching ads eligible for shipping.
max_pages
integer
Maximum number of pages available for this query.
page
integer
The page that was returned.
limit
integer
The page size that was applied.
source
string
The upstream source the results were scraped from.

Example Response

{
  "ads": [
    {
      "list_id": 2845123456,
      "subject": "Vélo électrique VTC 500W - Excellent état",
      "body": "Vélo électrique acheté il y a 6 mois, très peu servi. Batterie 48V.",
      "brand": "Moustache",
      "ad_type": "offer",
      "url": "https://www.leboncoin.fr/velos/2845123456.htm",
      "status": "active",
      "category_id": "24",
      "category_name": "Vélos",
      "price": [890],
      "price_cents": 89000,
      "price_eur": 890.0,
      "currency": "EUR",
      "first_publication_date": "2026-06-18 09:42:11",
      "first_publication_at": "2026-06-18T09:42:11Z",
      "index_date": "2026-06-20 14:10:03",
      "index_at": "2026-06-20T14:10:03Z",
      "expiration_date": "2026-08-17 09:42:11",
      "expiration_at": "2026-08-17T09:42:11Z",
      "has_phone": true,
      "favorites": 12,
      "images": {
        "nb_images": 3,
        "urls": ["https://img.leboncoin.fr/api/v1/lbcpb1/images/ab/cd/abcd.jpg"],
        "urls_thumb": ["https://img.leboncoin.fr/api/v1/lbcpb1/images/ab/cd/abcd_thumb.jpg"],
        "urls_large": ["https://img.leboncoin.fr/api/v1/lbcpb1/images/ab/cd/abcd_large.jpg"]
      },
      "attributes": [
        { "key": "brand", "key_label": "Marque", "value": "moustache", "value_label": "Moustache", "generic": true }
      ],
      "location": {
        "country_id": "FR",
        "region_id": "22",
        "region_name": "Île-de-France",
        "department_id": "75",
        "department_name": "Paris",
        "city": "paris",
        "city_label": "Paris 11e",
        "zipcode": "75011",
        "lat": 48.8594,
        "lng": 2.3765,
        "is_shape": false
      },
      "owner": {
        "user_id": "b3f1c2a0-8d4e-4a1b-9c2d-1e2f3a4b5c6d",
        "type": "private",
        "name": "Julien",
        "no_salesmen": true
      }
    }
  ],
  "total": 1284,
  "total_all": 1284,
  "total_pro": 312,
  "total_private": 972,
  "total_shippable": 540,
  "max_pages": 37,
  "page": 1,
  "limit": 35,
  "source": "leboncoin.fr"
}
Each search request costs 5 credits. Failed requests are not charged.