Walmart API: Get product
Gets details, price and availability for a Walmart product by name or product link, using Walmart's default location.
Unofficial. Not affiliated with or endorsed by Walmart.
Inputs
Values from the run on Oct 31, 2026, shown under Output.
- Product, required
product Product name or Walmart product link, for example Apple AirPods 4 or https://www.walmart.com/ip/Apple-AirPods-4/11381374703.
Apple AirPods 4
Input as JSON
{ "product": "Apple AirPods 4"}Output
{ "upc": "195949688522", "brand": "Apple", "price": 99, "currency": "USD", "in_stock": true, "was_price": 129.99, "description": "REBUILT FOR COMFORT — AirPods 4 have been redesigned for exceptional all-day comfort and greater stability. With a refined contour, shorter stem, and quick-press controls for music or calls. PERSONALIZED SPATIAL AUDIO — Personalized Spatial Audio with dynamic head tracking places sound all around yo…", "image_links": [ "https://i5.walmartimages.com/seo/Apple-AirPods-4_43ffea38-e233-4fee-8a6f-7ff92ad713ae.97d6d24546e5cbdfcdc0e2fa52c969b1.jpeg" , "https://i5.walmartimages.com/asr/b4674342-45cb-466a-998c-b3fff7c1aef0.c69a475c3208a8e546256df06cb93c6d.jpeg" , "https://i5.walmartimages.com/asr/a3aaba30-620b-43d2-9b6c-4fd4c94a5085.99b9f4606ee725a25d3ae376cd6c5595.jpeg" ], "seller_name": "Walmart.com", "star_rating": 4.3, "pickup_today": false, "product_link": "https://www.walmart.com/ip/Apple-AirPods-4/11381374703" , "product_name": "Apple AirPods 4", "specifications": [ { "name": "Battery life", "value": "30 h" }, { "name": "Noise control technology", "value": "Sound Isolation" }, { "name": "Works with", "value": "iPhone" } ], "walmart_item_id": "11381374703", "delivery_estimate": "Today", "number_of_reviews": 83853}Code
curl https://api.fous.com/v1/runs \ -H "Authorization: Bearer $FOUS_API_KEY" \ -H "Content-Type: application/json" \ -d '{"method":"walmart.com/get_product","input":{"product":"Apple AirPods 4"}}' # Save as fous.py, then run: python3 fous.pyimport json, os, timefrom urllib.error import HTTPErrorfrom urllib.request import Request, urlopenAPI = "https://api.fous.com/v1/runs" KEY = os.environ["FOUS_API_KEY"]HEADERS = { "Authorization": f"Bearer {KEY}", "Content-Type": "application/json" ,}def call(url, body=None): data = json.dumps(body).encode() if body else None request = Request(url, data, HEADERS) try: with urlopen(request, timeout=120) as r: return r.status, json.load(r) except HTTPError as error: message = json.load(error)["error"]["message"] raise RuntimeError(message) from errorstatus, run = call(API, { "method": "walmart.com/get_product" , "input": { "product": "Apple AirPods 4" }})# 202: still going after 30 s. Ask again until it ends.while status == 202: time.sleep(2) status, run = call(f"{API}/{run['id']}")print(json.dumps(run["data"], indent=2))// Save as fous.mjs, then run: node fous.mjsconst api = "https://api.fous.com/v1/runs" ;const headers = { Authorization: `Bearer ${process.env.FOUS_API_KEY}`, "Content-Type": "application/json" ,};let response = await fetch(api, { method: "POST", headers, body: JSON.stringify({ "method": "walmart.com/get_product" , "input": { "product": "Apple AirPods 4" } }), signal: AbortSignal.timeout(120_000),});let run = await response.json();// 202: still going after 30 s. Ask again until it ends.while (response.status === 202) { await new Promise((done) => setTimeout(done, 2_000)); response = await fetch(`${api}/${run.id}`, { headers }); run = await response.json();}if (!response.ok) throw new Error(run.error.message);console.log(run.data);# Connect your agent to Fous once, over MCP (Streamable HTTP):# https://api.fous.com/mcp# Set FOUS_API_KEY first: create a key at https://app.fous.com/keys.# Claude Codeclaude mcp add \ --scope user \ --transport http fous https://api.fous.com/mcp \ --header "Authorization: Bearer ${FOUS_API_KEY:?Set FOUS_API_KEY to your Fous API key}"# Codexcodex mcp add fous \ --url https://api.fous.com/mcp \ --bearer-token-env-var FOUS_API_KEY# Cursor, VS Code, Windsurf, Cline and morenpx -y add-mcp https://api.fous.com/mcp -g -n fous \ --header "Authorization: Bearer ${FOUS_API_KEY:?Set FOUS_API_KEY to your Fous API key}"# Then ask your agent:# "Use Fous to run walmart.com/get_product# with {"product":"Apple AirPods 4"}"Over HTTP, the answer’s data holds the output. A run still going after 30 seconds answers 202 with its id: ask GET /v1/runs/{id} until it ends.
Schema
Input schema
{ "type": "object", "required": [ "product" ], "properties": { "product": { "type": "string", "description": "Product name or Walmart product link, for example Apple AirPods 4 or https://www.walmart.com/ip/Apple-AirPods-4/11381374703." } }}Output schema
{ "type": "object", "required": [ "product_name", "brand", "price", "currency", "was_price", "in_stock", "pickup_today", "delivery_estimate", "seller_name", "star_rating", "number_of_reviews", "specifications", "description", "image_links", "product_link", "walmart_item_id", "upc" ], "properties": { "upc": { "type": [ "string", "null" ], "x-fous-developer": true }, "brand": { "type": [ "string", "null" ] }, "price": { "type": [ "number", "null" ], "description": "Current price in USD." }, "currency": { "type": "string" }, "in_stock": { "type": [ "boolean", "null" ] }, "was_price": { "type": [ "number", "null" ], "description": "Previous price in USD, if shown." }, "description": { "type": [ "string", "null" ] }, "image_links": { "type": "array", "items": { "type": "string" } }, "seller_name": { "type": [ "string", "null" ] }, "star_rating": { "type": [ "number", "null" ] }, "pickup_today": { "type": [ "boolean", "null" ] }, "product_link": { "type": "string" }, "product_name": { "type": [ "string", "null" ] }, "specifications": { "type": "array", "items": { "type": "object", "required": [ "name", "value" ], "properties": { "name": { "type": "string" }, "value": { "type": "string" } }, "additionalProperties": false } }, "walmart_item_id": { "type": [ "string", "null" ], "x-fous-developer": true }, "delivery_estimate": { "type": [ "string", "null" ] }, "number_of_reviews": { "type": [ "integer", "null" ] } }, "additionalProperties": false}- Price
- 1 credit per completed run (1¢ with pay as you go); failed runs are free.
- Method
walmart.com/get_product- Returns
- name, brand, price, was price, stock, pickup, delivery estimate, seller, rating, reviews, specifications, description, images, link, item id, UPC
Use it from your agent
Give your agent this line. It reads SKILL.md, gets a Fous API key and connects the Fous MCP server. Its run then takes the method walmart.com/get_product with the inputs above.
Ask your agent
- How much is the Ninja Professional Plus blender on Walmart right now, and is it in stock?
- Check this listing for me: https://www.walmart.com/ip/Samsung-65-Class-Crystal-UHD-4K-Smart-TV/5068223945 — I need the current price, the was price, and who the seller is
- Is the Dyson V8 cordless vacuum available for store pickup, and what's the delivery estimate?
- Pull up specs, rating, and number of reviews for the PlayStation 5 Slim at Walmart
- Find the UPC and item ID for Great Value 2% reduced fat milk, gallon, plus its price and product images
See more
All Walmart methodsSearches Walmart products by keywords with optional sort and price range, returning prices, ratings, sellers and availability in Walmart's order. Uses Walmart's default location (no ZIP-based pricing).
walmart.com/search_productsGets details for an Amazon product, found by name or by link, in a chosen country store. Offer prices, delivery and variants may be missing when Amazon does not show them publicly.
amazon.com/get_productFinds a Flipkart product from its name or link and returns its price, offers, seller, ratings, highlights, specifications, images and delivery estimate (for a PIN code when given).
flipkart.com/get_product_by_productFinds a Lowe's product by name, item number or product link and returns its details, price, specifications, images and availability at the nearest store for a ZIP code (or the site's default store).
lowes.com/get_productGets a B&H Photo product's details by name, product link, or B&H number. A name uses the best matching search result; details and prices reflect the public page.
bhphotovideo.com/get_productGet one AliExpress product’s prices, variants, reviews, shipping to a chosen country, seller and specifications from its link or the best-selling name match. Sold counts may be rounded, and shipping options are those shown for the displayed variant.
aliexpress.com/get_productGets full details for a Newegg US product by name, product link, or item number. Seller, price, stock and shipping reflect the selected public offer; shipping may be unavailable when not displayed.
newegg.com/get_productGets an Amazon product's current listed price and lifetime price statistics from CamelCamelCamel (Amazon and third-party new), with dated Amazon low/high points and a comparison to the average. Takes a product name, an Amazon or CamelCamelCamel link, or an ASIN, for eight Amazon stores.
camelcamelcamel.com/get_price_history