# Walmart Search Scraper: Search Results as JSON | Scrapier (https://scrapier.io/scrapers/walmart/search/)

> Walmart Search Scraper API: products for any keyword as JSON with item ID, name, price, stock, seller and rating. 1 credit per call. Get a free API key.

Last updated: 2026-11-12

Wa**GET**/api/v2/walmart-search-scraper/

## 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.

[Get a free API key →](https://app.scrapier.io/sign-up) [View API docs](https://scrapier.io/scrapers/walmart/search/api/)

Free API key · 1 credit per page of results · failed calls free

Last updated 9 Nov 2026

// 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"
  }
}

Copy for your AI agent

Pricing

[1 credit / page of results](https://scrapier.io/pricing/)

From $1.58 per 1,000 on Pro

Endpoint facts

Credits per call**1**

Pagination**cursor**

Walmart login**Not needed**

Format**JSON**

Auth

`X-API-Key: <your key>`

MCP tool

`run_scrape · walmart-search-scraper`

One of six tools in the Scrapier MCP server, which reach all 199 endpoints.

Platform

[Walmart: 5 endpoints →](https://scrapier.io/scrapers/walmart/)

Quick answer

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.

Every request is fetched live at call time · failed calls are free

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:

Item ID

Product name

Price

Stock status

Seller name

Average rating

Review count

Search URL

Query that produced the product

Page number

Sort order

Next-page cursor

Scrape timestamp

Total matches

Want the exact field names? See the [example output](#output).

Playground

## 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.

WaWalmart**Walmart Search Scraper**Live

Platform

Wa

Endpoint

Parameters

### \+ Run live with your API key

Response

Sample dataCatalog sample, run to see live data

## 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).

**Walmart Search Scraper MCP Server**

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.

[MCP setup →](https://scrapier.io/scrapers/walmart/search/mcp/)

### Run it yourself

1. **Get your free Scrapier API key**Sign up at [app.scrapier.io](https://app.scrapier.io/sign-up); the free tier lets you try it first.
2. **Open Walmart Search Scraper in the catalog**It lives under [Scrapers / Walmart](https://scrapier.io/scrapers/walmart/), next to the other Walmart tools.
3. **Enter the keyword**For example `lego star wars` in `queries`, or paste a Walmart `/search?q=` URL. Pick a `sort` such as best\_match, price\_low, price\_high, best\_seller, new or rating\_high.
4. **Send your API request**One GET with your key in the `X-API-Key` header, or one `run_scrape` call from your agent. This is how to scrape Walmart search results without a browser. Set a 210-second client timeout.
5. **Save your results**Each page comes back as JSON in `data.products`: store it as is, or flatten it to CSV. Pass `data.next_cursor` back as `cursor` to 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.

It extracts, per page of results

- **Products**`usItemId`, `name` and `price` for every product on the page
- **Stock**`availabilityStatusDisplayValue` says whether an item is in stock
- **Sellers**`sellerName` shows who sells each item
- **Ratings**`averageRating` and `numberOfReviews` on every row
- **Sorting**`sort` orders results by best match, price, best seller, newest or rating
- **Paging**`next_cursor` reads 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 and `sellerName` per 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](https://scrapier.io/scrapers/walmart/search/mcp/) and let Claude or Cursor call the scraper directly.

## Why choose this Scraper API?

**Search-page data in typed fields.**

Each product arrives as `usItemId`, `name`, `price`, `sellerName`, `averageRating` and `numberOfReviews`, so you skip selectors and layout changes.

**Sort order built in.**

Choose `sort` on the first call and the order is kept for every following page, so rankings stay comparable across pages.

**One key for Walmart and the rest of the catalog.**

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

POST body · input.json

{
  "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](https://docs.scrapier.io/errors/). 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

200 OK · 1 credit · catalog sample

{
  "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?

01

Scrapier sends each request through its residential proxy pool (`use_proxy`, on by default), so you never manage IPs or proxy accounts.

02

Retries and parsing of Walmart's pages happen on Scrapier's side. You send one HTTP request and get typed JSON back.

03

Only publicly visible data is returned: the products any visitor sees on Walmart search without signing in. No Walmart account or cookie is used.

04

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](https://scrapier.io/scrapers/walmart/search/api/).

### MCP integration for AI agents

claude mcp add -t http scrapier …

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 →](https://scrapier.io/scrapers/walmart/search/mcp/)

### No-code tools (n8n, Make, LangChain)

**n8n**

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.

**Make**

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.

**LangChain**

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](https://scrapier.io/enterprise/#contact) |

Prices from the live billing page. [See all plans and limits](https://scrapier.io/pricing/).

## Call cost and timing

**1**credit per successful call

**0**credits for a failed call

**3**parallel requests per key

**210s**recommended client timeout

### 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](https://docs.scrapier.io/rate-limits/) 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](https://scrapier.io/terms/).

## 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.

## Related scrapers

| Scraper | What it extracts |
| --- | --- |
| [Category Scraper](https://scrapier.io/scrapers/walmart/category/) | Products in a category URL or ID with price, rating, availability, seller and variations; filter by price, brand or store. |
| [Data Extractor Scraper](https://scrapier.io/scrapers/walmart/data-extractor/) | Products from any listing or /ip/ URL, or a keyword, enriched from each product page. |
| [Reviews Scraper](https://scrapier.io/scrapers/walmart/reviews/) | Reviews for a product or a search's first products: rating, text, nickname, verified purchase and helpful votes. |

All 5 Walmart endpoints are on the [Walmart scraper hub](https://scrapier.io/scrapers/walmart/).

## Your feedback

Found a bug or missing a field? Let us know. Write to support@scrapier.io and the team replies to every report.

[Report an issue](https://scrapier.io/contact/)[Email support](mailto:support@scrapier.io)

Get started

## Start Scraping Walmart Pages Of Results

Public Walmart pages of results as JSON, 1 credit each, from REST or MCP.

[Get a free API key →](https://app.scrapier.io/sign-up)[View pricing](https://scrapier.io/pricing/)

---
Canonical page: https://scrapier.io/scrapers/walmart/search/
Site index for AI agents: https://scrapier.io/llms.txt
