Walmart
Walmart price, list price, stock, seller, fulfilment and shipping by item id, about 1.3 million items per credit.
Walmart price, list price, stock, seller, fulfilment and shipping by item id, about 1.3 million items per credit.
At a glance
Property | Value |
|---|---|
|
|
Item id | The number at the end of a product URL: |
Marketplaces |
|
Tier |
|
Ids per call | 100 |
Typical call | 3–10 s for 100 items |
Example
- cURL
- Python
- Node.js
curl -X POST "https://api.scrapelyserp.com/v1/products" \
-H "Authorization: Bearer $SCRAPELY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"platform": "walmart",
"ids": ["931920073", "5129928603", "1000000404"]
}'import os
import requests
HEADERS = {"Authorization": f"Bearer {os.environ['SCRAPELY_API_KEY']}"}
r = requests.post(
"https://api.scrapelyserp.com/v1/products",
headers=HEADERS,
json={
"platform": "walmart",
"ids": ["931920073", "5129928603", "1000000404"],
},
timeout=120,
)
r.raise_for_status()
data = r.json()
for item in data["results"]:
print(item["id"], item["status"], item.get("price"))const res = await fetch('https://api.scrapelyserp.com/v1/products', {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.SCRAPELY_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
platform: 'walmart',
ids: ['931920073', '5129928603', '1000000404'],
}),
signal: AbortSignal.timeout(120_000),
});
if (!res.ok) throw new Error((await res.json()).error.code);
const data = await res.json();
for (const item of data.results) console.log(item.id, item.status, item.price);Full reference → POST /v1/products
Walmart fields
Besides the common fields, each result carries a walmart object. Every field in it is optional: left out when Walmart does not say.
Field | Description |
|---|---|
| The list ("was") price, |
| The current offer. A different |
| Sold by a marketplace seller rather than Walmart. |
| Offered online at all. Use |
|
|
| Identifiers. Variants of one product share |
| Catalogue details. |
| Offer flags. |
fulfillment.byPlatform is true when Walmart ships the item (its own stock, or a marketplace item fulfilled by Walmart). Walmart does not publish delivery dates, stock quantities or sibling variants.
Statuses on Walmart
okincludes out-of-stock items:availability.inStock: false, usually without aprice.partial: the title or stock is missing, or the item is in stock without a price. Ask again later.not_found: Walmart says the item does not exist or was delisted.
For large catalogues, send calls one after another rather than many at once; items not answered in time come back unavailable (nothing charged for them) and can simply be sent again.
Watchlists
A watchlist with "platform": "walmart" reads each item once per run at standard and reports changes to price, listPrice, inStock, seller, byPlatform, thirdPartySeller, offerId, clearance.