# Walmart Scraper - Search, Product Details & Reviews (`ntriqpro/walmart-product-scraper`) Actor

Walmart scraper with no login: search any keyword and get prices, discounts, ratings, sellers, stock and sponsored flags per product. Optionally add full product details (specs, images, variants) and customer reviews as their own rows.

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

## Pricing

from $0.88 / 1,000 product rows

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

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

## What's an Apify Actor?

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

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

## How to integrate an Actor?

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

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

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

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

# README

## Walmart Scraper - Search, Product Details & Reviews

This walmart scraper turns a Walmart keyword search into rows: price, list price and discount, rating, review count, seller, stock status, sponsored flag and images for every product, with one row per search page that says how deep the search went. Turn on `includeDetails` to add description, specifications, UPC, variants and the rating breakdown, and `maxReviewsPerProduct` to get customer reviews as their own rows. Paste product links instead of keywords to read single products. No login, no cookies.

> Not affiliated with, endorsed by, or sponsored by Walmart Inc. Walmart is a trademark of its owner. You are responsible for how you use the data and for complying with the target site's terms and applicable law. You are the data controller of any personal data in the results (for example reviewer names); ntriqpro acts only as a processor and stores no results outside your Apify account.

### Free plan and paid plans

The free plan is a **fixed public sample plus a locked preview of your own input**, announced here and in the input form before you run. It does **not** give you the complete result of your own search or link:

| | Free plan | Paid plan |
|---|---|---|
| Complete rows | only the **fixed public sample**: 10 product rows (1 with details) and 5 review rows, the same for every free run whatever you type (marked `isSample: true` and `sampleCollectedAt`, not charged) | the complete result of your input |
| Your own input | the first keyword's first search page (or the first product link), read once and returned as **locked rows** (`locked-product`): price range, rating range, review-count range, sponsored flag, position; no name, link, image or exact price. Not charged | up to 200 keywords and 200 product links |
| Search pages | the first page only | up to 25 pages per keyword |
| Product details, reviews of your input | not included (the sample shows what they look like) | details for all, up to 500 reviews per product |
| Pages read through the proxy | at most 3 per run (one in practice) | as many as the input needs |

