All sites
Data API
Leboncoin Data API
Classifieds listings and search from Leboncoin.
10endpointsDataDome · Rate Limit handled for you
Leboncoin Data API overview
Extract classifieds listings, search and sellers from Leboncoin as structured JSON. Choose an endpoint below, check its parameters, and run it in the dashboard playground.
/v1/leboncoin/… Open playgroundKey Features
Structured JSON
Clean, normalized records for classifieds listings, search and sellers. No HTML parsing on your side.
10 endpoints
Across 3 categories, all under one base path.
Anti-bot handled
DataDome, Rate Limit cleared for you behind the scenes.
Fresh or cached
Serve instantly from the warm store, or force a live scrape per request.
Regions & Languages
Global coverage. Results are returned for the default locale.
Pagination
Page through results with page.
Quick Start
Use your dedicated Data API key. Follow this endpoint's method and parameters.
# Install: pip install requests
import json
import os
import requests
params = json.loads("{\"text\":\"voiture\",\"page\":\"1\",\"category\":\"Ameublement\"}")
response = requests.request(
"GET", "https://api.capzy.ai/v1/leboncoin/search",
headers={"X-API-Key": os.environ["CAPZY_DATA_API_KEY"]},
params=params,
timeout=120,
)
response.raise_for_status()
print(response.json())Per-run pricing
failed requests are free| Endpoint | Category | Price / 1k results |
|---|---|---|
/v1/data/leboncoin/ads/{list_id}Get Ad | Ads | 1 credit / run |
/v1/data/leboncoin/ads/{list_id}/similarComing soonSimilar Ads | Ads | 1 credit / run |
/v1/data/leboncoin/searchSearch Ads | Ads | 1 credit / run |
/v1/data/leboncoin/categoriesList Categories | Reference | 1 credit / run |
/v1/data/leboncoin/departmentsList Departments | Reference | 1 credit / run |
/v1/data/leboncoin/locations/searchComing soonLocations Search | Reference | 1 credit / run |
/v1/data/leboncoin/marketsList Markets | Reference | 1 credit / run |
/v1/data/leboncoin/regionsList Regions | Reference | 1 credit / run |
/v1/data/leboncoin/sellers/{user_id}Get Seller | Sellers | 1 credit / run |
/v1/data/leboncoin/sellers/{user_id}/listingsComing soonSeller Listings | Sellers | 1 credit / run |