Walmart Category Scraper
The products Walmart lists in a category as typed JSON: price, rating, seller, brand, availability and variations, filtered by price, brand or store. 1 credit per page. No Walmart login, no proxies to manage.
Free API key · 1 credit per page of products · failed calls free
// GET /api/v2/walmart-category/?urls=3944 · sample from the catalog { "success": true, "data": { "urls": "3944", "category_id": "3944", "country": "US", "page": 1, "page_size": 43, "total_results": 900004, "products": [ { "input_url": "3944", "category_id": "3944", "country": "US", "position": 2, "page": 1, "id": "18611919209", "url": "https://www.walmart.com/ip/HP-14-N150-4-128-Pink/18611919209?classType=VARIANT&athbdg=L1300", "title": "HP 14 inch HD Windows Laptop Intel Processor N150 4GB 128GB UFS Tranquil Pink", "description": "HP 14 inch HD Windows Laptop Intel Processor N150 4GB 128GB UFS Tranquil Pink", "seller": "Walmart.com", "brand": "HP", "price": { "current": 199, "original": 256.88, "currency": "USD" }, "rating": { "average": 4.1, "count": 1053 } } ], "next_cursor": "eyJpIjoiMzk0NCIsIm4iOjQzLCJwIjoyLCJzIjoiZjJDYkRERU5obDQ5" } }
| field | value | type | Has a value✓ |
|---|
Scrapier's Walmart Category Scraper returns the products in a Walmart category as JSON, a page at a time: id, title, price, rating, seller, brand and availability. Send a category URL or ID. It costs 1 credit per successful call. No Walmart login is needed.
Walmart Category Scraper extracts the products Walmart lists in a category, one page per call: each product's ID, title, price, rating, seller, brand, availability and variations, plus the category's total result count. Filter by price, brand facet, ZIP code or store, and page through with a cursor. Every response is structured JSON, ready to pass directly to an LLM. 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 Category Scraper?
Using this Walmart Category Scraper, you can extract the following data from public Walmart pages of products:
Want the exact field names? See the example output.
Try Walmart Category 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 Category 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 Category Scraper to get public Walmart pages of products. Endpoint: GET https://proxy.scrapier.io/api/v2/walmart-category/?urls={urls} with header "X-API-Key: YOUR_API_KEY" and a 210-second timeout. Send one value per call in urls; for a list, make one call per value, at most 3 in parallel. It returns JSON under data.products: input_url, category_id, country, position, page, id, url, title, description, seller, brand, price. 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-category" (find it with search_endpoints).Use this scraper from ChatGPT, Claude or Cursor. Point your assistant at Scrapier and it reads Walmart pages of products 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 Category Scraper in the catalogIt lives under Scrapers / Walmart, next to the other Walmart tools.
- Enter the categoryFor example
3944inurls, or paste a Walmart category URL. Addsort,min_price,max_price,refinementsuch asbrand:Apple, orzip_codeif you need them. - Send your API requestOne GET with your key in the
X-API-Keyheader, or onerun_scrapecall from your agent. This is how to scrape a Walmart category 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 products
urls takes one value per call, so for a list you loop: one request per value. Within a category, 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 products cost 1,000 credits, inside the Hobby plan's 15,000.
Features
This Walmart category data scraper turns a Walmart category page into rows you can rank, filter and store. It suits assortment analysis, price monitoring, brand tracking, regional price checks and any workflow that needs category listings without parsing HTML.
- Products
id,titleandurlfor every product in the category - Prices
priceholds the current and original price and the currency - Ratings
ratingholds the average and count;reviews_countsits beside it - Filters
sort,min_price,max_priceandrefinementnarrow the listing - Store
zip_code,stateorstore_idpick the store;countrytakes US or CA - Paging
next_cursorreads the next page of products
Proxies, retries and parsing run on Scrapier's side, so you send one request and get JSON back, at 1 credit per page of products and 0 credits for a failed call.
Use cases
- Category manager walks a category sorted by best_seller and records brand, price, rating and availability to see which brands dominate and where prices cluster.
- Pricing analyst sets
min_priceandmax_priceand comparesprice.currentwithprice.originalto spot discounted items in a price band. - Regional analyst runs the same category with different
zip_codevalues to compare the prices and stock that stores show. - Brand manager adds a brand facet through
refinementand tracks how many of the brand's products appear and how they are rated. - AI engineer gives an agent a tool that lists a category's products, so it can answer shopping questions from current prices and cite the URLs.
Running these from an agent? Use the MCP integration and let Claude or Cursor call the scraper directly.
Why choose this Scraper API?
Sort, price range, brand facet, ZIP code, store and country are inputs on the first call, so you get the listing you want instead of filtering afterwards.
Each product arrives as typed fields with id, title, price, rating and seller, so you skip selectors and layout changes.
The same key and response envelope work across Scrapier's endpoints, so a category can feed a reviews or data extractor call without new code.
Input
The scraper takes one Walmart category URL or category ID per call in urls. It is required on the first call. Every filter 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 |
|---|---|---|---|---|
urls | string | Yes | — | A Walmart category URL or bare category ID. One per call. Required on the first call. Aliases: url, category_url, category_id, category |
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, top_rated, new. Locked in the cursor |
min_price | integer | No | — | Minimum price, as an integer. Locked in the cursor |
max_price | integer | No | — | Maximum price, as an integer. Locked in the cursor |
refinement | string | No | — | Facet token such as brand:Apple. Locked in the cursor. Alias: facet |
zip_code | string | No | — | ZIP code, resolved to a store on page 1. Locked in the cursor |
state | string | No | — | State. Locked in the cursor |
store_id | string | No | — | Store ID. Locked in the cursor |
country | string | No | US | US (default) or CA. Locked in the cursor |
strict_price_filter | boolean | No | true | Strict price filtering, default true. Locked in the cursor |
include_brand | boolean | No | false | Per-product brand lookup: one extra product-page request per product, heavy, off by default. Locked in the cursor |
include_reviews_count | boolean | No | false | Include review counts, default false. 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 category per call: to scrape ten categories, make ten calls and page each with cursor. Booleans are the strings true or false.
Example input
{
"urls": "3944",
"sort": "best_match",
"min_price": "",
"max_price": "",
"refinement": "",
"zip_code": "",
"state": "",
"store_id": "",
"country": "US",
"strict_price_filter": "true",
"include_brand": "false",
"include_reviews_count": "false",
"use_proxy": "true",
"raw_data": "false"
}Error codes
| Status | Meaning | Billed | Fix |
|---|---|---|---|
| 200 | Page of products data returned in data.products | Yes | — |
| 400 | Bad or missing input | No | Check urls: 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 products under products, each with 19 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": {
"urls": "3944",
"category_id": "3944",
"country": "US",
"page": 1,
"page_size": 43,
"total_results": 900004,
"products": [
{
"input_url": "3944",
"category_id": "3944",
"country": "US",
"position": 2,
"page": 1,
"id": "18611919209",
"url": "https://www.walmart.com/ip/HP-14-N150-4-128-Pink/18611919209?classType=VARIANT&athbdg=L1300",
"title": "HP 14 inch HD Windows Laptop Intel Processor N150 4GB 128GB UFS Tranquil Pink",
"description": "HP 14 inch HD Windows Laptop Intel Processor N150 4GB 128GB UFS Tranquil Pink",
"seller": "Walmart.com",
"brand": "HP",
"price": {
"current": 199,
"original": 256.88,
"currency": "USD"
},
"rating": {
"average": 4.1,
"count": 1053
},
"image_urls": "https://i5.walmartimages.com/seo/HP-14-N150-4-128-Pink_0ce3d9f7-c4c1-42b8-9829-bcda7e1fde68.1160f366df2b136e8823ee23ab51b895.jpeg",
"availability": "In stock",
"reviews_count": 133,
"variations": [
{
"id": "18656507313",
"title": "Waterfall blue",
"url": "https://www.walmart.com/ip/HP-14-N150-4-128-Blue/18656507313?classType=VARIANT",
"category": "actual_color"
}
],
"ext": {
"seller_id": "F55CDC31AB754BB68FE0B39041159D63",
"catalog_id": "19X7KSSCUQU5"
},
"scraped_at": "2026-09-24T11:38:54.633Z"
}
],
"next_cursor": "eyJpIjoiMzk0NCIsIm4iOjQzLCJwIjoyLCJzIjoiZjJDYkRERU5obDQ5"
}
}The catalog's sample response for urls=3944, labelled as a sample: live calls return the account's current values.
Product
| Field | Type | Example | Description |
|---|---|---|---|
products.id | string | "18611919209" | Walmart item ID of the product |
products.title | string | "HP 14 inch HD Windows Laptop Intel Processo…" | Product title as Walmart shows it |
products.description | string | "HP 14 inch HD Windows Laptop Intel Processo…" | Short description text |
products.url | string | "https://www.walmart.com/ip/HP-14-N150-4-128…" | Product page URL |
products.image_urls | string | "https://i5.walmartimages.com/seo/HP-14-N150…" | Product image URL |
products.brand | string | "HP" | Brand name |
products.seller | string | "Walmart.com" | Name of the seller |
products.availability | string | "In stock" | Stock status text, for example In stock |
Price, rating and variants
| Field | Type | Example | Description |
|---|---|---|---|
products.price | object | {…} | Object with current, original and currency |
products.rating | object | {…} | Object with average and count |
products.reviews_count | integer | 133 | Number of reviews |
products.variations | array | 1 items | List of variants, each with id, title, url and category |
products.ext | object | {…} | Object with seller_id and catalog_id |
Row context
| Field | Type | Example | Description |
|---|---|---|---|
products.input_url | string | "3944" | Your input, echoed on the row |
products.category_id | string | "3944" | Category the row belongs to |
products.country | string | "US" | Country of the listing |
products.position | integer | 2 | Position of the product in the listing |
products.page | integer | 1 | Page number of the row |
products.scraped_at | string | "2026-09-24T11:38:54.633Z" | UTC time the row was scraped |
Response envelope and paging
| Field | Type | Example | Description |
|---|---|---|---|
success | boolean | true | true on every 200 response |
data.urls | string | "3944" | Your input, echoed back |
data.category_id | string | "3944" | Category ID of this response |
data.country | string | "US" | Country of this response |
data.page | integer | 1 | Page number of this response |
data.page_size | integer | 43 | Products per page |
data.total_results | integer | 900004 | Total products Walmart reports for the category |
data.next_cursor | string | "eyJpIjoiMzk0NCIsIm4iOjQzLCJwIjoyLCJzIjoiZjJ…" | 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 category listing any visitor sees on Walmart 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 Category 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-category: 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-category/ with a urls 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 title, price and seller 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-category with search_endpoints itself.
Pricing and Rate Limits
One Walmart page of products costs 1 credit, so 1,000 pages of products 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 products included | Per 1,000 pages of products |
|---|---|---|---|---|
| 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-category/, 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 Category 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 in any category, as Walmart lists them | Whatever your parser extracts |
| Fields returned | 19 fields per product: ID, title, price, rating, seller, brand and stock | 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 Category Scraper return?
Each product has id, title, description, url, image_urls, brand, seller, price, rating, availability, reviews_count, variations and ext, plus row context: 19 fields in data.products. The envelope adds total_results, page, page_size and next_cursor. Each call costs 1 credit.
Is there a Walmart category API?
Scrapier's Walmart category API is a REST endpoint at /api/v2/walmart-category/: send a category URL or ID and your key in the X-API-Key header, and get the products as JSON. It costs 1 credit per page and failed calls are free.
Where do I find a Walmart category ID?
Send either the full category URL from your browser or the bare category ID, such as 3944 in the catalog sample. The urls input accepts both, and the response echoes the category_id so you can confirm which category it read.
How do I filter Walmart category results?
Set sort (best_match, price_low, price_high, best_seller, top_rated or new), min_price, max_price and refinement facets such as brand:Apple on the first call. All filters stay locked in the cursor while you page.
Can I see prices for one Walmart store?
Yes. Send zip_code and it resolves to a store on the first page, or set store_id or state. country takes US or CA. These settings stay locked in the cursor, so every following page shows the same store.
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 scrape several categories in one call?
No. urls takes one category URL or ID per call. To scrape ten categories, 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.
What do include_brand and include_reviews_count do?
include_brand adds a per-product brand lookup, which costs one extra product-page request per product, so it is heavy and off by default. include_reviews_count is also off by default. Both are locked into the cursor on the first call.
Does Walmart Category Scraper require a Walmart account or login?
No. Walmart Category 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.
How fast does Walmart Category 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 Category 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-category 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 Category 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 Category Scraper with Python?
For a Walmart category scraper in Python, send a GET request with the requests library to https://proxy.scrapier.io/api/v2/walmart-category/ with params={"urls": "3944"}, 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 Products
Public Walmart pages of products as JSON, 1 credit each, from REST or MCP.