Walmart Scraper avatar

Walmart Scraper

Pricing

$18.00 / 1,000 results

Go to Apify Store
Walmart Scraper

Walmart Scraper

🏪 Scrape Walmart.com product data — extract titles, prices, ratings, reviews, stock status, seller info, and product specs. Monitor competitor pricing, track inventory changes, and analyze the world's largest retailer. Filter by category, price range, and availability. Built for e-commerce

Pricing

$18.00 / 1,000 results

Rating

0.0

(0)

Developer

Luan M.

Luan M.

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Categories

Share

🛒 Walmart Product Scraper

Apify Actor Node.js LICENSE

Extract comprehensive product data from Walmart.com at scale. Built with Crawlee and Playwright for reliable, browser-based scraping that handles JavaScript-rendered content, dynamic pricing, and anti-bot protections.


✨ Features

  • Product Details — Name, SKU/ID, full description, high-res image URLs, seller information
  • Price Comparison — Current prices, currency tracking, historical price snapshots via re-runs
  • Availability Tracking — Real-time stock status with fulfillment badge capture
  • Ratings & Reviews — Star ratings (1–5) and total review count extraction
  • Category Navigation — Automatic breadcrumb extraction for taxonomy mapping
  • Search & Browse — Start from search queries, category URLs, or a list of product pages
  • Price Filtering — Set minPrice and maxPrice to target specific price ranges
  • Multilingual Support — Works across Walmart domains (US, Canada, Mexico, and more)
  • Review Extraction — Optional review data alongside product info
  • Residential Proxy — Built-in Apify proxy with residential group for reliable access
  • Anti-blocking — Real browser fingerprints, smart request throttling, and resource blocking for speed

📋 Input Parameters

ParameterTypeRequiredDefaultDescription
startUrlsArrayNoWalmart laptops browseList of product or category URLs to start scraping
searchQueryStringNoSearch term (e.g., "iPhone 15", "Nike shoes")
categoryUrlStringNoFull Walmart category browse URL
maxProductsIntegerNo100Maximum products to scrape (0 = unlimited)
includeReviewsBooleanNofalseExtract review data alongside product info
minPriceNumberNoMinimum price filter
maxPriceNumberNoMaximum price filter
proxyConfigurationObjectNoResidential proxyApify proxy configuration

Note: If no startUrls, searchQuery, or categoryUrl is provided, the scraper defaults to Walmart's laptops category.


📤 Output Fields

Each product is saved as a separate dataset item with the following fields:

FieldTypeDescription
nameStringProduct title
priceStringCurrent price (formatted)
currencyStringCurrency code (e.g., USD, CAD, MXN)
ratingNumberStar rating (0–5)
reviewCountNumberNumber of customer reviews
availabilityStringStock status / fulfillment badge
skuStringWalmart product ID / SKU
categoryStringFull category breadcrumb path
sellerStringSeller name (defaults to "Walmart")
descriptionStringProduct description (truncated to 2000 chars)
imageUrlsArrayArray of high-res product image URLs
urlStringOriginal product page URL
scrapedAtStringISO 8601 timestamp of extraction
errorStringError message if scraping failed (optional)

🚀 Quick Start

Apify Platform

  1. Open the Walmart Product Scraper on Apify Store
  2. Click Try or Use
  3. Configure your input parameters
  4. Click Run and wait for results
  5. Export data as JSON, CSV, XML, or Excel

Local Development

# Clone and install
git clone https://github.com/your-org/walmart-scraper.git
cd walmart-scraper
npm install
# Run with default input
npx playwright install chromium
node src/main.js

🧪 Use Cases

  • Price Monitoring — Track price changes over time by running the scraper periodically
  • Competitor Analysis — Compare product assortments, pricing, and availability
  • Inventory Tracking — Monitor stock levels and out-of-stock patterns
  • Market Research — Catalog entire categories with ratings and review counts
  • Feed Generation — Build product feeds for comparison shopping engines
  • Brand Monitoring — Track authorized and third-party sellers for specific brands

🌐 Multilingual Domains

The scraper can target any Walmart regional domain by providing the appropriate URL in startUrls or categoryUrl:

  • https://www.walmart.com — United States
  • https://www.walmart.ca — Canada
  • https://www.walmart.com.mx — Mexico

Use the appropriate proxy group for best results with regional domains.


⚙️ Technical Details

  • Runtime: Node.js 20 on Apify platform
  • Engine: Crawlee PlaywrightCrawler with full browser automation
  • Browser: Chromium (headless)
  • Proxy: Apify proxy with residential group support
  • Concurrency: Auto-scaled based on available resources
  • Retry: Automatic retry with exponential backoff for failed requests
  • Storage: Apify Dataset with structured output

🔒 Error Handling

Failed product pages are still recorded in the dataset with the original URL and an error message, ensuring no data loss. The scraper continues processing remaining items even when individual pages fail.


📄 License

This project is licensed under the Apache 2.0 License — see the LICENSE file for details.