Add Tasks
Leboncoin Listings & Phone Search Export
Add Tasks
Add Leboncoin search URLs to scrape listings with phone numbers
POST
Add Tasks
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
Your API authentication token. Value:
Token YOUR_API_KEYRequest body format. Value:
application/jsonRequest Body
| Field | Type | Required | Description |
|---|---|---|---|
| squid | string | Yes | Hash of your squid configured with the Leboncoin Listings & Phone Search Export crawler |
| tasks | array | Yes | Array of task objects, each containing a url field |
Task Object
| Field | Type | Required | Description |
|---|---|---|---|
| url | string | Yes | Leboncoin search URL (e.g., https://www.leboncoin.fr/annonces/offres/provence_alpes_cote_d_azur/) |
Phone extraction requires enabling
functions.get_phone_numbers in the settings and incurs extra credits.Code Examples
Response
200