Leboncoin Scraper avatar
Leboncoin Scraper

Deprecated

Pricing

$30.00/month + usage

Go to Store
Leboncoin Scraper

Leboncoin Scraper

Deprecated

Developed by

Victor McDowell

Maintained by Community

Extremely fast Scraper that Extracts ads from leboncoin.fr

0.0 (0)

Pricing

$30.00/month + usage

1

Monthly users

1

Last modified

3 years ago

A quick scraper that extracts ads from the Leboncoin website. The extracted data can be exported to various formats such as XLSX, JSON or CSV for ease of evaluation.

Requirements

Due to security features implemented by the website, RESIDENTIAL Proxies are required in order to run the scraper.

Resource Consumption

One run on Apify platform will use approximately 0.01 CU to get 500 results. On average, the actor is extremely fast. Extracting 500 results in about 27 seconds. To extract about 1,000 results the platform usage costs about $0.02

image

Input instructions

  • Fill in a category and location (By Region or By Department)
  • Set up the maximum number of results to be returned.
  • Improve the accuracy of the results by issuing Search Keywords.

Sample API input

1{
2	"searchTerms": "ordinateur",
3	"department": "bas_rhin",
4	"region": "alsace",
5	"category": "",
6	"maxResults": 165
7}

Sample Input on the Apify platform

image

  • Alternatively, preconfigured search links can be used to perform ad search

Preconfigured urls as API input

1{
2	"startUrls": [
3		{
4			"url": "https://www.leboncoin.fr/recherche?category=2&text=renault&locations=Paris_75015__48.84105_2.29926_2747_20000&owner_type=all&urgent=1"
5		}
6	]
7}

Preconfigured urls on Apify platform

image

Sample Output

The processed query returns JSON objects that are accessible as CSV, JSON or Excel.

