Walmart API
Our Walmart API gives you programmatic access to Walmart data that isn't available through any official API. Get data on product details, prices, images, reviews, seller information, brand details, and more. And the best part? You can try the Walmart API entirely for free, no credit card required.

Trusted by industry leaders all over the world
Integrate our Walmart API
Access the Walmart API using Python, JavaScript, CLI, cURL, OpenAPI, or MCP. Choose your preferred option and start extracting Walmart data in minutes.
Python
JavaScript
HTTP
MCP
1from apify_client import ApifyClient2
3# Initialize the ApifyClient with your Apify API token4# Replace '<YOUR_API_TOKEN>' with your token.5client = ApifyClient("<YOUR_API_TOKEN>")6
7# Prepare the Actor input8run_input = {9 "startUrls": [{ "url": "https://walmart.com/search?q=tshirt" }],10 "maxProductsPerStartUrl": 10,11}12
13# Run the Actor and wait for it to finish14run = client.actor("tri_angle/walmart-product-detail-scraper").call(run_input=run_input)15
16# Fetch and print Actor results from the run's dataset (if there are any)17print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])18for item in client.dataset(run["defaultDatasetId"]).iterate_items():19 print(item)20
21# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-startGet data with Walmart API
Extract Walmart product data by providing search keywords, product URLs, categories, or postal codes for location-based scraping. The Walmart scraper returns structured JSON data with product names, prices, images, reviews, seller information, brand details, variants, and availability status.
Input
{ "startUrls": [ { "url": "<https://walmart.com/search?q=tshirt>" } ], "maxProductsPerStartUrl": 10}Output
{ "url": "https://www.walmart.com/ip/BLANCA-NIEVES-Laundry-Detergent-70-54-Ounce/16935510", "name": "BLANCA NIEVES Laundry Detergent, 70.54 Ounce", "type": "VARIANT", "badge": "Popular pick", "brand": "BLANCA NIEVES", "offerId": "77D9405108C448BE94F58A6D7F36A6B0", "itemType": "DetailProduct", "sellerId": "F55CDC31AB754BB68FE0B39041159D63", "usItemId": "16935510", "allImages": [ "https://i5.walmartimages.com/seo/BLANCA-NIEVES-Laundry-Detergent-70-54-Ounce_f0d30ef9-3969-4d64-a259-b40d0eb6cae3.52e16f3ab81176f617e6900c5b0721fb.jpeg", "https://i5.walmartimages.com/asr/c3a7d15b-42f7-4fb5-a0fe-b31372c19bd4.50c20bcc8241d73d2b9695fb836cb3af.jpeg", "https://i5.walmartimages.com/asr/93bb2194-5c7f-4d24-8d0e-d085cb9f7c99.69a57e27c317a7d118317a5787cc8f8c.jpeg", "https://i5.walmartimages.com/asr/95cf12d4-b7dd-4d15-b706-7b2601662ea9.72f211b4b145c62190bd3ea3b9a26ae0.jpeg", "https://i5.walmartimages.com/asr/7cfc9a73-0a3e-4f5d-932e-a53c2beca691.963473e5c91a851e05c70a8608dd53f6.jpeg" ], "priceInfo": { "price": "$4.48", "wasPrice": null, "unitPrice": "$1.02/lb", "priceRange": null, "priceDisplay": "$4.48" }, "productId": "69L71KUFK8CM", "sellerName": "Walmart.com", "description": "Get your clothes super clean with BLANCA NIEVES Detergent, 70.54 Oz. It is bio-degradable and phosphate-free, so it's good for the climate and free of certain harmful chemicals. The BLANCA NIEVES Laundry Detergent makes your clothes clean and soft, so you can step out in confidence as you go about your day. It comes in powder form and has a delightfully fresh scent. It handles both colors and whites, so you don't need bleach.", "isSponsored": null, "variantList": [ { "url": "https://www.walmart.com/ip/BLANCA-NIEVES-Laundry-Detergent-70-54-Ounce/16935510", "imageUrl": "https://i5.walmartimages.com/seo/BLANCA-NIEVES-Laundry-Detergent-70-54-Ounce_f0d30ef9-3969-4d64-a259-b40d0eb6cae3.52e16f3ab81176f617e6900c5b0721fb.jpeg", "usItemId": "16935510", "variants": [ "number_of_pieces-1" ], "allImages": [ "https://i5.walmartimages.com/seo/BLANCA-NIEVES-Laundry-Detergent-70-54-Ounce_f0d30ef9-3969-4d64-a259-b40d0eb6cae3.52e16f3ab81176f617e6900c5b0721fb.jpeg", "https://i5.walmartimages.com/asr/c3a7d15b-42f7-4fb5-a0fe-b31372c19bd4.50c20bcc8241d73d2b9695fb836cb3af.jpeg", "https://i5.walmartimages.com/asr/93bb2194-5c7f-4d24-8d0e-d085cb9f7c99.69a57e27c317a7d118317a5787cc8f8c.jpeg", "https://i5.walmartimages.com/asr/95cf12d4-b7dd-4d15-b706-7b2601662ea9.72f211b4b145c62190bd3ea3b9a26ae0.jpeg", "https://i5.walmartimages.com/asr/7cfc9a73-0a3e-4f5d-932e-a53c2beca691.963473e5c91a851e05c70a8608dd53f6.jpeg" ], "priceInfo": { "price": "$4.48", "wasPrice": null, "unitPrice": "$1.02/lb", "priceRange": null, "priceDisplay": "$4.48" }, "productId": "69L71KUFK8CM", "buyBoxSuppression": false, "availabilityStatus": "IN_STOCK", "subscriptionEligible": true } ], "availability": "IN_STOCK", "hasCarePlans": false, "thumbnailUrl": "https://i5.walmartimages.com/seo/BLANCA-NIEVES-Laundry-Detergent-70-54-Ounce_f0d30ef9-3969-4d64-a259-b40d0eb6cae3.52e16f3ab81176f617e6900c5b0721fb.jpeg", "averageRating": 4.7, "fulfillmentType": "STORE", "numberOfReviews": 104, "shortDescription": "Get your clothes super clean with BLANCA NIEVES Detergent, 70.54 Oz. It is bio-degradable and phosphate-free, so it's good for the climate and free of certain harmful chemicals. The BLANCA NIEVES Laundry Detergent makes your clothes clean and soft, so you can step out in confidence as you go about your day. It comes in powder form and has a delightfully fresh scent. It handles both colors and whites, so you don't need bleach.", "buyBoxSuppression": false, "subscriptionEligible": true}Sign up for Apify account01
Creating an account is quick and free — no credit card required. Your account gives you access to more than 5,000 scrapers and APIs.
Get your Apify API token02
Go to settings in the Apify console and navigate to the “API & Integrations” tab. There, create a new token and save it for later.
Integrate Walmart API03
Navigate to the Walmart API page and click on the API dropdown menu in the top right corner. In the dropdown menu, you can see API clients, API endpoints, and more.
Get your Walmart data via API04
Now, you can use the API and get the data you need from Walmart.

