Guides · 6 min read
How to scrape Google Shopping prices with Python
A Python script that searches Google Shopping, picks a product and saves every seller's price, shipping and total to CSV, with retries and cost math.
Turn Google Shopping into a clear view of products, prices and merchants.
For teams building price monitoring, product discovery and market research tools.
Ready to build? Open the reference you need, or visit the full docs in your dashboard.
Search Google Shopping and get every product with price, merchant, rating and a product ID you can use to fetch all sellers.
| Name | Type | Required | Description |
|---|---|---|---|
| query | string | Yes | Search term. |
| country | string | No | 2-letter country code, one of: us, gb, uk, ca, au, de, fr, nl, it, es, pt, be, at, ch, se, no, dk, fi, ie, pl, cz, il, ae, in, jp, kr, sg, mx, br, nz, za, tr, ar, cl, co, pe, hk, tw, th, vn, id, my, ph, pk, bd, sa, eg, qa, kw, gr, hu, ro, bg, hr, sk, si, ua, rs, lt, lv, ee, lu, ng, ke, ma ("uk" = "gb"). Default "us". |
| language | string | No | 2-letter language code. Default "en". |
| page | integer | No | 1 (Google loads more of these results by scrolling, not by page). Default 1. |
curl -X POST https://api.crawlerdata.com/v1/jobs \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"endpoint":"google-shopping-search","params":{"query":"wireless headphones","country":"us"},"queue":"live"}'const res = await fetch('https://api.crawlerdata.com/v1/jobs', {
method: 'POST',
headers: { Authorization: 'Bearer YOUR_API_KEY', 'Content-Type': 'application/json' },
body: JSON.stringify({
"endpoint": "google-shopping-search",
"params": {
"query": "wireless headphones",
"country": "us"
},
"queue": "live"
}),
});
const { job, result } = await res.json();import requests
res = requests.post(
"https://api.crawlerdata.com/v1/jobs",
headers={"Authorization": "Bearer YOUR_API_KEY"},
json={
"endpoint": "google-shopping-search",
"params": {
"query": "wireless headphones",
"country": "us",
},
"queue": "live",
},
)
data = res.json(){
"search_parameters": {
"engine": "google_shopping",
"query": "wireless headphones",
"country": "us",
"language": "en",
"page": 1
},
"shopping_results": [
{
"position": 1,
"product_id": "14580532573920022357",
"title": "Soundplay Foldable Wireless Headphones Bluetooth Over-Ear Headset with Built-in Mic",
"price": {
"value": 14.94,
"currency": "USD",
"raw": "$14.94"
},
"old_price": null,
"merchant": "Walmart",
"rating": 4.6,
"reviews": 866,
"delivery": null,
"thumbnail": "data:image/webp;base64,UklGRsQNAABXRUJQVlA4ILgNAACwRwCdASreANEAPj0ejESiIaEQmSWQIAPEtLdwYAAzs1WjoB99e…",
"link": "https://www.google.com/search?ibp=oshop&q=gid:14580532573920022357&prds=gpcid:14580532573920022357,r…"
},
{
"position": 2,
"product_id": "18438405240876542552",
"title": "Sony WH-CH520 Wireless On-Ear Headphones with Microphone",
"price": {
"value": 49.99,
"currency": "USD",
"raw": "$49.99"
},
"old_price": {
"value": 68,
"currency": "USD",
"raw": "$68"
},
… (9 more lines)Long values are shortened in this example.
Prepaid credits, no subscription, and failed requests are never charged. Choose your credit pack →
1 credit per request, the same on the live, fast, regular queues. $1.00 per 1,000 credits, down to $0.30 with larger packs.
| Pack | Credits | Price per 1,000 credits |
|---|---|---|
| Starter | 50,000 | $1.00 |
| Standard | 500,000 | $0.75 |
| Scale | 2,500,000 | $0.50 |
| Ultimate | 12,500,000 | $0.30 |
Failed requests are not charged. Prices exclude sales tax/VAT. See full pricing →
Setup guides with tested code for calling the Google Shopping API from your tools:
Guides · 6 min read
A Python script that searches Google Shopping, picks a product and saves every seller's price, shipping and total to CSV, with retries and cost math.
Explainers · 9 min read
Google's Shopping APIs manage your own products in Merchant Center. Searching Shopping prices across sellers is a different job. Which API does what.
Comparisons · 13 min read
Google Shopping API list prices: about $0.27 to $25 per 1,000 searches, and the cost of one product with all its sellers. Prices as of Oct 2026.
Comparisons · 12 min read
Google Shopping APIs compared on endpoints, sellers per request, cost per 1,000, failed-request billing and credit expiry. Sourced, prices as of Oct 2026.
See every seller for a product, with price and shipping in one place.
1 credit per 10 sellers, from $0.30 / 1,000 credits
Bring richer product information into your catalog and research workflows.
from $0.30 / 1,000 requests
Comparing providers? CrawlerData vs SerpApi · CrawlerData vs DataForSEO · CrawlerData vs Tavily · CrawlerData vs Bright Data · CrawlerData vs Oxylabs · All comparisons
We use Google Analytics and Google Ads cookies to measure how the site is used and which ads lead to sign-ups. No personalized ads or remarketing. See our privacy policy.