SERP API
Shopping
Google Shopping results: products with their price as text and as a number, seller, rating, delivery and discount.
GET
https://api.scraperdata.com/v1/search?type=shoppingCredits
One credit per results page, as for every search. Failed requests are free.
The ScraperData Google Shopping API returns the products Google shows in its Shopping tab for a query as JSON: the product name, the price as text and as a number, the old price on items on sale, the rating, the number of reviews and the store. Add type=shopping to a search request; one page costs one credit.
Request parameters
These are the ones that matter here. Every other parameter of a live search works too, such as gl, hl, num_pages and device.
| Field | Type | Description |
|---|---|---|
q | string | requiredThe search query.Example: wireless earbuds |
type | string | requiredSet it to shopping for this list.Values:shopping |
Response
The list is shopping_results. Each item has these fields when Google shows them:
| Field | Type | Description |
|---|---|---|
position | integer | Rank in the product list |
title | string | The product's name |
price | string | The price as Google shows it |
extracted_price | number | The same price as a number |
old_price | string | The price before a discount, on sale items |
rating, reviews | number, string | Average rating and number of reviews |
source | string | The store selling it |
delivery | string | Delivery terms, for example "Free delivery by Mon" |
discount | string | The discount label, for example "20% OFF" |
product_id | string | Google's product id, when the page has one |
Prices follow the country you set with gl.
Good for
- Price monitoring and alerts
- Competitor pricing for online stores
- Product and market research
- Marketplace and retail analytics
More examples and questions on the Google Shopping API page.