Walmart
Walmart Offers API
Get the buy-box offer for a Walmart product as JSON - price and list price, currency, condition, availability, shipping and fulfillment, plus the winning seller with its rating and review count. This returns the buy-box seller only: total_offer_count tells you how many sellers list the item, and the other offers are not retrievable. Costs 1 credit.
POST/api/v1/walmart/offers
Authorizations
AuthorizationstringheaderrequiredBearer authentication header of the form Bearer <token>, where <token> is your Scavio API key (e.g. Bearer sk_live_your_key).
Body
application/jsonproduct_idstringrequiredWalmart item id (usItemId) - the numeric id in a /ip/ product URL, and the id field returned by search, category and seller-products.
Example: 17760865787
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key")
offers = client.walmart.offers("17760865787")
print(offers)Response
"product_id": "17760865787",
"title": "Bluetooth Headphones Over Ear, 65Hrs Playtime Wireless Headphones,Bass Boosted by 90%,Lightweight Headset with Deep Bass, Clear Call with 4 Noise Cancelling Mics,Low Latency for Travel Work Cellphone",
"url": "https://www.walmart.com/ip/Bluetooth-Headphones-4-Mic-Noise-Cancelling-Calls-Wireless-Earbuds-2200mAh-Charging-Case-Support-Wire...",
"count": 1,
"total_offer_count": 2,
},
"response_time": 3399,
"credits_used": 1,
"credits_remaining": 999
}