1{
2	"list_id": 2219268154,
3	"first_publication_date": "2022-09-10 20:21:41",
4	"index_date": "2022-09-10 20:21:41",
5	"status": "active",
6	"category_id": "15",
7	"category_name": "Informatique",
8	"subject": "Ordinateur fixe très performant Threadripper Ryzen",
9	"body": "Bonjour,\n\nJe vends mon PC fixe pour cause de déménagement. Il est en très bon état. Possibilité de livraison mondial relay.\n\nVoici la configuration :\n\nCarte mère: MSI X399 SLI Plus AMD X399 ATX\nProcesseur: AMD Ryzen Threadripper 1920X 3,50GHz 12 coeurs/24 threads\nRadiateur: Noctua NH-U14S TR4-SP3\nMémoire : 48Go (6x8Go) Corsair Vengeance LPX  DDR4 3000MHz C15 \nCarte graphique: Zotac GeForce GTX 1050 Ti 4 Go Noir\nDisque dur SSD : Sandisk SSD Plus 240GB SDSSDA-240G\nBoitier : Fractal Design Define R6 Black",
10	"ad_type": "offer",
11	"url": "https://www.leboncoin.fr/informatique/2219268154.htm",
12	"price": [975],
13	"price_cents": 97500,
14	"images": {
15		"thumb_url": "https://img.leboncoin.fr/api/v1/lbcpb1/images/1e/fa/6a/1efa6ab2435dc4037e6ee721786995bc217314ed.jpg?rule=ad-thumb",
16		"small_url": "https://img.leboncoin.fr/api/v1/lbcpb1/images/1e/fa/6a/1efa6ab2435dc4037e6ee721786995bc217314ed.jpg?rule=ad-small",
17		"nb_images": 9,
18		"urls": [
19			"https://img.leboncoin.fr/api/v1/lbcpb1/images/1e/fa/6a/1efa6ab2435dc4037e6ee721786995bc217314ed.jpg?rule=ad-image",
20			"https://img.leboncoin.fr/api/v1/lbcpb1/images/6f/de/ed/6fdeed6a5ace5a2e24fbcc881bbc20da1b82498c.jpg?rule=ad-image",
21			"https://img.leboncoin.fr/api/v1/lbcpb1/images/b2/71/d4/b271d4865aa43fd5310704855cb322bcf8e417ad.jpg?rule=ad-image",
22			"https://img.leboncoin.fr/api/v1/lbcpb1/images/ac/1a/e9/ac1ae95b312f483dc359c50c3b020ca511cafb17.jpg?rule=ad-image",
23			"https://img.leboncoin.fr/api/v1/lbcpb1/images/77/d4/4f/77d44f2b56599834c9864bb8f75fb101cb95974d.jpg?rule=ad-image",
24			"https://img.leboncoin.fr/api/v1/lbcpb1/images/8b/e0/35/8be035ee4e4d44bda945281251171b784536ed0f.jpg?rule=ad-image",
25			"https://img.leboncoin.fr/api/v1/lbcpb1/images/f7/88/f0/f788f06c7c0e35055e7d7f0f38afe2ac35b07637.jpg?rule=ad-image",
26			"https://img.leboncoin.fr/api/v1/lbcpb1/images/2f/97/e2/2f97e27243d711de8946eeebbce9dc1446a960ac.jpg?rule=ad-image",
27			"https://img.leboncoin.fr/api/v1/lbcpb1/images/e8/02/13/e80213955431736b0a3affb0ae152730c2c99f86.jpg?rule=ad-image"
28		],
29		"urls_thumb": [
30			"https://img.leboncoin.fr/api/v1/lbcpb1/images/1e/fa/6a/1efa6ab2435dc4037e6ee721786995bc217314ed.jpg?rule=ad-thumb",
31			"https://img.leboncoin.fr/api/v1/lbcpb1/images/6f/de/ed/6fdeed6a5ace5a2e24fbcc881bbc20da1b82498c.jpg?rule=ad-thumb",
32			"https://img.leboncoin.fr/api/v1/lbcpb1/images/b2/71/d4/b271d4865aa43fd5310704855cb322bcf8e417ad.jpg?rule=ad-thumb",
33			"https://img.leboncoin.fr/api/v1/lbcpb1/images/ac/1a/e9/ac1ae95b312f483dc359c50c3b020ca511cafb17.jpg?rule=ad-thumb",
34			"https://img.leboncoin.fr/api/v1/lbcpb1/images/77/d4/4f/77d44f2b56599834c9864bb8f75fb101cb95974d.jpg?rule=ad-thumb",
35			"https://img.leboncoin.fr/api/v1/lbcpb1/images/8b/e0/35/8be035ee4e4d44bda945281251171b784536ed0f.jpg?rule=ad-thumb",
36			"https://img.leboncoin.fr/api/v1/lbcpb1/images/f7/88/f0/f788f06c7c0e35055e7d7f0f38afe2ac35b07637.jpg?rule=ad-thumb",
37			"https://img.leboncoin.fr/api/v1/lbcpb1/images/2f/97/e2/2f97e27243d711de8946eeebbce9dc1446a960ac.jpg?rule=ad-thumb",
38			"https://img.leboncoin.fr/api/v1/lbcpb1/images/e8/02/13/e80213955431736b0a3affb0ae152730c2c99f86.jpg?rule=ad-thumb"
39		],
40		"urls_large": [
41			"https://img.leboncoin.fr/api/v1/lbcpb1/images/1e/fa/6a/1efa6ab2435dc4037e6ee721786995bc217314ed.jpg?rule=ad-large",
42			"https://img.leboncoin.fr/api/v1/lbcpb1/images/6f/de/ed/6fdeed6a5ace5a2e24fbcc881bbc20da1b82498c.jpg?rule=ad-large",
43			"https://img.leboncoin.fr/api/v1/lbcpb1/images/b2/71/d4/b271d4865aa43fd5310704855cb322bcf8e417ad.jpg?rule=ad-large",
44			"https://img.leboncoin.fr/api/v1/lbcpb1/images/ac/1a/e9/ac1ae95b312f483dc359c50c3b020ca511cafb17.jpg?rule=ad-large",
45			"https://img.leboncoin.fr/api/v1/lbcpb1/images/77/d4/4f/77d44f2b56599834c9864bb8f75fb101cb95974d.jpg?rule=ad-large",
46			"https://img.leboncoin.fr/api/v1/lbcpb1/images/8b/e0/35/8be035ee4e4d44bda945281251171b784536ed0f.jpg?rule=ad-large",
47			"https://img.leboncoin.fr/api/v1/lbcpb1/images/f7/88/f0/f788f06c7c0e35055e7d7f0f38afe2ac35b07637.jpg?rule=ad-large",
48			"https://img.leboncoin.fr/api/v1/lbcpb1/images/2f/97/e2/2f97e27243d711de8946eeebbce9dc1446a960ac.jpg?rule=ad-large",
49			"https://img.leboncoin.fr/api/v1/lbcpb1/images/e8/02/13/e80213955431736b0a3affb0ae152730c2c99f86.jpg?rule=ad-large"
50		]
51	},
52	"attributes": [
53		{
54			"key": "rating_score",
55			"value": "1",
56			"values": ["1"],
57			"value_label": "1",
58			"generic": false
59		},
60		{
61			"key": "rating_count",
62			"value": "2",
63			"values": ["2"],
64			"value_label": "2",
65			"generic": false
66		},
67		{
68			"key": "estimated_parcel_weight",
69			"value": "10000",
70			"values": ["10000"],
71			"value_label": "10000",
72			"generic": false
73		},
74		{
75			"key": "condition",
76			"value": "tresbonetat",
77			"values": ["tresbonetat"],
78			"key_label": "État",
79			"value_label": "Très bon état",
80			"generic": true
81		},
82		{
83			"key": "shipping_type",
84			"value": "mondial_relay",
85			"values": ["mondial_relay", "face_to_face"],
86			"value_label": "mondial_relay",
87			"generic": false
88		},
89		{
90			"key": "shippable",
91			"value": "true",
92			"values": ["true"],
93			"value_label": "true",
94			"generic": false
95		},
96		{
97			"key": "is_import",
98			"value": "false",
99			"values": ["false"],
100			"value_label": "false",
101			"generic": false
102		},
103		{
104			"key": "old_price",
105			"value": "990",
106			"values": ["990"],
107			"value_label": "990",
108			"generic": false
109		},
110		{
111			"key": "payment_methods",
112			"value": "installments3x",
113			"values": ["installments3x", "installments4x"],
114			"value_label": "installments3x",
115			"generic": false
116		},
117		{
118			"key": "donation",
119			"value": "0",
120			"values": ["0"],
121			"value_label": "0",
122			"generic": false
123		}
124	],
125	"location": {
126		"country_id": "FR",
127		"region_id": "1",
128		"region_name": "Alsace",
129		"department_id": "67",
130		"department_name": "Bas-Rhin",
131		"city_label": "Strasbourg 67000",
132		"city": "Strasbourg",
133		"zipcode": "67000",
134		"lat": 48.58504,
135		"lng": 7.73642,
136		"source": "city",
137		"provider": "here",
138		"is_shape": true,
139		"feature": {
140			"type": "Feature",
141			"geometry": {
142				"type": "Point",
143				"coordinates": [7.73642, 48.58504]
144			},
145			"properties": null
146		}
147	},
148	"owner": {
149		"store_id": "57264281",
150		"user_id": "68960dfa-7f33-43f4-9e8b-daf3c4d3fc5d",
151		"type": "private",
152		"name": "Frédéric",
153		"no_salesmen": true,
154		"activity_sector": ""
155	},
156	"options": {
157		"has_option": false,
158		"booster": false,
159		"photosup": false,
160		"urgent": false,
161		"gallery": false,
162		"sub_toplist": false
163	},
164	"has_phone": false,
165	"is_boosted": true
166}

Pricing

Pricing model

Rental 

To use this Actor, you have to pay a monthly rental fee to the developer. The rent is subtracted from your prepaid usage every month after the free trial period. You also pay for the Apify platform usage.

Free trial

3 days

Price

$30.00