city, zipcode, region_id, or department_id search parameters.
Query Parameters
Response
Example Response
Each location-search request costs 3 credits. Failed requests are not charged.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Autocomplete a Leboncoin location by name, resolving it to region, department, and coordinates.
city, zipcode, region_id, or department_id search parameters.
Show LocationSuggestion object
{
"query": "Lyon",
"suggestions": [
{
"label": "Lyon (69000)",
"city": "Lyon",
"zipcode": "69000",
"region_id": "20",
"region_name": "Auvergne-Rhône-Alpes",
"department_id": "69",
"department_name": "Rhône",
"lat": 45.7578,
"lng": 4.832,
"type": "city"
},
{
"label": "Rhône (69)",
"region_id": "20",
"region_name": "Auvergne-Rhône-Alpes",
"department_id": "69",
"department_name": "Rhône",
"type": "department"
}
]
}
