Walmart Product API
The Walmart Product API offers developers access to Walmart's vast product catalog. With this API, you can effortlessly search for products, apply various filters, and obtain detailed product information, including titles, prices, descriptions, AI-generated insights, and customer reviews. This API is ideal for building price comparison tools, conducting market analysis, and enhancing e-commerce platforms by providing real-time data on product availability and consumer feedback.
API Parameters
Search Query
-
- Name
-
product_id
- Required
- Required
- Description
-
This parameter specifies the product id. You can find the product id in our Walmart Search API response. The product id can also be found in the URL of the product page.
Example:https://www.walmart.com/ip/Snickers-M-M-s-Twix-Fun-Size-Chocolate-Candy-Variety-Pack-Sharing-Size-8-85-oz-Bag/2962332596
where2962332596
is the product id.
Filters
-
- Name
-
store_id
- Required
- Optional
- Description
-
This parameter filters search results to a specific Walmart Store. The prices of the products might be different in each store. You can check the list of stores on Walmart's stores directory. You can download a JSON file with all the store IDs here. Default value is
3081
which is the default store id for Walmart when none is provided.
Engine
-
- Name
-
engine
- Required
- Required
- Description
-
Parameter defines an engine that will be used to retrieve real-time data. It must be set to
walmart_product
.
API key
-
- Name
-
api_key
- Required
- Required
- Description
-
The
api_key
authenticates your requests. Use it as a query parameter (https://www.searchapi.io/api/v1/search?api_key=YOUR_API_KEY
) or in the Authorization header (Bearer YOUR_API_KEY
).
Zero Data Retention
-
- Name
-
zero_retention
- Enterprise Only
- Enterprise Only
- Required
- Optional
- Description
-
Set this parameter to
true
to disable all logging and persistent storage. No request parameters, HTML, or JSON responses are stored or logged. Suitable for high-compliance use cases. Debugging and support may be limited while enabled.
API Examples
Full Response

