You can get Walmart results by providing your own URLs to our service. We can return the HTML for any Walmart page you like. Additionally, we can deliver structured (parsed) output for Walmart product and search pages.
We’ve developed new parsers for Walmart product and search pages. To use the updated layouts, include the parser_type parameter in your requests, set to either walmart_product_new or walmart_search_new. Starting from November 18th, these new layouts will become the default when using the parse: true parameter.
Request samples
The example below illustrates how you can get a parsed Walmart product page result.
import requestsfrom pprint import pprint# Structure payload.payload ={'source':'universal','url':'https://www.walmart.com/ip/Adidas-Moves-Body-Spray-for-Men-2-5-Oz/710726462','geo_location':'United States','parse':True,}# Get response.response = requests.request('POST','https://realtime.oxylabs.io/v1/queries', auth=('USERNAME', 'PASSWORD'), json=payload,)# Instead of response with job status and results url, this will return the# JSON response with the result.pprint(response.json())
# The whole string you submit has to be URL-encoded.https://realtime.oxylabs.io/v1/queries?source=universal&url=https%3A%2F%2Fwww.walmart.com%2Fip%2FAdidas-Moves-Body-Spray-for-Men-2-5-Oz%2F710726462&geo_location=United%20States&parse=true&access_token=12345abcde
Please note that you will scrape Walmart by employing the universal source. To learn about all the various ways you can fine-tune this source, please visit this page.
Structured data
In the following sections, parsed JSON code snippets are shortened where more than one item for the result type is available.
NEW! Walmart product page structured output
{"results": [ {"content": {"price": {"price":157.97,"currency":"USD","price_strikethrough":199.99 },"rating": {"count":94,"rating":4.5 },"seller": {"id":"ED6F630F4BA94318A00A1D0BAACD0A48", "url": "/seller/7648?itemId=701606028&pageName=item&returnUrl=%2Fip%2FApple-iPhone-Xs-64GB-Unlocked-GSM-CDMA-4G-LTE-Phone-w-Dual-12MP-Camera-Gold-Fair-Cosmetics-Fully-Functional%2F701606028",
"name":"Kiss Electronics Inc","catalog_id":"7648","official_name":"Kiss Electronics Inc" },"general": { "url": "https://www.walmart.com/ip/Apple-iPhone-Xs-64GB-Unlocked-GSM-CDMA-4G-LTE-Phone-w-Dual-12MP-Camera-Gold-Fair-Cosmetics-Fully-Functional/701606028",
"meta": {"sku":"701606028","gtin":"683346585136" },"badge":"Best seller","brand":"Apple","title":"Pre-Owned Apple iPhone XS - Carrier Unlocked - 64GB Gold","images": [ "https://i5.walmartimages.com/seo/Apple-iPhone-Xs-64GB-Unlocked-GSM-CDMA-4G-LTE-Phone-w-Dual-12MP-Camera-Gold-Fair-Cosmetics-Fully-Functional_d6dacc88-10c1-46e0-b528-c626915adadc.4c6907ee5896ccbc68382cb59470a6d8.jpeg?odnHeight=117&odnWidth=117&odnBg=FFFFFF"
], "main_image": "https://i5.walmartimages.com/seo/Apple-iPhone-Xs-64GB-Unlocked-GSM-CDMA-4G-LTE-Phone-w-Dual-12MP-Camera-Gold-Fair-Cosmetics-Fully-Functional_d6dacc88-10c1-46e0-b528-c626915adadc.4c6907ee5896ccbc68382cb59470a6d8.jpeg?odnHeight=640&odnWidth=640&odnBg=FFFFFF",
"description": "<p>Super Retina. In Big and Bigger. An all-screen design gives you a large, beautiful canvas for everything you love to do. Custom-built OLED. The OLED panels in iPhone Xs allow for an HDR display with the industry's best color accuracy, true blacks, and remarkable brightness and contrast. They're the sharpest displays, with the highest pixel density, on any Apple device. A new level of water resistance. The most durable glass in a smartphone, sealed and precision-fitted with surgical-grade stainless steel band, helps create a more water-resistant enclosure - up to 2 meters for 30 minutes. iPhone Xs even resists spills from Coffee, Tea, Soda, and more. A whole new level of intelligence. The A12 Bionic, with our next-generation Neural Engine, delivers incredible performance. It uses real-time machine learning to transform the way you experience photos, gaming, augmented reality, and more. Sensors, processors, algorithms, and you. An innovative dual-camera system integrates the ISP, the Neural Engine, and advanced algorithms to unlock new creative possibilities and help you capture incredible photos. A picture is worth a trillion operations. The iPhone Xs dual-camera system harnesses the unprecedented power of the Neural Engine and its ability to perform five trillion operations per second. Together with the Apple-designed ISP, it works like the world's fastest photographer's assistant to help turn your pictures into showstoppers. Security made simple. Face ID reinvent the way we unlock, log in, and pay. Some of our most sophisticated technologies - the True Depth camera system, the Secure Enclave, and the Neural Engine - make it the most secure facial authentication ever in a smartphone. And even faster and easier to use.</p><ul> <li>Phone is tested, working and functional. May have scruff, scratched, cracks or other minor issues that don’t affect the functionality of phone.</li> <li>5.8-inch Super AMOLED Capacitive Touchscreen, 1125 x 2436 pixels</li> <li>iOS, Apple A12 Bionic, Hexa-Core, Apple GPU (4-Core Graphics)</li> <li>Dual 12MP(f/1.8, 28mm, OIS) & 12MP(f/2.4, 52mm, 2x optical Zoom) Cameras with Quad-LED Dual-Tone Flash & 7MP Front Camera with f/2.2, 32mm</li> <li>Internal Memory: 64GB, 4GB RAM</li> <li>IP68 Dust/Water Resistant (Up to 2m for 30 mins), Scratch-Resistant Glass, Oleophobic Coating</li> <li>Dimensions: 5.65 x 2.79 x 0.30 inches, Weight: 6.24 oz</li> </ul>"
},"location": {"city":"Sacramento","state":"CA","store_id":"3081","zip_code":"95829" },"variations": [ {"state":"IN_STOCK","product_id":"7328JAQF0Y2S","selected_options": [ {"key":"Carrier","value":"Verizon" }, {"key":"Capacity","value":"256GB" }, {"key":"Color","value":"Desert Titanium" } ] },"breadcrumbs": [ {"url":"/cp/cell-phones/1105910","category_name":"Cell Phones" }, {"url":"/cp/unlocked-phones/1073085","category_name":"Unlocked Phones" }, {"url":"/cp/gsm-unlocked/8230659","category_name":"GSM Unlocked" } ],"fulfillment": {"pickup":false,"delivery":false,"shipping":true,"out_of_stock":false,"free_shipping":true,"pickup_information":"Pickup, Not available","delivery_information":"Delivery, Not available","shipping_information":"Shipping, Arrives Oct 18, Free" },"specifications": [ {"key":"Processor Brand","value":"Apple" }, {"key":"Display Technology","value":"Retina Display" }, {"key":"Phone Feature","value":"Wireless Charging" },... ],"parse_status_code": 12000 },"created_at": "2024-09-16 08:09:03","updated_at": "2024-09-16 08:09:06","page": 1, "url": "https://www.walmart.com//ip/Apple-iPhone-Xs-64GB-Unlocked-GSM-CDMA-4G-LTE-Phone-w-Dual-12MP-Camera-Gold-Fair-Cosmetics-Fully-Functional/701606028",
"job_id": "7253339040034008521","is_render_forced": false,"status_code": 200,"parser_type": "walmart_product_new" } ]}
Navigate through the details using the right-side navigation or scrolling down the page.
[New] Product
You can select the parser template by using the parser_type parameter. To use the updated Walmart parser, pass the string walmart_product_new as the value.
HTML example
JSON structure
The table below presents a detailed list of each product page element we parse, along with its description and data type. The table also includes some metadata.
Key
Description
Type
general
An object with general product page result details.
object
price
Object contains details on product pricing.
object
rating
Rating information for the product.
object
seller
Information about the seller.
object
variations (optional)
List of variations of the product.
array
breadcrumbs
Hierarchy of categories leading to the product.
object
location
Provides information on the location in which the request was run in.
object
fulfillment
Object contains information on product fulfillment options.
object
specifications
Array of key-value pairs detailing specific attributes or features of the product.
array
parse_status_code
The status code of the parsing job. You can see the parser status codes described here.
integer
created_at
The timestamp when the scraping job was created.
timestamp
updated_at
The timestamp when the scraping job was finished.
timestamp
page
Page number from which the product data was extracted
integer
url
URL of the product page on Walmart's website
string
job_id
The ID of the job associated with the scraping job.
string
status_code
The status code of the scraping job. You can see the scraper status codes described here.
integer
is_render_forced
Identifies whether rendering has been forced for this request.
boolean
parser_type
Type of parser used for extracting the data (e.g., "walmart_product_new").
string
General
Key (general)
Description
Type
url
The URL of the product.
string
main_image
The URL of the main product image
integer
images
Array of URLs to images of the product.
array
title
Title or name of the product.
string
description
Detailed description of the product.
string
brand
The brand of the product.
string
badge
Indicator of specific attributes such as promotions, product features, certifications, or brand affiliations.
Unique identifier assigned to the seller by the platform.
string
url
The URL that leads to the seller's official website or storefront.
string
catalog_id
ID of catalog.
string
Specifications
..."specifications": [... {"key":"Brand","value":"LEGO" }, {"key":"Age Range","value":"9 Years & Up" },]...
Key (specifications)
Description
Type
key
Specific attribute or characteristic of the product.
string
value
Corresponding value or description of the attribute specified by the specifications key.
string
Fulfillment
..."fulfillment": {"pickup":false,"delivery":false,"shipping":true,"out_of_stock":false,"free_shipping":true,"pickup_information":"Pickup, Not available","delivery_information":"Delivery, Not available","shipping_information":"Shipping, Arrives Oct 24, Free" },...
Key (fulfillment)
Description
Type
pickup
Indicates if the product is available to be fulfilled via in-store pickup.
boolean
pickup_information
The pickup message, when pickup = true.
string
delivery
Indicates if the product is available to be fulfilled via delivery from local store.
boolean
delivery_information
The delivery from local store message, when delivery = true.
string
shipping
Indicates if the product is available to be fulfilled via home shipping.
boolean
shipping_information
The shipping message, if shown.
string
free_shipping
Indicates if shipping is free of charge.
boolean
out_of_stock
Indicates if the product is currently out of stock.
You can select the parser template by using the parser_type parameter. To use the updated Walmart parser, pass the string walmart_search_new as the value.
HTML example
JSON structure
The table below presents a detailed list of each search page element we parse, along with its description and data type. The table also includes some metadata.
Key
Description
Type
url
The search page URL.
string
facets
An array containing details of any available search facets (refinements) shown on the search result page.
array
results
Search page results.
array
results.general
An object with general product details.
object
results.price
An object with pricing details of the product.
object
results.rating
Object contains details on product rating.
object
results.seller
Object contains seller information.
object
results.variants (optional)
Array contains a list of product variants.
array
results.fulfillment
Object contains details on product fulfillment options.
object
location
Provides information on the location in which the request was run in.
object
page_details
Object contains data on search query result page.
object
parse_status_code
The status code of the parsing job. You can see the parser status codes described here.
integer
created_at
The timestamp when the scraping job was created.
timestamp
updated_at
The timestamp when the scraping job was finished.
timestamp
page
Page number from which the data was extracted
integer
url
The search page URL.
string
job_id
The ID of the job associated with the scraping job.
string
status_code
The status code of the scraping job. You can see the scraper status codes described here.
integer
is_render_forced
Identifies whether rendering has been forced for this request.
boolean
parser_type
Type of parser used for extracting the data (e.g., "walmart_search_new").
string
General
..."general": {"pos":1,"url":"/ip/Adidas-Men-s-California-2-0-Crew-Neck-Short-Sleeve-Tee-T-Shirt/833623567?classType=VARIANT", "image": "https://i5.walmartimages.com/seo/Adidas-Men-s-California-2-0-Crew-Neck-Short-Sleeve-Tee-T-Shirt_1b8e0b00-fdc7-4b88-99fb-9a633bf0227b_1.812a96a559770448397cd828ef1cf68b.jpeg?odnHeight=180&odnWidth=180&odnBg=FFFFFF",
"title":"Adidas Men's California 2.0 Crew Neck Short Sleeve Tee T-Shirt","sponsored":true,"product_id":"833623567","out_of_stock":false,"section_title":"Results for \"adidas\""},...
Key (general)
Description
Type
pos
An indicator denoting the position of a given item within the section product is attributed to.
integer
url
The URL of the product.
string
image
The URL of the main product image.
string
title
Title or name of the product.
string
product_id
The ID of the product.
string
sponsored
Identifies if product is sponsored.
boolean
badge (optional)
Deal, popular pick, bestseller, 100+ bought since yesterday
list of strings
section_title
The name of the section which product is attributed to in the search page.
The total number of search results shown as being available.
integer
last_visible_page
Last page number of search results.
integer
page
Page number from which the product data was extracted
integer
[Legacy] Product
Walmart product page structured output
{"results": [ {"content": { "url": "https://www.walmart.com/ip/LEGO-Harry-Potter-The-Battle-Hogwarts-Building-Toy-Set-Boys-Girls-Ages-9-Up-Features-Buildable-Castle-6-Minifigures-Recreate-Iconic-Scene-76415/2190258783?athcpid=2190258783&athpgid=AthenaItempage&athcgid=null&athznid=si&athieid=v0_eeMjAuMCw5ODAuMCwwLjAyNDAzMzgzMjc2MTE5NDgzLDAuNV8&athstid=CS055%7ECS098&athguid=l5xGoCNzLlgb74imdpM72CsGeMBju_43eKHI&athancid=1864538426&athposb=4&athena=true&adsRedirect=true",
"meta": {"sku":"2190258783","gtin":"673419375818" },"price":79.95, "title": "LEGO Harry Potter The Battle of Hogwarts Building Toy Set, Harry Potter Toy for Boys and Girls Ages 9 and Up, Features a Buildable Castle and 6 Minifigures to Recreate an Iconic Scene, 76415",
"images": [ "https://i5.walmartimages.com/seo/LEGO-Harry-Potter-The-Battle-Hogwarts-Building-Toy-Set-Boys-Girls-Ages-9-Up-Features-Buildable-Castle-6-Minifigures-Recreate-Iconic-Scene-76415_4ad35e37-c39b-4c4f-9739-aa04cdcc36f8.1a266169d5cd0596c09ccebe08c7ed4a.jpeg?odnHeight=117&odnWidth=117&odnBg=FFFFFF",
... "https://i5.walmartimages.com/asr/bb84d409-af5a-4fbe-a21f-e69c9c53ed3e.d41fa49b888dafa033359900c17103e2.jpeg?odnHeight=117&odnWidth=117&odnBg=FFFFFF"
],"rating": {"count":64,"rating":4.7 },"seller": {"id":"F55CDC31AB754BB68FE0B39041159D63","name":"Walmart.com","official_name":"Walmart.com" },"currency":"USD","breadcrumbs": ["Toys","Building Sets & Blocks","LEGO","LEGO Sets for Girls" ], "description": "Reenact The Battle of Hogwarts from Harry Potter and the Deathly Hallows \u2013 Part 2 with this LEGO Harry Potter toy playset (76415) for boys and girls ages 9 and up. It features a detailed LEGO brick-built section of the Hogwarts Castle building that can be broken apart during battles between Voldemort and Harry Potter in the courtyard. The castle modules can also be rearranged to make the bridge from another memorable location, and this modular building toy set connects with others in the series to create an entire Hogwarts Castle. Bring magical stories and spellbinding action to life with the 6 LEGO minifigures, plus a Nagini figure. The Harry Potter and Voldemort minifigures each have a wand with attachable LEGO elements to create a \u2018spell-casting\u2019 effect, and Neville Longbottom has the Sword of Gryffindor. Let the LEGO Builder app guide your youngster on an intuitive building adventure, allowing them to zoom in and rotate models in 3D, save sets and track their progress. Contains 730 pieces.<ul> <li>The Battle of Hogwarts building toy set (76415) \u2013 Build the Hogwarts Castle courtyard and reenact the Voldemort vs. Harry Potter duel from the climax of Harry Potter and the Deathly Hallows \u2013 Part 2</li> <li>6 LEGO minifigures \u2013 Harry Potter and Voldemort, each with a wand and spell-casting element, Neville Longbottom with the Sword of Gryffindor, Scabior, Molly Weasley and Bellatrix Lestrange</li> <li>Rebuilds into a bridge \u2013 The castle modules can be rearranged to make a bridge and recreate another iconic location. The set also includes a Nagini figure for creative play</li> <li>Fun gift idea \u2013 Give this 730-piece buildable LEGO model as a special treat, birthday present or holiday gift to kids aged 9 and up who are into Harry Potter and the Wizarding World</li> <li>Build, play and display \u2013 This Hogwarts Castle model measures over 11 in. (28 cm) high, 17.5 in. (44 cm) wide and 4.5 in. (11 cm) deep in its basic formation</li> <li>Modular building toy \u2013 This LEGO Harry Potter toy set is one of a series of modular sets that combine to create your own Hogwarts Castle</li> <li>A helping hand \u2013 Discover intuitive instructions in the LEGO Builder app where builders can zoom in and rotate models in 3D, track their progress and save sets as they develop new skills</li> </ul>",
"out_of_stock":false,"free_delivery":true,"specifications": [ {"key":"Features","value":"Collectible" }, ... {"key":"Assembled Product Dimensions (L x W x H)","value":"15.04 x 10.31 x 3.70 Inches" } ],"parse_status_code":12000 },"created_at":"2024-06-12 12:37:06","updated_at":"2024-06-12 12:37:07","page":1, "url": "https://www.walmart.com/ip/LEGO-Harry-Potter-The-Battle-Hogwarts-Building-Toy-Set-Boys-Girls-Ages-9-Up-Features-Buildable-Castle-6-Minifigures-Recreate-Iconic-Scene-76415/2190258783?athcpid=2190258783&athpgid=AthenaItempage&athcgid=null&athznid=si&athieid=v0_eeMjAuMCw5ODAuMCwwLjAyNDAzMzgzMjc2MTE5NDgzLDAuNV8&athstid=CS055%7ECS098&athguid=l5xGoCNzLlgb74imdpM72CsGeMBju_43eKHI&athancid=1864538426&athposb=4&athena=true&adsRedirect=true",
"job_id":"7206635626374893569","status_code":200,"parser_type":"walmart_product", } ]}
HTML example
JSON structure
The table below presents a detailed list of each product page element we parse, along with its description and data type. The table also includes some metadata.
Key
Description
Type
url
URL of the product page on Walmart's website.
string
meta
Metadata related to the product.
object
meta.sku
Stock Keeping Unit (SKU) of the product.
string
meta.gtin
Global Trade Item Number (GTIN) of the product.
string
price
Price of the product.
integer
title
Title or name of the product.
string
images
Array of URLs to images of the product.
array
rating
Rating information for the product.
object
seller
Information about the seller.
object
currency
Currency in which the price is denominated.
string
warranty (optional)
Duration of warranty of the product.
string
variations (optional)
List of variations of the product.
array
breadcrumbs
Hierarchy of categories leading to the product.
object
description
Detailed description of the product.
string
out_of_stock
Boolean indicating if the product is currently out of stock.
boolean
free_delivery
Boolean indicating if the product qualifies for free delivery.
boolean
specifications
Array of key-value pairs detailing specific attributes or features of the product.
array
parse_status_code
The status code of the parsing job. You can see the parser status codes described here.
integer
price_strikethrough (optional)
Striked-though price of the product.
integer
created_at
The timestamp when the scraping job was created.
timestamp
updated_at
The timestamp when the scraping job was finished.
timestamp
page
Page number from which the product data was extracted
integer
url
URL of the product page on Walmart's website
string
job_id
The ID of the job associated with the scraping job.
string
status_code
The status code of the scraping job. You can see the scraper status codes described here.
integer
parser_type
Type of parser used for extracting the data (e.g., "walmart_product").
The table below presents a detailed list of each search results page element we parse, along with its description and data type. The table also includes some metadata.
Key
Description
Type
url
URL of the Walmart search query.
string
organic
List of organic search results.
array
total_results
Total number of search results.
integer
last_visible_page
Last page number of search results.
integer
parse_status_code
The status code of the parsing job. You can see the parser status codes described here.
integer
created_at
The timestamp when the scraping job was created.
timestamp
updated_at
The timestamp when the scraping job was finished.
timestamp
status_code
The status code of the scraping job. You can see the scraper status codes described here.
integer
job_id
The ID of the job associated with the scraping job.