Get Results
curl --request GET \
--url https://api.lobstr.io/v1/results \
--header 'Authorization: <authorization>'import requests
url = "https://api.lobstr.io/v1/results"
headers = {"Authorization": "<authorization>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<authorization>'}};
fetch('https://api.lobstr.io/v1/results', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.lobstr.io/v1/results",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: <authorization>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.lobstr.io/v1/results"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<authorization>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.lobstr.io/v1/results")
.header("Authorization", "<authorization>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.lobstr.io/v1/results")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<authorization>'
response = http.request(request)
puts response.read_body{
"annonce_id": "<string>",
"title": "<string>",
"price": 123,
"url": "<string>",
"description": "<string>",
"has_phone": true,
"phone": "<string>",
"owner_type": "<string>",
"owner_name": "<string>",
"owner_id": "<string>",
"store_id": "<string>"
}Leboncoin Listing Scraper
Get Results
Retrieve scraped data from Leboncoin Listing Scraper
GET
/
v1
/
results
Get Results
curl --request GET \
--url https://api.lobstr.io/v1/results \
--header 'Authorization: <authorization>'import requests
url = "https://api.lobstr.io/v1/results"
headers = {"Authorization": "<authorization>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<authorization>'}};
fetch('https://api.lobstr.io/v1/results', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.lobstr.io/v1/results",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: <authorization>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.lobstr.io/v1/results"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<authorization>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.lobstr.io/v1/results")
.header("Authorization", "<authorization>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.lobstr.io/v1/results")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<authorization>'
response = http.request(request)
puts response.read_body{
"annonce_id": "<string>",
"title": "<string>",
"price": 123,
"url": "<string>",
"description": "<string>",
"has_phone": true,
"phone": "<string>",
"owner_type": "<string>",
"owner_name": "<string>",
"owner_id": "<string>",
"store_id": "<string>"
}Retrieve scraped data from your Leboncoin Listing Scraper runs.
Headers
string
required
Your API authentication token. Value:
Token YOUR_API_KEYQuery Parameters
string
required
Hash of the squid to get results from
string
Hash of a specific run (optional)
integer
Page number (default: 1). Example:
1Result Fields
Each result object contains the following fields:string
Unique identifier for the listing on Leboncoin. Example:
3062366535string
Title of the listing. Example:
Lot de 7 plats en inox de différentes taillesinteger
Listed price of the item. Example:
18string
Direct URL to the listing on Leboncoin. Example:
https://www.leboncoin.fr/ad/arts_de_la_table/3062366535text
Full description text of the listing. Example:
7 plats en inox,4 peuvent aller sur l'induction a feu doux,, Détails 3 légumiers ronds,22,23,28 cm diamètre. 1 plat rond 30 cm , 2 plats ovales34/23 cm, 1 grand ovale 41/28. Livraison uniquement par mondial Relay ou enlever sur Caen Vaucelle. Poids total 4 kg.boolean
Whether a phone number is available for this listing. Example:
falsetext
Phone number of the seller
string
Type of seller (private individual or professional). Example:
privatestring
Name of the seller. Example:
gonnestring
Unique identifier of the seller on Leboncoin. Example:
89fb67be-e718-4bf4-b217-a809002f48c7string
Store identifier for professional sellers. Example:
4616769Response
200
{
"total_results": 1,
"limit": 50,
"page": 1,
"total_pages": 1,
"result_from": 1,
"result_to": 1,
"data": [
{
"id": 44561,
"object": "result",
"squid": "ae2db44eb64ea4fcea841f9337c2e670",
"run": "98bb0ca6f9b831e7199d11e3d1208562",
"annonce_id": "3062366535",
"title": "Lot de 7 plats en inox de différentes tailles",
"price": 18,
"url": "https://www.leboncoin.fr/ad/arts_de_la_table/3062366535",
"description": "7 plats en inox,4 peuvent aller sur l'induction a feu doux,,\nDétails 3 légumiers ronds,22,23,28 cm diamètre.\n1 plat rond 30 cm , 2 plats ovales34/23 cm, 1 grand ovale 41/28. Livraison uniquement par mondial Relay ou enlever sur Caen Vaucelle.\nPoids total 4 kg.",
"has_phone": false,
"phone": null,
"owner_type": "private",
"owner_name": "gonne",
"owner_id": "89fb67be-e718-4bf4-b217-a809002f48c7",
"store_id": "4616769",
"functions": null,
"native_id": 44561
}
],
"next": null,
"previous": null
}