# Walmart Search Scraper (`plumblinedata/walmart-search-scraper`) Actor

Walmart search results by keyword: product ID, price, list price, rating, reviews, seller, and fulfillment options.

- **URL**: https://apify.com/plumblinedata/walmart-search-scraper.md
- **Developed by:** [Plumbline](https://apify.com/plumblinedata) (community)
- **Categories:** E-commerce
- **Stats:** 3 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 search results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

Walmart search results by keyword: product ID, price, list price, rating, reviews, seller, and fulfillment options.

For brands, sellers, and analysts who track prices and assortment at Walmart. Every run tells you plainly what worked and what did not: no silent empty runs.

### What you can do with it

- **Price monitoring:** compare `price` and `listPrice` for your category every day.
- **Fulfillment checks:** see pickup, delivery, and shipping options per product for a ZIP.
- **Marketplace research:** see which third-party sellers appear for your keywords.

### What you get

| Field | What it is | Example |
| --- | --- | --- |
| `query` | The search phrase that produced this row. | iphone case |
| `type` | organic, sponsored, or error. | organic |
| `position` | 1-based rank in that keyword's flattened result list. | 1 |
| `productId` | Walmart product identifier. | 20203166562 |
| `title` | Product title as shown in search. | onn iPhone 18 Pro Max and iPhone 17 Pro Max Phone Case with MagSafe, … |
| `url` | Product page URL. | https://www.walmart.com/ip/onn-Silicone-Cell-Phone-Case-with-MagSafe-… |
| `price` | Current price as a number when Walmart showed one. | 9.88 |
| `listPrice` | Struck-through list price when Walmart showed one. | 15.99 |
| `currency` | ISO currency code. | USD |
| `rating` | Average star rating when present. | 4.5 |
| `reviewsCount` | Number of ratings when Walmart showed one. | 215 |
| `isSponsored` | True for paid / sponsored placements. | false |
| `isOutOfStock` | True when the listing was marked out of stock. | false |
| `sellerName` | Seller name when present. | Walmart.com |
| `thumbnailUrl` | Product image URL from the search card. | https://i5.walmartimages.com/seo/onn-Silicone-Cell-Phone-Case-with-Ma… |
| `pickup` | True when store pickup was offered. | false |
| `delivery` | True when delivery was offered. | false |
| `shipping` | True when shipping was offered. | false |
| `freeShipping` | True when free shipping was shown. | false |
| `page` | Search results page this listing came from. | 1 |
| `domain` | Walmart TLD used for this query. | com |

Examples come from a real run. Every row has every field; a value the page did not show is `null`, never guessed.

### How to use it

1. Click **Try for free** (or **Start**) on this page.
2. Enter one keyword per line in the first field. The form is prefilled with a working example.
3. Optional: set **Max results** and the other options.
4. Click **Start**. Open the **Output** tab, or export JSON, CSV, Excel, or HTML.

#### Example input

```json
{
  "keywords": [
    "iphone case"
  ],
  "domain": "com",
  "pages": 1,
  "maxResults": 20
}
```

#### Example output

One real row from a run on 17 October 2026 (long values shortened here):

```json
{
  "query": "iphone case",
  "type": "organic",
  "position": 17,
  "productId": "2126985202",
  "title": "Petocase for iPhone SE 2022/2020 Case,with Built-in Screen Protector Shockproof Dust/Drop Proof Full Body Rugged Heavy Duty Durable Phone Cover for iPhone SE…",
  "url": "https://www.walmart.com/ip/Petocase-iPhone-SE-2022-2020-Case-with-Built-in-Screen-Protector-Shockproof-Dust-Drop-Proof-Full-Body-Rugged-Heavy-Duty-Durable-Ph…",
  "price": 12.59,
  "listPrice": 15.99,
  "currency": "USD",
  "rating": 4.5,
  "reviewsCount": 541,
  "isSponsored": false,
  "isOutOfStock": false,
  "sellerName": "Petocase",
  "thumbnailUrl": "https://i5.walmartimages.com/seo/Petocase-iPhone-SE-2022-2020-Case-with-Built-in-Screen-Protector-Shockproof-Dust-Drop-Proof-Full-Body-Rugged-Heavy-Duty-Dura…",
  "pickup": false,
  "delivery": false,
  "shipping": false,
  "freeShipping": false,
  "page": 1,
  "domain": "com"
}
```

### Pricing

Pay per result: **$1.00 per 1,000 rows**, plus **$0.001** per run start. No subscription.

| Event | When | Price |
| --- | --- | --- |
| Actor start | Once per run (per GB of memory; the default 256 MB counts as one) | $0.001 |
| Result row | Each row saved to the dataset | $0.001 |

| Example | Rows | Cost |
| --- | --- | --- |
| 10 products | 10 | $0.001 + $0.01 = **$0.011** |
| 100 products | 100 | $0.001 + $0.10 = **$0.101** |
| 1,000 products | 1,000 | $0.001 + $1.00 = **$1.001** |

- Retries after a bot check or a temporary error cost you nothing. You pay only for rows saved.
- An input that fails after all retries saves one error row (one row charge), so you can see what failed and why.
- On Apify's free plan a run stops at 20 rows. Any paid Apify plan removes this limit.
- Set **Max total charge per run** in the run options. The Actor stops cleanly at that limit and keeps every row saved so far.

### What you can count on

- **Same columns on every row.** Missing values are `null`, so spreadsheets and databases never break.
- **No silent failures.** An input that fails gets an error row with `errorCode` and a plain-language `errorMessage`. The other inputs keep running.
- **A clear run summary.** The run status says how many results were saved, how many inputs failed, and why. The same numbers are saved as the `RUN_SUMMARY` record in the run's key-value store, for automations.
- **Automatic retries.** Bot checks and temporary errors are retried with a fresh request before an input counts as failed.
- **Limits respected.** **Max results** and your spending limit stop the run cleanly.

### Use it from code, automations, and AI agents

**API** (returns the rows when the run finishes):

```bash
curl -X POST "https://api.apify.com/v2/acts/plumblinedata~walmart-search-scraper/run-sync-get-dataset-items?token=YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"keywords": ["iphone case"], "domain": "com", "pages": 1, "maxResults": 20}'
```

**Python** (`pip install apify-client`):

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_API_TOKEN")
run = client.actor("plumblinedata/walmart-search-scraper").call(run_input={"keywords": ["iphone case"], "domain": "com", "pages": 1, "maxResults": 20})
for row in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(row)
```

**JavaScript** (`npm install apify-client`):

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

const client = new ApifyClient({ token: 'YOUR_API_TOKEN' });
const run = await client.actor('plumblinedata/walmart-search-scraper').call({"keywords": ["iphone case"], "domain": "com", "pages": 1, "maxResults": 20});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
```

**No-code:** connect the Actor in Make, Zapier, n8n, or Google Sheets through Apify's integrations, or add a webhook to get notified when a run finishes.

**AI agents (MCP):** add `https://mcp.apify.com?tools=plumblinedata/walmart-search-scraper` to Claude, Cursor, or any MCP client. The agent can call this Actor as a tool with the same input as above.

### Limitations

- Search result cards only. For product details, use Walmart Product Scraper.
- Prices and fulfillment flags are what Walmart showed for the chosen marketplace and ZIP.

### FAQ

**Can I set a delivery ZIP?**
Yes, in **Deliver to**. Prices and fulfillment can change by ZIP.

**Which countries?**
walmart.com and the other Walmart sites listed in **Marketplace**.

**What does an error row mean?**
It marks an input that failed after retries. `errorCode` is short (`blocked`, `empty_result`, `not_available`, `http_404`, or `invalid_...` for a bad ID or URL) and `errorMessage` says what to do. Remove error rows with a filter on `type`.

**Can I run it on a schedule?**
Yes. Create a task with your input in Apify Console, then add a schedule (for example every day at 8:00).

**Is it legal to collect this data?**
The Actor reads public pages that anyone can open without logging in. You are responsible for how you use the data, including copyright, personal data rules such as GDPR, and the site's terms. If you are not sure, ask a lawyer.

### Related Actors

- [Walmart Product Scraper](https://apify.com/plumblinedata/walmart-product-scraper): Walmart product details by ID or URL.
- [Amazon Search Scraper](https://apify.com/plumblinedata/amazon-search-scraper): Amazon search results as clean rows.
- [Google Shopping Scraper](https://apify.com/plumblinedata/google-shopping-scraper): Google Shopping results by keyword.

### Support

Found a problem or need a field? Open an issue on the **Issues** tab. Include the run ID and one input that shows the problem. We read every issue.

# Changelog

This Actor's version history is a separate document: https://apify.com/plumblinedata/walmart-search-scraper/changelog.md

# Actor input Schema

## `keywords` (type: `array`):

One Walmart search phrase per line. Example: `iphone case`.

## `domain` (type: `string`):

Walmart marketplace. `com` is walmart.com (US).

## `pages` (type: `integer`):

How many result pages to fetch per keyword. Each extra page is a separate lookup and adds more rows (and PPE charges).

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

Stop after this many dataset rows across all keywords. Leave empty to keep every listing returned.

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

Walmart search sort order.

## `deliveryZip` (type: `string`):

Optional ZIP / postal code so price and fulfillment match that area. Example: `10001`.

## `fulfillmentType` (type: `string`):

Optional fulfillment filter. US supports pickup, delivery, and shipping.

## Actor input object example

```json
{
  "keywords": [
    "iphone case"
  ],
  "domain": "com",
  "pages": 1
}
```

# Actor output Schema

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

Dataset of flattened Walmart search listings.

# 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 = {
    "keywords": [
        "iphone case"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("plumblinedata/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 = { "keywords": ["iphone case"] }

# Run the Actor and wait for it to finish
run = client.actor("plumblinedata/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 '{
  "keywords": [
    "iphone case"
  ]
}' |
apify call plumblinedata/walmart-search-scraper --silent --output-dataset

```

## MCP server setup

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