leboncoin Similar Listings
curl --request POST \
--url https://api.neuralverge.ai/functions/v1/run-leboncoin-listings-similar \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"listing": "3188662248",
"max_items": 2
}
'import requests
url = "https://api.neuralverge.ai/functions/v1/run-leboncoin-listings-similar"
payload = {
"listing": "3188662248",
"max_items": 2
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({listing: '3188662248', max_items: 2})
};
fetch('https://api.neuralverge.ai/functions/v1/run-leboncoin-listings-similar', 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.neuralverge.ai/functions/v1/run-leboncoin-listings-similar",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'listing' => '3188662248',
'max_items' => 2
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.neuralverge.ai/functions/v1/run-leboncoin-listings-similar"
payload := strings.NewReader("{\n \"listing\": \"3188662248\",\n \"max_items\": 2\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.neuralverge.ai/functions/v1/run-leboncoin-listings-similar")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"listing\": \"3188662248\",\n \"max_items\": 2\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.neuralverge.ai/functions/v1/run-leboncoin-listings-similar")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"listing\": \"3188662248\",\n \"max_items\": 2\n}"
response = http.request(request)
puts response.read_body{
"session_id": "11111111-1111-1111-1111-111111111111",
"kind": "leboncoin_listings_similar",
"listing": "3188662248",
"max_items": 2,
"start_page": 1,
"human": "# leboncoin similar listings\n\n- **Listing:** 3188662248\n- **Max items:** 2\n- **Starting page:** 1\n- **Records returned:** 2\n- **Proxy traffic:** 13.5 KB",
"machine": {
"total_items": 2,
"items": [
{
"@type": "LeboncoinListing",
"id": "2998491796",
"url": "https://www.leboncoin.fr/ad/ordinateurs/2998491796",
"name": "MACBOOK AIR M2 2023/16Go/512Go/13P",
"description": "💻 MacBook air 13” M2 – 16Go RAM / 512Go SSD\n\nChez Mac Store et Cie, nous sommes spécialisés depuis plus de 6 ans dans les produits Apple d’occasion haut de gamme. Tous nos appareils sont en excellent",
"price": 890,
"currency": "EUR",
"category_id": "15",
"category": "Ordinateurs",
"ad_type": "offer",
"status": "active",
"created_at": 1789678151,
"updated_at": 1789678151,
"expires_at": 1794862151,
"image": "https://img.leboncoin.fr/api/v1/lbcpb1/images/d7/7e/55/d77e55e5799bd3a5b53fa66045d0ac15796d33be.jpg?rule=ad-image",
"images": [
"https://img.leboncoin.fr/api/v1/lbcpb1/images/d7/7e/55/d77e55e5799bd3a5b53fa66045d0ac15796d33be.jpg?rule=ad-image",
"https://img.leboncoin.fr/api/v1/lbcpb1/images/57/b7/81/57b7811f55b03d3d6f94c1ad39cd76798e1a88a1.jpg?rule=ad-image"
],
"image_count": 5,
"attributes": {
"État": "Très bon état",
"Type": "Portable",
"Marque": "Apple",
"Taille d'écran": "12 à 14” (33cm à 37cm)",
"Usage": "Polyvalent",
"Durée de disponibilité des pièces détachées": "10 ans"
},
"region": "Ile-de-France",
"department": "Paris",
"city": "Paris",
"zipcode": "75011",
"lat": 48.85763,
"lng": 2.38005,
"is_urgent": false,
"is_boosted": false,
"has_phone": true,
"favorite_count": null,
"seller": {
"@type": "LeboncoinListingSeller",
"id": "44206412",
"user_id": "d2bbd79d-7712-4b18-8582-1a9c62fc9673",
"name": "Mac store & cie",
"is_pro": true,
"siren": "890529845",
"activity_sector_id": "3"
}
},
{
"@type": "LeboncoinListing",
"id": "3158878140",
"url": "https://www.leboncoin.fr/ad/ordinateurs/3158878140",
"name": "MACBOOK AIR M1 2020 /8Go/256Go SSD /13P",
"description": "💻 MacBook air 13” M1– 8Go RAM / 256Go SSD 13 pouce\nChez Mac Store et Cie, nous sommes spécialisés depuis plus de 6 ans dans les produits Apple d’occasion haut de gamme.\n\n✨ Caractéristiques\n• Processeu",
"price": 499,
"currency": "EUR",
"category_id": "15",
"category": "Ordinateurs",
"ad_type": "offer",
"status": "active",
"created_at": 1789677958,
"updated_at": 1789677958,
"expires_at": 1794861958,
"image": "https://img.leboncoin.fr/api/v1/lbcpb1/images/9f/58/01/9f58019bb0489d0f2919a53f3833d99bee9d56fb.jpg?rule=ad-image",
"images": [
"https://img.leboncoin.fr/api/v1/lbcpb1/images/9f/58/01/9f58019bb0489d0f2919a53f3833d99bee9d56fb.jpg?rule=ad-image",
"https://img.leboncoin.fr/api/v1/lbcpb1/images/5c/b4/38/5cb438d0315edca0b63a01de79fdc45e6fdabb04.jpg?rule=ad-image"
],
"image_count": 5,
"attributes": {
"État": "État neuf",
"Type": "Portable",
"Marque": "Apple",
"Taille d'écran": "12 à 14” (33cm à 37cm)",
"Usage": "Polyvalent",
"Durée de disponibilité des pièces détachées": "10 ans"
},
"region": "Ile-de-France",
"department": "Paris",
"city": "Paris",
"zipcode": "75011",
"lat": 48.86005,
"lng": 2.37601,
"is_urgent": false,
"is_boosted": false,
"has_phone": true,
"favorite_count": null,
"seller": {
"@type": "LeboncoinListingSeller",
"id": "44206412",
"user_id": "d2bbd79d-7712-4b18-8582-1a9c62fc9673",
"name": "Mac store & cie",
"is_pro": true,
"siren": "890529845",
"activity_sector_id": "3"
}
}
],
"response_bytes": 13838
},
"total_points": 2
}E-commerce & Marketplaces
leboncoin Similar Listings
Get the ‘annonces similaires’ recommended for a leboncoin ad (by ID or URL): title, price, attributes, images, location and seller. 1 point per returned record.
POST
/
functions
/
v1
/
run-leboncoin-listings-similar
leboncoin Similar Listings
curl --request POST \
--url https://api.neuralverge.ai/functions/v1/run-leboncoin-listings-similar \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"listing": "3188662248",
"max_items": 2
}
'import requests
url = "https://api.neuralverge.ai/functions/v1/run-leboncoin-listings-similar"
payload = {
"listing": "3188662248",
"max_items": 2
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({listing: '3188662248', max_items: 2})
};
fetch('https://api.neuralverge.ai/functions/v1/run-leboncoin-listings-similar', 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.neuralverge.ai/functions/v1/run-leboncoin-listings-similar",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'listing' => '3188662248',
'max_items' => 2
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.neuralverge.ai/functions/v1/run-leboncoin-listings-similar"
payload := strings.NewReader("{\n \"listing\": \"3188662248\",\n \"max_items\": 2\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.neuralverge.ai/functions/v1/run-leboncoin-listings-similar")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"listing\": \"3188662248\",\n \"max_items\": 2\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.neuralverge.ai/functions/v1/run-leboncoin-listings-similar")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"listing\": \"3188662248\",\n \"max_items\": 2\n}"
response = http.request(request)
puts response.read_body{
"session_id": "11111111-1111-1111-1111-111111111111",
"kind": "leboncoin_listings_similar",
"listing": "3188662248",
"max_items": 2,
"start_page": 1,
"human": "# leboncoin similar listings\n\n- **Listing:** 3188662248\n- **Max items:** 2\n- **Starting page:** 1\n- **Records returned:** 2\n- **Proxy traffic:** 13.5 KB",
"machine": {
"total_items": 2,
"items": [
{
"@type": "LeboncoinListing",
"id": "2998491796",
"url": "https://www.leboncoin.fr/ad/ordinateurs/2998491796",
"name": "MACBOOK AIR M2 2023/16Go/512Go/13P",
"description": "💻 MacBook air 13” M2 – 16Go RAM / 512Go SSD\n\nChez Mac Store et Cie, nous sommes spécialisés depuis plus de 6 ans dans les produits Apple d’occasion haut de gamme. Tous nos appareils sont en excellent",
"price": 890,
"currency": "EUR",
"category_id": "15",
"category": "Ordinateurs",
"ad_type": "offer",
"status": "active",
"created_at": 1789678151,
"updated_at": 1789678151,
"expires_at": 1794862151,
"image": "https://img.leboncoin.fr/api/v1/lbcpb1/images/d7/7e/55/d77e55e5799bd3a5b53fa66045d0ac15796d33be.jpg?rule=ad-image",
"images": [
"https://img.leboncoin.fr/api/v1/lbcpb1/images/d7/7e/55/d77e55e5799bd3a5b53fa66045d0ac15796d33be.jpg?rule=ad-image",
"https://img.leboncoin.fr/api/v1/lbcpb1/images/57/b7/81/57b7811f55b03d3d6f94c1ad39cd76798e1a88a1.jpg?rule=ad-image"
],
"image_count": 5,
"attributes": {
"État": "Très bon état",
"Type": "Portable",
"Marque": "Apple",
"Taille d'écran": "12 à 14” (33cm à 37cm)",
"Usage": "Polyvalent",
"Durée de disponibilité des pièces détachées": "10 ans"
},
"region": "Ile-de-France",
"department": "Paris",
"city": "Paris",
"zipcode": "75011",
"lat": 48.85763,
"lng": 2.38005,
"is_urgent": false,
"is_boosted": false,
"has_phone": true,
"favorite_count": null,
"seller": {
"@type": "LeboncoinListingSeller",
"id": "44206412",
"user_id": "d2bbd79d-7712-4b18-8582-1a9c62fc9673",
"name": "Mac store & cie",
"is_pro": true,
"siren": "890529845",
"activity_sector_id": "3"
}
},
{
"@type": "LeboncoinListing",
"id": "3158878140",
"url": "https://www.leboncoin.fr/ad/ordinateurs/3158878140",
"name": "MACBOOK AIR M1 2020 /8Go/256Go SSD /13P",
"description": "💻 MacBook air 13” M1– 8Go RAM / 256Go SSD 13 pouce\nChez Mac Store et Cie, nous sommes spécialisés depuis plus de 6 ans dans les produits Apple d’occasion haut de gamme.\n\n✨ Caractéristiques\n• Processeu",
"price": 499,
"currency": "EUR",
"category_id": "15",
"category": "Ordinateurs",
"ad_type": "offer",
"status": "active",
"created_at": 1789677958,
"updated_at": 1789677958,
"expires_at": 1794861958,
"image": "https://img.leboncoin.fr/api/v1/lbcpb1/images/9f/58/01/9f58019bb0489d0f2919a53f3833d99bee9d56fb.jpg?rule=ad-image",
"images": [
"https://img.leboncoin.fr/api/v1/lbcpb1/images/9f/58/01/9f58019bb0489d0f2919a53f3833d99bee9d56fb.jpg?rule=ad-image",
"https://img.leboncoin.fr/api/v1/lbcpb1/images/5c/b4/38/5cb438d0315edca0b63a01de79fdc45e6fdabb04.jpg?rule=ad-image"
],
"image_count": 5,
"attributes": {
"État": "État neuf",
"Type": "Portable",
"Marque": "Apple",
"Taille d'écran": "12 à 14” (33cm à 37cm)",
"Usage": "Polyvalent",
"Durée de disponibilité des pièces détachées": "10 ans"
},
"region": "Ile-de-France",
"department": "Paris",
"city": "Paris",
"zipcode": "75011",
"lat": 48.86005,
"lng": 2.37601,
"is_urgent": false,
"is_boosted": false,
"has_phone": true,
"favorite_count": null,
"seller": {
"@type": "LeboncoinListingSeller",
"id": "44206412",
"user_id": "d2bbd79d-7712-4b18-8582-1a9c62fc9673",
"name": "Mac store & cie",
"is_pro": true,
"siren": "890529845",
"activity_sector_id": "3"
}
}
],
"response_bytes": 13838
},
"total_points": 2
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Response
Run completed.
Session identifier for this run.
Data source identifier for this endpoint.
Markdown summary of the result, for display.
Structured result payload.
Show child attributes
Show child attributes
Points charged for this run.