VOOZH about

URL: https://apify.com/epctex/walmart-scraper

⇱ Walmart Product Data Extractor Β· Apify


Pricing

$30.00/month + usage

Go to Apify Store

Walmart Data Extractor

Access a vast array of product data from Walmart with our Walmart Scraper. Extract images, brand details, prices, variations, and more. Customize your search with filters, categories, and lists to gather the information you need.

Pricing

$30.00/month + usage

Rating

5.0

(8)

Developer

πŸ‘ epctex

epctex

Maintained by Community

Actor stats

35

Bookmarked

1.2K

Total users

15

Monthly active users

3.4 days

Issues response

16 hours ago

Last modified

Categories

Share

Actor - Walmart Scraper

Walmart scraper

Since Walmart doesn't provide an API, this actor should help you to retrieve data from it.

Now with location support!

The Walmart data scraper supports the following features:

  • Scrape product details - You can scrape attributes like images, seller information, photos, brands, variants, ID of the product, and many more. You can find details below.

  • Get product reviews! - Now you can gather up all the reviews that has been submitted for a product. Blazing fast with no limitation!

  • Scrape search results - You can scrape for a specific search result by keyword.

  • Scrape using location - You can use a US postal code to set the location.

  • Scrape and filter any categories - You can provide any category with any kind of filter that you want.

  • Scrape a parent category and get all the items in its subcategory - You can provide any parent(big) category and let the actor to scrape its sub-categories

  • Define the maximum number of pages that needs to be scraped - If you only want to scrape the first 3 pages, there is an option for that.

Walmart specific

Don't worry when you get a little bit different products than you saw on the browser page. Walmart is ordering products differently for each user.

Need to find product pairs between Walmart and another online shop?

Use the AI Product MatcherπŸ”—. This AI model allows you to compare items from different web stores, identifying exact matches and comparing real-time data obtained via web scraping.

With the AI Product Matcher, you can use scraped product data to monitor product matches across the industry, implement dynamic pricing for your website, replace or complement manual mapping, and obtain realistic estimates against your competition for upcoming promo campaigns. Most importantly, it is relatively easy to get started with (just follow this guide) and can match thousands of product pairs.

Bugs, fixes, updates, and changelog

This scraper is under active development. If you have any feature requests you can create an issue from here.

Incoming Changes

  • Fetching product reviews
  • Fetch Questions and Answers
  • Performance upgrades

Setup & Usage

You can see how this actor works in this video:

Start URLs

You can check the output of this video here.

Search

You can check the output of this video here.

Input Parameters

The input of this scraper should be JSON containing the list of pages on Walmart that should be visited. Possible fields are:

  • search: (Optional) (String) Keyword that can be searched in Walmart search engine.

  • postalCode: (Optional) (Number) The US postal code used to set the location. This field will be depreciated soon. Please use zipCode.

  • zipCode: (Optional) (Number) The US postal code used to set the location.

  • startUrls: (Optional) (Array) List of Walmart URLs. You should only provide category detail, product detail, or search URLs.

  • endPage: (Optional) (Number) Final number of page that you want to scrape. The default is Infinite. This applies to all search requests and startUrls individually.

  • maxItems: (Optional) (Number) You can limit scraped items. This should be useful when you search through the big lists or search results.

  • includeReviews: (Optional) (Boolean) This option allows you to include all product reviews in the scraped data.

  • onlyReviews: (Optional) (Boolean) Discards the product data and only retrieves the reviews when includeReviews is true.

  • proxy: (Required) (Proxy Object) Proxy configuration.

  • extendOutputFunction: (Optional) (String) Function that takes a JQuery handle ($) as an argument and returns an object with data.

  • outputFilterFunction: (Optional) (String) Function that takes an output item as an argument and returns the mapped data.

This solution requires the use of Proxy servers, either your own proxy servers or you can use Apify Proxy.

Tip

Please keep in mind that for the sake of not losing any of the data, the actor returns all the possible output. That's it's suggested to use outputFilterFunction all the time.

When you want to have filtering over a category URL; go to Walmart, create filters over the category, and copy and paste the link as one of the startUrl.

If you would like to scrape only the first page of a search list or category list, then put the link for the page and have the endPage as 1.

With the last approach that is explained above you can also fetch any interval of pages. If you provide the 5th page of a category and define the endPage parameter as 6 then you'll have the 5th and 6th pages only.

Output Filter Function

This function is used for mapping the output data that the actor scrapes from the target. It has the following implementation:

data =eval(outputFilterFunction)(data);

So you can use this function to retrieve only the attributes you'd like to have. The following example is for retrieving only id and name attributes:

(object) => ({
id: object.id,
name: object.name
})

Compute Unit Consumption

The actor is optimized to run blazing fast and scrape many products as possible. Therefore, it forefronts all product detail requests. If the actor doesn't block very often it'll scrape 50 products in 2 minutes with ~0.3-0.5 compute units.

Walmart Scraper Input example

{
"startUrls":[
{
"url":"https://www.walmart.com/browse/auto-tires/brake-pads/91083_1074765_9038935_4582920"
},
{
"url":"https://www.walmart.com/browse/home/"
},
{
"url":"https://www.walmart.com/search?grid=true&query=Mixed+Bouquets"
},
{
"url":"https://www.walmart.com/ip/Mainstays-Blue-Sunflower-Mix-Bouquet/155345382"
}
],
"search":"apples",
"endPage":6,
"maxItems":100,
"postalCode":10100,
"includeReviews":true,
"onlyReviews":false,
"outputFilterFunction":"(object) => ({...object})"
}

During the Run

During the run, the actor will output messages letting you know what is going on. Each message always contains a short label specifying which page from the provided list is currently specified.

When items are loaded from the page, you should see a message about this event with a loaded item count and total item count for each page.

If you provide incorrect input to the actor, it will immediately stop with a failure state and output an explanation of what is wrong.

Walmart Export

During the run, the actor stores results into a dataset. Each item is a separate item in the dataset.

You can manage the results in any language (Python, PHP, Node JS/NPM). See the FAQ or our API reference to learn more about getting results from this Walmart actor.

Scraped Walmart Products

The structure of each item in Walmart products can be checked from here: https://api.apify.com/v2/datasets/3Nk7RZP8vheqazCtb/items?clean=true&format=json

Contact

Please visit us through epctex.com to see all the products that are available for you. If you are looking for any custom integration or so, please reach out to us through the chat box in epctex.com. In need of support? business@epctex.com is at your service.

You might also like

Walmart Product Detail Scraper

e-commerce/walmart-product-detail-scraper

Scrape full product detail pages on walmart.com, walmart.ca or walmart.com.mx

593

4.7

Walmart Product Scraper

web_wanderer/walmart-product-scraper

Extract product details from walmart.com/walmart.ca. πŸ›’ Get titles, prices, sku, availability, reviews & moreβ€”fast and reliable! ⚑

Walmart Fast Product Scraper

e-commerce/walmart-fast-product-scraper

Quickly scrape product details from search listing pages on walmart.com or walmart.ca

293

4.7

Walmart Scraper

automation-lab/walmart-scraper

Scrape Walmart product data for price monitoring β€” current/was prices, savings, sale flags, sellers, ratings, reviews, brands, and deal badges from search results.

πŸ‘ User avatar

Stas Persiianenko

85

Costco Product Scraper (Get Real Product Prices!)

parseforge/costco-scraper

Extract comprehensive product data from Costco.com including prices, member prices, descriptions, ratings, reviews, specifications, images, and availability. Supports both direct product URLs and search queries. Handles bot protection with proxy support. Perfect for price monitoring and research.

65

5.0

Costco Product Search Scraper (.com, .ca)

ecomscrape/costco-product-search-scraper

Extract comprehensive product data from Costco.com (or .ca) including pricing, inventory, ratings, and specifications. Our advanced scraper captures 70+ data fields from gaming computers, laptops, household items, and more for competitive analysis and market research.

ecomscrape

18

Ikea Scraper

happyendpoint/ikea-scraper

The fastest and most complete Ikea Data API. Access real-time product data, search the full catalog by keyword, get complete product details for many countries.

πŸ‘ User avatar

Happy Endpoint

23

5.0

Instacart Scraper

rigelbytes/instacart-scraper

Scrape Instacart product listings by search keyword and location. Extract prices, stock availability, brand names, images, package size, and product URLs. Perfect for price monitoring, competitive analysis, and retail research. Pay only $15 per 1,000 products.

Target Scraper

automation-lab/target-scraper

Scrape Target.com product data for price monitoring β€” current/regular prices, sale flags, ratings, reviews, brands, images, and product URLs.

πŸ‘ User avatar

Stas Persiianenko

39

Walmart Product Scraper

dataharvest/walmart-scraper

Scrape products, prices, ratings and reviews from Walmart.

Related articles

Best Walmart price tracker for SMBs
Read more