Why use Apify?
Never get blocked
Every plan (free included) comes with Apify Proxy, which is great for avoiding blocking and giving you access to geo-specific content.
Customers love us
We truly care about the satisfaction of our users and thanks to that we're one of the best-rated data extraction platforms on both G2 and Capterra.
Monitor your runs
With our latest monitoring features, you always have immediate access to valuable insights on the status of your web scraping tasks.
Export to various formats
Your datasets can be exported to any format that suits your data workflow, including Excel, CSV, JSON, XML, HTML table, JSONL, and RSS.
Integrate Apify to your workflow
You can integrate your Apify runs with platforms such as Zapier, Make, Keboola, Google Drive, or GitHub. Connect with practically any cloud service or web app.
Large developer community
Apify is built by developers, so you'll be in good hands if you have any technical questions. Our Discord server is always here to help!
Get AI-ready Walmart data via API
Connect to hundreds of apps right away using ready-made integrations, or set up your own with webhooks and our API.
No, Walmart does not provide an official public API for product data extraction. Since Walmart doesn't offer an API, this Walmart scraper actor serves as an alternative solution to retrieve comprehensive product information, search results, reviews, and category data from Walmart's website programmatically.
Yes, you can try the Walmart scraper for free with Apify's free tier. New users receive free compute units to test the actor's capabilities. You can scrape product details, search results, and reviews without any upfront cost to evaluate if it meets your data extraction needs.
You can extract comprehensive product information including product names, prices, images, brand details, seller information, product variants, availability status, customer reviews and ratings, product IDs, descriptions, categories, and location-specific data using US postal codes. The scraper also supports category browsing and search result extraction.
Yes, it is legal to scrape publicly available product data from Walmart when done responsibly and in compliance with their terms of service. This includes respecting rate limits, not overloading their servers, and using the data for legitimate purposes such as market research, price comparison, or academic studies. Always review Walmart's robots.txt and terms of service.
Getting started is simple: 1) Sign up for a free Apify account, 2) Navigate to the Walmart scraper actor page, 3) Configure your input parameters such as search keywords, product URLs, or categories, 4) Optionally set location using US postal codes, 5) Choose your desired output options including reviews, 6) Run the actor and download results in JSON, CSV, or Excel format.