Documentation has been updated: see help center and changelog in one place.

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.

curl 'https://realtime.oxylabs.io/v1/queries' \
--user 'USERNAME:PASSWORD' \
-H 'Content-Type: application/json' \
-d '{
        "source": "walmart_product", 
        "product_id": "15296401808",
        "parse": true
    }'

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

Parameter
Description
Default Value

source

Sets the scraper.

walmart_product

product_id

Walmart product ID.

-

render

Enables JavaScript rendering when set to html. More info.

-

parse

Returns parsed data when set to true.

false

callback_url

URL to your callback endpoint. More info.

-

user_agent_type

Device type and browser. The full list can be found here.

desktop

- mandatory parameter

Localization

Adapt results to specific stores, shipping locations.

Parameter
Description
Type

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.

Walmart product page structured output

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.

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.

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

Key (price)
Description
Type

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

Key (rating)
Description
Type

rating

Average rating of the product.

float

count

Number of ratings for the product.

integer

Seller

Key (seller)
Describtion
Type

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 (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

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.

boolean

Variations

Key (variations)
Description
Type

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

Key (breadcrumbs)
Description
Type

category_name

The name of the category.

string

url

The URL of the category

string

Location

Key (location)
Description
Type

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?