API · Walmart
GET /walmart/products/{product_id}
One Walmart product: price, availability, rating, seller, specifications.
| |
|---|
| Request | GET /v1/walmart/products/{product_id} |
| Operation id | walmart.product.get |
| Cost | 3 credits, refunded if the call fails |
| Auth | API key: Authorization: Bearer <key> or x-api-key. |
One Walmart product: price, availability, rating, seller, specifications.
| Name | Type | Required | Description |
|---|
product_id | string | yes | Walmart item id (the number in /ip/…/<id>), or a product URL. Example: 5113175776. |
| Name | Type | Required | Description |
|---|
country | "US" | "CA" | no | US (default) or CA. One of US, CA. |
| Status | Meaning | Schema |
|---|
200 | The product. | WalmartProductResponse |
400 | Invalid input. Nothing was charged. | Error |
401 | Missing or invalid API key. | Error |
402 | Not enough credits, a spend cap was reached, or payment is required. | Error |
403 | The target is private, or the account is suspended. | Error |
404 | The product or category does not exist. | Error |
429 | Too many requests. Wait for Retry-After seconds. | Error |
503 | Walmart is temporarily unavailable. Retryable; nothing was charged. | Error |
| Field | Type | Description |
|---|
country | string | |
product | WalmartProduct | Walmart’s own product object, every field it sends. |
idml | object | null | Walmart’s item details: specifications, long and short description, highlights, warranty. |
reviews_summary | object | null | |
Errors use one shape everywhere; see Errors for every code and what to do.