# Walmart Scraper - Products, Prices, Sellers & Ratings (`scrapewise/walmart-scraper`) Actor

Scrape Walmart products from category pages or product links: name, brand, price, was-price, stock, rating and review counts, seller, delivery, category path, images, specifications and description. Error rows are free.

- **URL**: https://apify.com/scrapewise/walmart-scraper.md
- **Developed by:** [Scrapewise Data](https://apify.com/scrapewise) (community)
- **Categories:** E-commerce, Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.98 / 1,000 product delivereds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Walmart Scraper: products, prices, stock, sellers and ratings from walmart.com

Walmart Scraper collects **product data from walmart.com**. Give it category pages or product links and every product
comes back as one clean row: name, brand, current price, previous price and savings, stock status, star rating and
review counts, who sells it (Walmart or a marketplace store), delivery date, the full category path, images and, for
product links or with full details turned on, the model, UPC, description, specifications, rating breakdown, return
policy and seller rating.

No account, login or browser needed. Typical uses:

- **Price and stock monitoring** of a category or a list of products, on a schedule.
- **Competitor and assortment research:** what a category holds, at which prices, from which sellers.
- **Marketplace seller research:** which stores sell in a category and how their ratings look.
- **Catalog enrichment:** attach UPC, brand, specifications and images to your own product list.
- **Deal finding:** sort a category by price and keep only items in stock or only items sold by Walmart.

### At a glance

| | |
|---|---|
| Price | **US$ 2.61 per 1,000 products**, plus a US$ 0.005 start fee per run |
| What you pay for | Only products delivered. Error rows, duplicates and skipped products are free |
| Input | Category links (`walmart.com/browse/...`), product links (`walmart.com/ip/...`) and product IDs |
| Speed | About 50 products per page; a 50-product category run takes roughly 15 seconds |
| Per category | Up to 25 pages, about 1,200 products, for each category link |
| Output | JSON, CSV, Excel, XML, HTML table |

### Quick start

Paste a category link and run. This is the default input:

```json
{
  "urls": ["https://www.walmart.com/browse/electronics/laptops/3944_3951_132960"],
  "maxItems": 50
}
```

Other examples:

```json
{
  "urls": ["https://www.walmart.com/browse/electronics/laptops/3944_3951_132960"],
  "sortBy": "price_low",
  "inStockOnly": true,
  "sellerType": "walmart",
  "maxPrice": 600,
  "includeDetails": true,
  "maxItems": 100
}
```

```json
{
  "urls": ["https://www.walmart.com/ip/Apple-AirPods-Pro-2nd-Generation-Lightning/1752657021"],
  "productIds": ["5196671808"]
}
```

An empty input runs the default category above, so a first test costs a few cents.

### Input

| Field | Type | What it does |
|---|---|---|
| `urls` | list of text | Category links (`/browse/...`) and product links (`/ip/...`), one per line. Other aliases accepted: `url`, `categoryUrls`, `productUrls`, `startUrls` |
| `productIds` | list of text | Walmart item numbers, the number at the end of a product link. Combined with `urls` |
| `includeDetails` | true/false | For category links: also open each product page and add brand, model, UPC, description, specifications, all images, rating breakdown, seller rating and return policy. Slower. Product links always return full details. Default off |
| `sortBy` | text | Order inside a category: `relevance`, `best_seller`, `price_low`, `price_high`, `rating_high`, `new` |
| `inStockOnly` | true/false | Skip products that are out of stock |
| `sellerType` | text | `any`, `walmart` (sold by Walmart) or `marketplace` (third-party stores) |
| `minPrice`, `maxPrice` | number | Price range in US dollars |
| `skipSponsored` | true/false | Sponsored tiles are skipped by default because they repeat products shown elsewhere |
| `maxItems` | number | Hard cap for the whole run, across all links. Default 50. 0 means no cap |
| `proxyConfiguration` | object | Leave the default |

**Which links work.** Category pages that show a product grid (the address starts with `walmart.com/browse/`) and
product pages (`walmart.com/ip/`). Links to search results (`walmart.com/search?q=...`) are not supported: they come
back as a free error row with the code `SEARCH_NOT_SUPPORTED`. To work with a topic, open the matching category on
walmart.com and paste that link.

### Output

Every product is one row with these fields. Empty values are left out of the real fields (null), never invented.

| Field | Meaning |
|---|---|
| `type` | `product` for data rows, `error` for error rows |
| `sourceUrl` | The link you gave that produced this row |
| `position` | Position inside the category page order |
| `usItemId`, `productId`, `url` | Walmart item number, internal product id and the product link |
| `name`, `brand`, `model`, `manufacturerPartNumber`, `upc` | Product identity (brand, model and UPC come with full details) |
| `productType` | Walmart product type, for example Laptop Computers |
| `price`, `currency`, `priceString` | Current price as a number, currency and the text shown on the site |
| `wasPrice`, `savings`, `isPriceReduced` | Previous price, savings text and whether the price was cut |
| `unitPrice`, `priceRange` | Price per unit and price range for variants, when shown |
| `availability`, `inStock` | Stock status text and a true/false flag |
| `condition` | New, Restored, Pre-Owned and so on |
| `rating`, `reviewCount` | Average stars and number of ratings |
| `ratingBreakdown`, `reviewsWithTextCount` | Count of 5, 4, 3, 2 and 1 star ratings and how many have text (full details) |
| `sellerName`, `sellerId`, `sellerType` | Store that sells the product and `walmart` or `marketplace` |
| `sellerRating`, `sellerReviewCount` | Rating and review count of the store (full details) |
| `fulfillmentType`, `deliveryDate`, `shippingPrice` | Who ships it, the delivery date shown and the shipping price |
| `returnable`, `freeReturns`, `returnWindowDays` | Return policy (full details) |
| `categoryPath`, `categoryPathIds` | Category breadcrumb and the ids behind it |
| `imageUrl`, `imageUrls` | Main image and every product image (full details) |
| `shortDescription`, `description` | Marketing summary and the long description (full details) |
| `specifications` | Name and value pairs such as screen size or battery life (full details) |
| `badges` | Labels such as Best seller or Rollback |
| `sponsored`, `salesUnit`, `orderLimit`, `variantCount` | Sponsored flag, sales unit, purchase limit and number of variants |
| `scrapedAt`, `errorCode`, `error` | Time of the run, and the error code and text on error rows |

Individual people who sell on the marketplace are not listed by name: for those rows `sellerName` and `sellerId` are
null. Stores and companies are listed. Customer reviews are not part of the output, only the rating counts.

#### Example row (product from a category, with full details)

```json
{
  "type": "product",
  "sourceUrl": "https://www.walmart.com/browse/electronics/laptops/3944_3951_132960",
  "position": 5,
  "usItemId": "5196671808",
  "url": "https://www.walmart.com/ip/1-Year-Tech-Support-Setup/5196671808",
  "name": "1 Year Remote Tech Support + Setup",
  "brand": "True Network Solutions",
  "productType": "Tech Setup & Installation Services",
  "price": 35,
  "currency": "USD",
  "wasPrice": 58,
  "savings": "SAVE $23.00",
  "availability": "IN_STOCK",
  "inStock": true,
  "rating": 3.5,
  "reviewCount": 1409,
  "ratingBreakdown": {"5": 740, "4": 126, "3": 78, "2": 59, "1": 406},
  "sellerName": "Walmart.com",
  "sellerType": "walmart",
  "fulfillmentType": "DIGITAL",
  "categoryPath": "Electronics/Computers, Laptops and Tablets/Laptops/All Laptop Computers",
  "condition": "New",
  "upc": "733569747818",
  "returnable": true,
  "freeReturns": true,
  "returnWindowDays": 30,
  "specifications": {"Service time": "1 min", "Has written warranty": "No", "Brand": "True Network Solutions"},
  "badges": ["Best seller"],
  "errorCode": null,
  "error": null
}
```

### How it behaves

- **One row per unique product.** The same product showing up on two pages is delivered and charged once.
- **Sorting and filters** run on the category: `sortBy` changes the order Walmart shows, while stock, seller and
  price filters drop products before they are delivered, so you are not charged for them.
- **Several links in one run** share the `maxItems` cap. Put the most important links first.
- **Prices are the public prices shown to a visitor** with the default delivery area. Store pickup prices and local
  stock by ZIP code are not part of the output.
- **If the site refuses a request**, the run retries it and carries on. When a link can not be read at all, that
  link gets a free `BLOCKED` row and the other links still run.

### Errors you may see

Error rows are always free and carry an `errorCode`:

| Code | Meaning | What to do |
|---|---|---|
| `INVALID_URL` | The link is not a walmart.com product or category link | Use `walmart.com/ip/...` or `walmart.com/browse/...` |
| `SEARCH_NOT_SUPPORTED` | The link is a search result page | Open the matching category on walmart.com and use that link |
| `NOT_FOUND` | The product does not exist or the link has no product list | Check the link in your browser |
| `BLOCKED` | Walmart refused every attempt for that link | Run again in a few minutes |
| `INVALID_INPUT` | A field has a value the Actor does not accept | Read the error text |

### Integrations, scheduling and AI agents

- **Schedule** the same categories every day or week in [Apify schedules](https://docs.apify.com/platform/schedules)
  to follow price drops, stock changes and new products.
- **Export** as JSON, CSV, Excel or XML, or read the dataset from the [Apify API](https://docs.apify.com/api/v2).
- **Connect** it to Make, n8n, Zapier or Google Sheets through
  [Apify integrations](https://docs.apify.com/platform/integrations).
- **AI agents:** call it as a tool through the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp)
  in Claude, ChatGPT, Cursor or any MCP client, for example "get the 100 cheapest in-stock laptops sold by Walmart
  and list the ones above 4 stars".

### FAQ

**How much does a run cost?** US$ 2.61 per 1,000 products plus US$ 0.005 per run. A 50-product run
costs about US$ 0.18.

**Do I need a Walmart account?** No. Only public pages are read.

**Can I search by keyword?** Not directly. Use category links, which cover the same ground: open the category on
walmart.com, apply the sort you want and paste the link. Use product IDs when you already know the items.

**How many products can I get from one category?** Up to about 1,200 (25 pages of about 50). For more, use several
subcategory links.

**Why are some fields empty?** Category pages carry fewer fields than product pages. Turn on `includeDetails` or use
product links to get brand, UPC, description, specifications and the rating breakdown. Some products simply do not have
a rating, brand or sale price.

**Can I get customer reviews?** No. The rating counts are included, the text and names of reviewers are not.

**Is the price in US dollars?** Yes. Walmart serves its US store, and prices are in USD.

**Will it stay stable for a schedule?** Each run reads the page as Walmart shows it that day. If Walmart changes
its page and a field goes missing, open an issue in the Issues tab and it will be fixed.

### Limitations

- Search result links are not supported (see above). Use category links or product links.
- About 1,200 products per category link.
- Prices and delivery dates follow the default delivery area, not a specific ZIP code or store.
- Product pages and category pages differ in detail: fields marked "full details" need `includeDetails` for category
  links.
- Walmart sometimes refuses a request. The Actor retries, so a run can take longer on busy days, and in rare cases a
  link ends with a free `BLOCKED` row.

### Changelog

- **1 Nov 2026**: first version. Category links, product links and product IDs, filters for stock, seller and
  price, sorting, full product details on request.

# Actor input Schema

## `urls` (type: `array`):

Walmart category links (walmart.com/browse/...) or product links (walmart.com/ip/...), one per line. A category link returns its products page by page, a product link returns that product with every detail. Search result links are not supported.

## `productIds` (type: `array`):

Walmart item numbers (the number at the end of a product link, like 1752657021), one per line. Optional, combined with the links above.

## `includeDetails` (type: `boolean`):

Category lists already give name, price, stock, rating, seller, delivery and category. Turn this on to open every product page too and add brand, model, UPC, description, specifications, all images, rating breakdown, seller rating and return policy. Slower. Product links always return full details.

## `sortBy` (type: `string`):

Order of the products inside category links.

## `inStockOnly` (type: `boolean`):

Skip products that are out of stock.

## `sellerType` (type: `string`):

Keep only products sold by Walmart or by marketplace sellers.

## `minPrice` (type: `number`):

Skip products below this price.

## `maxPrice` (type: `number`):

Skip products above this price.

## `skipSponsored` (type: `boolean`):

Sponsored tiles repeat products from other positions. On by default.

## `maxItems` (type: `integer`):

Hard cap for the whole run, across all links. 0 = no cap. One category link holds up to about 1,200 products (25 pages).

## `proxyConfiguration` (type: `object`):

Apify proxy by default. Change it only if you know you need to.

## Actor input object example

```json
{
  "urls": [
    "https://www.walmart.com/browse/electronics/laptops/3944_3951_132960"
  ],
  "includeDetails": false,
  "sortBy": "relevance",
  "inStockOnly": false,
  "sellerType": "any",
  "skipSponsored": true,
  "maxItems": 50,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `results` (type: `string`):

No description

## `resultsCsv` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "urls": [
        "https://www.walmart.com/browse/electronics/laptops/3944_3951_132960"
    ],
    "includeDetails": false,
    "maxItems": 50,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapewise/walmart-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "urls": ["https://www.walmart.com/browse/electronics/laptops/3944_3951_132960"],
    "includeDetails": False,
    "maxItems": 50,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("scrapewise/walmart-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "urls": [
    "https://www.walmart.com/browse/electronics/laptops/3944_3951_132960"
  ],
  "includeDetails": false,
  "maxItems": 50,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call scrapewise/walmart-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,scrapewise/walmart-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/oqucds6nXWDpjJm7T/builds/tw7KR1yagpW9tzS8t/openapi.json
