The google_shopping_pricing source is designed to retrieve pages containing lists of offers available for a product ID of your choice.
Request samples
In the code example below, we make a request to retrieve the product pricing page for product ID 5007040952399054528 from Google Shopping on google.com.
Device type and browser. The full list can be found here.
desktop
- mandatory parameter
Localization
Adapt results to specific geographical locations, domains, and languages.
Parameter
Description
Default Value
geo_location
The geographical location that the result should be adapted for. Using this parameter correctly is extremely important to get the right data. For more information, read about our suggested geo_location parameter structures here.
-
domain
Domain localization for Google. The full list of available domains can be found here.
com
locale
Accept-Language header value which changes your Google search page web interface language. More info.
-
context:
results_language
Results language. List of supported Google languages can be found here.
-
Pagination
Controls for managing the pagination and retrieval of search results.
Parameter
Description
Default Value
start_page
Starting page number.
1
pages
Number of pages to retrieve.
1
Structured data
Below you can find a structured output example for google_shopping_pricing.
Output data dictionary
HTML example
JSON structure
The table below presents a detailed list of each element we parse, along with its description and data type. The table also includes some metadata.
Key
Description
Type
url
The URL to the product page on Google Shopping.
string
title
The title of the product.
string
rating (optional)
The average user rating of the product, typically out of 5.
integer
pricing
An array of objects containing pricing information from different sellers.
array
pricing.price
The price of the product in the specified currency.
integer
pricing.seller
The name of the seller offering the product.
string
pricing.details
Additional details about the purchase, such as delivery and return policies.
string
pricing.currency
The currency code for the product price.
string
pricing.condition
The condition of the product, typically "New" or "Used".
string
pricing.price_tax
The amount of tax applied to the product price.
integer
pricing.price_total
The total price of the product, including tax.
integer
pricing.seller_link
The URL to the seller's page for the product.
string
pricing.price_shipping
The shipping cost for the product.
integer
review_count (optional)
The total number of reviews for the product.
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.