POST
/v1/squids/{squid_hash}Update Settings
Configure scraper settings for Leboncoin Listings & Phone Search ExportConfigure your squid settings for the Leboncoin Listings & Phone Search Export scraper. This scraper extends the standard Leboncoin scraper with phone number extraction capabilities.
Headers
| Key | Value | Required |
|---|---|---|
| Authorization | Token YOUR_API_KEY | Yes |
| Content-Type | application/json | Yes |
Phone Extraction Parameter
functions.phone
Type:
boolean
Default:
false
Description:
Extract phone numbers from listings (incurs extra credits per listing)
Scraper Parameters
max_date
Type:
string (ISO) | null
Default:
null
Description:
Stop crawling once a listing older than this date is found
hours_back
Type:
integer | null
Default:
null
Description:
Collect only listings posted in the last X hours
max_pages
Type:
integer
Default:
null
Description:
Maximum number of result pages to crawl
max_results
Type:
integer
Default:
null
Description:
Total number of listings to collect before stopping
online_shop
Type:
boolean
Default:
false
Description:
Extract seller's shop URL (incurs extra requests/credits)
Squid Settings
name
Type:
string
Description:
Display name for your squid configuration
concurrency
Type:
integer
Description:
Number of parallel scraping workers (default: 1)
export_unique_results
Type:
boolean
Description:
Export only unique results (deduplicated)
to_complete
Type:
boolean
Description:
Run until all tasks complete
no_line_breaks
Type:
boolean
Description:
Remove line breaks from results
Warning
Enabling `functions.phone` adds extra requests per listing, significantly increasing run time and credit usage.
Pro Tip
Only enable phone extraction when phone numbers are actually required for your use case.
Note
Phone numbers are only available when the seller has enabled phone contact on their listing.