# Walmart Product Scraper | US CA MX Prices Reviews (`lentic_clockss/walmart-scraper`) Actor

Scrape Walmart.com, Walmart.ca & Walmart.com.mx products — search, categories, catalogs & PDP. Extract prices, ratings, sellers, stock, variants & reviews. Export Excel/CSV/JSON.

- **URL**: https://apify.com/lentic\_clockss/walmart-scraper.md
- **Developed by:** [kane liu](https://apify.com/lentic_clockss) (community)
- **Categories:** E-commerce
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js/docs.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python/docs.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## Walmart Product Scraper — Prices, Search, Categories & Reviews (US / CA / MX)

**Scrape Walmart product data from Walmart.com, Walmart.ca, and Walmart.com.mx — then download structured results as Excel, CSV, or JSON.**

Use this Actor as a practical **Walmart product data API alternative** for price monitoring, catalog research, competitor tracking, and inventory checks. Enter a keyword, category id, or product URL / usItemId, pick a market, and get clean Dataset rows with prices, ratings, sellers, availability, and product links.

- Scrape **Walmart search results**, **category browse pages**, **department trees**, **category hubs**, **facet catalogs**, and **product detail pages**
- Cover **United States** (`walmart.com`), **Canada** (`walmart.ca`), and **Mexico** (`walmart.com.mx`)
- Capture **current price**, ratings, review counts, seller, stock status, sponsored flags, grocery / SNAP-related fields, and optional PDP variants
- Set **ZIP / postal code** for location-sensitive pricing and fulfillment signals
- Export to **Excel / CSV / JSON**, or connect Make, n8n, Zapier, Python, or the Apify API
- **Pay per event** — Actor start + each Dataset result; platform usage is included (you do not pay separate Apify compute on top)

---

### What does the Walmart Product Scraper do?

Walmart Product Scraper lets you **extract structured product and category data from Walmart storefronts** without running your own browser farm or fighting Akamai / PerimeterX yourself. Give it a search keyword, browse category, or product id / URL, then start a run.

Under the hood, the Actor:

1. Validates your input (market, mode, keyword / category / product ids, filters)
2. Calls a managed Cloud Run worker that fetches Walmart pages with residential egress and unlock failover
3. Parses guest-visible Next.js payload (`#__NEXT_DATA__`) into normalized product or category records
4. Pushes Dataset rows ready for Excel / CSV / JSON export
5. Writes `RUN_SUMMARY` (and `ERROR_SUMMARY` on failure) to the key-value store

You run it like any other Apify Actor — schedule it, call it from the API, or plug it into automations.

---

### What Walmart data can I extract?

| Data | Search | Browse / Catalog | Product detail | Departments / Hub |
| --- | :---: | :---: | :---: | :---: |
| Product name / title | ✅ | ✅ | ✅ | — |
| usItemId / offer id | ✅ | ✅ | ✅ | — |
| Current price / currency | ✅ | ✅ | ✅ | — |
| Rating / review count | ✅ | ✅ | ✅ | — |
| Availability / seller | ✅ | ✅ | ✅ | — |
| Sponsored flag | ✅ | ✅ | — | — |
| Grocery / SNAP / by-weight flags | ✅ | ✅ | ✅ | — |
| Variants / secondary offers | — | — | ✅* | — |
| Reviews (first page) | — | — | ✅* | — |
| Category id / slug / browse URL | — | ✅ | — | ✅ |
| Direct Walmart product URL | ✅ | ✅ | ✅ | — |

\*Enable `enrichDetails`, `expandVariants`, and/or `maxReviews` where needed. Review pagination beyond the first page is not claimed.

---

### Why scrape Walmart?

Walmart is one of the largest retail catalogs in North America. Teams scrape Walmart to:

- Monitor **keyword and category prices** across ZIP codes or markets
- Build product catalogs from **browse + facet crawl** instead of a single SERP page
- Track **ratings, review volume, and seller mix** for competitive research
- Pull **PDP details, variants, and grocery flags** into pricing or assortment tools
- Feed AI agents, BI dashboards, or enrichment pipelines with structured Walmart rows

Compared with single-mode Walmart Actors that only do search **or** only PDP / reviews, this Actor covers **search + browse + catalog + departments + product** across **US / CA / MX**.

---

### More Actors like this

Need another marketplace or a different vertical? Use a **dedicated Actor** below for structured fields. Stay on **Walmart Product Scraper** for Walmart US / CA / MX search, browse, catalog, departments, and PDP.

#### Similar e-commerce scrapers
- [Amazon Search Scraper](https://apify.com/lentic_clockss/amazon-search-results-collector)
- [Target Product Scraper](https://apify.com/lentic_clockss/target-scraper)
- [Costco Product Scraper](https://apify.com/lentic_clockss/costco-scraper)
- [Shopee Search Scraper](https://apify.com/lentic_clockss/shopee-search-scraper)
- [Lazada Scraper](https://apify.com/lentic_clockss/lazada-ph-search-results-collector)
- [SHEIN Product Scraper](https://apify.com/lentic_clockss/shein-scraper)
- [Temu Product Scraper](https://apify.com/lentic_clockss/temu-scraper)
- [MercadoLibre Scraper](https://apify.com/lentic_clockss/mercadolibre-scraper)
- [Etsy Scraper](https://apify.com/lentic_clockss/etsy-scraper)
- [Allegro Scraper](https://apify.com/lentic_clockss/allegro-scraper)
- [Coupang Product Scraper](https://apify.com/lentic_clockss/coupang-scraper)
- [1688 Global Product Search Scraper](https://apify.com/lentic_clockss/1688-global-scraper)

#### Prefer another specialized scraper?
If your target has a specialized Actor below, use that first — usually cheaper and more structured than a generic scrape.

**Jobs & Freelance**
- [LinkedIn Jobs Scraper](https://apify.com/lentic_clockss/linkedin-jobs-scraper)
- [Indeed Jobs Scraper](https://apify.com/lentic_clockss/indeed-jobs-scraper)
- [Upwork Jobs Scraper](https://apify.com/lentic_clockss/upwork-jobs-scraper)
- [Glassdoor Scraper](https://apify.com/lentic_clockss/glassdoor-scraper)
- [Fiverr Gigs Scraper](https://apify.com/lentic_clockss/fiverr-programming-tech-gigs-scraper)
- [Bayt Jobs Scraper](https://apify.com/lentic_clockss/bayt-scraper)

**Real Estate**
- [Zillow & Zumper Scraper](https://apify.com/lentic_clockss/us-real-estate-scraper)
- [Realtor.com Scraper](https://apify.com/lentic_clockss/realtor-com-scraper)
- [Apartments.com Rental Scraper](https://apify.com/lentic_clockss/apartments-com-rental-scraper)
- [Rightmove Scraper](https://apify.com/lentic_clockss/rightmove-property-scraper)
- [Idealista Scraper](https://apify.com/lentic_clockss/idealista-scraper)
- [realestate.com.au Scraper](https://apify.com/lentic_clockss/realestate-com-au-scraper)

**Travel & Stays**
- [Booking.com Hotels Scraper](https://apify.com/lentic_clockss/booking-hotels-scraper)
- [Airbnb Listings Scraper](https://apify.com/lentic_clockss/airbnb-listings-scraper)
- [Expedia Scraper](https://apify.com/lentic_clockss/expedia-scraper)
- [TripAdvisor Scraper](https://apify.com/lentic_clockss/tripadvisor-scraper)

**Social & Content**
- [YouTube Research Scraper](https://apify.com/lentic_clockss/youtube-research-scraper)
- [TikTok Scraper](https://apify.com/lentic_clockss/tiktok-scraper)
- [Reddit Scraper](https://apify.com/lentic_clockss/reddit-scraper)
- [YouTube Shorts Scraper](https://apify.com/lentic_clockss/youtube-shorts-scraper)

**Ads Intelligence**
- [Facebook Ad Library Scraper](https://apify.com/lentic_clockss/facebook-ad-library-scraper)
- [TikTok Ads Scraper](https://apify.com/lentic_clockss/tiktok-ads-top-ads-actor)

**Local & Maps**
- [Google Maps Scraper](https://apify.com/lentic_clockss/google-maps-scraper)

#### General tools
- [Stealth Web Scraper](https://apify.com/lentic_clockss/stealth-web-scraper)
- [Email Risk Validator](https://apify.com/lentic_clockss/email-risk-validator)
- [Phone Number Intelligence](https://apify.com/lentic_clockss/phone-number-intelligence)

→ See the full catalog in [Related Actors](#related-actors) below, or browse [apify.com/lentic_clockss](https://apify.com/lentic_clockss).

---

### How to scrape Walmart products (no code required)

1. Create a free [Apify](https://apify.com/) account
2. Open [Walmart Product Scraper](https://apify.com/lentic_clockss/walmart-scraper)
3. Choose a **mode**: `search`, `browse`, `catalog`, `departments`, `categoryHub`, or `product`
4. Choose a **market**: `US`, `CA`, or `MX`
5. Enter a **keyword** (search), **categoryId** (browse / catalog), or **usItemIds** / **productUrls** (product)
6. *(Optional)* Set `postalCode` (e.g. `10001`), price filters, `facetCrawl`, or `enrichDetails`
7. Click **Start** and download the Dataset as JSON, CSV, Excel, or JSONL

Start with `maxResults: 5–10` to verify the query, then scale up.

---

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

This Actor uses **pay-per-event** pricing. You are charged for:

| Event | Price |
| --- | --- |
| Actor Start (`apify-actor-start`) | **$0.005** per start |
| Result (`apify-default-dataset-item`) | **$3.00 / 1,000** results (**$0.003** each) |

**Platform usage costs are included** — you do **not** pay separate Apify compute/proxy usage for this Actor on top of the event prices above.

#### Example cost estimates

| Results collected | Approx. event cost* |
| --- | ---: |
| 100 | ~$0.31 |
| 1,000 | ~$3.01 |
| 10,000 | ~$30.01 |

\*Assumes one Actor start at default memory billing for start events, plus `$0.003` per Dataset item. Exact start billing can scale with allocated memory (one start event per GB, minimum one).

Free Apify trial credit can cover a small test run — try `maxResults: 5` first.

#### Free-tier caps (Actor developer limits)

| Cap | Value |
| --- | --- |
| Free Apify-plan runs of this Actor | **10** total |
| Free results / run | **200** |
| Paying Apify users | Unlimited runs (schema max still applies) |

These limits are enforced in Actor code (set by the Actor developer, not Apify).

---

### Input

Open the **Input** tab for the full form. Common fields:

| Field | Description |
| --- | --- |
| `market` | `US` / `CA` / `MX` |
| `mode` | `search` / `browse` / `departments` / `product` / `catalog` / `categoryHub` |
| `keywords` / `keyword` | Search keywords |
| `categoryId` / `categorySlug` | Browse / catalog category (e.g. `3944` + `electronics`) |
| `facet` | Facet expression such as `brand:Apple` |
| `sort` | e.g. `best_match`, `price_low`, `best_seller` |
| `postalCode` / `storeId` | Location-sensitive price / fulfillment |
| `minPrice` / `maxPrice` | Optional listing price filter |
| `excludeSponsored` | Drop sponsored cards from listing output |
| `facetCrawl` / `facetCrawlMaxFacets` | Slice browse facets for deeper catalog coverage |
| `productUrls` / `usItemIds` | Product detail mode targets |
| `enrichDetails` / `enrichLimit` | Enrich listing rows with PDP fields (default limit 5, max 50) |
| `expandVariants` | Emit variant SKU rows from PDP |
| `maxReviews` | Cap reviews returned per enriched product (first page) |
| `maxResults` | Cap Dataset rows (default 40; free plan capped at 200) |

<details>
<summary>📋 Example JSON input (search)</summary>

```json
{
  "mode": "search",
  "market": "US",
  "keyword": "paper towels",
  "postalCode": "10001",
  "maxResults": 20,
  "excludeSponsored": true
}
````

</details>

<details>
<summary>📋 Example JSON input (catalog / facet crawl)</summary>

```json
{
  "mode": "catalog",
  "market": "US",
  "categoryId": "3944",
  "categorySlug": "electronics",
  "facetCrawl": true,
  "facetCrawlMaxFacets": 5,
  "maxResults": 100,
  "postalCode": "60601"
}
```

</details>

***

### Output

Each product row typically includes:

| Field | Meaning |
| --- | --- |
| `usItemId` | Walmart item id |
| `name` | Product title |
| `price` / `currency` | Parsed list / current price |
| `averageRating` / `numberOfReviews` | Rating signals |
| `availabilityStatus` | e.g. `IN_STOCK` |
| `sellerName` | Seller display name |
| `sponsored` | Sponsored listing flag when present |
| `snapEligible` / `finalCostByWeight` | Grocery-related flags when present |
| `productUrl` | Canonical Walmart URL |
| `postalCode` / `market` | Location / market context |
| `imageUrl` | Primary image when available |

<details>
<summary>📋 Example output row</summary>

```json
{
  "source": "walmart",
  "type": "product",
  "mode": "search",
  "usItemId": "14628565544",
  "name": "Bounty Paper Towels Select-A-Size White, 10 Triple Rolls, 123 Sheets Per Roll",
  "price": 27.66,
  "currency": "USD",
  "averageRating": 4.7,
  "numberOfReviews": 90105,
  "availabilityStatus": "IN_STOCK",
  "sellerName": "Walmart.com",
  "sponsored": true,
  "productUrl": "https://www.walmart.com/ip/Bounty-BASE-Paper-Towel-2-Ply-Select-a-Size-Roll-White/14628565544",
  "postalCode": "10001"
}
```

</details>

***

### Coverage matrix

| Dimension | Coverage |
| --- | --- |
| Markets | ✅ US `www.walmart.com` · ✅ CA `www.walmart.ca` · ✅ MX `www.walmart.com.mx` |
| Categories | ✅ Department tree · ✅ Category hubs · ✅ Browse `categoryId` · ✅ Catalog / facet crawl |
| Modes | ✅ search · ✅ browse · ✅ departments · ✅ product · ✅ catalog · ✅ categoryHub |
| Location | ✅ `postalCode` / `storeId` → `locationResolved` diagnostics |
| Listing filters | ✅ facet · ✅ sort · ✅ min/max price · ✅ excludeSponsored |
| Product enrichment | ✅ details (`enrichLimit` ≤ 50) · ✅ variants · ✅ reviews (first page) |

***

### Use cases

#### 1. Keyword price monitoring

**In plain English:** Track Walmart search prices for a product query in a specific ZIP.

**You give:**

| Field | What to enter |
| --- | --- |
| `mode` | `search` |
| `keyword` | e.g. `wireless earbuds` |
| `postalCode` | e.g. `10001` |
| `maxResults` | `40` |

**You get back:** Product titles, prices, ratings, sellers, stock flags, and Walmart URLs — exportable as Excel / CSV / JSON.

#### 2. Category / catalog harvest

**In plain English:** Crawl an Electronics (or Grocery) browse tree with facet slices for broader unique `usItemId` coverage.

**You give:** `mode=catalog`, `categoryId`, optional `facetCrawl=true`.

#### 3. Product detail enrichment

**In plain English:** Pull PDP fields, optional variants, and first-page reviews for known item ids or URLs.

**You give:** `mode=product`, `usItemIds` or `productUrls`, optional `expandVariants` / `maxReviews`.

#### 4. Cross-border assortment check

**In plain English:** Run the same keyword on `US`, `CA`, and `MX` markets to compare assortment and URLs.

#### 5. Department discovery

**In plain English:** Pull the live department / category hub tree to seed downstream browse jobs.

***

### Tips for better Walmart scrapes

- Always set a realistic **`postalCode`** when price or fulfillment matters — location can change displayed prices
- Prefer **`catalog` + `facetCrawl`** for deep category coverage; a single browse list is capped by Walmart pagination
- Use **`excludeSponsored`** when you want organic listing rows only
- Keep **`enrichLimit`** modest unless you need PDP fields on every row
- Start small (`maxResults: 5–10`) before large catalog runs

***

### FAQ

**Is this a Walmart API?**\
No. It collects guest-visible storefront data and returns structured Dataset rows. It is useful when you need a Walmart product-data workflow without maintaining unlock infrastructure.

**Do you support Walmart.ca and Walmart.com.mx?**\
Yes — set `market` to `CA` or `MX`. Antibot pressure varies by market; diagnostics report provider / failover when used.

**Can I scrape customer reviews?**\
Product mode / enrichment can return the **first page** of reviews when present. Full review pagination is not claimed until a stable page channel is confirmed.

**Do I pay Apify platform usage separately?**\
No. With this Actor’s pay-per-event setup, **platform usage costs are included** in the event prices (Actor start + results).

**Is login / order history supported?**\
No. This Actor does not access account, cart, or order surfaces.

***

### Architecture

```
Actor (this) --HTTPS + WORKER_AUTH--> walmart-com Cloud Run --> Walmart storefronts
```

Env: `WORKER_BASE_URL`, `WORKER_AUTH` / `WORKER_API_KEY` (secret), `WORKER_PROVIDES_PROXY=1`.

### Standby

`usesStandbyMode` + `.actor/openapi.json` for Live View convenience searches (capped).

### Legal / responsible use

Only scrape data you have a lawful right to access. Respect Walmart’s terms and applicable laws. Do not use this Actor for account takeover, credential stuffing, or personal-data harvesting beyond publicly shown product content.

***

### Related Actors

All **77** public Actors from \[[lentic\_clockss](https://apify.com/lentic_clockss)]. Click a name to open the Store detail page.

#### Jobs & Freelance

- [LinkedIn Jobs Scraper](https://apify.com/lentic_clockss/linkedin-jobs-scraper)
- [Bayt Jobs Scraper](https://apify.com/lentic_clockss/bayt-scraper)
- [Fiverr Gigs Scraper](https://apify.com/lentic_clockss/fiverr-programming-tech-gigs-scraper)
- [Freelancer.com Scraper](https://apify.com/lentic_clockss/freelancer-scraper)
- [Glassdoor Scraper](https://apify.com/lentic_clockss/glassdoor-scraper)
- [Himalayas Jobs Scraper](https://apify.com/lentic_clockss/himalayas-jobs-scraper)
- [Indeed Jobs Scraper](https://apify.com/lentic_clockss/indeed-jobs-scraper)
- [Jobicy Remote Jobs Scraper](https://apify.com/lentic_clockss/jobicy-remote-jobs-scraper)
- [RemoteOK Jobs Scraper](https://apify.com/lentic_clockss/remoteok-all-jobs-scraper)
- [SEEK Jobs Scraper](https://apify.com/lentic_clockss/seek-scraper)
- [Upwork Jobs Scraper](https://apify.com/lentic_clockss/upwork-jobs-scraper)

#### Real Estate

- [Zillow & Zumper Scraper](https://apify.com/lentic_clockss/us-real-estate-scraper)
- [Realtor.com Scraper](https://apify.com/lentic_clockss/realtor-com-scraper)
- [99.co Scraper](https://apify.com/lentic_clockss/ninetynine-co-sg-scraper)
- [Realtor.com Agents Scraper](https://apify.com/lentic_clockss/realtor-com-agents-scraper)
- [Apartments.com Rental Scraper](https://apify.com/lentic_clockss/apartments-com-rental-scraper)
- [Bayut Scraper](https://apify.com/lentic_clockss/bayut-uae-scraper)
- [Craigslist Housing Scraper](https://apify.com/lentic_clockss/craigslist-housing-scraper)
- [Daft.ie Scraper](https://apify.com/lentic_clockss/daft-property-scraper)
- [Dot Property Scraper](https://apify.com/lentic_clockss/dot-property-th-scraper)
- [FINN.no Scraper](https://apify.com/lentic_clockss/finn-scraper)
- [Funda Scraper](https://apify.com/lentic_clockss/funda-scraper)
- [Hepsiemlak Scraper](https://apify.com/lentic_clockss/hepsiemlak-scraper)
- [Idealista Scraper](https://apify.com/lentic_clockss/idealista-scraper)
- [Immobiliare.it Scraper](https://apify.com/lentic_clockss/immobiliare-property-scraper)
- [ImmoScout24 Scraper](https://apify.com/lentic_clockss/immobilienscout24-scraper)
- [Naver Land Scraper](https://apify.com/lentic_clockss/naver-land-scraper)
- [OpenSooq Scraper](https://apify.com/lentic_clockss/opensooq-real-estate-scraper)
- [Otodom Scraper](https://apify.com/lentic_clockss/otodom-scraper)
- [Property Finder Scraper](https://apify.com/lentic_clockss/property-finder-uae-scraper)
- [PropertyGuru Scraper](https://apify.com/lentic_clockss/propertyguru-sg-scraper)
- [realestate.com.au Scraper](https://apify.com/lentic_clockss/realestate-com-au-scraper)
- [Realtor.ca Scraper](https://apify.com/lentic_clockss/realtor-ca-scraper)
- [Rightmove Scraper](https://apify.com/lentic_clockss/rightmove-property-scraper)
- [SeLoger Scraper](https://apify.com/lentic_clockss/seloger-property-scraper)
- [SUUMO Scraper](https://apify.com/lentic_clockss/suumo-property-scraper)
- [Zillow Group Scraper](https://apify.com/lentic_clockss/zillow-group-scraper)

#### E-commerce

- [Shopee Search Scraper](https://apify.com/lentic_clockss/shopee-search-scraper)
- [E-commerce Scraper](https://apify.com/lentic_clockss/ecommerce-scraper)
- [1688 Global Product Search Scraper](https://apify.com/lentic_clockss/1688-global-scraper)
- [Allegro Scraper](https://apify.com/lentic_clockss/allegro-scraper)
- [Amazon Search Scraper](https://apify.com/lentic_clockss/amazon-search-results-collector)
- [ASOS Product Scraper](https://apify.com/lentic_clockss/asos-scraper)
- [Cdiscount Product Scraper](https://apify.com/lentic_clockss/cdiscount-scraper)
- [Costco Product Scraper](https://apify.com/lentic_clockss/costco-scraper)
- [Coupang Product Scraper](https://apify.com/lentic_clockss/coupang-scraper)
- [Etsy Scraper](https://apify.com/lentic_clockss/etsy-scraper)
- [Lazada Scraper](https://apify.com/lentic_clockss/lazada-ph-search-results-collector)
- [MercadoLibre Scraper](https://apify.com/lentic_clockss/mercadolibre-scraper)
- [Mercari Japan Scraper](https://apify.com/lentic_clockss/mercari-scraper)
- [Rakuten Japan Scraper](https://apify.com/lentic_clockss/rakuten-scraper)
- [SHEIN Product Scraper](https://apify.com/lentic_clockss/shein-scraper)
- [Target Product Scraper](https://apify.com/lentic_clockss/target-scraper)
- [Temu Product Scraper](https://apify.com/lentic_clockss/temu-scraper)
- [Walmart Product Scraper](https://apify.com/lentic_clockss/walmart-scraper)

#### Travel & Stays

- [Booking.com & Airbnb Scraper](https://apify.com/lentic_clockss/booking-airbnb-scraper)
- [Agoda Scraper](https://apify.com/lentic_clockss/agoda-scraper)
- [Airbnb Listings Scraper](https://apify.com/lentic_clockss/airbnb-listings-scraper)
- [Booking.com Hotels Scraper](https://apify.com/lentic_clockss/booking-hotels-scraper)
- [Despegar Scraper](https://apify.com/lentic_clockss/despegar-scraper)
- [Expedia Scraper](https://apify.com/lentic_clockss/expedia-scraper)
- [Traveloka Scraper](https://apify.com/lentic_clockss/traveloka-scraper)
- [Travelstart Flights Scraper](https://apify.com/lentic_clockss/travelstart-scraper)
- [Trip.com Scraper](https://apify.com/lentic_clockss/trip-com-scraper)
- [TripAdvisor Scraper](https://apify.com/lentic_clockss/tripadvisor-scraper)

#### Social & Content

- [TikTok Scraper](https://apify.com/lentic_clockss/tiktok-scraper)
- [Reddit Scraper](https://apify.com/lentic_clockss/reddit-scraper)
- [YouTube Shorts Scraper](https://apify.com/lentic_clockss/youtube-shorts-scraper)
- [YouTube Research Scraper](https://apify.com/lentic_clockss/youtube-research-scraper)
- [Hacker News Scraper](https://apify.com/lentic_clockss/hacker-news-scraper)

#### Ads Intelligence

- [Facebook Ad Library Scraper](https://apify.com/lentic_clockss/facebook-ad-library-scraper)
- [Google Ads Transparency VN](https://apify.com/lentic_clockss/google-ads-transparency-center-vn)
- [TikTok Ads Scraper](https://apify.com/lentic_clockss/tiktok-ads-top-ads-actor)

#### Local & Maps

- [Google Maps Scraper](https://apify.com/lentic_clockss/google-maps-scraper)

#### General Tools

- [Stealth Web Scraper](https://apify.com/lentic_clockss/stealth-web-scraper)
- [Email Risk Validator](https://apify.com/lentic_clockss/email-risk-validator)
- [Phone Number Intelligence](https://apify.com/lentic_clockss/phone-number-intelligence)

→ Browse the full profile: [apify.com/lentic\_clockss](https://apify.com/lentic_clockss)

# Actor input Schema

## `market` (type: `string`):

Walmart market site: US (walmart.com), CA (walmart.ca), or MX (walmart.com.mx).

## `mode` (type: `string`):

search = keyword SERP; browse = category PLP; departments = department taxonomy; product = PDP by ID/URL; catalog = product catalog; categoryHub = category-tree hub.

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

Search keywords (search mode). First keyword used if keyword is empty.

## `keyword` (type: `string`):

Single search keyword (optional if keywords is set).

## `categoryId` (type: `string`):

Walmart catId for browse mode (e.g. 3944 electronics, 976759 food).

## `categorySlug` (type: `string`):

Optional browse slug (e.g. electronics).

## `facet` (type: `string`):

Facet expression, e.g. brand:Apple

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

Walmart sort query value.

## `postalCode` (type: `string`):

US ZIP for location-sensitive price/fulfillment (recommended).

## `storeId` (type: `string`):

Optional Walmart store id (stores= query).

## `productUrls` (type: `array`):

PDP URLs for product mode.

## `usItemIds` (type: `array`):

Walmart usItemId values for product mode.

## `enrichDetails` (type: `boolean`):

When true on search/browse, fetch PDP details for up to 5 items.

## `enrichLimit` (type: `integer`):

Maximum listing products to enrich with PDP data when enrichDetails is enabled.

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

Optional minimum product price filter.

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

Optional maximum product price filter; must be at least minPrice.

## `excludeSponsored` (type: `boolean`):

Remove sponsored product cards from listing output.

## `facetCrawl` (type: `boolean`):

Discover and crawl listing facet slices in addition to the base listing.

## `facetCrawlMaxFacets` (type: `integer`):

Optional cap on facet slices when facetCrawl is enabled.

## `expandVariants` (type: `boolean`):

Include available PDP variants such as size, color, or pack options.

## `maxReviews` (type: `integer`):

Optional cap on reviews returned for each enriched product.

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

Maximum items to return. Free plan capped at 200.

## `workerBaseUrl` (type: `string`):

Optional HTTPS Cloud Run origin override (allowlisted). Prefer Actor env WORKER\_BASE\_URL.

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

Apify Proxy. Use RESIDENTIAL + US. Actor-run proxy URLs are remapped to worker PROXY\_URL on Cloud Run when needed.

## Actor input object example

```json
{
  "market": "US",
  "mode": "search",
  "keywords": [
    "wireless earbuds"
  ],
  "sort": "best_match",
  "postalCode": "10001",
  "enrichDetails": false,
  "enrichLimit": 5,
  "excludeSponsored": false,
  "facetCrawl": false,
  "facetCrawlMaxFacets": 15,
  "expandVariants": false,
  "maxReviews": 0,
  "maxResults": 40,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  }
}
```

# Actor output Schema

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

Normalized Walmart product / category rows from the default dataset.

## `runSummary` (type: `string`):

Structured summary record stored in the default key-value store.

## `inputEcho` (type: `string`):

Normalized input saved at run start.

## `errorSummary` (type: `string`):

Present when a failed run stores structured terminal error information.

# 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": [
        "wireless earbuds"
    ],
    "postalCode": "10001",
    "maxResults": 40
};

// Run the Actor and wait for it to finish
const run = await client.actor("lentic_clockss/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 = {
    "keywords": ["wireless earbuds"],
    "postalCode": "10001",
    "maxResults": 40,
}

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

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).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": [
    "wireless earbuds"
  ],
  "postalCode": "10001",
  "maxResults": 40
}' |
apify call lentic_clockss/walmart-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=lentic_clockss/walmart-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Walmart Product Scraper | US CA MX Prices Reviews",
        "description": "Scrape Walmart.com, Walmart.ca & Walmart.com.mx products — search, categories, catalogs & PDP. Extract prices, ratings, sellers, stock, variants & reviews. Export Excel/CSV/JSON.",
        "version": "0.1",
        "x-build-id": "bIbY9cmZ45yGdSBNb"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/lentic_clockss~walmart-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-lentic_clockss-walmart-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/lentic_clockss~walmart-scraper/runs": {
            "post": {
                "operationId": "runs-sync-lentic_clockss-walmart-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/lentic_clockss~walmart-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-lentic_clockss-walmart-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "mode"
                ],
                "properties": {
                    "market": {
                        "title": "Market",
                        "enum": [
                            "US",
                            "CA",
                            "MX"
                        ],
                        "type": "string",
                        "description": "Walmart market site: US (walmart.com), CA (walmart.ca), or MX (walmart.com.mx).",
                        "default": "US"
                    },
                    "mode": {
                        "title": "Mode",
                        "enum": [
                            "search",
                            "browse",
                            "departments",
                            "product",
                            "catalog",
                            "categoryHub"
                        ],
                        "type": "string",
                        "description": "search = keyword SERP; browse = category PLP; departments = department taxonomy; product = PDP by ID/URL; catalog = product catalog; categoryHub = category-tree hub.",
                        "default": "search"
                    },
                    "keywords": {
                        "title": "Keywords",
                        "minItems": 0,
                        "maxItems": 10,
                        "type": "array",
                        "description": "Search keywords (search mode). First keyword used if keyword is empty.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "keyword": {
                        "title": "Keyword",
                        "type": "string",
                        "description": "Single search keyword (optional if keywords is set)."
                    },
                    "categoryId": {
                        "title": "Category ID",
                        "type": "string",
                        "description": "Walmart catId for browse mode (e.g. 3944 electronics, 976759 food)."
                    },
                    "categorySlug": {
                        "title": "Category SEO slug",
                        "type": "string",
                        "description": "Optional browse slug (e.g. electronics)."
                    },
                    "facet": {
                        "title": "Facet",
                        "type": "string",
                        "description": "Facet expression, e.g. brand:Apple"
                    },
                    "sort": {
                        "title": "Sort",
                        "enum": [
                            "best_match",
                            "price_low",
                            "price_high",
                            "best_seller",
                            "highest_rated",
                            "new"
                        ],
                        "type": "string",
                        "description": "Walmart sort query value.",
                        "default": "best_match"
                    },
                    "postalCode": {
                        "title": "Postal / ZIP code",
                        "type": "string",
                        "description": "US ZIP for location-sensitive price/fulfillment (recommended)."
                    },
                    "storeId": {
                        "title": "Store ID",
                        "type": "string",
                        "description": "Optional Walmart store id (stores= query)."
                    },
                    "productUrls": {
                        "title": "Product URLs",
                        "type": "array",
                        "description": "PDP URLs for product mode.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "usItemIds": {
                        "title": "US Item IDs",
                        "type": "array",
                        "description": "Walmart usItemId values for product mode.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "enrichDetails": {
                        "title": "Enrich list with PDP",
                        "type": "boolean",
                        "description": "When true on search/browse, fetch PDP details for up to 5 items.",
                        "default": false
                    },
                    "enrichLimit": {
                        "title": "PDP enrichment limit",
                        "minimum": 1,
                        "maximum": 50,
                        "type": "integer",
                        "description": "Maximum listing products to enrich with PDP data when enrichDetails is enabled.",
                        "default": 5
                    },
                    "minPrice": {
                        "title": "Minimum price",
                        "minimum": 0,
                        "type": "number",
                        "description": "Optional minimum product price filter."
                    },
                    "maxPrice": {
                        "title": "Maximum price",
                        "minimum": 0,
                        "type": "number",
                        "description": "Optional maximum product price filter; must be at least minPrice."
                    },
                    "excludeSponsored": {
                        "title": "Exclude sponsored products",
                        "type": "boolean",
                        "description": "Remove sponsored product cards from listing output.",
                        "default": false
                    },
                    "facetCrawl": {
                        "title": "Crawl facets",
                        "type": "boolean",
                        "description": "Discover and crawl listing facet slices in addition to the base listing.",
                        "default": false
                    },
                    "facetCrawlMaxFacets": {
                        "title": "Maximum facets to crawl",
                        "minimum": 1,
                        "maximum": 100,
                        "type": "integer",
                        "description": "Optional cap on facet slices when facetCrawl is enabled.",
                        "default": 15
                    },
                    "expandVariants": {
                        "title": "Expand variants",
                        "type": "boolean",
                        "description": "Include available PDP variants such as size, color, or pack options.",
                        "default": false
                    },
                    "maxReviews": {
                        "title": "Maximum reviews",
                        "minimum": 0,
                        "maximum": 100,
                        "type": "integer",
                        "description": "Optional cap on reviews returned for each enriched product.",
                        "default": 0
                    },
                    "maxResults": {
                        "title": "Max results",
                        "minimum": 1,
                        "maximum": 500,
                        "type": "integer",
                        "description": "Maximum items to return. Free plan capped at 200.",
                        "default": 40
                    },
                    "workerBaseUrl": {
                        "title": "Worker base URL override",
                        "type": "string",
                        "description": "Optional HTTPS Cloud Run origin override (allowlisted). Prefer Actor env WORKER_BASE_URL."
                    },
                    "proxyConfiguration": {
                        "title": "Proxy configuration",
                        "type": "object",
                        "description": "Apify Proxy. Use RESIDENTIAL + US. Actor-run proxy URLs are remapped to worker PROXY_URL on Cloud Run when needed.",
                        "default": {
                            "useApifyProxy": true,
                            "apifyProxyGroups": [
                                "RESIDENTIAL"
                            ],
                            "apifyProxyCountry": "US"
                        }
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
