leboncoin Listing
curl --request POST \
--url https://api.neuralverge.ai/functions/v1/run-leboncoin-listings \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"listing": "3188662248"
}
'import requests
url = "https://api.neuralverge.ai/functions/v1/run-leboncoin-listings"
payload = { "listing": "3188662248" }
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'})
};
fetch('https://api.neuralverge.ai/functions/v1/run-leboncoin-listings', 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",
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'
]),
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"
payload := strings.NewReader("{\n \"listing\": \"3188662248\"\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")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"listing\": \"3188662248\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.neuralverge.ai/functions/v1/run-leboncoin-listings")
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}"
response = http.request(request)
puts response.read_body{
"session_id": "11111111-1111-1111-1111-111111111111",
"kind": "leboncoin_listing",
"listing": "3188662248",
"human": "# leboncoin listing\n\n- **Listing:** 3188662248\n- **Proxy traffic:** 6.9 KB\n- **Title:** MACBOOK AIR 2022/M2/8Go/256Go SSD/15P\n- **Price:** EUR890\n- **Availability:** active\n- **Seller:** Mac store & cie",
"machine": {
"listing": {
"@type": "LeboncoinListing",
"id": "3188662248",
"url": "https://www.leboncoin.fr/ad/ordinateurs/3188662248",
"name": "MACBOOK AIR 2022/M2/8Go/256Go SSD/15P",
"description": "💻 MacBook air 15 pouce M2 – 8Go RAM / 256Go 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 excel",
"price": 890,
"currency": "EUR",
"category_id": "15",
"category": "Ordinateurs",
"ad_type": "offer",
"status": "active",
"created_at": 1789678369,
"updated_at": 1789678369,
"expires_at": 1794862369,
"image": "https://img.leboncoin.fr/api/v1/lbcpb1/images/d6/2a/db/d62adba0dfe55e51eae397e57e6113e506f510d8.jpg?rule=ad-image",
"images": [
"https://img.leboncoin.fr/api/v1/lbcpb1/images/d6/2a/db/d62adba0dfe55e51eae397e57e6113e506f510d8.jpg?rule=ad-image",
"https://img.leboncoin.fr/api/v1/lbcpb1/images/74/72/f5/7472f5bb4b90a8e997895c369de68b736e7994ca.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",
"Année de fabrication": "2023",
"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": 80,
"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": 7099
},
"total_points": 5
}E-commerce & Marketplaces
leboncoin Listing
Get a full leboncoin ad by ID (or listing URL): title, description, price (EUR), category, category attributes, images, location, publication and expiry dates, and seller. Flat 5 points per successful run.
POST
/
functions
/
v1
/
run-leboncoin-listings
leboncoin Listing
curl --request POST \
--url https://api.neuralverge.ai/functions/v1/run-leboncoin-listings \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"listing": "3188662248"
}
'import requests
url = "https://api.neuralverge.ai/functions/v1/run-leboncoin-listings"
payload = { "listing": "3188662248" }
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'})
};
fetch('https://api.neuralverge.ai/functions/v1/run-leboncoin-listings', 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",
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'
]),
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"
payload := strings.NewReader("{\n \"listing\": \"3188662248\"\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")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"listing\": \"3188662248\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.neuralverge.ai/functions/v1/run-leboncoin-listings")
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}"
response = http.request(request)
puts response.read_body{
"session_id": "11111111-1111-1111-1111-111111111111",
"kind": "leboncoin_listing",
"listing": "3188662248",
"human": "# leboncoin listing\n\n- **Listing:** 3188662248\n- **Proxy traffic:** 6.9 KB\n- **Title:** MACBOOK AIR 2022/M2/8Go/256Go SSD/15P\n- **Price:** EUR890\n- **Availability:** active\n- **Seller:** Mac store & cie",
"machine": {
"listing": {
"@type": "LeboncoinListing",
"id": "3188662248",
"url": "https://www.leboncoin.fr/ad/ordinateurs/3188662248",
"name": "MACBOOK AIR 2022/M2/8Go/256Go SSD/15P",
"description": "💻 MacBook air 15 pouce M2 – 8Go RAM / 256Go 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 excel",
"price": 890,
"currency": "EUR",
"category_id": "15",
"category": "Ordinateurs",
"ad_type": "offer",
"status": "active",
"created_at": 1789678369,
"updated_at": 1789678369,
"expires_at": 1794862369,
"image": "https://img.leboncoin.fr/api/v1/lbcpb1/images/d6/2a/db/d62adba0dfe55e51eae397e57e6113e506f510d8.jpg?rule=ad-image",
"images": [
"https://img.leboncoin.fr/api/v1/lbcpb1/images/d6/2a/db/d62adba0dfe55e51eae397e57e6113e506f510d8.jpg?rule=ad-image",
"https://img.leboncoin.fr/api/v1/lbcpb1/images/74/72/f5/7472f5bb4b90a8e997895c369de68b736e7994ca.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",
"Année de fabrication": "2023",
"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": 80,
"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": 7099
},
"total_points": 5
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Ad ID or listing URL. e.g. 3188662248
Response
Run completed.