# Google Shopping Scraper (`tagadanar/google-shopping-scraper`) Actor

Scrape Google Shopping results: product title, price and currency, previous price and discount, seller, rating and review count, delivery and returns, thumbnail and Google product IDs. Any country. $1.50 per 1,000 products + $0.01 per results page.

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

## Pricing

from $1.05 / 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.
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?

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

Type a product search, get back the Google Shopping results as rows: the **product title, current price and currency, the previous price and discount when the product is on sale, the seller**, the star rating and review count, the delivery and returns lines, and the thumbnail, in the order Google shows them. Search the Google Shopping of any country to compare prices and sellers across markets.

**$1.50 per 1,000 products on Free ($1.05 on Gold), plus $0.01 per Google results page and $0.001 per run. Platform usage is included.** No API key, no login, no proxy needed.

### What you get

One flat row per product per search. Fields Google does not show for a product are null.

| Field | What it is |
| --- | --- |
| `query` | The search that found this product |
| `position` | Rank in the results for this search (1 = first product) |
| `title` | Product title as the seller lists it |
| `price` | Current price as a number (`24.99`) |
| `currency` | ISO currency code (`USD`, `EUR`, `GBP`...) |
| `priceText` | The price exactly as Google shows it (`$24.99`, `69,99 €`) |
| `oldPrice`, `oldPriceText` | The previous price, when Google shows the product on sale |
| `discountPercent` | Discount in percent (Google's badge, or computed from the two prices) |
| `merchant` | The seller Google shows on the card (`Best Buy`, `MediaMarkt DE`) |
| `moreSellers` | `true` when Google says other sellers carry the product too ("& more") |
| `rating` | Average star rating, out of 5 |
| `reviewCount` | Number of reviews (`6.8K` becomes `6800`) |
| `delivery` | The delivery line (`Free delivery by Tue`), when shown |
| `returns` | The returns line (`Free 30-day returns`), when shown |
| `stock` | The stock line (`In stock`), when shown |
| `thumbnailUrl` | Product image: a Google image URL, or for the first cards an inline `data:` image |
| `productId`, `catalogId`, `offerId`, `groupId` | Google's IDs for the product and the offer, to match the same product across runs |
| `section` | `grid` for the main results, or the title of the themed row it came from (`Budget-Friendly Wireless Earbuds`) |
| `page` | Google results page the product was on |
| `country` | Country of the Google Shopping searched |
| `retrievedAt` | When the row was fetched (ISO 8601) |

Example row:

```
{
  "query": "wireless earbuds",
  "position": 7,
  "title": "JLab Go Air Pop True Wireless Earbuds - Light Blue",
  "price": 24.99,
  "currency": "USD",
  "oldPrice": 27,
  "discountPercent": 7,
  "merchant": "JLab",
  "moreSellers": true,
  "rating": 4.3,
  "reviewCount": 6600,
  "delivery": "Free delivery",
  "returns": "30-day returns",
  "productId": "...",
  "section": "grid",
  "page": 1
}
```

### Who uses it

- **E-commerce and pricing teams** tracking what their products and their competitors' sell for on Google Shopping, which sellers show up and who runs a discount.
- **Brands and marketplace sellers** checking where they rank for their category searches, against which shops, and with which rating and review count.
- **Analysts and market researchers** sampling price levels, sale depth and seller mix for a product category across countries.

### Examples

Prefill: the first 40 products for one search.

```json
{"queries":["wireless earbuds"],"maxResults":40}
```

Several product searches on the German Google Shopping, prices in euros:

```json
{"queries":["mechanical keyboard","robot vacuum","espresso machine"],"maxResults":100,"country":"de"}
```

UK prices with Google's page text in English:

```json
{"queries":["air fryer 5l"],"country":"gb","language":"en"}
```

Inputs: `queries` (one per line, up to 100 per run), `maxResults` per search (default 40, up to 200), `country` (two-letter code, default `us`; sets the shops and the currency) and `language` (Google's interface language, default `en`).

### Results, zeros and errors

- Each search returns the products of Google's first results page (about 40-55 products: the main grid plus Google's themed rows), then about 40 more per page when you ask for more. A product listed twice on the page is delivered once.
- A search Google answers with "no match" is reported as "no match" in the run status. It costs one results page and no product charges.
- A search Google did not answer, or that the run clock stopped, is named in the status and is never reported as "no match". Pages Google did not answer are not charged.
- Invalid input (an empty search list, a bad country or language code) ends the run right away with an "Input error: ..." message and only the $0.001 start charge.

### Pricing

- $0.001 per run (start).
- $0.01 per Google results page read (one page holds about 40-55 products).
- $1.50 per 1,000 products on Free, with lower prices on higher Apify plans ($1.05 per 1,000 on Gold). Platform usage is included.

So 40 products for one search cost about $0.07 on Free. Set a maximum charge per run in Apify if you want a hard ceiling; the actor stops at it and says so in the status.

### FAQ

**Do I get the link to the seller's product page?** No. Google Shopping opens the seller's offer in its own product panel and does not put the seller's URL on the results page. Each row carries the seller name and Google's product and offer IDs instead.

**Do I get every seller's price for one product?** The card shows the price of the seller Google picks, and `moreSellers` tells you when other sellers carry it. The full seller list sits behind Google's product panel and is not part of this actor.

**Which countries work?** Set `country` to the two-letter code of the market you want (`us`, `gb`, `de`, `fr`...). The shops and the currency follow that market.

### Data use

The data is what Google Shopping shows publicly to anyone who searches. The actor does not log in and does not collect personal data. Product titles, images and prices belong to the sellers that publish them; you are responsible for how you use them.

# Changelog

This Actor's version history is a separate document: https://apify.com/tagadanar/google-shopping-scraper/changelog.md

# Actor input Schema

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

What you would type into Google Shopping, one search per line (a product name, a model number, a category). Up to 100 searches per run.

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

How many products to return for each search. The first results page holds about 40-55 products, each further page about 40. Default 40, max 200.

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

Two-letter country code of the Google Shopping you search (us, gb, de, fr, ca, au, in...). Sets the shops and the currency. Default us.

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

Language of Google's text on the page (delivery and returns lines, stock labels): en, de, fr, es, pt-BR... Product titles stay as the shops wrote them. Default en.

## Actor input object example

```json
{
  "queries": [
    "wireless earbuds"
  ],
  "maxResults": 40,
  "country": "us",
  "language": "en"
}
```

# Actor output Schema

## `dataset` (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"
    ],
    "maxResults": 40
};

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

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

```

## MCP server setup

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