Add Tasks
Add LaCentrale search URLs to scrape vehicle listings using the lobstr.io API
https://api.lobstr.io/v2/squid/{squid_id}/taskAdd LaCentrale search or listing URLs as tasks to your squid. The scraper will extract all vehicle listings matching your search criteria from the French automotive marketplace.
665c260fd9139121a4530d23b35b26dbHeaders
AuthorizationstringheaderrequiredYour API authentication token. Value: Token YOUR_API_KEY
Content-TypestringheaderrequiredRequest body format. Value: application/json
URL Format
Use LaCentrale listing URLs with your desired search filters:
https://www.lacentrale.fr/listing?yearMin=2025
https://www.lacentrale.fr/listing?makesModelsCommercialNames=PEUGEOT
Build your search on lacentrale.fr with filters (make, model, year, price, etc.) and copy the URL.
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| url | string | Yes | LaCentrale search or category URL |
Apply filters on lacentrale.fr (make, model, year, price range, location) to target specific vehicle segments.
LaCentrale limits search results to 347 pages maximum per URL. Use multiple filtered searches for comprehensive coverage.
Use the fetch_since setting to only scrape recently added listings for monitoring new inventory.
Code Examples
curl -X POST "https://api.lobstr.io/api/v2/squid/YOUR_SQUID_ID/task" \ -H "Authorization: Token YOUR_API_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "url": "https://www.lacentrale.fr/listing?yearMin=2024&makesModelsCommercialNames=PEUGEOT" }'
Response
{ "id": "task_abc123def456", "status": "pending", "created_at": "2025-01-15T10:30:00Z", "url": "https://www.lacentrale.fr/listing?yearMin=2024&makesModelsCommercialNames=PEUGEOT" }