API
Google Shopping API
Search Google Shopping and get every product with price, merchant, rating and a product ID you can use to fetch all sellers.
What you get
- position
- product_id
- title
- price (value, currency, raw)
- old_price
- merchant
- rating
- reviews
- delivery
- thumbnail
- link
Parameters
| 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 ("uk" = "gb"). Default "us". |
| language | string | No | 2-letter language code. Default "en". |
| page | integer | No | Only 1 is supported (Google loads more of these results by scrolling, not by page). Default 1. |
Example
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.
Pricing
1 credit per request, the same on the live, fast, regular queues. $1.00 per 1,000 requests, down to $0.30 with larger packs.
| Pack | Credits | Price per 1,000 requests |
|---|---|---|
| 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 →