New: the Scrapier MCP server. Every scraper in Claude Code with one command. See how →
WaGET/api/v2/walmart-category/

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

Last updated
// 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"
  }
}
Copy for your AI agent
Quick answer

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.

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

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:

Product ID
Title
Description
Price object
Rating object
Review count
Seller
Brand
Availability
Image URL
Product URL
Variations
Position in category
Total results in category
Next-page cursor

Want the exact field names? See the example output.

Playground

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.

WaWalmartWalmart CategoryLive
Wa

Parameters
+ Run live with your API key
Response
Sample dataCatalog sample, run to see live data

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).
Walmart Category Scraper MCP Server

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.

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 Category Scraper in the catalogIt lives under Scrapers / Walmart, next to the other Walmart tools.
  3. Enter the categoryFor example 3944 in urls, or paste a Walmart category URL. Add sort, min_price, max_price, refinement such as brand:Apple, or zip_code if you need them.
  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 a Walmart category 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 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.

It extracts, per page of products
  • Productsid, title and url for every product in the category
  • Pricesprice holds the current and original price and the currency
  • Ratingsrating holds the average and count; reviews_count sits beside it
  • Filterssort, min_price, max_price and refinement narrow the listing
  • Storezip_code, state or store_id pick the store; country takes US or CA
  • Pagingnext_cursor reads 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_price and max_price and compares price.current with price.original to spot discounted items in a price band.
  • Regional analyst runs the same category with different zip_code values to compare the prices and stock that stores show.
  • Brand manager adds a brand facet through refinement and 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?

Filters and store choice in one call.

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.

Clean rows, no HTML parsing.

Each product arrives as typed fields with id, title, price, rating and seller, so you skip selectors and layout changes.

One key for Walmart and the rest of the catalog.

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

NameTypeRequiredDefaultDescription
urlsstringYes—A Walmart category URL or bare category ID. One per call. Required on the first call. Aliases: url, category_url, category_id, category
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, top_rated, new. Locked in the cursor
min_priceintegerNo—Minimum price, as an integer. Locked in the cursor
max_priceintegerNo—Maximum price, as an integer. Locked in the cursor
refinementstringNo—Facet token such as brand:Apple. Locked in the cursor. Alias: facet
zip_codestringNo—ZIP code, resolved to a store on page 1. Locked in the cursor
statestringNo—State. Locked in the cursor
store_idstringNo—Store ID. Locked in the cursor
countrystringNoUSUS (default) or CA. Locked in the cursor
strict_price_filterbooleanNotrueStrict price filtering, default true. Locked in the cursor
include_brandbooleanNofalsePer-product brand lookup: one extra product-page request per product, heavy, off by default. Locked in the cursor
include_reviews_countbooleanNofalseInclude review counts, default false. 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 category per call: to scrape ten categories, make ten calls and page each with cursor. Booleans are the strings true or false.

Example input

POST body · input.json
{
  "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

StatusMeaningBilledFix
200Page of products data returned in data.productsYes—
400Bad or missing inputNoCheck urls: 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 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

200 OK · 1 credit · catalog sample
{
  "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

FieldTypeExampleDescription
products.idstring"18611919209"Walmart item ID of the product
products.titlestring"HP 14 inch HD Windows Laptop Intel Processo…"Product title as Walmart shows it
products.descriptionstring"HP 14 inch HD Windows Laptop Intel Processo…"Short description text
products.urlstring"https://www.walmart.com/ip/HP-14-N150-4-128…"Product page URL
products.image_urlsstring"https://i5.walmartimages.com/seo/HP-14-N150…"Product image URL
products.brandstring"HP"Brand name
products.sellerstring"Walmart.com"Name of the seller
products.availabilitystring"In stock"Stock status text, for example In stock

Price, rating and variants

FieldTypeExampleDescription
products.priceobject{…}Object with current, original and currency
products.ratingobject{…}Object with average and count
products.reviews_countinteger133Number of reviews
products.variationsarray1 itemsList of variants, each with id, title, url and category
products.extobject{…}Object with seller_id and catalog_id

Row context

FieldTypeExampleDescription
products.input_urlstring"3944"Your input, echoed on the row
products.category_idstring"3944"Category the row belongs to
products.countrystring"US"Country of the listing
products.positioninteger2Position of the product in the listing
products.pageinteger1Page number of the row
products.scraped_atstring"2026-09-24T11:38:54.633Z"UTC time the row was scraped

Response envelope and paging

FieldTypeExampleDescription
successbooleantruetrue on every 200 response
data.urlsstring"3944"Your input, echoed back
data.category_idstring"3944"Category ID of this response
data.countrystring"US"Country of this response
data.pageinteger1Page number of this response
data.page_sizeinteger43Products per page
data.total_resultsinteger900004Total products Walmart reports for the category
data.next_cursorstring"eyJpIjoiMzk0NCIsIm4iOjQzLCJwIjoyLCJzIjoiZjJ…"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 category listing any visitor sees on Walmart 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 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

claude mcp add -t http scrapier …

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)

n8n

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.

Make

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.

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

PlanMonthly priceCreditsPages of products includedPer 1,000 pages of products
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-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

FeatureScrapier Walmart scraperDIY Walmart scraping
Access neededOne Scrapier API keyYour own proxies, parser and servers
Which dataProducts in any category, as Walmart lists themWhatever your parser extracts
Fields returned19 fields per product: ID, title, price, rating, seller, brand and stockWhatever 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 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.

Get started

Start Scraping Walmart Pages Of Products

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