# Walmart Product Scraper: Search, Items & Price Tracking (`maksim_lazouski/walmart-product-scraper`) Actor

Scrape Walmart.com search results and product pages without login, cookies or your own proxy. Price, was price, stock, rating and reviews, seller, category, UPC, specifications and photos. Keyword or search link, sort and price filters, watch lists for price changes. Pay per result.

- **URL**: https://apify.com/maksim_lazouski/walmart-product-scraper.md
- **Developed by:** [Maksim Lazouski](https://apify.com/maksim_lazouski) (community)
- **Categories:** E-commerce, Automation
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

from $0.70 / 1,000 products

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

### What does Walmart Product Scraper do?

Walmart Product Scraper reads **search results** and **product pages** from [Walmart.com](https://www.walmart.com). Give it **keywords or search links** or **product links** and it returns clean rows: every product of a search with its price, rating and seller, or the full product with description, specifications, photos and the rating breakdown.

- **No Walmart account, no cookies, no proxy of your own.** Type a keyword or paste a link and press Start.
- **Search like on the site.** By keyword with an order and a price range, or paste the link of a search or category page with its filters.
- **Up to 1,000 products per search**: all 25 pages Walmart shows, 40 products a page.
- **Full product rows**: price and was-price, stock, rating and how many 5 to 1 star ratings, seller and whether Walmart sells it, category, UPC, model, specifications, description, every photo.
- **Sponsored products left out** by default, so you get what Walmart ranks for the search. Keep them if you want, marked as sponsored.
- **Watch lists** for runs on a schedule: get only new products, price changes and items out of stock since the last run.
- **You pay per row** that was read and stored, plus $0.005 when a run starts.

![Example output of Walmart Product Scraper: air fryers with price, was-price, rating, number of reviews and badge](https://api.apify.com/v2/key-value-stores/TV7hYdY6BhVu4w53W/records/walmart-output.png)

It runs on the Apify platform, so you also get scheduling, an API, webhooks, integrations, and export of the results to JSON, CSV, Excel or HTML.

### What data can you extract from Walmart?

| Group | Fields |
|---|---|
| Product from a search | id, link, name, price, was-price, lowest and highest price of a product with options, unit price, shipping price, rating, number of reviews, seller, availability, badge (Rollback, Best seller...), product type, category path, delivery date, picture, sponsored or not, page and place in the search |
| Full product | all of the above, plus brand, rating counts from 5 to 1 star, seller rating, sold by Walmart or a marketplace seller, condition, UPC, model, badges, variant options, short and long description, specifications, return policy, every photo |

### How to scrape Walmart

1. Open the actor and go to the **Input** tab.
2. Type a **search** (a keyword such as `air fryer`), or paste the link of a search or category page from walmart.com. One search per line.
3. Or paste **product links** (`https://www.walmart.com/ip/...`) to get the full row of each product.
4. Choose how many products per search you want, and press **Start**.
5. When the run ends, open the **Output** tab and export the rows to CSV, Excel or JSON.

#### Ready-made tasks

Start from a task that is already set up, then change the keyword to your own:

- [Compare air fryer prices on Walmart](https://apify.com/maksim_lazouski/walmart-product-scraper/examples/walmart-air-fryer-prices)
- [Find the cheapest LEGO sets on Walmart](https://apify.com/maksim_lazouski/walmart-product-scraper/examples/walmart-cheapest-lego-sets-under-50)
- [Best selling TVs on Walmart](https://apify.com/maksim_lazouski/walmart-product-scraper/examples/walmart-best-selling-tvs)
- [Compare paper towel prices on Walmart](https://apify.com/maksim_lazouski/walmart-product-scraper/examples/walmart-paper-towel-unit-prices)
- [Top 20 coffee makers on Walmart with full details](https://apify.com/maksim_lazouski/walmart-product-scraper/examples/walmart-top-coffee-makers-in-full)
- [Get Walmart product details by link](https://apify.com/maksim_lazouski/walmart-product-scraper/examples/walmart-product-details-by-link)
- [Get Walmart price changes for a search](https://apify.com/maksim_lazouski/walmart-product-scraper/examples/watch-walmart-price-changes)

#### Watch a search for price changes

Give the run a **watch list name** and run it on a schedule (Apify's **Schedules**). The first run stores every row, marked `"change": "new"`. Each later run with the same name stores only:

- products that are new in the search,
- products whose name, price or availability changed (`"change": "changed"`, with the old values in `previous`),
- products that are gone from a search read to its end, or items Walmart no longer has (`"change": "removed"`, free). A search that finds more than Walmart shows on its pages is never read to its end, so nothing is taken for gone from it: a product that only moved down the list is not reported as removed.

Rows that did not change are not stored and not charged.

```json
{
    "searches": ["https://www.walmart.com/search?q=air+fryer&sort=price_low"],
    "maxItemsPerSearch": 200,
    "watchName": "air fryer prices"
}
```

### How much does it cost to scrape Walmart?

You pay for the rows the actor stores. The price per 1,000 rows depends on your Apify plan:

| What | Free | Starter | Scale | Business |
|---|---|---|---|---|
| A product from a search | $1.00 | $0.90 | $0.80 | $0.70 |
| A full product row | $3.00 | $2.70 | $2.40 | $2.00 |

A run also costs $0.005 to start, on every plan. Apify counts the start once per GB of the run's memory, so at the default memory it is one start.

The examples below are at the Free plan price, rows only; add $0.005 per run.

- A search of 40 products (one page) costs $0.04.
- The 1,000 products of a search's 25 pages cost $1.00.
- 1,000 full product rows cost $3.00.

You do not pay for what the actor could not read, for rows of what is gone, or for unchanged rows of a watch list. A run whose input has nothing to read (no search, no item link, or the field names of another actor) succeeds with one free row that says what to put where; only its start is charged. Apify's free plan comes with $5 of usage a month, which is enough for about 5,000 products from searches.

### Input

| Field | What it does |
|---|---|
| `searches` | Keywords or links of search or category pages, one per line. |
| `items` | Product links or ids: `https://www.walmart.com/ip/5296148629` and `5296148629` are the same. |
| `sort` | For keywords: `best_match` (default), `price_low`, `price_high`, `best_seller`, `rating_high`, `new`. |
| `priceMin`, `priceMax` | For keywords: a price range in whole US dollars. For cents, use a search link with Walmart's own price filter. |
| `maxItemsPerSearch` | How many products of each search to return: up to 1,000, 40 by default. |
| `includeSponsored` | Off by default: sponsored products are left out. On: they are kept, with `sponsored: true`. |
| `scrapeDetails` | Off: a short row per product of a search. On: the full row for every product of a search. |
| `maxItems` | Stop after this many rows. |
| `maxConcurrency` | How many searches and products are read at the same time. 5 by default. |
| `watchName` | A watch list's name: each run stores only what is new, changed or gone since the last run with the same name. |

The cheapest LEGO sets under $50, 200 of them:

```json
{
    "searches": ["lego"],
    "sort": "price_low",
    "priceMax": 50,
    "maxItemsPerSearch": 200
}
```

Full rows of a few products:

```json
{
    "items": [
        "https://www.walmart.com/ip/5296148629",
        "653004039"
    ]
}
```

### Output

Every row has a `type`: `listing` for a product of a search, `item` for a full product row.

#### A product from a search

```json
{
    "type": "listing",
    "source": "search",
    "source_query": "air fryer",
    "search_key": "q468546f1ff91",
    "item_id": "5466948866",
    "url": "https://www.walmart.com/ip/Gourmia-All-in-One-14-Quart-Air-Fryer-Oven-Rotisserie-Dehydrator-with-Temperature-Probe-New/5466948866",
    "name": "Gourmia All-in-One 14-Quart Air Fryer, Oven, Rotisserie, Dehydrator with Temperature Probe, New",
    "price": 55.0,
    "was_price": 129.0,
    "price_low": null,
    "price_high": null,
    "unit_price": null,
    "shipping_price": null,
    "currency": "USD",
    "rating": 4.5,
    "reviews": 8561,
    "seller": "Walmart.com",
    "seller_id": "F55CDC31AB754BB68FE0B39041159D63",
    "availability": "IN_STOCK",
    "in_stock": true,
    "badge": "Black Friday Deal",
    "product_type": "Air Fryers",
    "category_path": "Home > Appliances > Kitchen Appliances > Fryers > Air Fryers > Gourmia Air Fryers",
    "delivery_date": "2026-11-15T22:59:00.000Z",
    "image": "https://i5.walmartimages.com/seo/Gourmia-All-in-One-14-Quart-Air-Fryer-Oven-Rotisserie-Dehydrator-with-Temperature-Probe-New_ddede81a-1a1d-4f67-9691-244ba7752d8f.e73ca346184304e370cc829142d9f4f7.jpeg",
    "sponsored": false,
    "page": 1,
    "position_on_page": 1,
    "position": 1
}
```

#### A full product row

```json
{
    "type": "item",
    "item_id": "5296148629",
    "url": "https://www.walmart.com/ip/Ionic-Hair-Dryer-2100W-Professional-Blow-Dryer-Negative-Ion-Technolog-Drying-with-3-Heating-2-Speed-2-Nozzle-for-Home-Salon-Travel/5296148629",
    "name": "Ionic Hair Dryer, 2100W Professional Blow Dryer, Negative Ion Technolog Drying with 3 Heating, 2 Speed, 2 Nozzle for Home Salon Travel",
    "brand": "YUANYE",
    "price": 17.67,
    "was_price": 39.99,
    "price_text": "$17.67",
    "unit_price": null,
    "currency": "USD",
    "availability": "IN_STOCK",
    "in_stock": true,
    "rating": 4.2,
    "reviews": 1641,
    "rating_counts": {"5": 1071, "4": 180, "3": 147, "2": 92, "1": 151},
    "seller": "YasiLing Trade Co., Ltd",
    "seller_id": "F34A75E5FEA3432EA22D54E9AE8FEE4D",
    "sold_by_walmart": false,
    "seller_rating": 4.3,
    "seller_reviews": 1804,
    "category_path": "Beauty > Hair Care > Hair Styling Tools > Hair Dryers > All Hair Dryers",
    "product_type": "Hair Dryers",
    "condition": "New",
    "upc": "794414470169",
    "model": "470169",
    "badges": ["Black Friday Deal", "Online only", "2K+ bought since yesterday"],
    "variant_options": [],
    "variants": 0,
    "short_description": "This is a beautiful hair dryer with power! Intelligent Motor, Thermostatic temperature control, Negative ion technology....",
    "description": "- The mini blow dryer three colors displayed on the circular LED ring correspond to 3 temperature settings of hair dryer. ...",
    "specifications": [
        {"name": "Hair dryer type", "value": "Ionic Hair Dryers"},
        {"name": "Watts", "value": "2100 W"},
        {"name": "Brand", "value": "YUANYE"}
    ],
    "returns": "Free 90-day returns",
    "delivery_date": "2026-11-18T22:59:00.000Z",
    "images": ["https://i5.walmartimages.com/seo/Ionic-Hair-Dryer-2100W-Professional-Blow-Dryer-Negative-Ion-Technolog-Drying-with-3-Heating-2-Speed-2-Nozzle-for-Home-Salon-Travel_a0e37262-378d-43fb-a0f3-83f32dec723f.78263c3ce0efef70e2edd3d19854b89c.jpeg"],
    "image": "https://i5.walmartimages.com/seo/Ionic-Hair-Dryer-2100W-Professional-Blow-Dryer-Negative-Ion-Technolog-Drying-with-3-Heating-2-Speed-2-Nozzle-for-Home-Salon-Travel_a0e37262-378d-43fb-a0f3-83f32dec723f.78263c3ce0efef70e2edd3d19854b89c.jpeg",
    "offer_id": "FFDFE2D20E1C3E13A97F10AF1D14C069"
}
```

The rows above are shortened: a real row has the whole description, every specification and every photo. If Walmart answers a product link with another id (a newer listing or a variant), the row also has `requested_item_id`, the id you gave. If Walmart sends a keyword to a category page (as the site does for some words), the actor reads that page.

### Use it through the API

Start the actor from your own code and get the rows back. Your API token is in Apify Console under
**Settings → API & Integrations**.

Python (`pip install "apify-client>=3"`):

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("maksim_lazouski/walmart-product-scraper").call(run_input={
    "searches": [
        "air fryer"
    ],
    "maxItemsPerSearch": 40
})
for row in client.dataset(run.default_dataset_id).iterate_items():
    print(row)
```

JavaScript (`npm install apify-client`):

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

const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });
const run = await client.actor('maksim_lazouski/walmart-product-scraper').call({
    searches: ['air fryer'],
    maxItemsPerSearch: 40,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

One HTTP call that waits for the run and returns the rows (for runs that end within 5 minutes):

```bash
curl -X POST "https://api.apify.com/v2/acts/maksim_lazouski~walmart-product-scraper/run-sync-get-dataset-items" \
  -H "Authorization: Bearer YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"searches": ["air fryer"], "maxItemsPerSearch": 40}'
```

The [API tab](https://apify.com/maksim_lazouski/walmart-product-scraper/api/python) of this page has the same calls for other languages.

### Limits you should know

- **Walmart.com (US) only**, prices in US dollars.
- **Prices and delivery dates are what a shopper in the US sees online.** Store prices and store stock for pickup are not read. The delivery date depends on the delivery address Walmart guesses for the visitor.
- **Up to 1,000 products per search**: Walmart shows 25 pages of 40. A search that finds more says how many in the run's `SUMMARY` (`search_results_found`).
- **Reviews**: the rating, the number of reviews and the 5 to 1 star counts are in the full row; the text of reviews is not read.
- **A few products show no price in search results**: Walmart shows their price only on the product page, so their `price` is empty. Turn on `scrapeDetails` to open every product and get it.
- **A product that does not exist** (a wrong id, a product taken down) is listed in the run's `FAILED` record and is not charged.

### FAQ

#### Do I need a Walmart account, cookies or a proxy?

No. The actor reads what Walmart shows to a visitor who is not logged in, and brings its own connections in the US.

#### What happens when something could not be read?

Each search and product is tried up to three times; a search goes on from the page where it stopped. What still fails is listed in the `FAILED` record of the run's key-value store, with the reason, and is not charged. If Walmart starts refusing visitors, or the connection is lost, the run does not press on: it waits and tries again with one visitor at a time. If that does not help within a few minutes, the run stops and keeps what it stored; it is marked as failed only when it stored nothing. Start it again with **Resurrect** and it goes on from where it stopped. If the run's time limit (its timeout) comes before the work is done, the run stops by itself up to a minute before it, keeps what it stored and ends as succeeded; its status message says what is left. Start it again with **Resurrect** to go on, or give the run a longer timeout. A row is never stored twice.

#### Can I run it on a schedule or call it from my code?

Yes. Use Apify's schedules with a watch list to get price changes as they happen, and the Apify API or its clients for Python and JavaScript to start runs and read results. The `maxItems` field and the run's spending limit keep a run within a budget.

#### Is it legal to scrape Walmart?

The actor reads only product information that Walmart shows publicly, without logging in: names, prices, ratings, sellers' business names. It does not read reviews' text or anyone's personal data. You are responsible for how you use the data and for following the rules that apply to you; if you are not sure, ask a lawyer.

#### Something is wrong or a field is missing

Open an issue on the actor's **Issues** tab with the search or product link.

Walmart is a trademark of Walmart Apollo, LLC. This actor is not affiliated with or endorsed by Walmart.

# Actor input Schema

## `searches` (type: `array`):

One search per line: a keyword (air fryer, LEGO Star Wars), or the link of a Walmart search or category page with its filters, such as https://www.walmart.com/search?q=air+fryer\&sort=price_low or https://www.walmart.com/browse/electronics/tvs/3944_1060825_447913. A link keeps its own filters and order; the options below apply to keywords.

## `items` (type: `array`):

Products to read in full (description, specifications, all photos, seller, rating counts). Each line is a link such as https://www.walmart.com/ip/5296148629 or just the number 5296148629.

## `sort` (type: `string`):

For keywords.

## `priceMin` (type: `integer`):

For keywords. Leave empty for no lower bound.

## `priceMax` (type: `integer`):

For keywords. Leave empty for no upper bound.

## `maxItemsPerSearch` (type: `integer`):

How many products of each search to return, in the order Walmart shows them (40 a page). 1,000 is the most: Walmart shows 25 pages of a search.

## `includeSponsored` (type: `boolean`):

Off: only the products Walmart ranks for the search. On: also the sponsored ones it mixes in (marked sponsored: true); the same few lead every page, and each is stored once.

## `scrapeDetails` (type: `boolean`):

Off: one short row per product of a search (name, price, rating, seller, stock, picture, link). On: the actor opens every product and returns the full item row instead, charged as an item.

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

The run stops once it has stored this many rows. Leave empty for no limit.

## `maxConcurrency` (type: `integer`):

How many searches and items are read at the same time, each from its own address. More is faster; the default suits most jobs.

## `watchName` (type: `string`):

For runs on a schedule. Give the same name every time: each run then stores only what is new or changed since the last run with that name (a new product, a price change, out of stock), marked in the field change. A product that is gone from a search read to its end, or an item Walmart no longer has, is stored once as removed, free. Rows that did not change are not stored and not charged. Leave empty to get every row.

## Actor input object example

```json
{
  "searches": [
    "air fryer"
  ],
  "sort": "best_match",
  "maxItemsPerSearch": 40,
  "includeSponsored": false,
  "scrapeDetails": false,
  "maxConcurrency": 5
}
```

# Actor output Schema

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

One row per product of a search (type listing) or per item read in full (type item).

## `summary` (type: `string`):

How many rows were stored, how many jobs failed, and why the run stopped if it did.

## `failed` (type: `string`):

The searches and items that could not be read, each with the reason (an item that does not exist, for one). An empty list when everything was read.

# 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 = {
    "searches": [
        "air fryer"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("maksim_lazouski/walmart-product-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 = { "searches": ["air fryer"] }

# Run the Actor and wait for it to finish
run = client.actor("maksim_lazouski/walmart-product-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 '{
  "searches": [
    "air fryer"
  ]
}' |
apify call maksim_lazouski/walmart-product-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,maksim_lazouski/walmart-product-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/ZkKYTfapCJZQIX4R8/builds/gZOmOAANdkzpaGJ4Z/openapi.json
