POST/v1/squids/{squid_hash}

Update Settings

Configure scraper settings for Leboncoin Listings Search Export

Configure your squid settings for the Leboncoin Listings Search Export scraper. Control pagination, time filters, and optional shop URL extraction.

Headers

KeyValueRequired
AuthorizationToken YOUR_API_KEYYes
Content-Typeapplication/jsonYes

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
Pro Tip

Pro Tip

Use `hours_back` to monitor new listings - set to `24` to only collect listings from the last day.
Warning

Warning

Enabling `online_shop` adds extra requests per listing and increases credit consumption.
Note

Note

If both `max_date` and `hours_back` are set, `hours_back` takes priority.