https://www.searchapi.io/api/v1/search?engine=walmart_product&product_id=2962332596
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "walmart_product",
"product_id": "2962332596"
}
response = requests.get(url, params=params)
print(response.text)
{
"search_metadata": {
"id": "search_mQdZY24X3k8Nt7npyxG15W7k",
"status": "Success",
"created_at": "2025-06-30T02:40:11Z",
"request_time_taken": 3.68,
"parsing_time_taken": 0.02,
"total_time_taken": 3.69,
"request_url": "https://www.walmart.com/ip/2962332596",
"html_url": "https://www.searchapi.io/api/v1/searches/search_mQdZY24X3k8Nt7npyxG15W7k.html",
"json_url": "https://www.searchapi.io/api/v1/searches/search_mQdZY24X3k8Nt7npyxG15W7k"
},
"search_parameters": {
"engine": "walmart_product",
"product_id": "2962332596"
},
"product": {
"id": "2962332596",
"product_id": "16AWDHQWIZP7",
"upc": "040000597704",
"title": "Snickers, M&M's & Twix Fun Size Chocolate Candy Variety Pack, Sharing Size - 8.85 oz Bag",
"brand": {
"name": "Mars Mixed",
"link": "https://www.walmart.com/search?q=Mars+Mixed&facet=brand:Mars+Mixed"
},
"link": "https://www.walmart.com/ip/Snickers-M-M-s-Twix-Fun-Size-Chocolate-Candy-Variety-Pack-Sharing-Size-8-85-oz-Bag/2962332596",
"seller_id": "F55CDC31AB754BB68FE0B39041159D63",
"seller_name": "Walmart.com",
"rating": 4.2,
"reviews": 264,
"price": "$4.94",
"extracted_price": 4.94,
"unit_price": "55.5 ¢/oz",
"extracted_unit_price": 0.555,
"about": {
"specifications": [
{
"name": "Brand",
"value": "Mars Mixed"
},
...
],
"warnings": [
{
"name": "State Chemical Disclosure",
"value": "None"
}
],
"short_description": "Enjoy this assortment of classic fun size milk chocolate candy with BIG taste! SNICKERS, TWIX & M&M'S Fun Size Variety Bag is perfect for all occasions. Ideal for party favors, movie nights, and candy bowls, individually wrapped fun size candy ensures freshness for all of life's sweet moments. Pack them in lunches for a sweet surprise or take this sharing size bag on a road trip. Don't stop at just unwrapping! Enjoy these chocolates by adding them to your favorite dessert recipes for a special chocolate bite. These chocolate bars are perfect for any holiday celebration. Gift loved ones on Halloween, Easter, Christmas, and Valentine's Day, the possibilities are endless with this variety bag. No matter the celebration or occasion, keep this assortment of SNICKERS, TWIX, and M&M'S milk chocolate candy assortment on hand. Experience the fun with fun size. Add to your cart today!",
"long_description": "Contains one (1) 8.85-ounce share size bag of M&M'S Peanut, TWIX Caramel Cookie and SNICKERS Fun Size Chocolate Bars Features fun size M&M’S Peanut Candy, SNICKERS Original Chocolate Bars, and TWIX Caramel Cookie Bars This assortment of fun size individually wrapped chocolate candy is perfect for birthday party goodie bags and piñatas Add fun to game nights and movie marathons with fun size milk chocolates inside this bulk candy bag Whether it's Halloween, Christmas, Valentine's Day, or Easter, ignite your seasonal celebrations with milk chocolate candy",
"highlights": [
{
"name": "Brand",
"value": "Mars Mixed",
"thumbnail": "https://i5.walmartimages.com/dfw/4ff9c6c9-1b44/k2-_ca9ff4ca-8854-4c17-926d-ef6a9029f3bd.v1.png"
},
{
"name": "Flavor",
"value": "Original",
"thumbnail": null
},
...
],
"ingredients": "MILK CHOCOLATE (SUGAR, CHOCOLATE, SKIM MILK, COCOA BUTTER, LACTOSE,\nMILKFAT, SOY LECITHIN, SALT, NATURAL FLAVOR, PGPR), SUGAR, PEANUTS, CORN SYRUP, PALM\nOIL, ENRICHED WHEAT FLOUR (WHEAT FLOUR, NIACIN, REDUCED IRON, THIAMIN MONONITRATE,\nRIBOFLAVIN, FOLIC ACID); LESS THAN 2% OF: SKIM MILK, DEXTROSE, CORNSTARCH, LACTOSE,\nSALT, DEXTRIN, COLORS (INCLUDES BLUE 1 LAKE, YELLOW 6, RED 40, YELLOW 5, BLUE 1,\nYELLOW 6 LAKE, RED 40 LAKE, YELLOW 5 LAKE, BLUE 2 LAKE, BLUE 2), COCOA, SOY LECITHIN,\nMODIFIED CORNSTARCH, EGG WHITES, CARNAUBA WAX, BAKING SODA, ARTIFICIAL FLAVOR,\nGUM ACACIA."
},
"main_image": "https://i5.walmartimages.com/seo/Snickers-M-M-s-Twix-Fun-Size-Chocolate-Candy-Variety-Pack-Sharing-Size-8-85-oz-Bag_ee257ce1-3821-49f9-ac9f-c496c9719e81.8d5f82205873c4e5ef8eaa1ea79198ad.jpeg",
"images": [
{
"id": "4A2BB9833BF04DA49E2E88A37C287E24",
"url": "https://i5.walmartimages.com/seo/Snickers-M-M-s-Twix-Fun-Size-Chocolate-Candy-Variety-Pack-Sharing-Size-8-85-oz-Bag_ee257ce1-3821-49f9-ac9f-c496c9719e81.8d5f82205873c4e5ef8eaa1ea79198ad.jpeg"
},
...
],
"condition": "New",
"condition_offers": [
{
"id": "68DA4210D8533FC9B6CD7248E37C2EDE",
"condition": "New",
"price": "$4.94",
"extracted_price": 4.94,
"availability": "In stock"
}
],
"is_subscription_eligible": true,
"fulfillment": {
"pickup": {
"text": "Tomorrow",
"expected_date": "2025-06-30T07:00:00-05:00",
"items_limit": 12
},
"delivery": {
"text": "Today",
"expected_date": "2025-06-30T07:00:00-05:00",
"items_limit": 12,
"price": 7.95
}
},
"min_quantity": 1,
"max_quantity": 12,
"categories": [
{
"name": "Food",
"link": "https://www.walmart.com/cp/food/976759"
},
...
],
"variants": [
{
"id": "multipack_quantity",
"name": "Pack Size",
"type": "DROPDOWN",
"options": [
{
"id": "multipack_quantity-1",
"label": "Single",
"products": [
{
"id": "16AWDHQWIZP7",
"link": "https://www.walmart.com/ip/Snickers-M-M-s-Twix-Fun-Size-Chocolate-Candy-Variety-Pack-Sharing-Size-8-85-oz-Bag/2962332596",
"images": [
"https://i5.walmartimages.com/seo/Snickers-M-M-s-Twix-Fun-Size-Chocolate-Candy-Variety-Pack-Sharing-Size-8-85-oz-Bag_ee257ce1-3821-49f9-ac9f-c496c9719e81.8d5f82205873c4e5ef8eaa1ea79198ad.jpeg",
"https://i5.walmartimages.com/asr/b64894b7-d835-4031-933d-85bb8ad13bae.160663d88f50ecfbbbb1e31e23c832ab.jpeg",
...
],
"main_image": "https://i5.walmartimages.com/seo/Snickers-M-M-s-Twix-Fun-Size-Chocolate-Candy-Variety-Pack-Sharing-Size-8-85-oz-Bag_ee257ce1-3821-49f9-ac9f-c496c9719e81.8d5f82205873c4e5ef8eaa1ea79198ad.jpeg",
"variants": [
"multipack_quantity-1"
],
"price": 4.94,
"currency": "USD",
"is_available": true
}
]
},
...
]
}
],
"badges": [
{
"key": "BESTSELLER",
"text": "Best seller"
},
...
]
},
"reviews": {
"rating": 4.2,
"total_review_count": 264,
"top_positive_review": {
"id": "387132666",
"title": "great selection",
"text": "candy yum good selection small portions which I like that's why I buy it",
"rating": 5,
"date": "5/30/2025",
"extracted_date": "2025-05-30",
"user_name": "WalmartCustomer",
"badges": [
"Verified Purchase"
]
},
"top_negative_review": {
"id": "384754490",
"title": "Inflation Versus Shortage",
"text": "I literally received 15 pieces of candy in this tiny bag. Why am I paying almost $6 for something I could of ordered the family size for for the same exact price",
"rating": 1,
"date": "5/8/2025",
"extracted_date": "2025-05-08",
"user_name": "Sierra",
"badges": [
"Verified Purchase"
]
},
"customer_reviews": [
{
"id": "387132666",
"title": "great selection",
"text": "candy yum good selection small portions which I like that's why I buy it",
"rating": 5,
"date": "5/30/2025",
"extracted_date": "2025-05-30",
"user_name": "WalmartCustomer",
"badges": [
"Verified Purchase"
]
},
...
]
}
}
Reviews

