Lespac Product Search Scraper avatar

Lespac Product Search Scraper

Pricing

from $2.00 / 1,000 results

Go to Apify Store
Lespac Product Search Scraper

Lespac Product Search Scraper

Scrape product listings from Lespac.com search results with precision. Collect titles, prices, descriptions, images, locations, and 20+ metadata fields per item — perfect for price monitoring, market analysis, and classified ad aggregation.

Pricing

from $2.00 / 1,000 results

Rating

0.0

(0)

Developer

Stealth mode

Stealth mode

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

4 days ago

Last modified

Share

Lespac Product Search Scraper: Extract Classified Listings at Scale


What Is Lespac.com?

Lespac.com is one of Canada's largest online classified platforms, hosting millions of listings across categories like vehicles, real estate, electronics, and general merchandise. With new products posted daily and prices fluctuating constantly, manually tracking listings is inefficient. The Lespac Product Search Scraper automates collection of search results, converting raw listing pages into structured, queryable datasets.


Overview

The Lespac Product Search Scraper extracts individual product listings from Lespac search results pages. It captures 20+ fields per item, including pricing, images, descriptions, and location data. Ideal for:

  • Price monitors tracking competitor pricing across categories
  • Market researchers analyzing product availability and pricing trends
  • Aggregators building classified ad feeds or comparison tools
  • Business intelligence teams conducting market analysis
  • Real estate analysts monitoring property listings by region

The scraper handles bulk operations efficiently, supporting up to hundreds of items per URL and graceful failure handling.


Input Format

The scraper accepts a JSON configuration:

{
"urls": [
"https://www.lespac.com/montreal/vehicules-autos_b286g17567k1R2.jsa?ncc=dx0i1irZ006dHJ1ZQis20j0"
],
"ignore_url_failures": true,
"max_items_per_url": 200
}
FieldDescription
urlsArray of Lespac search result page URLs. Copy directly from your browser after filtering by category, location, or price range.
max_items_per_urlMaximum items to extract per URL (e.g., 200). Useful for controlling dataset size or pagination.
ignore_url_failuresIf true, the scraper continues even if individual URLs fail. Set to false if you want strict validation.

Example URLs:

  • Vehicle listings: https://www.lespac.com/montreal/vehicules-autos_b286g17567k1R2.jsa
  • Electronics: https://www.lespac.com/toronto/informatique-electronique_b32g17567k1R2.jsa

Tip: You can apply filters directly in Lespac (location, price range, keyword) and paste the filtered URL to scrape specific subsets.


Output Format

Sample output

{
"listing_public_id": "223181043",
"category_code": "VEHICULES_AUTOS",
"title": "DODGE R/T 2020 SHOW ROOM",
"description": "Dodge Charger R/T en excellente condition avec seulement 53000KM, tout équipé, Uconnect Roues, Pneus et freins neuf, vitres teintées, roule comme un neuf, confortable et puissant.Dodge Charger R/T in excellent condition with only 53,000 KM, fully equipped, Uconnect, wheels, tires and brakes new, tinted windows, drives like new, comfortable and",
"public_release_timestamp": 1781263739000,
"published_since_label": "Parue depuis 17 heures",
"published_since_short_label": "17 heures",
"price": 32500.0,
"price_note": "Négociable",
"price_label": "32 500 $",
"price_note_type": "COMPLEMENTARY",
"priority_placement_layout_flag": "BASIC",
"characteristics": [
{
"icon_url": "https://cdn.lespac.com/images/listing-characteristics/ic_kilometrage.png",
"label": "Kilométrage",
"short_label": "Kilométrage",
"value": "53 000 km"
},
{
"icon_url": "https://cdn.lespac.com/images/listing-characteristics/ic_motricite.png",
"label": "Motricité",
"short_label": "Motricité",
"value": "Roues motrices arrière"
}
],
"images": [
{
"format_placeholder": "%FORMAT%",
"formattable_image_url": "https://cdn.lespac.com/binary/%FORMAT%/3170148470.jpg"
},
{
"format_placeholder": "%FORMAT%",
"formattable_image_url": "https://cdn.lespac.com/binary/%FORMAT%/3170148471.jpg"
},
{
"format_placeholder": "%FORMAT%",
"formattable_image_url": "https://cdn.lespac.com/binary/%FORMAT%/3170148472.jpg"
},
{
"format_placeholder": "%FORMAT%",
"formattable_image_url": "https://cdn.lespac.com/binary/%FORMAT%/3170148473.jpg"
},
{
"format_placeholder": "%FORMAT%",
"formattable_image_url": "https://cdn.lespac.com/binary/%FORMAT%/3170148474.jpg"
}
],
"main_image_url": "https://cdn.lespac.com/binary/zoomedGallery/3170148470.jpg",
"listing_display_url": "https://www.lespac.com/gatineau/vehicules-autos/dodge-r-t-2020-show-room_223181043D0.jsa?searchCriteria=L21vbnRyZWFsL3ZlaGljdWxlcy1hdXRvc19iMjg2ZzE3NTY3azJSMi5qc2E_bmNjPWR4MGkxaXJaMDA2ZEhKMVpRaXMyMGow&navigationInfo=YT0yMCZiPTEmYz0yMjMxODEwNDNTMjE4ODc3NjcyUzIyMzIxNDE4M1MyMjMyMTIxMzhTMjIzMjEyMDAzUzIyMzE5NDQyOFMyMjMyMDEwMjNTMjIzMjAwOTk5UzIyMzE5MjE4NFMyMjE0MDgwNDJTMjIyODgxNDMwUzIyMjg4NjQwMVMyMjI4ODE0MzJTMjIxNDcyMDI4UzIyMzE3ODI2OFMyMjMxNzgyNjVTMjIzMTc4MjYzUzIyMzE3ODA5MlMyMjMxNzgwNTFTMjIzMTA5NDQzJmQ9MA&requester=SCHP",
"distance_label": "163 km",
"city_label": "Gatineau",
"search_page_tracking_info": {
"listing-regionid": {
"value": "17569"
},
"listing-region": {
"value": "REGION_OUTAOUAIS"
},
"listing-categoryid": {
"value": "286"
},
"listing-condition": {
"value": "USED"
},
"listing-price": {
"value": "32500.0"
},
"listing-category": {
"value": "Vehicles - Cars"
},
"listing-category-code": {
"value": "VEHICULES_AUTOS"
},
"listing-upgrade-pinned-ad": {
"value": "yes"
},
"listing-upgrade-home-page": {
"value": "yes"
},
"listing-dealerid": {
"value": "5414230"
},
"listing-operation-type": {
"value": "OFFER"
},
"listing-upgrade-bump-up": {
"value": "no"
},
"listing-id": {
"value": "223181043"
},
"listing-advertiser-type": {
"value": "INDIVIDUAL"
},
"listing-upgrade-tag": {
"value": "no"
},
"listing-year": {
"value": "2020"
},
"listing-upgrade-feature-listing": {
"value": "no"
},
"listing-merchantid": {
"value": "Serge Gauthier"
},
"listing-region-code": {
"value": "Outaouais"
},
"listing-pos": {
"value": "5"
},
"listing-list": {
"value": "search results - pinned ads"
}
},
"search_logger_listing_id": 25256929794,
"search_logger_priority_placement_id": 25251625759,
"from_url": "https://www.lespac.com/montreal/vehicules-autos_b286g17567k2R2.jsa?ncc=dx0i1irZ006dHJ1ZQis20j0"
}

