Walmart Scraper API
The Walmart Scraper API allows businesses to extract data from Walmart in real-time. It can be easily accessed by requesting at the following endpoint: api.serpdog.io/walmart_{type}.
Last updated
The Walmart Scraper API allows businesses to extract data from Walmart in real-time. It can be easily accessed by requesting at the following endpoint: api.serpdog.io/walmart_{type}.
Last updated
Here is the list of default parameters you can use with this API:
Parameter | Description |
---|---|
Note: Each Walmart API call will cost you 1 Credit.
cURL "https://api.serpdog.io/walmart_product?api_key=APIKEY&product_id=147423982"
const axios = require('axios');
axios.get('https://api.serpdog.io/walmart_product?api_key=APIKEY&product_id=147423982')
.then(response => {
console.log(response.data);
})
.catch(error => {
console.log(error);
});
import requests
payload = {'api_key': 'APIKEY' , 'product_id':'147423982'}
resp = requests.get('https://api.serpdog.io/walmart_product', params=payload)
print (resp.text)
try {
String url = "https://api.serpdog.io/walmart_product?api_key=APIKEY&product_id=147423982";
URL urlForGetRequest = new URL(url);
String readLine = null;
HttpURLConnection conection = (HttpURLConnection) urlForGetRequest.openConnection();
conection.setRequestMethod("GET");
int responseCode = conection.getResponseCode();
if (responseCode == HttpURLConnection.HTTP_OK) {
BufferedReader in = new BufferedReader(new InputStreamReader(conection.getInputStream()));
StringBuffer response = new StringBuffer();
while ((readLine = in.readLine()) != null) {
response.append(readLine);
}
in.close();
System.out.println(response.toString());
} else {
throw new Exception("Error in API Call");
}
} catch (Exception ex) {
ex.printStackTrace();
}
require 'net/http'
require 'json'
params = {
:api_key => "APIKEY",
:product_id=> "147423982"
}
uri = URI('https://api.serpdog.io/walmart_product')
uri.query = URI.encode_www_form(params)
website_content = Net::HTTP.get(uri)
print(website_content)
<?php
$url = "http://api.serpdog.io/walmart_product?api_key=APIKEY&product_id=147423982";
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
curl_setopt($ch, CURLOPT_HEADER, FALSE);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
$response = curl_exec($ch);
curl_close($ch);
print_r($response);
{
"meta": {
"api_key": "APIKEY",
"product_id": "147423982"
},
"search_information": {
"location": {
"postal_code": "08854",
"province_code": "NJ",
"city": "Piscataway",
"store_id": "2633"
}
},
"product_results": {
"us_item_id": "147423982",
"product_id": "34Y0BVR8X5ZD",
"upc": "696777889575",
"title": "Men's Henley 3-Button Pullover Cotton T-Shirt Long Sleeve Crew Neck",
"short_description": "Men's Long Sleeve Henley 3 Button Pullover Cotton T-Shirt Crew Neck",
"detailed_description_html": "<ul> <li>Long Sleeves</li> <li>Lightweight</li> <li>100% Cotton</li> </ul>",
"category": [
{
"name": "Clothing",
"url": "https://www.walmart.com/cp/clothing/5438"
},
{
"name": "Mens Clothing",
"url": "https://www.walmart.com/cp/mens-clothing/133197"
},
{
"name": "Mens Shirts",
"url": "https://www.walmart.com/cp/mens-shirts/6286551"
},
{
"name": "Mens T-Shirts",
"url": "https://www.walmart.com/cp/mens-t-shirts/3187021"
}
],
"seller_id": "B450DDF0F0E543BCA24F386B6CA384D1",
"seller_name": "Valley Holdings LLC",
"specifications": [
{
"name": "Sleeve Length Style",
"value": "Long Sleeve"
},
{
"name": "Fabric Content",
"value": "100% Cotton"
},
{
"name": "Pattern",
"value": "Solid Print"
},
{
"name": "Gender",
"value": "Male"
},
{
"name": "Clothing Neck Style",
"value": "Crew Neck"
},
{
"name": "Brand",
"value": "Blended"
}
],
"product_type_id": "891",
"product_type": "T-Shirts",
"manufacturer": "Blended",
"product_page_url": "https://www.walmart.com/ip/Men-s-Henley-3-Button-Pullover-Cotton-T-Shirt-Long-Sleeve-Crew-Neck/147423982",
"price_map": [
16.98,
"USD"
],
"in_stock": "IN_STOCK",
"images": [
"https://i5.walmartimages.com/asr/7bb3f095-50f9-4bcb-8c6d-1ca9dc73344f.fefc4d4e0c827753ee2a15ede62715a3.jpeg",
"https://i5.walmartimages.com/asr/fb3cec04-4fbc-4be2-bea6-295f18e20a1c.7c14bfdcaf41d32294fd72c48fb667d0.jpeg"
],
"reviews": 42,
"rating": 4.2619,
"offer_id": "90623A01F87340ED9C0B789ABC968ABD",
"offer_type": "90623A01F87340ED9C0B789ABC968ABD",
"offers": [
{
"selleer_id": "B450DDF0F0E543BCA24F386B6CA384D1",
"catalog_seller_id": 4085,
"seller_name": "Valley Holdings LLC",
"seller_display_name": "Blended",
"price": 16.98
}
],
"variant_swatches": [
{
"name": "Color",
"available_selections": [
{
"name": "Black",
"swatch_image_url": "https://i5.walmartimages.com/asr/ea95427d-86eb-41c0-bf9f-9abbacbb4303.1e7130204da3d4dc6de339c4b4f395f5.jpeg"
},
{
"name": "Heather Grey",
"swatch_image_url": "https://i5.walmartimages.com/asr/4314936c-c916-4ab8-a623-8f806efa75a3.f212dfaefd347384d886c237fe73f2d3.jpeg"
},
{
"name": "Navy",
"swatch_image_url": "https://i5.walmartimages.com/asr/166c47b2-6634-48da-8fdf-02f1999720dd.9424daf2eb1476946fe7b82a54e1289a.jpeg"
},
{
"name": "White",
"swatch_image_url": "https://i5.walmartimages.com/asr/fcc5153d-8d22-4f4c-96f5-ea4a817a2a65.4a99d19467bcbbf75ad78ccd7d10900a.jpeg"
}
]
},
{
"name": "Clothing Size",
"available_selections": [
{
"name": "S",
"swatch_image_url": null
},
{
"name": "M",
"swatch_image_url": null
},
{
"name": "L",
"swatch_image_url": null
},
{
"name": "XL",
"swatch_image_url": null
},
{
"name": "2X",
"swatch_image_url": null
}
]
}
]
},
"reviews_results": {
"ratings": [
{
"stars": 1,
"count": 3
},
{
"stars": 2,
"count": 2
},
{
"stars": 3,
"count": 3
},
{
"stars": 4,
"count": 7
},
{
"stars": 5,
"count": 27
}
],
"reviews": {
"rating": 4.2619,
"count": 42,
"top_positive": {
"title": "Good find.",
"text": "Very nice shirt. Comfortable and looks durable. Sizes run a bit large, but is made out of 100% cotton. Would definitely buy another one.",
"rating": 5,
"positive_feedback": 0,
"negative_feedback": 0,
"review_submission_time": "12/29/2022",
"user_nickname": "cathy",
"customer_type": [
"VerifiedPurchaser",
"IncentivizedReviewYes"
]
},
"top_negative": {
"title": "DON'T EVEN THINK ABOUT IT!!!! RUN AWAY QUICK!!!!",
"text": "BUYER BEWARE THIS IS A SUBSTANDARD SHIRT!!!! RUNS WAY TO SMALL, THE QUALITY IS CRAP, AND YOU CAN SEE THRU THE MATERIAL. THE SLEEVE CUFFS ARE ALMOST AS BIG IN DIAMETER AS THE NECK. RUN AWAY FROM THIS SELLER.",
"rating": 1,
"positive_feedback": 0,
"negative_feedback": 0,
"review_submission_time": "12/14/2020",
"user_nickname": "Kirk",
"customer_type": [
"VerifiedPurchaser"
]
},
"top_mentions": [
{
"score_percentage": 100,
"name": "Fit",
"count": 3
},
{
"score_percentage": 100,
"name": "Appearance",
"count": 3
}
],
"customer_reviews": [
{
"title": "Good find.",
"text": "Very nice shirt. Comfortable and looks durable. Sizes run a bit large, but is made out of 100% cotton. Would definitely buy another one.",
"rating": 5,
"review_submission_time": "12/29/2022",
"user_nickname": "cathy",
"customer_type": [
"VerifiedPurchaser",
"IncentivizedReviewYes"
]
},
{
"title": "Great shirt for teens",
"text": "Fit was good and it was well made.",
"rating": 5,
"review_submission_time": "12/22/2022",
"user_nickname": "Deborah",
"customer_type": [
"VerifiedPurchaser",
"IncentivizedReviewYes"
]
},
{
"title": "DIY Henley shirt into Henley Dress and hat",
"text": "Diy (2) mens black henleys into a super cute Henley Dress and matching bucket Hat!\nUTUBE IS A EXGELLENR RESOURCE FOR ASSISTANCE.",
"rating": 5,
"review_submission_time": "1/30/2021",
"user_nickname": "Sheryl",
"customer_type": []
},
{
"title": "Best shirt on the market: its 100 percent cotton a",
"text": "The only shirt design that has a low enough neck! Everyone wants to choke me to death with their crew necks!",
"rating": 5,
"review_submission_time": "10/14/2020",
"user_nickname": "mraccess",
"customer_type": [
"VerifiedPurchaser"
]
},
{
"title": null,
"text": "It fits perfectly, 2 in white and 2 of black.",
"rating": 5,
"review_submission_time": "7/30/2020",
"user_nickname": "Royer",
"customer_type": [
"VerifiedPurchaser"
]
},
{
"title": "Quality",
"text": "Great price for a quality Henley. Happy customer",
"rating": 5,
"review_submission_time": "11/17/2020",
"user_nickname": "Nahum",
"customer_type": [
"VerifiedPurchaser"
]
},
{
"title": "Runs small",
"text": "For those considering this Henley shirt, I would suggest sizing up one size. Fortunately, I had ordered one larger size than I usually order, and upon trying the shirt on, I was glad that I had done so. This shirt runs one size small. Apart from that, it is a nice shirt, though it is lightweight.",
"rating": 4,
"review_submission_time": "9/28/2020",
"user_nickname": "charis4u",
"customer_type": [
"VerifiedPurchaser"
]
},
{
"title": null,
"text": "I like the cotton fabric and design just what I was looking for to wear around the house. Bought a medium like I always do. It's a snugger fit than I expected and I'm slender. Still comfortable but be careful about the size you buy",
"rating": 4,
"review_submission_time": "5/2/2020",
"user_nickname": "Roger",
"customer_type": [
"VerifiedPurchaser"
]
},
{
"title": null,
"text": "pretty light weight. too loose around the neck",
"rating": 3,
"review_submission_time": "1/11/2021",
"user_nickname": "M",
"customer_type": [
"VerifiedPurchaser"
]
},
{
"title": "DON'T EVEN THINK ABOUT IT!!!! RUN AWAY QUICK!!!!",
"text": "BUYER BEWARE THIS IS A SUBSTANDARD SHIRT!!!! RUNS WAY TO SMALL, THE QUALITY IS CRAP, AND YOU CAN SEE THRU THE MATERIAL. THE SLEEVE CUFFS ARE ALMOST AS BIG IN DIAMETER AS THE NECK. RUN AWAY FROM THIS SELLER.",
"rating": 1,
"review_submission_time": "12/14/2020",
"user_nickname": "Kirk",
"customer_type": [
"VerifiedPurchaser"
]
}
]
}
}
}
api_key required
This is your API key.
product_id required
Type: Int
The Walmart Product ID.
store_id
Type: Int
The Walmart Store ID.