https://www.searchapi.io/api/v1/search?engine=walmart_product&product_id=5383653589
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "walmart_product",
"product_id": "5383653589"
}
response = requests.get(url, params=params)
print(response.text)
{
"reviews": {
"ai_summary": {
"title": "Customers praise product's sleek design and exceptional performance",
"summary": "Customers highly praise the product's sleek and lightweight design, citing its spill-proof feature, temperature control, and perfect fit in car cup holders as major advantages. The cup's ability to keep drinks cold for hours, even days, is also highly commended. The comfortable and convenient handle is a standout feature, while the innovative lid design and leak-proof functionality are also appreciated, despite some minor issues with the straw attachment and removal. Overall, customers are extremely satisfied with the product's design, functionality, and performance.",
"summary_aspects": [
{
"id": 27,
"text": "innovative lid design",
"sentiment": "positive",
"link": "https://www.walmart.com/reviews/product/5383653589/?aspect=27",
"start": 334,
"end": 354
},
...
]
},
"aspects": [
{
"id": "367",
"name": "durability",
"count": 26
},
...
],
"rating": 4.6,
"total_review_count": 1393,
"top_positive_review": {
"id": "382175497",
"title": "Cute and ice cold",
"text": "I finally got on the metal water jug bandwagon since I'm chronically dehydrated. I'm so happy I went with this one! It keeps my water ice cold for days and ice remains for at least 24 hours. It does not leak but you have to make sure the lid is on perfectly. Sometimes it's hard to tell if it's on right and then water is leaking everywhere. I love the colors and it's a good size. It's big but doesn't feel super bulky. It also fits in a cup holder just fine. Absolutely love it!",
"rating": 5,
"date": "4/15/2025",
"extracted_date": "2025-04-15",
"user_name": "Sarah",
"badges": [
"Verified Purchase"
],
"replies": [
{
"name": "HydroJug, Inc.",
"text": "Hello Sarah! Enjoy your HydroJug!"
}
]
},
"top_negative_review": {
"id": "389713240",
"text": "I ordered a royal blue hydro jug from this specific private seller , but received the wrong item a green Stanley. I reached out to the seller right away, but their final response took an entire month. After all that time, I was told the cup I originally ordered is now out of stock. Instead of offering a proper resolution, they offered me a discount coupon—which I do not want. I just want a full refund and to return the incorrect item. This whole experience has been frustrating and disappointing. I expected better communication and customer service. I do not recommend buying from this seller.",
"rating": 1,
"date": "6/24/2025",
"extracted_date": "2025-06-24",
"user_name": "Celine",
"badges": [
"Verified Purchase"
],
"media": [
{
"id": "92b5234b-1058-4c0f-9819-65fd26c43d43",
"link": "https://i5.walmartimages.com/dfw/6e29e393-d96c/k2-_cbad0247-857e-423f-8002-77eb268bfc93.v1.jpg",
"type": "IMAGE"
}
]
},
"customer_reviews": [
{
"id": "382175497",
"title": "Cute and ice cold",
"text": "I finally got on the metal water jug bandwagon since I'm chronically dehydrated. I'm so happy I went with this one! It keeps my water ice cold for days and ice remains for at least 24 hours. It does not leak but you have to make sure the lid is on perfectly. Sometimes it's hard to tell if it's on right and then water is leaking everywhere. I love the colors and it's a good size. It's big but doesn't feel super bulky. It also fits in a cup holder just fine. Absolutely love it!",
"rating": 5,
"date": "4/15/2025",
"extracted_date": "2025-04-15",
"user_name": "Sarah",
"item_details": [
{
"name": "Size",
"value": "32oz"
},
...
],
"fullfilled_by": "Walmart",
"status": "APPROVED",
"badges": [
"Verified Purchase"
],
"replies": [
{
"name": "HydroJug, Inc.",
"text": "Hello Sarah! Enjoy your HydroJug!"
}
]
},
...
]
}
}