# Google Shopping Scraper - Products, Prices, Stores & Ratings (`rjmacarthy/google-shopping-scraper`) Actor

Scrape Google Shopping results by keyword: product title, price, original price and discount, store, rating, review count, delivery and returns, badges and a Google product page link. Any country, price and sale filters, sorting, and a new-product / price-change monitor.

- **URL**: https://apify.com/rjmacarthy/google-shopping-scraper.md
- **Developed by:** [rj](https://apify.com/rjmacarthy) (community)
- **Categories:** E-commerce, Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 products

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Google Shopping Scraper - Products, Prices, Stores & Ratings

Scrape Google Shopping results by keyword into clean rows: product title, price, original price and discount, the store
selling it, star rating and review count, delivery and returns text, badges, an image and a link to the Google product page
with offers from every store. Search any country's storefront, filter by price range, sale and free delivery, sort by price
or rating, and use **monitor mode** to get only new products and price drops on scheduled runs. At **$0.001 per product with
no run fee** it is about 3.5x cheaper than the usual $0.0035 per product, and there is no start fee on top.

Page fetching is built in, no proxy setup needed. You don't need a Google account.

### What data can you get

| Field | Example |
|---|---|
| Title | "JBL Endurance Peak 3 True Wireless Earbuds" |
| Price, original price, discount % | 69.95 / 110 / 36 |
| Currency, price as shown | USD, "$69.95" |
| Store, sold by more stores | "Best Buy", true |
| Rating and review count | 4.0 / 3300 |
| Delivery, free delivery, returns | "Free delivery by Fri", true, "15-day returns" |
| Badges, sponsored flag | \["36% OFF"], false |
| Image | product image link (or a small inline preview for the first cards) |
| Google product page | link to the product's page on Google Shopping with all offers |
| IDs | stable product id (Google product cluster), catalog id, product id, offer id |
| Position, page, query, country | 2, 1, "wireless earbuds", "us" |
| **Monitor mode:** change type, previous price | price_drop, 83.71 |

### Use cases

- **Price monitoring:** schedule a search for your product category and get new products and price drops with the old price.
- **Competitor research:** see which stores show up for your keywords, at what price, with how many reviews.
- **Deal finding:** list on-sale products in a price range, sorted from cheapest.
- **Market and assortment analysis:** compare prices, ratings and discounts across brands and countries.
- **Feeding dashboards and AI agents** with fresh product and price data.

### How to use

1. Add one or more **search queries** (e.g. "air fryer").
2. Set **Max products per query** (default 40, which is one results page).
3. Optional: country, sort order, price range, on sale, free delivery, monitor mode.
4. Run, then download as JSON, CSV or Excel, or use the API.

Quick search:

```json
{ "queries": ["wireless earbuds"], "maxItems": 20 }
```

Cheapest air fryers under $100:

```json
{ "queries": ["air fryer"], "maxPrice": 100, "sortBy": "price_low", "maxItems": 80 }
```

iPhone 16 cases in the UK storefront (prices in GBP):

```json
{ "queries": ["iphone 16 case"], "country": "uk", "maxItems": 40 }
```

Nike running shoes on sale:

```json
{ "queries": ["nike running shoes"], "onSale": true, "maxItems": 40 }
```

Daily price-drop monitor:

```json
{ "queries": ["robot vacuum"], "maxItems": 40, "monitorMode": "changes", "stateKey": "robot-vacuums" }
```

### Output example

```json
{
  "id": "6161323615230670233",
  "position": 2,
  "page": 1,
  "title": "JBL Endurance Peak 3 True Wireless Earbuds",
  "price": 69.95,
  "originalPrice": 110,
  "discountPct": 36,
  "currency": "USD",
  "priceText": "$69.95",
  "merchant": "Best Buy",
  "moreStores": true,
  "rating": 4,
  "reviewCount": 3300,
  "shipping": "Free delivery by Fri",
  "freeShipping": true,
  "returns": "15-day returns",
  "badges": ["36% OFF"],
  "isSponsored": false,
  "thumbnailUrl": "data:image/webp;base64,UklGRrYGAABXRUJQV... (inline preview; cards further down get an https image link)",
  "url": "https://www.google.com/search?ibp=oshop&q=JBL+Endurance+Peak+3+True+Wireless+Earbuds&prds=catalogid:14853099868293791208,gpcid:6161323615230670233,headlineOfferDocid:16278043257325957856,imageDocid:9919798322928098943,productDocid:9884834967591145261,pvo:3&hl=en&gl=us&udm=28",
  "catalogId": "14853099868293791208",
  "productDocId": "9884834967591145261",
  "offerId": "16278043257325957856",
  "query": "wireless earbuds",
  "country": "us",
  "changeType": null,
  "previousPrice": null,
  "scrapedAt": "2026-11-18T19:37:37.216Z"
}
```

See `samples/sample-output.json` for more rows from a real run.

### Pricing

Pay per event, no run fee:

| Event | Price |
|---|---|
| `product`: each product row | $0.001 |
| `monitor-check`: each results page checked in monitor mode (charged even when nothing new is found) | $0.004 |

Worked examples: **1,000 products ≈ $1.00**. The quick search above (20 products) costs $0.02. A daily monitor of one query
(one results page) that finds 10 new or re-priced products costs $0.004 + $0.01 = $0.014 per day. Set "Maximum cost per run"
and the Actor stops cleanly when it is reached.

**Free Apify plan:** runs on the free plan are limited to **5 result pages** (about 200 products). Any paid Apify plan removes
the limit.

### Tips and limits

- **About 40 products per results page.** `maxItems` 40 = 1 page, 120 = 3 pages. Later pages repeat a few products from earlier
  pages; repeats are skipped, so `position` is the rank among unique products. A query stops when a page adds nothing new
  (at most 10 pages).
- **Themed carousels** at the top of the first page ("Deals on ...", "... for running") are not output; the rows are the main
  results grid, which is what filters and sorting apply to.
- **Price range** uses Google's own price filter, and the Actor also drops any card outside your range, so the output is always
  inside it. **On sale** keeps only cards with a crossed-out price or a discount badge. **Free delivery** uses Google's filter
  and also drops cards whose delivery text does not say free (with language "en"). Filtered-out cards don't count towards
  `maxItems`; the Actor reads more pages to fill it.
- **Store:** each card shows the headline store; `moreStores` is true when Google says "& more" (other stores sell it too). Open
  `url` for every store's offer. Google does not show how many stores, and does not put the store's own product link on the
  results page.
- **Images:** for the first ~20 cards on a page Google sends only a small inline preview (a `data:image/webp` URI, a few KB),
  not a link; the rest get an image link. A 20-product run therefore returns inline previews only.
- **Language:** keep `language` = "en" for the most complete delivery, returns, discount and "& more" fields. Titles and prices
  work in any language. Prices are in the storefront's currency (`currency`).
- **Monitor mode** compares each run with the products it has already seen for that monitor name. Google rotates a large part
  of the grid between visits (in our tests most of the 40 products differed between two runs minutes apart), so the first
  runs report many "new" products that were simply not shown before; it settles as the monitor learns the category. Google
  also switches the headline store of a product between visits, so a price change is reported only when the store is the same
  as last time (a store switch is not a price drop).
- Sponsored cards are flagged when Google labels them; none appeared in our tests.
- Each page takes about 3-15 s; pages are fetched in parallel (`maxConcurrency`, default 5).

### FAQ

**Is it legal to scrape Google Shopping?** This Actor reads public search result pages only: no login and no personal data,
only product, price and store information that anyone can see. Google's terms restrict automated access; you are responsible
for using the data in line with Google's terms and the laws that apply to you (e.g. GDPR, database rights).

**Do I need a proxy?** No. Page fetching is built into the Actor and included in the price, so there is no proxy input.

**Why fewer products than I asked for?** Google ran out of new products for the query, your price range or sale filter removed
some, the "Maximum cost per run" was reached, or you are on the free Apify plan (5 result pages per run). The status message
and the `RUN_SUMMARY` record say which.

**How does monitor mode work?** The first run outputs everything and saves it under the monitor name (`stateKey`). Later runs
check the same pages (the ones `maxItems` needs) and output only products not seen before; "changes" also outputs price drops
and increases with `previousPrice`. Each page checked costs one `monitor-check`. Use a different `stateKey` for each monitor.

**Which countries work?** Any Google Shopping storefront: pass the two-letter country code (us, uk, ca, au, de, fr, in, ...).

### Integrations

Use the Apify API, the JavaScript or Python client, or connect the dataset to Make, Zapier, n8n, Google Sheets, Slack or webhooks.
AI agents can call it through the Apify MCP server.

### Changelog

- 0.1 (2026-11-18): first release - keyword search in any country, price range, on-sale and free-delivery filters, sorting,
  monitor mode (new products and price changes), free-plan limit.

### More scrapers by the same developer

- [Shopify App Store Scraper - Apps, Pricing, Ratings & Reviews](https://apify.com/rjmacarthy/shopify-app-store-scraper)
- [AliExpress Scraper - Product Search, Prices, Ratings & Details](https://apify.com/rjmacarthy/aliexpress-scraper)
- [AutoScout24 Scraper - Used Car Listings & Prices (Europe)](https://apify.com/rjmacarthy/autoscout24-scraper)
- [Booking.com Scraper - Hotels, Prices, Ratings & Availability](https://apify.com/rjmacarthy/booking-scraper)
- [Etsy Scraper - Search Listings, Prices, Shops & Bestsellers](https://apify.com/rjmacarthy/etsy-scraper)
- [Flipkart Scraper - Prices, Ratings & Offers from Search](https://apify.com/rjmacarthy/flipkart-scraper)

Browse all my Actors on [my Apify Store profile](https://apify.com/rjmacarthy).

### Support

Found a bug or need a field? Open an issue on the Actor's Issues tab and include the run ID.

# Actor input Schema

## `queries` (type: `array`):

What you would type into Google Shopping, one per line, e.g. "wireless earbuds" or "air fryer". Each query is one search.

## `maxItems` (type: `integer`):

Stop each query after this many products. Google shows about 40 products per results page, so 40 = 1 page, 120 = 3 pages. 0 = as many as Google serves (up to 10 pages).

## `country` (type: `string`):

Two-letter country code of the Google Shopping storefront: us, uk, ca, au, de, fr, in, ... Prices are in that country's currency.

## `language` (type: `string`):

Interface language code (en, de, fr, ...). Keep "en" for the most complete delivery, discount and "more stores" fields; titles and prices work in any language.

## `sortBy` (type: `string`):

Order of the results, as in Google Shopping's "Sort by" menu.

## `minPrice` (type: `number`):

Only products priced at or above this amount, in the country's currency.

## `maxPrice` (type: `number`):

Only products priced at or below this amount, in the country's currency.

## `onSale` (type: `boolean`):

Only products with a discount (a crossed-out original price).

## `freeShipping` (type: `boolean`):

Only products with free delivery.

## `monitorMode` (type: `string`):

"all" outputs every product. "new" outputs only products this monitor has not seen before (for scheduled runs). "changes" outputs new products plus price drops and increases, with the previous price. The first monitor run outputs everything and sets the baseline. Monitor modes also charge a small "monitor-check" per results page checked.

## `stateKey` (type: `string`):

Monitor modes remember seen products under this name. Use a different name for each separate monitor.

## `maxConcurrency` (type: `integer`):

How many result pages are fetched at the same time.

## `maxZyteRequests` (type: `integer`):

Safety cap on page fetches per run. 0 = automatic (the pages your input needs plus 20%, at most 2,000). On the free Apify plan the cap is 5 pages per run.

## Actor input object example

```json
{
  "queries": [
    "wireless earbuds"
  ],
  "maxItems": 20,
  "country": "us",
  "language": "en",
  "sortBy": "relevance",
  "onSale": false,
  "freeShipping": false,
  "monitorMode": "all",
  "stateKey": "default",
  "maxConcurrency": 5,
  "maxZyteRequests": 0
}
```

# Actor output Schema

## `products` (type: `string`):

No description

## `runSummary` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "queries": [
        "wireless earbuds"
    ],
    "maxItems": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("rjmacarthy/google-shopping-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "queries": ["wireless earbuds"],
    "maxItems": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("rjmacarthy/google-shopping-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "queries": [
    "wireless earbuds"
  ],
  "maxItems": 20
}' |
apify call rjmacarthy/google-shopping-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,rjmacarthy/google-shopping-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/nH9ZvJsP6rHm9AQfm/builds/rzGu2PAZrg2B01NUb/openapi.json
