Walmart Search Scraper
The products Walmart shows for a keyword as typed JSON: item ID, name, price, stock status, seller, rating and review count, sorted your way. 1 credit per page. No Walmart login, no proxies to manage.
Free API key · 1 credit per page of results · failed calls free
// GET /api/v2/walmart-search-scraper/?queries=lego star wars · sample from the catalog { "success": true, "data": { "query": "lego star wars", "sort_by": "best_match", "page": 1, "page_size": 50, "max_page": 12, "products": [ { "statusCode": 200, "statusMessage": "FOUND", "keyword": "lego star wars", "page": 1, "sortBy": "best_match", "count": 965, "maxPage": 12, "__typename": "Product", "usItemId": "5014870508", "name": "LEGO Star Wars Clone Trooper & Battle Droid Battle Pack Set 75372", "price": 40.98, "availabilityStatusDisplayValue": "In stock", "sellerName": "WM-BEUSA" } ], "next_cursor": "eyJxIjoibGVnbyBzdGFyIHdhcnMiLCJwIjoyLCJsayI6e30sInMiOlsiNTAxNDg3MDUwOCJdfQ" } }
| field | value | type | Has a value✓ |
|---|
Scrapier's Walmart Search Scraper returns the products Walmart shows for a keyword as JSON, a page at a time: usItemId, name, price, availabilityStatusDisplayValue, sellerName, averageRating and numberOfReviews. It costs 1 credit per successful call. Send one keyword or a search URL per call. No Walmart login is needed.
Walmart Search Scraper extracts the results page Walmart returns for a search term, one page per call: each product's item ID, name, price, availability, seller, average rating and review count. Sort by best match, price, best seller, newest or rating, and page through with a cursor. Every response is structured JSON, ready to pass directly to an LLM or a price database. It is one of 5 Walmart endpoints on the same API key used by 12,000+ developers. Next, follow next_cursor for page two.
What data can I extract with Walmart Search Scraper?
Using this Walmart Search Scraper, you can extract the following data from public Walmart pages of results:
Want the exact field names? See the example output.
Try Walmart Search Scraper Live
Press Run to see the catalog sample. Add your API key and it runs a real call to the Scrapier API from your browser. The key is sent only to proxy.scrapier.io and never stored.
+ Run live with your API key
How to use Walmart Search Scraper
Hand it to your AI assistant, or run it yourself in five steps.
Copy to your AI assistant
Paste this into ChatGPT, Claude or Cursor and it knows how to call the scraper.
Use the Scrapier Walmart Search Scraper to get public Walmart pages of results. Endpoint: GET https://proxy.scrapier.io/api/v2/walmart-search-scraper/?queries={queries} with header "X-API-Key: YOUR_API_KEY" and a 210-second timeout. Send one value per call in queries; for a list, make one call per value, at most 3 in parallel. It returns JSON under data.products: statusCode, statusMessage, keyword, page, sortBy, count, maxPage, __typename, usItemId, name, price, availabilityStatusDisplayValue. Each successful call costs 1 credit; failed calls are free. If you support MCP, run: claude mcp add -t http scrapier https://mcp.scrapier.io/mcp --header "X-API-Key: YOUR_API_KEY" and call run_scrape with endpoint "walmart-search-scraper" (find it with search_endpoints).Use this scraper from ChatGPT, Claude or Cursor. Point your assistant at Scrapier and it reads Walmart pages of results on its own: no glue code, no scraping logic in your prompts.
Run it yourself
- Get your free Scrapier API keySign up at app.scrapier.io; the free tier lets you try it first.
- Open Walmart Search Scraper in the catalogIt lives under Scrapers / Walmart, next to the other Walmart tools.
- Enter the keywordFor example
lego star warsinqueries, or paste a Walmart/search?q=URL. Pick asortsuch as best_match, price_low, price_high, best_seller, new or rating_high. - Send your API requestOne GET with your key in the
X-API-Keyheader, or onerun_scrapecall from your agent. This is how to scrape Walmart search results without a browser. Set a 210-second client timeout. - Save your resultsEach page comes back as JSON in
data.products: store it as is, or flatten it to CSV. Passdata.next_cursorback ascursorto get the next page until it is null.
How to scale to bulk Walmart pages of results
queries takes one value per call, so for a list you loop: one request per value. Within a keyword, pass back data.next_cursor unchanged to read the next page. Run up to 3 requests in parallel per API key; above that the API answers 429 with a Retry-After header, and throttled calls cost nothing. Each call is 1 credit and failed calls are free, so 1,000 pages of results cost 1,000 credits, inside the Hobby plan's 15,000.
Features
This Walmart web scraper works as a Walmart search data scraper: it turns a search page into rows you can rank, filter and store. It suits price tracking, assortment checks, competitor monitoring, product discovery and any workflow that needs Walmart results without parsing HTML.
- Products
usItemId,nameandpricefor every product on the page - Stock
availabilityStatusDisplayValuesays whether an item is in stock - Sellers
sellerNameshows who sells each item - Ratings
averageRatingandnumberOfReviewson every row - Sorting
sortorders results by best match, price, best seller, newest or rating - Paging
next_cursorreads the next page of results
Proxies, retries and parsing run on Scrapier's side, so you send one request and get JSON back, at 1 credit per page of results and 0 credits for a failed call.
Use cases
- Pricing analyst searches your product keywords every day and stores
price, stock status andsellerNameper item ID to see when a seller undercuts you. - Category manager searches a product type sorted by best_seller and reads the names, prices and ratings of what leads the page.
- Brand manager tracks which sellers appear for brand keywords and how many reviews and what average rating each listing has.
- Market researcher runs a list of product keywords and measures how crowded each search is, using the result counts and prices.
- AI engineer gives an agent a tool that searches Walmart, so it can answer shopping questions from current prices and cite the product URLs.
Running these from an agent? Use the MCP integration and let Claude or Cursor call the scraper directly.
Why choose this Scraper API?
Each product arrives as usItemId, name, price, sellerName, averageRating and numberOfReviews, so you skip selectors and layout changes.
Choose sort on the first call and the order is kept for every following page, so rankings stay comparable across pages.
The same key and response envelope work across Scrapier's endpoints, so a search can feed a category or reviews call without new code.
Input
The scraper takes one search keyword or Walmart /search?q= URL per call in queries. It is required on the first call. sort is optional and locked in the cursor. Send parameters in the query string (GET) or as a JSON body (POST).
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
queries | string | Yes | — | A search keyword or Walmart /search?q= URL. One per call. Required on the first call. Aliases: query, q, keyword, url |
cursor | string | No | — | Pass back data.next_cursor from the previous response, unchanged, to get the next page; null means the last page |
sort | string | No | best_match | Result order, default best_match. Options: best_match, price_low, price_high, best_seller, new, rating_high. Locked in the cursor |
use_proxy | boolean | No | true | Route through Scrapier's residential proxy pool, on by default. Leave as is |
raw_data | boolean | No | false | Return Walmart's raw upstream payloads under raw_responses instead of the formatted items |
One keyword per call: to search ten keywords, make ten calls and page each with cursor. Booleans are the strings true or false.
Example input
{
"queries": "lego star wars",
"sort": "best_match",
"use_proxy": "true",
"raw_data": "false"
}Error codes
| Status | Meaning | Billed | Fix |
|---|---|---|---|
| 200 | Page of results data returned in data.products | Yes | — |
| 400 | Bad or missing input | No | Check queries: one value per call |
| 401 | X-API-Key header missing | No | Add the header |
| 402 | Out of credits (body has balance) | No | Top up; retrying will not help |
| 403 | Invalid or revoked API key | No | Check the key in your dashboard |
| 429 | Throttled | No | Wait Retry-After seconds, then retry |
| 5xx | Upstream failure or timeout | No | Retry with backoff; set a 210 s client timeout |
From the error reference. Any non-2xx response costs 0 credits.
Output
Typed JSON with the same schema on every call. One call returns a page of results under products, each with 18 fields, inside the standard data envelope. Field names stay the same on every call. Set raw_data to true if you want Walmart's raw payload instead.
Example output
{
"success": true,
"data": {
"query": "lego star wars",
"sort_by": "best_match",
"page": 1,
"page_size": 50,
"max_page": 12,
"products": [
{
"statusCode": 200,
"statusMessage": "FOUND",
"keyword": "lego star wars",
"page": 1,
"sortBy": "best_match",
"count": 965,
"maxPage": 12,
"__typename": "Product",
"usItemId": "5014870508",
"name": "LEGO Star Wars Clone Trooper & Battle Droid Battle Pack Set 75372",
"price": 40.98,
"availabilityStatusDisplayValue": "In stock",
"sellerName": "WM-BEUSA",
"averageRating": 4.7,
"numberOfReviews": 1273,
"input_query": "lego star wars",
"search_url": "https://www.walmart.com/search?q=lego+star+wars&page=1",
"scraped_at": "2026-09-15T08:37:33.939Z"
}
],
"next_cursor": "eyJxIjoibGVnbyBzdGFyIHdhcnMiLCJwIjoyLCJsayI6e30sInMiOlsiNTAxNDg3MDUwOCJdfQ"
}
}The catalog's sample response for queries=lego star wars, labelled as a sample: live calls return the account's current values.
Product
| Field | Type | Example | Description |
|---|---|---|---|
products.usItemId | string | "5014870508" | Walmart item ID of the product |
products.name | string | "LEGO Star Wars Clone Trooper & Battle Droid…" | Product name as Walmart shows it |
products.price | number | 40.98 | Current price as a number |
products.availabilityStatusDisplayValue | string | "In stock" | Stock status text, for example In stock |
products.sellerName | string | "WM-BEUSA" | Name of the seller |
products.averageRating | number | 4.7 | Average star rating |
products.numberOfReviews | integer | 1273 | Number of reviews |
products.__typename | string | "Product" | Walmart's type label for the row |
Search context
| Field | Type | Example | Description |
|---|---|---|---|
products.keyword | string | "lego star wars" | Keyword the row answers |
products.input_query | string | "lego star wars" | Your input, echoed on the row |
products.search_url | string | "https://www.walmart.com/search?q=lego+star+…" | Walmart search URL that produced the row |
products.sortBy | string | "best_match" | Sort order used |
products.page | integer | 1 | Page number of the row |
products.count | integer | 965 | Total matches Walmart reports for the search |
products.maxPage | integer | 12 | Last page Walmart reports |
products.statusCode | integer | 200 | Status code Walmart returned |
products.statusMessage | string | "FOUND" | Status message Walmart returned, for example FOUND |
products.scraped_at | string | "2026-09-15T08:37:33.939Z" | UTC time the row was scraped |
Response envelope and paging
| Field | Type | Example | Description |
|---|---|---|---|
success | boolean | true | true on every 200 response |
data.query | string | "lego star wars" | Your keyword, echoed back |
data.sort_by | string | "best_match" | Sort order of this response |
data.page | integer | 1 | Page number of this response |
data.page_size | integer | 50 | Products per page |
data.max_page | integer | 12 | Last page number available |
data.next_cursor | string | "eyJxIjoibGVnbyBzdGFyIHdhcnMiLCJwIjoyLCJsayI…" | Pass back as cursor for the next page; null on the last page |
How does it work?
Scrapier sends each request through its residential proxy pool (use_proxy, on by default), so you never manage IPs or proxy accounts.
Retries and parsing of Walmart's pages happen on Scrapier's side. You send one HTTP request and get typed JSON back.
Only publicly visible data is returned: the products any visitor sees on Walmart search without signing in. No Walmart account or cookie is used.
The schema is stable. When Walmart changes its pages, Scrapier updates the scraper; the field names in the result stay the same.
How do you integrate Walmart Search Scraper into your stack?
It works with what you already use: any HTTP client, AI agents over MCP, and no-code automation tools. Code samples for cURL, Python and Node.js are on the API tab.
MCP integration for AI agents
This registers the Scrapier MCP server, whose tools reach every Scrapier scraper, including walmart-search-scraper: the agent finds it with search_endpoints and calls it with run_scrape. Works with Claude Code, Cursor and Windsurf. MCP calls are billed like REST: 1 credit per successful call. Full MCP setup →
No-code tools (n8n, Make, LangChain)
Use the HTTP Request node with your Scrapier API key in an X-API-Key header and point it at /api/v2/walmart-search-scraper/ with a queries query parameter. Map the result list into the next node.
Add an HTTP "Make a request" module with the same header and URL, and parse the response as JSON. Map name, price and sellerName straight into Sheets, Airtable or your CRM.
Wrap the endpoint in a requests-based tool, or load the Scrapier MCP server through LangChain's MCP adapters so the agent finds walmart-search-scraper with search_endpoints itself.
Pricing and Rate Limits
One Walmart page of results costs 1 credit, so 1,000 pages of results cost 1,000 credits: $1.58 on the Pro plan. Failed and empty calls are not billed. Run up to 3 requests in parallel per key; above that the API answers 429 with a Retry-After header.
| Plan | Monthly price | Credits | Pages of results included | Per 1,000 pages of results |
|---|---|---|---|---|
| Hobby | $29 | 15,000 | 15,000 | $1.93 |
| Pro | $79 | 50,000 | 50,000 | $1.58 |
| Scale | $299 | 250,000 | 250,000 | $1.20 |
| Enterprise | Custom volume and terms | |||
Prices from the live billing page. See all plans and limits.
Call cost and timing
How we measure this
Credit cost, pagination and the sample come from the live catalog (GET /api/v2/endpoints, /walmart-search-scraper/, checked 9 Nov 2026). Concurrency and timeout guidance come from the rate limits page of the docs. Scrapier does not publish latency or success-rate figures for this endpoint, so none are shown here.
Walmart Search Scraper vs the Official Walmart API
| Feature | Scrapier Walmart scraper | DIY Walmart scraping |
|---|---|---|
| Access needed | One Scrapier API key | Your own proxies, parser and servers |
| Which data | Products for any keyword, as Walmart shows them | Whatever your parser extracts |
| Fields returned | 18 fields per product: item ID, name, price, stock, seller and rating | Whatever you build and maintain |
| Setup | Sign up, copy a key, send a request | Write selectors, handle blocks and retries |
| Cost | 1 credit per page, from $1.20 per 1,000 calls | Proxy, server and engineering time |
If you need a fully custom crawler or already run your own scraping stack, DIY gives more control; Scrapier suits teams that want one key and one JSON shape across many platforms.
Is it legal to scrape Walmart data?
Scraping publicly available web pages is generally lawful in many countries, but the answer depends on what you collect, where you are and how you use it. In the US, hiQ Labs v. LinkedIn is the case most often cited on public-data scraping. Scrapier returns only data any visitor can see without logging in. Under GDPR and similar laws, collecting public data can be permissible, but how you store and use personal data must still comply with local data-protection rules, and Walmart's terms apply. Consult legal counsel if your use case involves bulk storage of personal data. This is not legal advice; see our Terms of Use.
Frequently asked questions
What fields does Walmart Search Scraper return?
Each product has usItemId, name, price, availabilityStatusDisplayValue, sellerName, averageRating, numberOfReviews and context fields such as keyword and search_url: 18 fields in data.products. The envelope adds query, sort_by, page, page_size, max_page and next_cursor. Each call costs 1 credit.
Is there a Walmart search API?
Scrapier's Walmart scraper API is a REST endpoint at /api/v2/walmart-search-scraper/: send a keyword and your key in the X-API-Key header, and get Walmart search results as JSON. It costs 1 credit per page and failed calls are free.
How do I sort Walmart search results?
Set sort to best_match, price_low, price_high, best_seller, new or rating_high. The default is best_match. The value is locked into the cursor, so keep it the same while you page through one keyword's results.
How do I get the next page?
Take data.next_cursor from the response and send it back unchanged as cursor. Repeat until next_cursor is null, which means you have reached the last page. Each page is one call and costs 1 credit.
Can I search several keywords in one call?
No. queries takes one keyword or search URL per call. To search ten keywords, make ten calls, up to 3 in parallel per API key, and page each with cursor. Throttled calls return 429 with a Retry-After header and cost nothing.
Can I scrape Walmart for free?
The free tier lets you try this free Walmart scraper before you pay: sign up, copy a key and run a search. Past the free tier, each call costs 1 credit, and calls that fail cost nothing. Plans start at Hobby, $29 for 15,000 credits.
Is this the best Walmart scraper for search data?
That depends on your job. It returns typed JSON for each product with item ID, price, seller and rating, needs no Walmart account and costs 1 credit per page. If you need every product detail, use the data extractor or category scrapers.
Does Walmart Search Scraper require a Walmart account or login?
No. Walmart Search Scraper uses no Walmart account or cookies: you send your Scrapier API key in the X-API-Key header and your input, and get JSON back. Only publicly visible data is returned.
What does raw_data do?
When raw_data is true, the response carries the raw upstream payloads Scrapier received from Walmart under raw_responses, in place of the formatted items. Paging with cursor and next_cursor works the same in both modes.
How fast does Walmart Search Scraper run?
Scrapier does not publish a latency figure for this endpoint. Each call reads Walmart live, so timing depends on the page. Set a client timeout of 210 seconds, as the docs recommend for every endpoint.
What happens if the input is wrong or Walmart returns nothing?
If a call fails, the API returns a non-2xx status and costs 0 credits. In code, check the status, then skip that input or retry it later. Throttled calls (429 with a Retry-After header) are free as well, so retry loops cost nothing.
Does Walmart Search Scraper work with Claude, ChatGPT and other AI agent tools?
Yes. Connect the Scrapier MCP server with claude mcp add -t http scrapier https://mcp.scrapier.io/mcp and your API key in an X-API-Key header; it works in Claude Code, Cursor and Windsurf. The agent finds walmart-search-scraper with search_endpoints and calls it with run_scrape. Any agent that can call an HTTP endpoint can use the REST API directly.
How much does it cost to run Walmart Search Scraper 1,000 times?
1,000 credits, because each call is 1 credit. That is about $1.93 on Hobby, $1.58 on Pro and $1.20 on Scale, at the plans' price per credit. Failed calls are free.
How do I use Walmart Search Scraper with Python?
For a Walmart search scraper in Python, send a GET request with the requests library to https://proxy.scrapier.io/api/v2/walmart-search-scraper/ with params={"queries": "lego star wars"}, your key in the X-API-Key header and timeout=210. Read r.json()["data"]["products"]: it is already JSON, so no HTML parsing is needed.
Your feedback
Found a bug or missing a field? Let us know. Write to support@scrapier.io and the team replies to every report.
Start Scraping Walmart Pages Of Results
Public Walmart pages of results as JSON, 1 credit each, from REST or MCP.