Walmart API endpoint
Returns a Walmart product: price, availability, brand, images, rating, seller, description, highlights, specifications, and variants.
/walmart/product/{item_id}Returns a Walmart product.
Path parameters:
item_id (required) — Walmart item id (the numeric id in a /ip/{id} URL), e.g. 5689919121.Response includes item_id, product_id, title, brand, canonical_url, image, images[], price, price_text, currency, availability, seller_name, rating, review_count, description, category, highlights[], variants[], and attributes (specifications map).
| Field | In the sample | Value in the sample |
|---|---|---|
| item_id | Has a value | |
| title | Has a value | “Restored Apple AirPods Pro 2 In-Ear Headphones with USB-C C…” |
| brand | Has a value | “Apple” |
| canonical_url | Has a value | walmart.com |
| image | Has a value | i5.walmartimages.com |
| images | Has a value | 5 entries |
| price | Has a value | 173.99 |
| price_text | Has a value | “$173.99” |
| currency | Has a value | “USD” |
| availability | Has a value | “IN_STOCK” |
| seller_name | Has a value | |
| rating | Has a value | 4.4 |
| review_count | Has a value | 44,480 |
| description | Has a value | 564 characters |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| item_id (path) | string | Yes | Walmart item id (the numeric id in a /ip/{id} URL) | 5689919121 | |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/walmart/product/5689919121" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": {
"item_id": "5689919121",
"title": "Apple AirPods Pro 2",
"brand": "Apple",
"canonical_url": "https://www.walmart.com/ip/5689919121",
"price": 169,
"price_text": "$169.00",
"currency": "USD",
"availability": "IN_STOCK",
"seller_name": "Walmart.com",
"rating": 4.6,
"review_count": 17823,
"description": "Wireless earbuds with active noise cancellation.",
"attributes": {
"Brand": "Apple"
}
}
}Request schema
No body schema
Response schema
#/definitions/walmart.productResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | walmart.Product | No | ||||
| data.attributes | object | No | ||||
| data.availability | string | No | IN_STOCK | |||
| data.brand | string | No | Apple | |||
| data.canonical_url | string | No | https://www.walmart.com/ip/5689919121 | |||
| data.category | string | No | Electronics | |||
| data.currency | string | No | USD | |||
| data.description | string | No | Wireless earbuds with active noise cancellation. | |||
| data.highlights | array | No | ||||
| data.image | string | No | https://i5.walmartimages.com/seo/example.jpeg | |||
| data.images | array | No | ||||
| data.is_sponsored | boolean | No | false | |||
| data.item_id | string | No | 5689919121 | |||
| data.price | number | No | 169 | |||
| data.price_text | string | No | $169.00 | |||
| data.product_id | string | No | 5689919121 | |||
| data.rating | number | No | 4.6 | |||
| data.review_count | integer | No | 17823 | |||
| data.seller_name | string | No | Walmart.com | |||
| data.title | string | No | Apple AirPods Pro 2 | |||
| data.variants | array | No | ProductSummary record, 15 fields: availability, brand, canonical_url, currency, image, images, is_sponsored, item_id, price, price_text, product_id, rating and 3 more. Described under Walmart Search API. | |||
| msg | string | No | OK |
| Status | Description | Schema |
|---|---|---|
| 400 | Bad Request | #/definitions/app.Response |
| 404 | Not Found | #/definitions/app.Response |
| 500 | Internal Server Error | #/definitions/app.Response |
| 503 | Service Unavailable | #/definitions/app.Response |
Use environment variables for secrets and keep Crawlora API keys server-side.
curl -X GET "https://api.crawlora.net/api/v1/walmart/product/5689919121" \
-H "x-api-key: $CRAWLORA_API_KEY"