New: the Scrapier MCP server. Every scraper in Claude Code with one command. See how →
WaGET/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.

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

Last updated
// 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
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.

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.

WaWalmartWalmart Search ScraperLive
Wa

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 →

Run it yourself

  1. Get your free Scrapier API keySign up at app.scrapier.io; the free tier lets you try it first.
  2. Open Walmart Search Scraper in the catalogIt lives under Scrapers / Walmart, next to the other Walmart tools.
  3. Enter the keywordFor 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 requestOne 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 resultsEach 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
  • ProductsusItemId, name and price for every product on the page
  • StockavailabilityStatusDisplayValue says whether an item is in stock
  • SellerssellerName shows who sells each item
  • RatingsaverageRating and numberOfReviews on every row
  • Sortingsort orders results by best match, price, best seller, newest or rating
  • Pagingnext_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 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).

NameTypeRequiredDefaultDescription
queriesstringYes—A search keyword or Walmart /search?q= URL. One per call. Required on the first call. Aliases: query, q, keyword, url
cursorstringNo—Pass back data.next_cursor from the previous response, unchanged, to get the next page; null means the last page
sortstringNobest_matchResult order, default best_match. Options: best_match, price_low, price_high, best_seller, new, rating_high. Locked in the cursor
use_proxybooleanNotrueRoute through Scrapier's residential proxy pool, on by default. Leave as is
raw_databooleanNofalseReturn 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

StatusMeaningBilledFix
200Page of results data returned in data.productsYes—
400Bad or missing inputNoCheck queries: one value per call
401X-API-Key header missingNoAdd the header
402Out of credits (body has balance)NoTop up; retrying will not help
403Invalid or revoked API keyNoCheck the key in your dashboard
429ThrottledNoWait Retry-After seconds, then retry
5xxUpstream failure or timeoutNoRetry 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

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

FieldTypeExampleDescription
products.usItemIdstring"5014870508"Walmart item ID of the product
products.namestring"LEGO Star Wars Clone Trooper & Battle Droid…"Product name as Walmart shows it
products.pricenumber40.98Current price as a number
products.availabilityStatusDisplayValuestring"In stock"Stock status text, for example In stock
products.sellerNamestring"WM-BEUSA"Name of the seller
products.averageRatingnumber4.7Average star rating
products.numberOfReviewsinteger1273Number of reviews
products.__typenamestring"Product"Walmart's type label for the row

Search context

FieldTypeExampleDescription
products.keywordstring"lego star wars"Keyword the row answers
products.input_querystring"lego star wars"Your input, echoed on the row
products.search_urlstring"https://www.walmart.com/search?q=lego+star+…"Walmart search URL that produced the row
products.sortBystring"best_match"Sort order used
products.pageinteger1Page number of the row
products.countinteger965Total matches Walmart reports for the search
products.maxPageinteger12Last page Walmart reports
products.statusCodeinteger200Status code Walmart returned
products.statusMessagestring"FOUND"Status message Walmart returned, for example FOUND
products.scraped_atstring"2026-09-15T08:37:33.939Z"UTC time the row was scraped

Response envelope and paging

FieldTypeExampleDescription
successbooleantruetrue on every 200 response
data.querystring"lego star wars"Your keyword, echoed back
data.sort_bystring"best_match"Sort order of this response
data.pageinteger1Page number of this response
data.page_sizeinteger50Products per page
data.max_pageinteger12Last page number available
data.next_cursorstring"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.

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 →

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.

PlanMonthly priceCreditsPages of results includedPer 1,000 pages of results
Hobby$2915,00015,000$1.93
Pro$7950,00050,000$1.58
Scale$299250,000250,000$1.20
EnterpriseCustom volume and terms

Prices from the live billing page. See all plans and limits.

Call cost and timing

1credit per successful call
0credits for a failed call
3parallel requests per key
210srecommended 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 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

FeatureScrapier Walmart scraperDIY Walmart scraping
Access neededOne Scrapier API keyYour own proxies, parser and servers
Which dataProducts for any keyword, as Walmart shows themWhatever your parser extracts
Fields returned18 fields per product: item ID, name, price, stock, seller and ratingWhatever you build and maintain
SetupSign up, copy a key, send a requestWrite selectors, handle blocks and retries
Cost1 credit per page, from $1.20 per 1,000 callsProxy, 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.

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.

Get started

Start Scraping Walmart Pages Of Results

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