# Walmart Search Scraper - Prices, Ratings, Sellers (No API Key) (`jamhimself/walmart-search-scraper`) Actor

Scrape Walmart.com search results to JSON — prices, wasPrice, ratings, reviews, brand, seller, availability, sponsored flag. No API key, no login. Bulk, pay per result.

- **URL**: https://apify.com/jamhimself/walmart-search-scraper.md
- **Developed by:** [Jaime Martinez](https://apify.com/jamhimself) (community)
- **Categories:** E-commerce, Agents, Developer tools
- **Features:** Limited permissions
- **Stats:** 14 total users, 5 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.40 / 1,000 product results

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 Search Scraper — No API Key

Scrape Walmart.com product search results into clean, structured JSON — **no API key, no login, no browser setup**. Enter any search query (e.g. `stand mixer`, `nintendo switch oled`) and get back every product on the results pages with **price**, **wasPrice** (list/strike-through price), **rating**, **reviewCount**, **brand**, **seller**, **availability**, and **sponsored** flag. Built for price-tracking, competitor and MAP monitoring, product/market research, sourcing, and feeding retail data to AI agents — in **bulk**, **pay per result**.

Walmart has no open product API and blocks datacenter IPs, so this Actor uses **got-scraping TLS/browser impersonation**, **US residential proxies**, **automatic session rotation** on soft-blocks, and **cookie warm-up** to fetch results reliably at scale.

### ⚡ Quick start

Paste this into the Actor's **Input** (JSON view) and hit **Start**:

```json
{
  "searchQuery": "laptop",
  "maxResults": 40
}
```

US residential proxy is the default — no proxy setup needed. Each result row looks like:

```json
{
  "id": "5689919121",
  "name": "HP 15.6\" FHD Laptop, Intel Core i5-1334U, 8GB RAM, 256GB SSD, Silver",
  "price": 379,
  "rating": 4.3,
  "reviewCount": 2157,
  "brand": "HP",
  "seller": "Walmart.com",
  "url": "https://www.walmart.com/ip/5689919121"
}
```

Or run it from the API:

```
POST https://api.apify.com/v2/acts/jamhimself~walmart-search-scraper/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN
```

> **Already used it?** A short honest review helps other people find this Actor — and tells me what to fix next: [leave a review](https://apify.com/jamhimself/walmart-search-scraper/reviews).

### What you get

One row per product:

| Field | Type | Description |
|-------|------|-------------|
| `id` | string | Walmart item ID (usItemId) |
| `name` | string | Product title |
| `price` | number | Current price |
| `wasPrice` | number | Previous / list price (null if none) |
| `currency` | string | Currency unit (e.g. USD) |
| `rating` | number | Average star rating |
| `reviewCount` | number | Number of reviews |
| `brand` | string | Brand name |
| `seller` | string | Seller name (marketplace or Walmart.com) |
| `availability` | string | In stock / out of stock status |
| `sponsored` | boolean | Whether the tile is a sponsored ad placement |
| `url` | string | Product page URL |
| `image` | string | Product thumbnail image URL |

### Use cases

- **Price monitoring & repricing** — track Walmart prices and `wasPrice` markdowns over time to reprice your own listings.
- **Competitor & MAP monitoring** — watch competitor and reseller pricing across categories and flag minimum-advertised-price violations.
- **Product & market research** — map assortment, price bands, ratings, and review counts per search term or category.
- **Sourcing, dropshipping & retail arbitrage** — surface in-stock products, sellers, and margins for sourcing decisions.
- **Brand & seller monitoring** — see where your products rank in search and who else is selling them.
- **LLM / RAG & AI agents** — feed structured Walmart retail data into shopping, comparison, and pricing agents or datasets.

### Input

| Field | Type | Description | Example |
|-------|------|-------------|---------|
| `searchQuery` | string | What to search Walmart.com for (or use `searchQueries`) | `"nintendo switch oled"` |
| `searchQueries` | array | Several searches in one run; each row gets a `searchQuery` field. When filled, it replaces `searchQuery` | `["air fryer", "stand mixer"]` |
| `maxResults` | integer | Max products per search (default 60, max 1000) | `100` |
| `trackPriceChanges` | boolean | Add `previousPrice`, `priceChange`, `priceChangePct`, `priceStatus` by comparing with your last run | `true` |
| `onlyChangedOrNew` | boolean | Deliver (and bill) only new products and price changes; `maxResults` then = products checked per search | `true` |
| `proxyConfiguration` | object | Proxy settings — US residential is the default and strongly recommended | US RESIDENTIAL |

#### Example

```json
{
  "searchQuery": "stand mixer",
  "maxResults": 100,
  "proxyConfiguration": { "useApifyProxy": true, "apifyProxyGroups": ["RESIDENTIAL"], "apifyProxyCountry": "US" }
}
```

#### Example output row

```json
{
  "id": "910582148",
  "name": "Nintendo Switch OLED Model Video Game Console",
  "price": 349.00,
  "wasPrice": null,
  "currency": "USD",
  "rating": 4.5,
  "reviewCount": 1284,
  "brand": "Nintendo",
  "seller": "Walmart.com",
  "availability": "In stock",
  "sponsored": false,
  "url": "https://www.walmart.com/ip/910582148",
  "image": "https://i5.walmartimages.com/..."
}
```

### Run it on a schedule (daily price watch)

1. List every search you want to watch in **Searches** (e.g. your products and your competitors' terms).
2. Tick **Track price changes** — each row then includes `previousPrice`, `priceChange`, `priceChangePct` and `priceStatus` (`new` / `up` / `down` / `same`).
3. Tick **Only deliver new products or price changes** to get just the movers: unchanged products are checked but not delivered and not billed.
4. In Apify Console → **Schedules**, run it daily. Route the output to Slack, Google Sheets or a webhook with Apify **Integrations** for instant price-drop alerts.

Prices are remembered per search in a small key-value store named `jamhimself-walmart-price-state` in **your own** Apify account. Delete it to start over.

### Pricing

**The first 50 product rows in every run are free.** After that, **$0.004 per result delivered** — no actor-start fee, no subscription. You only pay for the product rows the Actor actually returns:

| Results delivered in a run | Cost |
|---|---|
| 50 or fewer | $0.00 |
| 200 | $0.60 |
| 500 | $1.80 |

*Prices above are the standard rate. Apify Store subscription discounts apply automatically — Bronze −10%, Silver −20%, Gold and above −40% (that is the "from" price shown on this page).*

### Notes

- Use **US Apify Proxy (residential)** — the default. Datacenter IPs are blocked and non-US IPs return a different regional site.
- Walmart changes its page structure periodically; this Actor is actively maintained.

# Actor input Schema

## `searchQuery` (type: `string`):

What to search Walmart.com for, e.g. "nintendo switch oled" or "stand mixer". For several searches at once, use "Searches" below instead (it replaces this field when filled).

## `searchQueries` (type: `array`):

Optional. Run several Walmart searches in one run (e.g. a list of products or competitor terms to watch). Each row gets a "searchQuery" field. If this list is filled, it replaces "Search query" above.

## `maxResults` (type: `integer`):

Maximum number of products to return. Applies per search.

## `trackPriceChanges` (type: `boolean`):

Remember each product's price between runs and add previousPrice, priceChange, priceChangePct and priceStatus (new / up / down / same) to every row. Prices are kept in a small key-value store named "jamhimself-walmart-price-state" in your own account — delete it to start over.

## `onlyChangedOrNew` (type: `boolean`):

Turns on price tracking. Products whose price did not change since the last run are checked but not delivered and not billed. "Max results" then means how many products are checked per search. Ideal for a daily price-watch schedule.

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

Walmart blocks datacenter IPs, so US RESIDENTIAL proxies are strongly recommended.

## Actor input object example

```json
{
  "searchQuery": "nintendo switch oled",
  "maxResults": 60,
  "trackPriceChanges": false,
  "onlyChangedOrNew": false,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  }
}
```

# Actor output Schema

## `products` (type: `string`):

One row per product: name, price, rating, reviews, seller, availability, and URL.

# 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 = {
    "searchQuery": "nintendo switch oled",
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ],
        "apifyProxyCountry": "US"
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("jamhimself/walmart-search-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 = {
    "searchQuery": "nintendo switch oled",
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "US",
    },
}

# Run the Actor and wait for it to finish
run = client.actor("jamhimself/walmart-search-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 '{
  "searchQuery": "nintendo switch oled",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  }
}' |
apify call jamhimself/walmart-search-scraper --silent --output-dataset

```

## MCP server setup

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