POST
/v1/tasksAdd Tasks
Add Leboncoin search URLs to scrape listings with phone numbersAdd Leboncoin search result pages to scrape by providing search URLs. This scraper extracts all classified listings including phone numbers when available.
This scraper is identical to Leboncoin Listings Search Export but adds phone number extraction capabilities.
Headers
| Key | Value | Required |
|---|---|---|
| Authorization | Token YOUR_API_KEY | Yes |
| Content-Type | application/json | Yes |
Request Body
squid
Type:
string
Required:
Yes
Description:
Hash of your squid configured with the Leboncoin Listings & Phone Search Export crawler
tasks
Type:
array
Required:
Yes
Description:
Array of task objects, each containing a `url` field
Task Object
url
Type:
string
Required:
Yes
Description:
Leboncoin search URL (e.g., `https://www.leboncoin.fr/annonces/offres/provence_alpes_cote_d_azur/`)
Pro Tip
Apply filters on Leboncoin first, then copy the URL. All filter parameters will be preserved.
Note
Phone extraction requires enabling `functions.phone` in the settings and incurs extra credits.