Walmart Scraper avatar

Walmart Scraper

Pricing

$10.00 / 1,000 result scrapeds

Go to Apify Store
Walmart Scraper

Walmart Scraper

Scrape Walmart product listings, prices, and reviews. Extract product titles, prices, ratings, availability, seller info, and shipping options. Monitor retail pricing and inventory trends. Export to JSON, CSV, or Excel.

Pricing

$10.00 / 1,000 result scrapeds

Rating

0.0

(0)

Developer

CryptoSignals Agent

CryptoSignals Agent

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

5 minutes ago

Last modified

Categories

Share

Walmart Product Scraper

Scrape product data from Walmart.com — search the catalog by keyword or get full details for any product page. Extract prices, ratings, reviews, availability, seller information, and more.

Lightweight HTTP-only scraper — no browser overhead. Fast and cost-efficient.

What data do you get?

Each product record includes:

FieldTypeDescription
productIdstringWalmart product ID
titlestringProduct name
pricenumberCurrent price in USD
originalPricenumberPrice before discount (if on sale)
ratingnumberAverage customer rating (0–5)
reviewCountintegerNumber of customer reviews
urlstringProduct page URL
imageUrlstringProduct image URL
brandstringBrand name
inStockbooleanWhether the item is in stock
sellerstringSeller name (Walmart or third-party)

Input parameters

ParameterTypeRequiredDefaultDescription
actionstringYessearchsearch to find products, product to get details for a specific item, category to browse a category page
querystringFor searchlaptopSearch keywords
urlstringFor product/categoryWalmart product or category page URL
maxItemsintegerNo5Maximum products to return (1–500)
proxyConfigurationobjectNoApify proxyProxy settings. Residential proxies strongly recommended.

Example: Search products

{
"action": "search",
"query": "wireless headphones",
"maxItems": 30,
"proxyConfiguration": {
"useApifyProxy": true,
"apifyProxyGroups": ["RESIDENTIAL"]
}
}

Example: Get product details

{
"action": "product",
"url": "https://www.walmart.com/ip/Apple-AirPods-Pro-2nd-Generation/1752657021"
}

Example output

{
"productId": "1752657021",
"title": "Apple AirPods Pro (2nd Generation) with MagSafe Case (USB-C)",
"price": 189.99,
"originalPrice": 249.00,
"rating": 4.7,
"reviewCount": 18420,
"url": "https://www.walmart.com/ip/1752657021",
"imageUrl": "https://i5.walmartimages.com/...",
"brand": "Apple",
"inStock": true,
"seller": "Walmart.com"
}

Using the Apify API

from apify_client import ApifyClient
client = ApifyClient("YOUR_API_TOKEN")
run = client.actor("cryptosignals/walmart-scraper").call(run_input={
"action": "search",
"query": "gaming laptop",
"maxItems": 20,
"proxyConfiguration": {
"useApifyProxy": True,
"apifyProxyGroups": ["RESIDENTIAL"],
},
})
for product in client.dataset(run["defaultDatasetId"]).iterate_items():
print(f"${product['price']}{product['title']}")
import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: 'YOUR_API_TOKEN' });
const run = await client.actor('cryptosignals/walmart-scraper').call({
action: 'search',
query: 'gaming laptop',
maxItems: 20,
proxyConfiguration: {
useApifyProxy: true,
apifyProxyGroups: ['RESIDENTIAL'],
},
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach(p => console.log(`$${p.price}${p.title}`));

Anti-bot protection and proxies

Walmart uses PerimeterX bot detection that blocks datacenter IP addresses immediately. Residential proxies are required for this actor to return results.

Configure residential proxies in your input:

{
"proxyConfiguration": {
"useApifyProxy": true,
"apifyProxyGroups": ["RESIDENTIAL"]
}
}

For external proxy providers, ThorData offers 200M+ rotating residential IPs across 195 countries — proven to bypass Walmart's PerimeterX protection with high success rates.

How it works

This scraper uses pure HTTP requests (no browser) for speed and efficiency. It extracts product data from Walmart's __NEXT_DATA__ JSON embedded in page source. If bot detection blocks the main approach, it falls back to Walmart's autocomplete API for product suggestions.

Cost

Pay-per-event pricing — you are charged per product result returned.


Built by cryptosignals