A free run starts with a `free-sample` notice row that says the rows after it are the fixed sample and not your search, and ends with a `free-plan-preview` notice row (also in the Output tab under **Notices**, and in the run's status line): how many of your cards came back locked, and what the same input costs on a paid plan in two figures — the keyword that was read *as seen* (its page count and total results), and *at most* for all your inputs, where every input that was not read counts at its limits (25 search pages, `maxProductsPerKeyword` products, details and review pages for each). The first keyword is never multiplied over the others. The search page that was read is charged like on any plan (see Price); the sample and locked rows are not.

### Price

Pay per event. Prices in USD; the tier is your Apify plan (Bronze shown, Free and higher tiers in `.actor/pay_per_event.json`).

| Event | Charged for | Free | Bronze | Gold |
|---|---|---|---|---|
| Actor start | each run | $0.001 | $0.001 | $0.001 |
| `search-page` | each search page read (a page with products, or one Walmart answered with no products); written and charged before that page's products | $0.01 | $0.009 | $0.007 |
| `product` | each complete product row | $0.0012 | $0.0011 | $0.00088 |
| `product-details` | each product's details, on top of its product row — once per product per run (a product link always carries details unless an earlier row of the same run already did; see FAQ) | $0.0032 | $0.0028 | $0.0017 |
| `review-page` | each Walmart review page read for you (a page with reviews, or an empty one); written before its reviews. Reviews that come with the product page have no page charge | $0.002 | $0.0018 | $0.0014 |
| `review` | each review row | $0.00025 | $0.0002 | $0.00019 |
| `target-check` | each keyword or product link that Walmart itself answered without a result: no such product (404/410), refused (final 403/429), or a robot check on every try. One `target-check` row says which — instead of the `search-page`/`product` charge, never on top, never per retry | $0.003 | $0.0027 | $0.0021 |

Examples at Bronze:

- 1 keyword, 60 products (2 search pages): $0.001 + 2 × $0.009 + 60 × $0.0011 = **$0.085**.
- 1 product link with details and 25 reviews (10 come with the product page, 15 from 2 review pages): $0.001 + $0.0011 + $0.0028 + 2 × $0.0018 + 25 × $0.0002 = **$0.0135**.
- 1 product link Walmart answers with 404: $0.001 + $0.0027 (`target-check`) = **$0.0037**.

Rows are written to your dataset first and charged afterwards. Not charged: notice rows, locked rows, failures on our side or of unknown cause (a timeout, a network or proxy error, a page we could not parse, a Walmart server error 5xx), a later search page or review page that could not be read, product details that could not be read (the row still goes out), and a row we could not back up with a quote from the page. A keyword or product link that Walmart itself answered without a result is one `target-check` (see the table). Residential proxy traffic of the default Apify Residential Proxy is included in these event prices, not billed on top; your own proxies (`proxyUrls`) are billed by their provider. If your run's spending limit cannot pay for the next page, the Actor does not request it and ends with a `charge-limit-reached` notice.

### Input

| Field | What it does |
|---|---|
| `keywords` | Search terms; one search each on walmart.com (or walmart.ca when `reg` is `"CA"`), e.g. `phone holder`. |
| `productUrls` / `product_ids` | US product/review URLs, CA `/en/` or `/fr/` product/review URLs, or ID strings. Exact Walmart.com/Walmart.ca hosts only (with optional www); credentials and nonstandard ports are rejected. Both lists merge/deduplicate under the existing 200-target limit. Product links and IDs carry billed product details; set `maxReviewsPerProduct` above 0 for reviews. A **review URL** (`/reviews/product/…`) runs review-only: without `maxReviewsPerProduct` (or `limit`) it returns 30 reviews (the review-scraper default of 3 pages), reads no product page and charges no `product` or `product-details` event — only `review-page` and `review`. Query/fragment options are ignored. Mixed US/CA or en/fr targets run one (country, language) group after another, each through its own proxy country. |
| `reg` / `lang` | Numeric IDs use `reg: "US"` by default or `"CA"`; URL region is detected regardless of `reg`. `lang: "en"` is the default; `"fr"` is supported with CA. URLs detect their own language. CA keywords and walmart.ca category/search URLs are supported; keywords are searched in the selected `reg`, and a listing link of another country or language than a chosen `reg`/`lang` is rejected. Prices retain source CAD; event charges remain USD. Dates remain the source strings. |
| `brands` | Exact Walmart brand names for listing inputs (measured on walmart.com; on walmart.ca the same facet is sent but its effect was not measured), combined as source-observed OR `facet=brand:<name>||brand:<name>`. Trims and deduplicates names case-insensitively. The response must select exactly the requested brand set before any page/product charge. Conflicting copied URL facets and names containing facet syntax (`:` or `|`) are rejected. Keeps only the recognized main grid, excludes contradictory brands and sponsored cards with no brand text, and never invents a missing brand field. Direct product targets are unaffected. No extra details requests solely to identify brands. Price bounds intersect the selection. Legacy candidate mode never refills; explicit delivered-count aliases can continue within maxSearchPages and budget. |
| `maxRequestRetries` | Integer 1–10, default 5, after the initial request. Each retry uses a new proxy session. Retry attempts are not separate charges. |
| `limit` | Integer 1–100 review pages per product (10 reviews a page), same meaning as the review scraper input. Used when `maxReviewsPerProduct` is left empty (any value there, 0 included, wins); at most 500 reviews (50 pages) per product. A page cap: no page beyond the limit is read or charged, even when review filters leave a page short; the reviews on the product page count as page 1. |
| `enqueueProductVariants` | Boolean, default false. For each product link, also writes its other variants (sizes, colors) as their own product rows with details, at most 20 per product and 200 per run; each variant row is charged like a product link. Cards of keyword, category and start-URL listings are expanded too (the product page is read for the card, and a variant is charged like a product link). Variants already listed as a card of the same list are delivered once. Ignored on the free plan. |
| `categoryUrls` | walmart.com `/browse/...` category listings or copied `/search?q=...` URLs, or the same on walmart.ca under `/en` or `/fr`. Filter parameters and URL sort are preserved; the `sort` input applies only when no URL sort exists. A supplied `page` starts there. `/cp` landing pages are not supported. Page reads use the existing search-page event; details remain optional. A listing link longer than 2,048 characters — as given, or in its `www.` form — is skipped with a notice and nothing is charged for it. When the run's `sort`, `brands` or price range make the address asked of Walmart longer than 2,048 characters, the run is refused with an input error before any request. |
| `startUrls` | Strings or `{ "url": "..." }` objects for product, search or category URLs of walmart.com or walmart.ca (`/en`, `/fr`). Listing URLs expand into products **with details requested**, regardless of `includeDetails`; details are billed only when delivered. Use `categoryUrls` for listing-only results. Duplicate listing URLs are read once; details are enabled if any duplicate requests them, and the smaller candidate cap wins. |
| `maxProductsPerSearch` | Explicit cap of 1–1000 delivered products per keyword/category listing, inherited by start URL listings. Scans main-grid results after filters until this count or the source/page/budget/stop boundary; may read more billable pages, but never beyond `maxSearchPages`. No guaranteed fill. Cannot combine with `maxProductsPerKeyword`, even at equal values. Omit aliases to keep the legacy candidate contract with its default of 100 products (the top competitor's default). |
| `maxProductsPerStartUrl` | Explicit delivered-product cap per start URL listing, 1–1000, with the same bounded collection rules. When absent, inherits the search contract. Direct product targets remain one each. The same listing cannot combine candidate and delivered-count contracts; duplicate listings in the same mode use the smaller cap. `0` is accepted (the competitor schema allows a minimum of 0 but never says what 0 means): here it means no per-listing cap, up to the 1000 ceiling and the page/budget limits. |
| `maxSearchPages` | 1–25 pages read per listing target, default 25. Starting at page 24 can only read pages 24 and 25. Product-detail and review requests have their own existing bounds. |
| `maxProductsPerKeyword` | Legacy candidate cap: default 100, up to 1,000. Counts unique candidates before filters and never refills exclusions. Cannot combine with either explicit delivered-count alias. |
| `minPrice` / `maxPrice` | Optional inclusive bounds on current search-card product price, excluding delivery and tax. The number is in the currency of the site that is read: USD on walmart.com, CAD on walmart.ca. It is not converted — a run that reads both sites applies the same number to each in its own currency. Unknown/out-of-range prices are excluded. Legacy candidate mode never refills; explicit delivered-count aliases may scan further within page/budget limits. Page rows describe the source and remain billable even when no products match. Direct links and fixed sample are unchanged; free locked preview keeps one page and its candidate cap. On keyword and `/search` inputs the bounds are also sent to Walmart as `min_price`/`max_price` (measured 2026-11-24: 58 of 58 cards inside the range), so pages hold in-range products; `/browse` links and runs with `brands` filter locally only. A copied `/search` URL whose `min_price`/`max_price` differs from these inputs is rejected. |
| `sort` | Search: `best_match`, `best_seller`, `price_low`, `price_high`, `rating_high`, `new`. Review-order values listed below alias `reviewSort` while search keeps best_match. Use separate `reviewSort` to select both. |
| `reviewSort` | Optional US and CA (en/fr) reviews: `relevancy`, `submission-desc` (newest), `submission-asc` (oldest), `helpful`, `rating-desc`, `rating-asc`. US review links load full product details from the product page. With zero reviews requested, review sorting is ignored. When reviews are requested, the URL’s `sort` is accepted. Unsupported or conflicting selections produce an `invalid-review-sort` notice before any result charges. Each response must confirm product ID, page, locale and activeSort before charging. Unsorted product-embedded reviews are not mixed into sorted output, so a separate billable review page may be needed within existing limits. Newest and oldest were measured live on US and CA pages (2026-11-24); other values are checked at runtime. The response locale must match the target language. Fixed free sample is not re-sorted; free preview still makes at most one request. |
| `includeDetails` | Open each searched product's page and add details to its row (billed as `product-details`). |
| `maxReviewsPerProduct` | Empty = none for product links and IDs, the default 30 for a review link. 0 = none at all. Above 0 adds review rows (only reviews with text exist on Walmart's review pages). |
| `reviewRating` / `ratings` | Legacy single star (`all` or `1`–`5`), or `ratings: ["1", "2"]` for any selected stars. Omit both for all. An empty selection or mixing `all` with individual stars is invalid. If both inputs are present, their selections must agree. Local filtering keeps the existing page limit; excluded rows are not charged and read page rows remain billable. Fixed free samples ignore these star filters. |
| `include_personal_information` | Default `false`: review `reviewerName` and `photoUrls` are `null`, including in the fixed free sample. `true` preserves observed names and review media URLs. This changes the earlier implicit inclusion; set `true` to retain it. Review prose is unchanged and may itself contain personal information: this is not text anonymization. No extra requests or charges. |
| `verifiedPurchasesOnly` | Default `false`. Keep reviews bearing Walmart's Verified Purchase badge. The filter is applied locally; it reads at most `ceil(maxReviewsPerProduct / 10) + 1` review pages, with any product-page reviews also checked. Fewer reviews may match. Read review-page rows remain billable; excluded reviews are not delivered. The fixed free sample is unchanged. |
| `proxyConfiguration` | Defaults to Apify Residential Proxy (US), also when an API or MCP call leaves this field out. Walmart shows a robot check to most other IPs. If you set "No proxy" (`{"useApifyProxy": false}`) the Actor connects directly as you asked: most targets will then meet the robot check on every try and end as a `target-check` row with outcome `blocked` (charged as a check, see Price). Your own proxies (`proxyUrls`) are used as given. |

### Output

Every row has a `recordKind`: `product`, `review`, `search-page` or `locked-product`. Product row (shortened):

```json
{"recordKind":"product","usItemId":"19286173220","name":"ToughTested Dashboard & Windshield Car Phone Mount ...","price":19.97,"currency":"USD","priceString":"$19.97","wasPrice":null,"onSale":false,"rating":4.2,"reviewCount":28,"seller":"Walmart.com","availabilityStatus":"IN_STOCK","inStock":true,"isSponsored":true,"productType":"Car Mounts","keyword":"phone holder","page":1,"position":1,"url":"https://www.walmart.com/ip/...","scrapedAt":"2026-11-19T00:23:38.401Z"}
```

Review row (shortened):

```json
{"recordKind":"review","usItemId":"19341304351","reviewId":"437455992","rating":5,"reviewTitle":"Great Investment. It's really good.","reviewText":"Its absolutely great. ...","reviewDate":"8/19/2026","verifiedPurchase":true,"reviewerName":null,"photoUrls":null}
```

Search page row (one per page read, written after the page's products):

```json
{"recordKind":"search-page","keyword":"phone holder","page":1,"outcome":"products","productsOnPage":56,"totalResults":64,"sponsoredOnPage":19,"sourceUrl":"https://www.walmart.com/search?q=phone+holder"}
```

Locked row (free plan only):

```json
{"recordKind":"locked-product","keyword":"phone holder","page":1,"position":11,"priceBand":"$10-$25","ratingBand":"4.5-5","reviewCountBand":"10-99","isSponsored":true}
```

Every result row also carries `sourceUrl`, `observedAt`, `coverage` (seen of total), `rowKey` and `evidence` (a quote from the page). Notice rows carry `noticeCode` and `message` instead.

**Product details** (`includeDetails`, and every product link) add: `brand`, `brandUrl`, `upc`, `modelNumber`, `manufacturerProductId`, `sellerName`, `sellerType`, `sellerAverageRating`, `sellerReviewCount`, `offerId`, `offerType`, `condition`, `classType`, `secondaryOfferPrice` (cheapest other seller), `sellerOffers` (every seller offering the item on walmart.com: seller, price, delivery date, condition, returns — asked once per product that has other sellers; `null` when Walmart did not answer that call), `transactableOfferCount`, `orderMinLimit`, `orderLimit`, `buyNowEligible`, `subscriptionEligible`, `giftingEligibility`, `hasCarePlans`, `personalizable`, `buyBoxSuppression`, `legalRestriction`, `shippingRestriction`, `suppressReviews`, `rhPath`, `ironbankCategory`, `gender`, `shortDescription`, `longDescription`, `longDescriptionText`, `highlights`, `specifications`, `warranty`, `returnPolicy`, `ratingCounts`, `ratingAspects`, `recommendedPercentage`, `averageOverallRating`, the full `imageUrls` gallery and `variants` (each with `usItemId`, `productId`, `url`, `options`, `price`, `wasPrice`, `imageUrls`, `availabilityStatus`).

With `include_personal_information: true`, names and review media are retained as observed; otherwise those two fields are null. Unknown source properties such as `authorId` are not copied into review or badge objects.

**Review rows** also carry `reviewerName`, `features` (the product options the reviewer chose, e.g. `{name:"Screen size",value:"58 in"}`; empty when none), `reviewerBadges`, `badges`, `reviewAspects` (id, aspect name, polarity), `positiveFeedback`, `negativeFeedback`, `fulfilledBy`, `sellerName`, `sellerId`, `sellerResponse`, `photoUrls`, `originalLanguage`, `originalLocale`, `translatedLanguage`, `translatedLocale`, `reviewReferenceId`, `reviewStatus`, `itemImageUrl`, `externalSource`, and the product's review summary: `productAverageRating`, `productTotalReviewCount`, `productReviewsWithTextCount`, `productAspects`.

The Output tab has views for products, product details, reviews and search pages.

### Data quality

Share of rows where the field has a value, measured on 307 rows from real runs on 2026-11-19 (US residential proxy; keywords `phone holder`, `air fryer`, `usb c cable` with 60 products each, `dog bed` with details and reviews, and a reviews-only run). A low share means Walmart shows that value only for some products (sale prices, multipacks, marketplace sellers), not that a read failed: a page that could not be read gives a `lookup-failed` notice instead of a row.

| Row kind (rows) | Field | Filled |
|---|---|---|
| product (all) (202) | name, price, rating, reviewCount, seller, availabilityStatus, thumbnail, isSponsored, fulfillmentOptions, deliveryDate, keyword, page, position | 100% |
| product (all) (202) | category | 99.5% |
| product (all) (202) | shortDescription | 73% |
| product (all) (202) | wasPrice, savings, discountPercent (items on sale) | 45% |
| product (all) (202) | flag (Rollback, Best seller, ...) | 40% |
| product (all) (202) | additionalOfferCount (other sellers) | 42% |
| product (all) (202) | priceRangeLow / priceRangeHigh (items with options) | 25% |
| product (all) (202) | unitPrice (multipacks) | 6% |
| product with details (20) | brand, sellerName, offerType, condition, specifications, highlights, longDescription, ratingCounts, returnPolicy, variants, orderLimit | 100% |
| product with details (20) | upc | 90% |
| product with details (20) | manufacturerProductId | 90% |
| product with details (20) | modelNumber | 70% |
| product with details (20) | sellerAverageRating, sellerReviewCount (marketplace sellers) | 80% |
| product with details (20) | warranty | 30% |
| product with details (20) | secondaryOfferPrice (cheapest other seller) | 5% |
| review (120) | reviewId, rating, reviewDate, verifiedPurchase, itemImageUrl, productTotalReviewCount | 100% |
| review (120) | reviewText | 99% |
| review (120) | reviewerName | 98% with personal information enabled; default output is null |
| review (120) | reviewTitle | 70% |
| review (120) | reviewerBadges | 64% |
| review (120) | reviewAspects | 52% |
| review (120) | photoUrls | 32% with personal information enabled; default output is null |
| review (120) | sellerResponse | 4% |

### Blocked pages and retries

Walmart's robot check depends on the IP. A page that is refused or hangs is tried again up to 6 times, each time through a new residential proxy session. If every try ends in Walmart's robot check (or a final 403/429), the keyword or link ends as one `target-check` row (one charge for the target, not one per try); if the tries fail on our side (timeouts, network) it ends with a `lookup-failed` notice and nothing is charged for it. Either way the run moves on and ends successfully.

### Use it from AI agents and MCP

The Actor takes plain JSON and returns flat rows, so an AI agent can call it through the Apify MCP server or the Apify API as a tool: give it `keywords` (or `productUrls`), read `name`, `price`, `rating`, `reviewCount`, `seller` and `url` back. Each product row carries `keyword`, `page` and `position`, so an agent can cite where a product stood in the search, and every result row has an `evidence` quote.

### FAQ

**Do I need a Walmart account, cookies or an API key?** No. The Actor reads the public search, product and review pages without login.

**Why is a residential proxy on by default?** Walmart answers most datacenter and home-server IPs with a "Robot or human?" page. In our tests a US residential proxy was let through. The proxy traffic is included in the event prices, not billed on top.

**What do I get on the free plan?** A fixed public sample (10 product rows, 1 with details, 5 reviews — the same for every free run, marked `isSample`) and, for your own first keyword or link, locked rows with ranges only. The complete result of your input needs a paid plan. See the table above.

**What am I charged for?** One start event per run, one `search-page` event per search page read (a confirmed empty search included), one `product` event per complete product row, plus `product-details`, `review-page` and `review` events for those rows, and one `target-check` per keyword or link Walmart answered without a result (404, refused, robot check on every try). Notice rows, locked rows and failures on our side are not charged.

**Where do I see how many products of a keyword were delivered?** In the `search-summary` notice row at the end of each keyword. A `search-page` row says what the page showed (`productsOnPage`) and is written before that page's products, so it never promises rows that were not written yet. On the free plan your keyword's cards are all locked rows; the complete rows are the fixed sample. On a paid plan fewer go out when `maxProductsPerKeyword` or your spending limit stops the page early.

**What if two keywords, or a keyword and a link, find the same product?** Keywords run first, then links. Each keyword gives the product its own row (`product` event): its search position for that keyword is a separate record. The product's details are delivered and charged once per run, on the first row that carries them; every later row of that product (another keyword, or its product link) goes out without them and names that row in `detailsRowKey`. Reviews of a product are delivered once per run. Two identical keywords or links in the input are read once.

**Does a restart charge twice?** No. A migrated or restarted run skips rows and pages it already delivered.

### Notes

Page transport uses the open-source `curl_cffi` library (MIT); see LICENSE-NOTICE.md.

Product detail rows include `addOnServices` exactly as offered on the source page, including plan prices and terms, and `categoryPath` names and links. These describe optional offers, not purchases or availability guarantees. Variant entries retain `wasPriceString`, `priceCurrency`, and `wasPriceCurrency` when the source provides them. Review rows include `badgeDetails` to preserve incentive and verified-purchase badge identifiers alongside readable `badges`. Missing values stay null or empty; these fields require no additional page requests.

`imageMetadata` preserves the displayed thumbnail URL and matching gallery image ID; its `name` falls back to the decoded URL filename when the page has no explicit image name. `itemTypeV2`, `showAtc`, `showAddOnServices`, and `wasPriceCurrency` preserve source values without inferring missing values. To join review product facts, match `usItemId` to the detailed product row: review snapshots and separately fetched current prices/stock may have different observation times.

`product_ids` is an input-list alias. A review URL is review-only (30 reviews by default, only review events are charged); numeric IDs and product URLs keep billed product details and a default of 0 reviews. On the free plan a review URL still gives the one locked row. The fixed free sample always remains the same **US** products/reviews, even for CA inputs; only its personal-information fields follow the privacy option. CA locked price bands are marked CAD. Event charges remain USD.

CA English and French pages are supported: product and review links, keywords (`reg: "CA"`) and walmart.ca `/en|fr/search` and `/en|fr/browse` links. Walmart.ca names many products with an ID of digits and capitals (for example `2TKVFYC4T5HH`) instead of a number; such IDs are accepted for CA and their rows carry the walmart.ca address and CAD prices. Verified 2026-11-25 with CA residential requests: one search page of 46 cards, six products with details, one of them with such an ID. French product pages of such IDs were refused more often than English ones in that measurement (1 of 3 read); a page that is not read is not charged.

Keywords and listing URLs share a 200-target bound. A free run reads the first keyword/listing target only (one page), with requested rows locked and no requested details. The fixed sample is unchanged. For URL inputs, `keyword` identifies the normalized listing URL, `page` is the source page number, and `position` counts candidates within the requested window—not an inferred rank across pages that were never read. Only pagination changes the copied URL parameters. No missing or filtered products are replaced beyond the candidate/page caps. `maxRequestRetries` and separate variant crawling are not supported by these new inputs.

If a listing product's detail page fails or the spending limit cannot cover it, the existing fallback delivers the listing card with `detailsIncluded: false` and no detail charge. Details already delivered for the same item are referenced by `detailsRowKey` and are not billed again across keywords, listing URLs, or direct product links.

French page examples were verified with CA residential requests. Product price strings such as `6,46 $` and numeric CAD prices are both preserved. Verified-purchase filters use the source badge identifier, so `Achat vérifié` is recognized. `lang` selects the page locale, not an automatic translation service: review text, original/translated locale metadata and dates remain as returned. The fixed free sample remains US English.

# Actor input Schema

## `brands` (type: `array`):

Exact Walmart brand names, for example ToughTested and onn. Measured on walmart.com; on walmart.ca the same brand facet is sent but its effect was not measured. Combined with the public server OR brand facet; the response must confirm exactly that selected set before page/product charging. Names are trimmed and deduplicated case-insensitively. Conflicting URL facets or facet syntax inside names are rejected. Main-grid results only; contradictory brands and unlabelled sponsored cards are excluded. Missing product brand text remains null. No extra details requests solely for brand detection. Legacy candidate mode never refills; explicit delivered-count aliases can continue within maxSearchPages/budget. Applies to keywords/category/search URLs, not direct product targets.

## `maxRequestRetries` (type: `integer`):

Retries after the first failed request (1 to 10, default 5). Each retry uses a new proxy session. Page/result events are not charged per retry.

## `reg` (type: `string`):

Numeric IDs default to US; select CA for Canada. Product/review URLs detect their own region. Links of both countries may go into one run when this field is left out: the run then reads them country by country. With a region chosen here, a search or category link of the other country is rejected; product and review links are always read in their own country. CA supports en/fr product/review targets, keywords and walmart.ca search/category URLs; keywords are searched in the selected region. Omitted proxy settings use that region's residential proxy. Event prices are still USD; product prices retain source currency.

## `lang` (type: `string`):

Language for numeric IDs: en by default; fr requires reg=CA. Product/review URLs detect their own locale regardless of this setting. Links of both languages may go into one run when this field is left out: the run then reads them language by language. With a language chosen here, a search or category link of the other language is rejected. Review text/dates/translation metadata remain exactly as returned; page language does not promise translated review prose.

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

One search per keyword on walmart.com (or walmart.ca when the region is CA). Each result is a product row; every page read also writes one search-page row. A keyword Walmart answers without results (refused, or a robot check on every try) is one target-check row. Free runs read the first keyword only. Price at Bronze: $0.009 per search page + $0.0011 per product row.

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

US English or CA en/fr product/review URLs, or numeric IDs using reg (US by default). Exact Walmart.com/Walmart.ca hosts only, optional www; no credentials/nonstandard ports. URL region is detected automatically; mixed countries/languages run one group after another (free runs: the first group only). Merged/deduplicated with product_ids under 200 targets. Numeric IDs and product URLs are billed as product + product-details; set maxReviewsPerProduct above 0 for their reviews. A review URL (/reviews/product/…) runs review-only: 30 reviews by default, no product page and no product/product-details charge - only review-page and review. Free runs read one target and return a locked row plus the fixed US sample. Query/fragment controls are ignored, except a review URL's sort.

## `categoryUrls` (type: `array`):

Read Walmart /browse/... category listings or /search?q=... URLs directly (walmart.com, or walmart.ca under /en or /fr). A listing link longer than 2,048 characters — as given, or in its www. form — is skipped with a notice and nothing is charged for it. When the run's sort, brands or price range make the address asked of Walmart longer than 2,048 characters, the run is refused with an input error before any request. Existing URL filters and sort are preserved; the sort input applies only when the URL has no sort. A supplied page starts there (1-25); maxSearchPages counts pages read, never going past page 25. Exact walmart.com and walmart.ca hosts only (with optional www); /cp landing pages are not supported. Each read listing page uses the existing search-page event. Set includeDetails for optional product details. Keywords and listing URLs share a 200-target bound.

## `startUrls` (type: `array`):

Listing URLs (search or category) and product/review URLs of walmart.com (English) or walmart.ca (/en, /fr), as strings or {url} objects. Product URLs use the existing product/details lane. Search/category URLs request product details even if includeDetails is false; details are billed only when delivered. Failed or unaffordable details retain the existing listing-only fallback. Use categoryUrls for listing-only results. Duplicate listing URLs are read once, with details enabled if any startUrls entry requested them and the smaller product cap if caps differ. Free runs still read only one listing page and return locked rows plus the fixed sample.

## `maxProductsPerSearch` (type: `integer`):

Explicit delivered-product cap for keywords/categoryUrls, also inherited by startUrls. Scans recognized main-grid results after filters until this count or the page/source/budget/stop boundary. May read more candidates and pages, never more than maxSearchPages. Cannot be combined with maxProductsPerKeyword, even at the same numeric value. Omit aliases to preserve the legacy candidate/no-refill contract with its default of 100 products. Free preview remains one page with a candidate cap.

## `maxProductsPerStartUrl` (type: `integer`):

Explicit delivered-product cap for each startUrls listing within maxSearchPages/source/budget boundaries. Direct product URLs remain one each. Cannot combine with maxProductsPerKeyword. If absent, inherits the search contract. The same URL cannot combine candidate and delivered-count contracts. 0 is accepted: the competitor schema allows a minimum of 0 but does not say what 0 means; here it means no per-listing cap (ceiling 1000, page and budget limits still apply).

## `maxSearchPages` (type: `integer`):

Hard limit on listing pages read for each keyword or category/search URL. A URL starting at page 24 can read at most pages 24 and 25. Does not limit explicitly requested product-detail or review pages. Free runs always read at most one listing page.

## `maxProductsPerKeyword` (type: `integer`):

Stops a keyword after this many products (about 40-60 per search page). Free runs read the first page only and return its cards as locked rows (ranges only).

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

Inclusive local filter on current search-card product price, excluding delivery and tax. The number is in the currency of the site that is read: USD on walmart.com, CAD on walmart.ca. It is not converted — a run that reads both sites applies the same number to each in its own currency. Legacy maxProductsPerKeyword keeps its candidate window with no refill. Explicit maxProductsPerSearch/maxProductsPerStartUrl may scan further within maxSearchPages/budget to meet their delivered-count cap. Page rows remain billable. Product links and the fixed sample are unchanged.

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

Inclusive local filter, with the same scope and currency as minPrice (USD on walmart.com, CAD on walmart.ca, not converted). Must be at least minPrice. Also sent to Walmart as min_price/max_price on keyword and /search URLs (other listing types filter locally). Explicit delivered-count aliases may read further pages within maxSearchPages and budget; legacy candidate mode never refills.

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

Order of the search results. Every value was measured to change the order; Walmart mixes sponsored cards into all of them. Review-order values alias reviewSort and keep search order at best_match; use reviewSort separately to set both.

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

Open every searched product's page and add description, specifications, images, variants with prices, UPC, seller and offer facts (offer type, condition, order limit, other sellers) and the rating breakdown to its row. Billed as a separate event per product. Product links always carry details. Free runs: not included (the sample shows one). Adds $0.0028 per product at Bronze ($0.0032 on the Free plan), once per product per run.

## `enqueueProductVariants` (type: `boolean`):

For each product link (product URLs, item IDs, start URLs that are product links), also read its other variants (sizes, colors) and write each as its own product row with details. At most 20 variants per product and 200 per run; each variant row is charged like a product link (product row + product details). Cards of keyword, category and start-URL listings are expanded the same way (the product page of each card is read). Free runs: ignored.

## `maxReviewsPerProduct` (type: `integer`):

Empty = no reviews for product links and IDs, and the default 30 reviews for a review link. 0 = no reviews at all. Above 0, each product also gets up to this many customer reviews as separate rows. Free runs: not included (the sample shows 5). Price at Bronze: $0.0002 per review and $0.0018 per review page read (up to 10 reviews a page); reviews that come with the product page have no page charge.

## `limit` (type: `integer`):

Number of review pages to read per product, 10 reviews a page (same meaning as the review scraper input `limit`). Used when Max reviews per product is left empty (any value there, 0 included, wins); at most 500 reviews per product (50 pages). It is a page cap: with review filters on, a page that gives fewer than 10 matching reviews is not followed by a page beyond the limit, and the reviews on the product page count as page 1. Page and review prices as for Max reviews per product.

## `reviewRating` (type: `string`):

Keep reviews with this exact star rating. Applied locally within the existing page limit and combined with the verified-purchase filter. Fewer reviews may match; read review-page rows remain billable. The fixed free sample is unchanged. Omit both reviewRating and ratings for all stars. If ratings is also supplied, both selections must agree; otherwise the run fails before requests.

## `verifiedPurchasesOnly` (type: `boolean`):

Keep only reviews with Walmart's Verified Purchase badge. Applied locally to the same bounded set of pages, so fewer than the requested maximum may match. Review-page rows remain billable; excluded reviews are not delivered. Free runs retain the fixed sample regardless of this filter.

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

Walmart's robot check blocks most datacenter IPs. Leave the default (Apify Residential Proxy, target region US or CA; also used when an API call leaves this field out); that proxy traffic is included in the event prices, not billed on top (your own proxyUrls are billed by their provider). A blocked page is tried again up to 6 times, each on a new proxy session; a target still refused after that is one target-check row.

## `ratings` (type: `array`):

Keep reviews matching any selected star, locally within the existing review-page bound. Omitted means all; an explicit empty array is invalid. Do not mix all with individual stars. If reviewRating is supplied too, select the same single star or all. Combined with verifiedPurchasesOnly. This does not fetch extra pages to fill filtered results. Fixed free samples ignore star filters.

## `include_personal_information` (type: `boolean`):

Default false: reviewerName and photoUrls are null on paid review rows and the fixed free review sample. True preserves the observed reviewer nickname and review photo/media URLs. Mirrors the competitor fields userNickname/photos/media. Review prose and product information remain unchanged; this is not anonymization of free text. No extra requests or charges. This replaces the earlier implicit inclusion of those fields; set true to retain the earlier behavior.

## `product_ids` (type: `array`):

Alias of productUrls; merged/deduplicated under 200 targets. Accepts US English or CA en/fr product/review URLs or numeric IDs using reg. A review URL (/reviews/product/…) runs review-only: 30 reviews by default, no product page and no product/product-details charge. Numeric IDs and product URLs keep billed details and default maxReviewsPerProduct=0. URL region is detected; mixed countries/languages run one group after another. The fixed free sample remains US even for CA inputs.

## `reviewSort` (type: `string`):

Optional review order for US and CA (en/fr). `submission-asc` is oldest first. The response product ID, page, locale and activeSort must match before charging. Conflicting review URL sort or sort alias is rejected. Does not sort the fixed free sample. Explicit sorting may require a review-page request instead of unsorted product-embedded reviews.

## Actor input object example

```json
{
  "maxRequestRetries": 5,
  "keywords": [
    "phone holder"
  ],
  "maxSearchPages": 25,
  "sort": "best_match",
  "includeDetails": false,
  "enqueueProductVariants": false,
  "verifiedPurchasesOnly": false,
  "include_personal_information": false
}
```

# Actor output Schema

## `notices` (type: `string`):

No description

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

No description

## `productDetails` (type: `string`):

No description

## `reviews` (type: `string`):

No description

## `searchPages` (type: `string`):

No description

## `reviewPages` (type: `string`):

No description

## `targetChecks` (type: `string`):

No description

## `dataset` (type: `string`):

No description

# API

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

## JavaScript example

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

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

// Prepare Actor input
const input = {
    "keywords": [
        "phone holder"
    ]
};

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

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

```

## MCP server setup

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