Walmart
On walmart.com and walmart.ca, WebToSheets supports two page types:
product pages and search results, each with its own selectors.
Scraping a product page
From a product URL like walmart.com/ip/<product-id>, WebToSheets will pull one item's full details, right down to its rating, seller, and gtin.
Available selectors
| Field | Selector | Example value |
|---|---|---|
| Product name Product name |
name
|
Samsung 65-inch QLED 4K TV |
| Price Current price (numeric value only) |
price
|
1297.00 |
| Currency Currency code from the price |
currency
|
USD |
| Original price Original/strike-through price |
list_price
|
1499.99 |
| Brand Brand name |
brand
|
Samsung |
| Rating Average rating (out of 5) |
rating
|
4.8 |
| Number of reviews Number of reviews |
reviews_count
|
2341 |
| Availability Stock status (e.g. IN_STOCK) |
availability
|
In stock |
| Seller Seller of the main offer |
seller
|
Walmart.com |
| Image URL Product image URL. Use image/2 for the second image, etc. |
image
+ /N
|
https://i5.walmartimages… |
| Description Short product description |
description
|
Quantum Dot technology… |
| Category Product category |
category
|
Electronics › TV & Video |
| GTIN / UPC GTIN / UPC barcode |
gtin
|
0887276423452 |
| Item ID Walmart item ID |
product_id
|
5254334127 |
Example
Sometimes you only want to monitor a single product's price, rating, and stock. To do so, pass those selectors to =SCRAPE():
=SCRAPE("https://www.walmart.com/ip/5254334127", "name,price,rating,availability")
Mapping search results
For a search page like walmart.com/search?q=..., every selector returns a
column of results (one page, around 15 items). If you would like a single row instead, add /N.
Available selectors
| Field | Selector | Example value |
|---|---|---|
| Product name Product names |
name
+ /N
|
Keurig K-Classic |
| Price Prices |
price
+ /N
|
79.00 |
| Currency Currency |
currency
+ /N
|
USD |
| Brand Brands |
brand
+ /N
|
Keurig |
| Product URL Product URLs |
link
+ /N
|
https://walmart.com/ip/… |
| Image URL Result image URLs |
image
+ /N
|
https://i5.walmartimages… |
| Rating Ratings |
rating
+ /N
|
4.5 |
| Number of reviews Review counts |
reviews_count
+ /N
|
1205 |
| Availability Stock status |
availability
+ /N
|
In stock |
| Seller Sellers |
seller
+ /N
|
Walmart.com |
| Item ID Walmart item IDs |
product_id
+ /N
|
123456789 |
| Badges Badges (e.g. Rollback, Best seller) |
badges
+ /N
|
Best Seller |
| Sponsored Whether the result is sponsored |
sponsored
+ /N
|
Sponsored |
Example
To map prices and sellers across an entire search, hand the relevant selectors to =SCRAPE():
=SCRAPE("https://www.walmart.com/search?q=coffee+maker", "name,price,seller")
Still stuck?
We usually reply within 24 hours on business days.