E-commerce
Google Shopping Scraper
google.com/shopping
Google Shopping is served through a dedicated plugin endpoint rather than the generic page fetch. Give it a search term - like 'wireless headphones' or 'running shoes' - and a market, and it returns the product cards of Google's Shopping tab already parsed: the title, the price as a number and as shown, with the currency symbol and ISO code, the crossed-out original price and the discount where Google shows a sale, the merchant, the star rating and the review count. Every product also carries Google's own ids - productId, catalogId and offerId - which stay the same across searches and markets, so a price tracker can follow one product over time. gl picks the market, which sets the prices, the currency and the merchants, and min_price and max_price filter by price in that market's currency. One call returns the first results page, usually 40 to 60 products. Google Shopping opens a product in an overlay rather than on a page of its own, so there is no per-product URL; the ids are the stable key instead. The search runs on the same Google path as our SERP endpoint, with CAPTCHAs and consent pages handled for you, and no Google account, Merchant Center or API key is involved.
What you can extract
- Product title
- Price as a number and as shown, with the currency symbol and the ISO currency code
- Crossed-out original price and discount, where Google shows a sale
- Merchant, star rating and review count (as Google shows it, for example 7.5K)
- Google's own productId, catalogId and offerId, the same across searches and markets
- Market (gl) for prices, currency and merchants, with a min and max price filter
- The first results page per call, usually 40 to 60 products
Dedicated endpoints
/goods/google-shopping A product search on Google Shopping
The products of Google's Shopping tab for a search term (q): a products array with title, price, priceRaw, currency (the symbol), currencyCode, originalPrice, discount, merchant, rating, reviewCount, productId, catalogId and offerId, plus query, hl, gl, proxyCountry and resultsCollected. gl sets the market (default us), min_price and max_price filter in whole units of that market's currency, max_results (1-100) caps the products taken from the first results page, and proxy_country sets the country the request is sent from. A search that finds no products answers 502 and is not billed.
How to scrape it
curl -X POST \
-H "X-ScrapeUnblocker-Key: $SU_API_KEY" \
"https://api.scrapeunblocker.com/goods/google-shopping?q=wireless%20headphones&gl=us&max_results=40"import requests
resp = requests.post(
"https://api.scrapeunblocker.com/goods/google-shopping",
headers={"X-ScrapeUnblocker-Key": SU_API_KEY},
params={"q": "wireless headphones", "gl": "us", "max_results": "40"},
)
print(resp.text)import { ScrapeUnblockerClient } from 'scrapeunblocker';
const su = new ScrapeUnblockerClient({ apiKey: process.env.SU_API_KEY });
const results = await su.googleShopping('wireless headphones', {
gl: 'us',
maxResults: 40,
});
console.log(results); Requests are POST and take their parameters in the query string. Browser rendering always happens - there is no flag to enable.
Example response
{
"query": "wireless headphones",
"hl": "en",
"gl": "us",
"proxyCountry": "LT",
"resultsCollected": 40,
"products": [
{
"title": "JLab Go Lux ANC On-Ear Headphones",
"price": 36.99,
"priceRaw": "$36.99",
"currency": "$",
"currencyCode": "USD",
"originalPrice": 53.0,
"discount": "30%OFF",
"merchant": "Target",
"rating": 4.6,
"reviewCount": "722",
"productId": "2234762454628267099",
"catalogId": "13569929308372191534",
"offerId": "13057013143515727384"
},
{
"title": "JLab JBuds Lux ANC Over-Ear Headphones",
"price": 84.99,
"priceRaw": "$84.99",
"currency": "$",
"currencyCode": "USD",
"merchant": "JLab",
"rating": 4.6,
"reviewCount": "7.5K",
"productId": "12900113148285530832",
"catalogId": "11574618317741635000",
"offerId": "864590345446300271"
},
{
"title": "Sony WH-CH520 Wireless On-Ear Headphones with Microphone",
"price": 68.0,
"priceRaw": "$68.00",
"currency": "$",
"currencyCode": "USD",
"merchant": "BuyDig.com",
"rating": 4.6,
"reviewCount": "6K",
"productId": "963857376487324064",
"catalogId": "1290089098725376766",
"offerId": "1918444353104187379"
}
]
} Frequently asked questions
Is it legal to scrape Google Shopping?
Collecting publicly available Google Shopping data such as product titles, prices, merchants and ratings is lawful in many jurisdictions, but the rules depend on your country, the data you collect and how you use it. ScrapeUnblocker returns the public results; what you collect and how you use it is your responsibility.
How do I scrape Google Shopping without getting blocked?
Google answers automated traffic with CAPTCHAs, and visitors from Europe get a consent page first, so a plain request to the Shopping tab rarely comes back with products. The /goods/google-shopping plugin runs the search through the same Google path as our SERP endpoint - a real browser on ISP exits, with CAPTCHAs and the consent page handled and a fresh exit when Google refuses one - and parses the product cards for you. A search that comes back without products answers 502 instead of an empty 200, and is not billed. In ScrapeUnblocker's benchmark it returned real data on 99.0% of 1,040 calls, about 3.3s per call.
What Google Shopping data can I get?
For each product: the title, the price as a number and as Google shows it, the currency symbol and ISO code, the crossed-out original price and the discount where Google shows a sale, the merchant, the star rating and the review count, plus Google's own productId, catalogId and offerId. Merchant, rating and review count come back when Google shows them on the card, which it does for most products. There is no per-product URL: Google Shopping opens a product in an overlay rather than on a page of its own.
Can I track one product's price over time?
Yes. productId, catalogId and offerId are Google's own ids for the product, read from the result card, and they stay the same across searches and markets, so they work as the key for following one product: store them with the price, the merchant and the discount, and run the same search on a schedule.
Can I get Google Shopping results for a specific country?
Yes. gl sets the market with a two-letter country code such as us, gb or de, and the prices, the currency and the merchants follow it; min_price and max_price filter in whole units of that market's currency. proxy_country sets the country the request is sent from, if you also want the search to leave from an exit in that country.
How much does it cost to scrape Google Shopping?
Every call is one request: one search, returning up to the whole first results page. 1 request = 1 credit, EUR 1.00 per 1,000 on pay as you go, down to about EUR 0.55 per 1,000 on the Ultimate plan. Blocks, timeouts and searches that find no products are not billed, and the free trial includes 500 requests with no card.
Related scrapers
Google Shopping and other names and marks of google.com belong to their owner and are used here only to identify the website this API works with. ScrapeUnblocker is an independent service, not affiliated with, endorsed by or sponsored by the owner of google.com.
Start scraping this site today
Free tier included. No credit card required to test it.