Each scraped listing returns a record with 20 fields containing identification, pricing, content, media, and location data:

Listing Identification

FieldMeaningExample
Listing Public IDUnique identifier for the product listingabc123xyz789
Category CodeClassification code for the product typeb286g17567k1R2 (vehicles category)
Search Logger Listing IDTracking ID used internally for analyticsUsed to correlate with click/view events
Search Logger Priority Placement IDID for premium/promoted listingsNull if listing is organic

Product Information

FieldMeaningExample
TitleProduct name as displayed in search results2015 Honda Civic - Great Condition
DescriptionFull product description with detailsLow mileage, one owner, well maintained...
CharacteristicsStructured product attributes (JSON or key-value pairs){"Year": 2015, "Color": "Silver", "Transmission": "Automatic"}
Main Image URLDirect link to the primary product photohttps://images.lespac.com/photo123.jpg
ImagesArray of all product image URLs[url1, url2, url3, ...]

Pricing

FieldMeaningExample
PriceListed price in CAD or local currency$12,500
Price LabelFormatted price string for display$12,500 OBO
Price NoteAdditional pricing informationNegotiable, Price negotiable
Price Note TypeClassification of price noteNEGOTIABLE, FIRM, CONTACT

Timestamp & Availability

FieldMeaningExample
Public Release TimestampUnix timestamp when listing was published1690512000
Published Since LabelHuman-readable time ago (long format)Posted 3 days ago
Published Since Short LabelHuman-readable time ago (short format)3d

Location & Display

FieldMeaningExample
City LabelCity or region where item is locatedMontreal, QC
Distance LabelApproximate distance from search origin (if user has location enabled)5 km away
Listing Display URLDirect link to the full listing pagehttps://www.lespac.com/v/listing/abc123xyz

Promotion & Analytics

FieldMeaningExample
Priority Placement Layout FlagWhether listing uses premium/featured layouttrue if boosted, false if organic
Search Page Tracking InfoMetadata for user interaction trackingCampaign or source identifier

How to Use

  1. Find your search URL — Go to Lespac.com, apply filters (location, category, price range), and copy the full URL from the address bar.
  2. Configure input — Paste the URL(s) into the urls array. Set max_items_per_url to control volume (e.g., 200 to get up to 200 items per URL).
  3. Enable error handling — Set ignore_url_failures: true for bulk runs to skip broken links without stopping.
  4. Run the scraper — Start the actor and monitor progress in the logs.
  5. Export data — Download results as JSON, CSV, or Excel for analysis, price monitoring, or integration.

Best practices:

  • Use filtered Lespac URLs to narrow results (e.g., by category, location, price) before scraping.
  • Test with a small max_items_per_url value first to verify data quality.
  • For large-scale operations, run multiple jobs targeting different categories or regions in parallel.
  • Store timestamps to identify newly listed items in repeat runs.

Use Cases & Business Value

  • E-commerce price monitoring: Track competitor pricing on vehicles, electronics, or appliances in real time
  • Market research: Analyze inventory levels, pricing trends, and demand across regions
  • Real estate analysis: Monitor property listings, average prices, and time-on-market by neighborhood
  • Lead generation: Build datasets of sellers for targeted marketing campaigns
  • Data enrichment: Combine Lespac data with your internal databases for competitive intelligence

The scraper accelerates workflows that would require hours of manual browsing, enabling data-driven decision making.


Conclusion

The Lespac Product Search Scraper is a powerful tool for anyone monitoring classified listings at scale. With clean structured output covering 20+ fields—from pricing and descriptions to images and timestamps—it transforms Lespac search results into actionable business intelligence. Whether you're analyzing markets, monitoring competition, or building aggregator platforms, this scraper delivers reliable, up-to-date data efficiently.