Examples
Get Results
Retrieve scraped data from Leboncoin Listing Status Checker
The v1 API, for batchesSquids, tasks and runs: many calls on a schedule, delivered where you work. For one call that answers in seconds, use the API v2.
GET
https://api.lobstr.io/v1/resultsRetrieve scraped data from your Leboncoin Listing Status Checker runs.
Headers
AuthorizationstringheaderrequiredYour API authentication token. Value: Token YOUR_API_KEY
Query Parameters
squidstringqueryrequiredHash of the squid to get results from
runstringqueryHash of a specific run (optional)
pageintegerqueryPage number (default: 1). Example: 1
Result Fields
Each result object contains the following fields:
urlstringLeboncoin listing URL that was checked. Example: https://www.leboncoin.fr/ad/voitures/3172676206
statusstringListing status: active or deactivated. Example: active
status_codeintegerHTTP status code returned by Leboncoin. Example: 200
Response
200
{ "total_results": 1, "limit": 50, "page": 1, "total_pages": 1, "result_from": 1, "result_to": 1, "data": [ { "id": 34245, "object": "result", "squid": "75db5660a5f61ec94803af91f45097b0", "run": "a0766aca18784d68c2067f409e6e733e", "url": "https://www.leboncoin.fr/ad/voitures/3172676206", "status": "active", "status_code": 200, "functions": null, "native_id": 34245 } ], "next": null, "previous": null }