POST/v1/tasks

Add Tasks

Add Leboncoin search URLs to scrape listings with phone numbers

Add 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

KeyValueRequired
AuthorizationToken YOUR_API_KEYYes
Content-Typeapplication/jsonYes

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

Pro Tip

Apply filters on Leboncoin first, then copy the URL. All filter parameters will be preserved.
Note

Note

Phone extraction requires enabling `functions.phone` in the settings and incurs extra credits.