# Google Shopping Scraper - Prices, Sellers & Ratings (`scrapesage/google-shopping-scraper`) Actor

Scrape Google Shopping results into clean rows: product, current and previous price, discount, merchant and marketplace seller, delivery, returns, rating, review count, thumbnail and product link. Price, sort and condition filters, 40+ countries. Independent tool, not affiliated with Google LLC.

- **URL**: https://apify.com/scrapesage/google-shopping-scraper.md
- **Developed by:** [Scrape Sage](https://apify.com/scrapesage) (community)
- **Categories:** E-commerce, Automation, AI
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.10 / 1,000 product scrapeds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Google Shopping Scraper - Prices, Sellers & Ratings

> **Disclaimer:** This Actor is an independent tool and is not affiliated with, endorsed by, or sponsored by Google LLC or any of its subsidiaries. All trademarks mentioned are the property of their respective owners. "Google Shopping" is referenced only to describe the publicly available website this Actor collects data from.

Search Google Shopping and get every product offer as a clean row: title, current price, previous price and discount, merchant (and marketplace seller), delivery and returns terms, star rating and review count, thumbnail and the Google Shopping product link. Up to 60 products per page and several pages per search, across 40+ country editions. No login, no browser, no API key.

### What you get

| Field | What it holds |
|---|---|
| `title`, `productId`, `productUrl` | The product as Google lists it, Google's product id and the Google Shopping page for it |
| `price`, `currency`, `priceText` | The current offer price as a number plus the currency (symbol-parsed, or inferred from the country edition) |
| `wasPrice`, `discountPercent`, `badge`, `onSale` | The crossed-out previous price, the discount badge ("30% OFF") and a sale flag |
| `merchant`, `merchantSeller`, `moreSellers` | The store shown on the card, the marketplace seller when Google shows one ("Walmart - Nalacover"), and whether other sellers exist |
| `delivery`, `freeDelivery`, `returns` | Delivery and returns terms exactly as Google displays them |
| `rating`, `reviewCount` | Star rating and number of reviews |
| `thumbnail` | Google's product image URL |
| `has360View`, `summary` | Google's 360 badge and the full card summary text |
| `catalogId`, `offerId`, `itemId`, `groupId` | Google's internal ids for the catalog entry, offer, item and group - handy for joining runs |
| `searchQuery`, `page`, `position`, `filtersApplied` | How the row was found, so multi-query runs stay traceable |

### Why this scraper

- **Whole shelves, not samples.** Google Shopping serves up to 60 products per page; the actor walks the pages Google offers for each search (usually two) and deduplicates across queries.
- **Deal fields that others drop.** Previous price, discount percentage and sale badge are parsed into numbers, so a price-drop report is one filter away.
- **Filters that Google applies.** Price range, sort order, condition, on-sale and minimum rating follow Google's own controls on the results page (one extra page per control), and every row is checked again against the same rule. Rows that fail a filter are never charged.
- **Seller detail.** Marketplace sellers are split from the store ("Walmart - Nalacover"), and the "& more" indicator tells you when other merchants carry the item.
- **International.** Pick the country edition and language; prices and currencies are parsed per edition (`$`, `£`, `€`, and unsymbolled formats alike).

### Use cases

- **Price monitoring and repricing** - track competitor prices for a product set every day; monitor mode flags newly listed products.
- **Market and assortment research** - who sells what, at which price, with what delivery terms, in each country.
- **Deal aggregation** - harvest on-sale products with real discount percentages for deal sites, newsletters and affiliate content.
- **Catalogue enrichment** - ratings, review counts and Google product ids for your own SKUs.
- **AI shopping agents** - structured offers with prices and merchants ready for ranking or comparison.

### How to use

1. Enter one or more searches - `iphone 15 case`, `espresso machine`, `nike air max 90 mens`.
2. Optionally set a price range, sort order, condition, "On sale only", minimum rating, country edition and language.
3. Set **Maximum products** and run. The first rows land in the dataset within seconds; export as JSON, CSV, Excel or via the API.

You can also paste Google Shopping search URLs into **Google Shopping URLs**, or import a list of them from a text file or Google Sheet.

### Input

```json
{
    "queries": ["iphone 15 case", "iphone 15 pro max case"],
    "countryCode": "us",
    "language": "en",
    "minPrice": 10,
    "maxPrice": 40,
    "sortBy": "price_asc",
    "onSaleOnly": false,
    "maxResults": 200
}
```

Every field is optional. With no input at all the actor runs a small sample search so you can see the output shape.

### Output example

```json
{
    "type": "product",
    "productId": "786737723393493171",
    "title": "iPhone 15 MagSafe Case 15 / Caramel",
    "price": 21.21,
    "currency": "USD",
    "priceText": "$21.21",
    "wasPrice": 35,
    "wasPriceText": "$35",
    "discountPercent": 39,
    "onSale": true,
    "badge": "39% OFF",
    "merchant": "LAND Leather Goods",
    "merchantSeller": null,
    "moreSellers": false,
    "delivery": "Free delivery",
    "freeDelivery": true,
    "returns": "30-day returns",
    "rating": 4.8,
    "reviewCount": 7,
    "has360View": false,
    "thumbnail": "https://encrypted-tbn0.gstatic.com/shopping?q=tbn:ANd9GcS8cZ_...",
    "productUrl": "https://www.google.com/shopping/product/786737723393493171?gl=us&hl=en",
    "catalogId": null,
    "offerId": "786737723393493171",
    "itemId": "17945856139145862460",
    "searchQuery": "iphone 15 case",
    "page": 2,
    "position": 62,
    "filtersApplied": [],
    "countryCode": "us",
    "language": "en",
    "scrapedAt": "2026-09-06T05:27:31.439Z"
}
```

### Reliability - read this before you buy

- **About 100 products per search.** Google serves a first page of 60 and usually one more page of 40; the actor stops when Google stops. Use several queries (variants, brands, colours) in one run to collect more - duplicates across queries are removed and never charged.
- **Some fields depend on the card.** Google shows a previous price only for discounted items, delivery and returns only when the merchant supplies them, and a rating only for products with reviews. Those fields are `null` when Google does not show them - nothing is invented.
- **Filters follow Google's own controls.** When you ask for a sort order, condition, on-sale or rating filter, the actor re-fetches the page through Google's control for that search (one extra page). If Google does not offer the control for a query, the run log says so and the rule is applied per row instead.
- **Every run ends with a plain-language status message** that says what happened and, when a run returns nothing, which input to change.

### How much does it cost to scrape Google Shopping?

This Actor uses Apify's **pay-per-event** pricing: you are charged only for the results it delivers, with no monthly rental and no start fee. The events it can charge are:

- **Product scraped** - Charged once per product offer written to your dataset - title, price, sale price, discount, merchant, delivery, returns, rating, review count, thumbnail and Google Shopping URL. Filtered-out and duplicate products are never charged.
- **Google Shopping results page** - Charged once per Google Shopping results page fetched (up to 60 products each), including the extra page needed when a Google-side sort or filter is applied. A search that returns no products is charged as one page.

The current price of each event is shown on the **Pricing** tab of this page. Set a maximum total charge on the run if you want a hard cap on spend, and use the input limits to control how much the Actor fetches.

### Automate & schedule

Run this Actor on autopilot and pull results into your own stack:

- **[Apify API](https://docs.apify.com/api/v2)** - start runs, fetch datasets and manage schedules over REST.
- **[apify-client for JavaScript](https://docs.apify.com/api/client/js/)** and **[apify-client for Python](https://docs.apify.com/api/client/python/)** - official SDKs.
- **[Schedules](https://docs.apify.com/platform/schedules)** - run it hourly, daily or weekly and keep your dataset current.
- **[Webhooks](https://docs.apify.com/platform/integrations/webhooks)** - trigger downstream actions (CRM import, Slack alert, email sequence) the moment a run finishes.

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

const client = new ApifyClient({ token: 'MY_APIFY_TOKEN' });

const run = await client.actor('scrapesage/google-shopping-scraper').call({
    // your input - see the Input section above
});

const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(`Got ${items.length} records`);
```

### Integrate with any app

Connect the dataset to thousands of apps - no code required:

- **[Make](https://docs.apify.com/platform/integrations/make)** - multi-step automation scenarios.
- **[Zapier](https://docs.apify.com/platform/integrations/zapier)** - push new records straight into your CRM or spreadsheet.
- **[Slack](https://docs.apify.com/platform/integrations/slack)** - get notified when a scheduled run finds something new.
- **[Google Drive / Sheets](https://docs.apify.com/platform/integrations/drive)** - auto-export every run to a spreadsheet.
- **[Airbyte](https://docs.apify.com/platform/integrations/airbyte)** - pipe results into your data warehouse.
- **[GitHub](https://docs.apify.com/platform/integrations/github)** - trigger runs from commits or releases.

### Use with AI assistants (MCP)

The output is clean, LLM-ready JSON. You can call this Actor from Claude, ChatGPT or any agent framework through the **[Apify MCP server](https://docs.apify.com/platform/integrations/mcp)** - describe the data you need and let the assistant run this Actor for you.

### Agent-ready: autonomous payments (x402 & Skyfire)

This actor is **agent-ready** — AI agents can discover it, run it, and **pay for it autonomously**, with no Apify account and no human in the loop. It uses [pay-per-event](https://docs.apify.com/platform/actors/publishing/monetize/pay-per-event) pricing and [limited permissions](https://docs.apify.com/platform/actors/development/permissions), so it qualifies for Apify's agentic-payment standards:

- **[x402](https://docs.apify.com/platform/integrations/x402)** — an open, HTTP-native payment protocol. Agents pay per run in USDC on the Base network directly through the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp) — no account, no API key.
- **[Skyfire](https://docs.apify.com/platform/integrations/skyfire)** — agent-to-service payments for fully autonomous AI-agent workflows.

Building an AI agent, MCP tool, or autonomous data pipeline? This scraper is ready to plug in and pay as it goes.

### Tips

- Narrow with price: `minPrice` / `maxPrice` are applied by Google itself, so you get 100 products inside the range rather than 100 products of which a few match.
- For deal hunting, combine `onSaleOnly` with `sortBy: "price_asc"`.
- For a daily watch on new listings, turn on monitor mode with a store name per product set and add a Schedule.
- Use the matching country edition: `gb` for pounds, `de` for euro prices from German merchants, `au` for Australian stores.

### FAQ

**Does it open the merchant's site?** No. It reads Google's public shopping results pages through Apify's Google search proxy. `productUrl` opens the product on Google Shopping, where every merchant offer is listed.

**Can I get all sellers for one product?** Each row is one offer as Google ranks it in the search results; `moreSellers` tells you when Google lists further merchants for the same product on its product page.

**Are prices live?** They are Google's prices at the moment of the run, in the currency of the chosen country edition.

**What happens on a Google challenge page or a network error?** The page is retried up to three times; if it still fails the run continues with the other searches and the status message names the failure. A run never fails hard on a transient block.

### Disclaimer

**This Actor is an independent tool and is not affiliated with, endorsed by, or sponsored by Google LLC or any of its subsidiaries. All trademarks mentioned are the property of their respective owners.**

"Google Shopping" and any related marks are the property of their respective owners and are used here only in a descriptive, nominative sense - to identify the publicly accessible website from which this Actor collects data. This Actor is not an official Google Shopping product, is not authorised or certified by Google LLC, and does not distribute Google Shopping software. It collects only publicly available information; you are responsible for ensuring your use of that data complies with applicable laws, regulations and the terms of the source website.

### Need help?

Open an issue on the Actor's **Issues** tab, or visit the [Apify help center](https://help.apify.com/). Feature requests are welcome - this Actor is actively maintained.

# Actor input Schema

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

One Google Shopping search per line, e.g. `iphone 15 case`, `running shoes men`, `espresso machine under 200`.

## `startUrls` (type: `array`):

Optional. Paste Google Shopping search URLs (google.com/search?q=...\&tbm=shop or udm=28). The query, country and language are read from each URL. Use the file/link option to import a list.

## `urlsFromFile` (type: `string`):

Optional. Either paste a block of Google Shopping URLs (one per line) or a single link to a .txt/.csv file (or a Google Sheet share link) that lists them.

## `countryCode` (type: `string`):

Google country edition - decides which merchants, currency and prices you see.

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

Interface language for the search (product titles come back as the merchant wrote them).

## `minPrice` (type: `integer`):

Only products priced at or above this amount (in the country edition's currency). Applied by Google and checked on every row.

## `maxPrice` (type: `integer`):

Only products priced at or below this amount (in the country edition's currency). Applied by Google and checked on every row.

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

Order of the results. Follows Google's own sort control on the results page; when Google does not offer it for a search, results stay in relevance order.

## `condition` (type: `string`):

New or used items only, when Google offers the filter for the search.

## `onSaleOnly` (type: `boolean`):

Only products Google marks as on sale (a crossed-out previous price or a discount badge). Applied through Google's filter when offered and checked on every row.

## `minRating` (type: `string`):

Only products rated at least this many stars. Rows without a rating are dropped when this is set.

## `maxResults` (type: `integer`):

Stop after this many products across all queries. Google returns up to 60 products per page and about 100 per search.

## `maxPagesPerQuery` (type: `integer`):

How many result pages (60 products each) to read per query. Google usually serves two pages per search.

## `monitorMode` (type: `boolean`):

Remember every product id seen in earlier runs and output only products not seen before. Pair with a Schedule to watch a search for newly listed products.

## `monitorStoreName` (type: `string`):

Key-value store that keeps the seen product ids (lowercase letters, numbers and dashes).

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

How many searches run at the same time.

## Actor input object example

```json
{
  "queries": [
    "iphone 15 case"
  ],
  "countryCode": "us",
  "language": "en",
  "sortBy": "relevance",
  "condition": "any",
  "onSaleOnly": false,
  "minRating": "any",
  "maxResults": 100,
  "maxPagesPerQuery": 3,
  "monitorMode": false,
  "monitorStoreName": "google-shopping-monitor",
  "maxConcurrency": 3
}
```

# Actor output Schema

## `results` (type: `string`):

Every product offer collected in this run.

# 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": [
        "iphone 15 case"
    ],
    "maxResults": 100
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapesage/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": ["iphone 15 case"],
    "maxResults": 100,
}

# Run the Actor and wait for it to finish
run = client.actor("scrapesage/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": [
    "iphone 15 case"
  ],
  "maxResults": 100
}' |
apify call scrapesage/google-shopping-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,scrapesage/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/hG78P8FRim4NR0Uua/builds/Hx3n4YcgAAhXjL9G0/openapi.json
