Product
The walmart_product
source is designed to retrieve Walmart product result pages. We can return the HTML for any Walmart page you like. Additionally, we can deliver structured (parsed) output for Walmart product pages.
Request samples
The example below illustrates how you can get a parsed Walmart product page result.
We use synchronous Realtime integration method in our examples. If you would like to use Proxy Endpoint or asynchronous Push-Pull integration, refer to the integration methods section.
Request parameter values
Generic
source
Sets the scraper.
walmart_product
product_id
Walmart product ID.
-
render
-
parse
Returns parsed data when set to true
.
false
callback_url
-
user_agent_type
desktop
- mandatory parameter
Localization
Adapt results to specific stores, shipping locations.
domain
Domain localization for Walmart.
String
delivery_zip
Set the shipping to location.
String
store_id
Set the store location.
String
If target store is too far away from the given postal code - we will attempt to use the postal code of the target store, otherwise the location will not be set properly. In the case we can't set the delivery_zip
- Walmart will return their default results without store targeting.
Structured data
In the following sections, parsed JSON code snippets are shortened where more than one item for the result type is available.
Output data dictionary
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.
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
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
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
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.
list of strings
meta
Metadata of 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
The current price of the product without any deductions.
integer
price_strikethrough
The strikethrough price is either a Was Price, a Bundle Price, or a List Price.
integer
currency
The ISO 4217 three-letter code of the currency.
string
Rating
rating
Average rating of the product.
float
count
Number of ratings for the product.
integer
Seller
name
Name of the seller.
string
official_name
Official registered name of the seller entity.
string
id
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
key
Specific attribute or characteristic of the product.
string
value
Corresponding value or description of the attribute specified by the specifications key.
string
Fulfillment
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.
boolean
Variations
state
Availability state of the product variation.
string
product_id
Unique identifier for each product variation.
string
selected_options
Array containing selected options that define the variation.
array
selected_options.key
Key describing the option selected.
string
selected_options.value
Value of the option selected.
string
Breadcrumbs
category_name
The name of the category.
string
url
The URL of the category
string
Location
city
The city the request was run on.
string
state
The state the request was run on.
string
zip_code
The zip code the request was run on.
string
store_id
The ID of the store that the request was run on.
string
Last updated
Was this helpful?