100 free credits. No credit card required. Get a key

Walmart product API

One Walmart item as Walmart’s own product object, with price, availability, rating, seller, variants, specifications and the review summary.

GET /v1/walmart/products/{product_id}Beta3 credits per callRefunded on failure
import os, requests

res = requests.get(
    "https://api.groundsocial.dev/v1/walmart/products/5113175776",
    headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()
Response
200 · 3 credits
{
"country": "US",
"product": {
"primaryShelfId": "3484049",
"canAddToList": true,
"specialOrderQuantityEligible": true,
"isPartOfLowReturnRateTest": false,
"fulfillmentTypeClassification": null,
"primaryProductId": "4D5SG689UM1X",
"esrb": null,
"ebooks": null,
"eGiftCard": null,
"isNative1PEgiftCard": null,
"…": "176 more fields"
},
"idml": {
"arExperience": [
{
"name": "Augmented Reality Experiences",
"values": [
"…"
]
}
],
"genAiDetails": {
"genAiDescriptionBullet": "<ul><li><strong>Streamlined ChromeOS</strong>: Runs Google's fast, secure Chrome…",
"genAiConciseSummary": {
"items": [
"…"
]
}
},
"sizeCharts": null,
"chokingHazards": null,
"productHighlights": [
{
"name": "Screen size",
"value": "15.6 in",
"iconURL": "https://i5.walmartimages.com/dfw/4ff9c6c9-34f1/k2-_dd6647ce-7f0a-4c0a-8129-167c9…"
},
"… 5 more"
],
"ingredients": null,
"longDescription": "<ul> <li><strong>Runs ChromeOS</strong>: The fast, secure operating system from…",
"shortDescription": "The Acer Chromebook 315 features a 15.6-inch anti-glare screen designed to let y…",
"interactiveProductVideo": null,
"interactiveProductAssets": null,
"…": "17 more fields"
},
"reviews_summary": {
"averageOverallRating": 4.3,
"aspects": [
{
"id": "48",
"name": "Value For Money",
"score": null,
"snippetCount": 762
},
"… 21 more"
],
"reviewSummary": {
"summary": "Customers are pleased with the laptop's affordable price, considering it a great…",
"summaryTitle": "Affordable laptop offers great value with user-friendly design",
"summaryAspects": [
{
"…": "4 fields"
},
"… 4 more"
]
},
"bulletReviewSummary": {
"bulletSummaryAspects": [
{
"…": "6 fields"
},
"… 5 more"
],
"thumbsUpCount": 1,
"thumbsDownCount": 0
},
"lookupId": "1WU5T4S5PQU7",
"condition": null,
"selectedFilters": {
"conditionTypeCodes": null
},
"ratingValueFiveCount": 15212,
"ratingValueFourCount": 2147,
"ratingValueOneCount": 1907,
"…": "20 more fields"
}
}

Parameters

NameTypeDescription
product_idpath · requiredstringWalmart item id (the number in /ip/…/<id>), or a product URL. Example: 5113175776.
countryquery"US" | "CA"US (default) or CA. One of US, CA.
Response fields

200 with a WalmartProductResponse, in Walmart’s own product, review and search item objects.

FieldTypeDescription
countrystring
productWalmartProductWalmart’s own product object, every field it sends.
idmlobject | nullWalmart’s item details: specifications, long and short description, highlights, warranty.
reviews_summaryobject | null
Status codes
StatusMeaning
200The product.
400Invalid input. Nothing was charged.
401Missing or invalid API key.
402Not enough credits, a spend cap was reached, or payment is required.
403The target is private, or the account is suspended.
404The product or category does not exist.
429Too many requests. Wait for Retry-After seconds.
503Walmart is temporarily unavailable. Retryable; nothing was charged.

Every error has code, message, hint and retryable. All error codes

Walmart is a trademark of Walmart Apollo, LLC. We are not affiliated with or endorsed by Walmart.