# Walmart Product Page API

> Extract structured data from a Walmart product page URL: name, current and list price, stock, delivery estimate, ratings and seller details.

Source: https://www.sandbase.ai/apis/walmart/scrape/product
API reference: https://www.sandbase.ai/apis/walmart/scrape/product/docs

## Facts

- Provider: Walmart
- Type: Data API
- Endpoint: `POST https://api.sandbase.ai/v1/api/walmart/scrape/product`
- Price: $0.01 per call
- Free allowance: 100 calls per organization per UTC day, shared across eligible APIs
- Capabilities: api, walmart, ecommerce, product data
- Billing: pay per use from one SandBase balance; no provider account or subscription needed

## Call it

`POST https://api.sandbase.ai/v1/api/walmart/scrape/product` with `Authorization: Bearer $SANDBASE_API_KEY` and the parameters as a JSON body.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `url` | string | yes |  |
| `country` | string | no |  |
| `storeId` | string | no |  |
| `zipCode` | string | no |  |

## FAQ

### How do I use the Walmart Product Page API?

Send a POST request to https://api.sandbase.ai/v1/api/walmart/scrape/product with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.

### How much does the Walmart Product Page API cost?

$0.01 per call. Every organization gets 100 free calls per UTC day, shared across eligible SandBase APIs including this one; after that each call is billed at this price from your SandBase balance. There is no subscription.

### What parameters does the Walmart Product Page API accept?

Required: url (string). Optional: country (string), storeId (string) and zipCode (string). The Parameters table and the Playground on this page list every field.

### What does the Walmart Product Page API return?

A JSON result. This endpoint runs asynchronously, so the response tells you how to fetch the finished result.

### Do I need a Walmart developer account or API key?

No. Walmart Product Page runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for Walmart API access separately.

## README

### Walmart Product Page

Extract structured data from a Walmart product page URL: name, current and list price, stock, delivery estimate, ratings and seller details.

#### Request

```bash
curl -X POST "https://api.sandbase.ai/v1/run" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "walmart/scrape/product", "url": "https://www.walmart.com/ip/HP-14-Laptop/17581855155"}'
```

This API runs asynchronously. `/v1/run` returns a task `id` with status `pending`; poll `GET https://api.sandbase.ai/v1/run/{id}` until `status` is `completed` and read the result from `outputs[0].data`.

#### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `url` | string | Yes | Full Walmart page URL, e.g. https://www.walmart.com/ip/HP-14-Laptop/17581855155 |
| `country` | string | No | Walmart marketplace country code, e.g. 'us', 'ca', 'mx' (default 'us'). |
| `storeId` | string | No | Walmart store ID for localized inventory. |
| `zipCode` | string | No | US zip code used to determine local product availability. |

#### Pricing

Flat price per call. Failed calls are not charged.
