# Walmart Product Scraper API

> Walmart Product Scraper API is a paid API for AI agents from api.scrapeforagents.tech, paid per call via x402, $0.025/call, status unknown (last checked 2026-10-02).

Scrapes structured product data from Walmart product pages, search results, and browse category URLs, returning detailed product records.

## Facts

- Endpoint: POST https://api.scrapeforagents.tech/v1/walmart?utm_source=zero.xyz
- Price: $0.025/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/walmart-product-scraper-api-17b5b899
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_UhuUJ_w1msPse8GpgeiTm

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability walmart-product-scraper-api-17b5b899 -d '<json body>'
```

Example prompt: Scrape up to 50 Walmart product records from this search URL https://www.walmart.com/search?q=bluetooth+headphones — include product variants and give me names, brands, IDs, and descriptions.

## When to prefer this

Use this endpoint when you need structured, machine-readable product data from Walmart at scale — especially for search result pages or category browse pages that need to be expanded into full product records. Prefer this over manual scraping or generic web scrapers when you specifically need Walmart product IDs, brand, and description fields in a consistent JSON format, and only want to pay for successful data runs.

## Known failure modes

- Empty result set if Walmart blocks or rate-limits the scraper (not charged)
- Invalid or private Walmart URLs return no results
- Exceeding maxItems returns only up to the specified limit
- Variant pages may not be scraped if enqueueProductVariants is false
- Walmart page structure changes may cause incomplete field extraction

## How this service works

Pay-per-call structured web data. Failed or empty runs are not charged.

## Output

A JSON object containing a count of returned items and an array of product records, each with fields including URL, name, brand, item type, Walmart item ID, product ID, full description, and short description. Failed or empty runs are not charged.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "maxItems": {
   "type": "integer",
   "default": 100,
   "minimum": 0,
   "description": "Hard limit across all start URLs. Set 0 for no overall limit."
  },
  "startUrls": {
   "type": "array",
   "description": "Public Walmart product, search, or browse category URLs. Search and category pages are expanded into full product detail records."
  },
  "enqueueProductVariants": {
   "type": "boolean",
   "default": false,
   "description": "Visit linked sizes, colors, or pack options and return each as its own full product record, within the product limit."
  },
  "maxProductsPerStartUrl": {
   "type": "integer",
   "default": 10,
   "minimum": 1,
   "description": "Maximum full product records from each start URL, including separately collected variants."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "count": 1,
  "items": [
   {
    "url": null,
    "name": null,
    "brand": null,
    "itemType": null,
    "usItemId": null,
    "productId": null,
    "description": null,
    "shortDescription": null
   }
  ],
  "product": "walmart"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/walmart-product-scraper-api-17b5b899/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.scrapeforagents.tech](https://www.zero.xyz/host/api.scrapeforagents.tech/llms.txt)
