Skip to main content

Query Parameters

string
Search keywords. Matches against ad titles and descriptions.
string
Restrict results to a Leboncoin category id. Use /v1/leboncoin/categories to look up ids.
string
Restrict results to a French region (includes DOM-TOM overseas territories). Use /v1/leboncoin/regions to look up ids.
string
Restrict results to a French department. Use /v1/leboncoin/departments to look up ids.
string
Restrict results to a city name. Resolve names with /v1/leboncoin/locations/search.
string
Restrict results to a French postal code.
integer
Minimum price filter in euros.
integer
Maximum price filter in euros.
string
default:"all"
Filter by seller type.
string
default:"offer"
Filter by ad type.
string
default:"relevance"
Sort order for results.
integer
default:1
Page number for paginated results.
integer
default:35
Results per page. Maximum 100.

Response

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

Example Response

Each search request costs 5 credits. Failed requests are not charged.