Search
Learn how to get Walmart search results using the Web Scraper API. Find out more about its request parameters and structured data output.
Request samples
curl 'https://realtime.oxylabs.io/v1/queries' \
--user 'USERNAME:PASSWORD' \
-H 'Content-Type: application/json' \
-d '{
"source": "walmart_search",
"query": "iphone",
"parse": true
}'import requests
from pprint import pprint
# Structure payload.
payload = {
'source': 'walmart_search',
'query': 'iphone',
'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())Request parameter values
Generic
Parameter
Description
Default Value
Localization
Parameter
Description
Type
Pagination
Parameter
Description
Default Value
Structured data
Output data dictionary
HTML example
JSON structure
Key
Description
Type
General

Key (general)
Description
Type
Price

Key (price)
Description
Type
Rating

Key (rating)
Description
Type
Seller
Key (seller)
Description
Type
Variants

Key (variants)
Description
Type
Fulfillment

Key (fulfillment)
Description
Type
Facets
Key (facets)
Description
Type
Location

Key (location)
Description
Type
Page details
Key (page_details)
Description
Key
Last updated
Was this helpful?

