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

Walmart offers API

The primary offer, its seller and the other offers on a Walmart item.

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

res = requests.get(
    "https://api.groundsocial.dev/v1/walmart/products/5113175776/offers",
    headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()
Response
200 · 2 credits
{
"product_id": "5113175776",
"country": "US",
"name": "Acer Chromebook 315 15.6 inch Laptop Intel Processor N4500 4GB RAM 64GB eMMC Moo…",
"primary_offer": {
"warranty": null
},
"seller": {
"sellerId": "AACD75E4F1E2443CB6791C384CFEE12B",
"sellerName": null,
"sellerDisplayName": "Exclusive-Sales",
"sellerType": "EXTERNAL",
"sellerAverageRating": 4.569767441860465,
"sellerReviewCount": 87,
"sellerStoreFrontURL": "https://www.walmart.com/global/seller/102530867",
"sellerLogoURL": "https://i5.walmartimages.com/asr/055e8cbe-ace9-4656-b610-d7c4cbdf455f.b49ca22dc5…",
"catalogSellerId": 102530867
},
"secondary_offers": [
{
"groupMetaData": null,
"badges": null,
"usItemId": "5113175776",
"offerLevelBadges": null,
"imageInfo": {
"thumbnailUrl": "https://i5.walmartimages.com/seo/Acer-Chromebook-315-15-6-inch-Laptop-Intel-Proc…",
"allImages": [
"…"
]
},
"rewards": null,
"addOnServices": [],
"promoDiscount": null,
"offerId": "F765CA57E2AC3EA8B1E4E79817D4EF14",
"offerType": "ONLINE_ONLY",
"…": "26 more fields"
}
],
"condition_offers": [
{
"offerId": "C6F0C4672DCA32B3B4A81ED0B72D9DD7",
"isConditionNew": true,
"availabilityStatus": {
"display": "In stock",
"value": "IN_STOCK"
},
"condition": {
"code": 1,
"text": "New",
"groupCode": 1,
"groupText": "New"
},
"conditionNotes": null,
"price": {
"price": 229.99,
"priceString": "$229.99"
},
"topBoostedOffer": null,
"moreConditions": null,
"priceInfo": {
"savingsAmount": null,
"priceDisplayCodes": {
"…": "1 fields"
}
}
},
"… 1 more"
],
"additional_offer_count": 9
}

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 WalmartOffers, in Walmart’s own product, review and search item objects.

FieldTypeDescription
product_idstring
countrystring
namestring | null
primary_offerobject | null
sellerobject
secondary_offersobject[]
condition_offersobject[]
additional_offer_countnumber | null
Status codes
StatusMeaning
200The offers.
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.