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

Scrape Google Shopping results: product title, price, old price, currency, seller, rating, review count & product URL. Compare prices across sellers for any product. 190+ countries. Clean JSON/CSV for price intelligence & e-commerce. No API keys.

- **URL**: https://apify.com/santhej/google-shopping-scraper.md
- **Developed by:** [Santhej Kallada](https://apify.com/santhej) (community)
- **Categories:** E-commerce, MCP servers
- **Stats:** 3 total users, 3 monthly users, 100.0% runs succeeded, NaN bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

Pay per event

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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use 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 — Products, Prices, Sellers & Ratings

**Compare prices across every seller on Google Shopping. Scrape product title, price, old price, seller, rating, and review count for any product — clean, structured, and API-ready.**

The fastest way to monitor competitor pricing, build a price-comparison feed, or research a product market. No proxies, no captchas, no scraping to maintain.

---

### What you get per offer

- 🛍️ **Product title** — the listing name.
- 💲 **Price, old price & on-sale flag** — current price plus discounts when shown.
- 🚚 **Delivery / shipping info** — delivery message and price.
- 🏬 **Seller & condition** — which merchant, and new/used/refurbished.
- ⭐ **Rating & review count** — product social proof.
- 🆔 **Product ID & URL** — link to the listing (and the ID for seller comparison).

### Seller price comparison

Pass **`compareProductIds`** (product IDs from the search output) to pull every seller offering that product — **base price, shipping, tax, total price, condition, and availability** — perfect for finding the cheapest merchant.

### Filters

- **Price range** — `priceMin` / `priceMax`.
- **Condition** — new, used, or refurbished.
- **On sale only** — discounted items only.

### Perfect for

- **Price monitoring & repricing** — track competitors across sellers.
- **Price-comparison sites** — build a structured product feed.
- **Market & product research** — see who sells what, and for how much.
- **Deal & coupon sites** — surface discounts (old vs current price).
- **AI agents** — feed structured shopping data into automated pipelines and MCP tools.

### How to use it

1. Enter your **product keywords**.
2. Pick **country** + **language**, optional **price range**.
3. Run it — export JSON/CSV or pull via the API.

#### Example input — search

```json
{ "queries": ["running shoes", "air fryer"], "locationCode": "2840", "languageCode": "en", "priceMin": 50, "priceMax": 200, "condition": "new", "onSale": true }
````

#### Example input — seller comparison

```json
{ "compareProductIds": ["329494674847835874"], "locationCode": "2840", "languageCode": "en" }
```

#### Example output — product offer

```json
{
  "record_type": "product",
  "query": "running shoes",
  "title": "Adidas Men's Adizero Evo SL",
  "price": 149.99,
  "old_price": null,
  "on_sale": false,
  "currency": "USD",
  "seller": "DICK'S Sporting Goods",
  "delivery_message": "Free delivery",
  "condition": "new",
  "rating": 4.6,
  "reviews_count": 1200,
  "product_id": "329494674847835874",
  "url": "https://google.com/shopping/product/..."
}
```

#### Example output — seller offer (comparison)

```json
{
  "record_type": "seller_offer",
  "product_id": "329494674847835874",
  "seller": "Target",
  "base_price": 129.99,
  "shipping_price": 0,
  "tax": 8.5,
  "total_price": 138.49,
  "currency": "USD",
  "condition": "new",
  "availability": "In stock",
  "url": "https://www.target.com/..."
}
```

### Pricing

Pay per result returned — no monthly fee, no minimum. Product offers and seller-comparison offers are each billed per result.

### FAQ

**Can I compare prices across sellers?** Yes — each offer includes the seller, so you can compare the same product across merchants.

**Which countries?** 190+ countries and major languages.

**Do I need proxies?** No — everything is handled.

**Good for AI agents?** Yes — clean JSON, ideal for MCP servers, n8n, Make, and LLM agents.

***

*Tags: google shopping scraper, price comparison, product prices, shopping api, ecommerce scraper, price monitoring, competitor pricing, product feed, retail data.*

# Actor input Schema

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

Products to search on Google Shopping, e.g. ‘running shoes’, ‘air fryer’. One per line. Up to 100 per run.

## `compareProductIds` (type: `array`):

Google Shopping product IDs to compare prices across all sellers (base price, shipping, tax, total, condition, availability). Product IDs appear in the search output. One per line, up to 50.

## `locationCode` (type: `string`):

Target country. Default United States (2840). UK 2826, Canada 2124, Australia 2036, Germany 2276.

## `languageCode` (type: `string`):

Language code (e.g. en, de, fr).

## `priceMin` (type: `integer`):

Only return products at or above this price.

## `priceMax` (type: `integer`):

Only return products at or below this price.

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

Filter by item condition.

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

Only return products currently on sale (discounted).

## Actor input object example

```json
{
  "queries": [
    "running shoes",
    "air fryer"
  ],
  "locationCode": "2840",
  "languageCode": "en",
  "condition": "",
  "onSale": false
}
```

# Actor output Schema

## `dataset` (type: `string`):

All scraped Google Shopping product offers.

## `summary` (type: `string`):

Queries and product counts.

# 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": [
        "running shoes",
        "air fryer"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("santhej/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": [
        "running shoes",
        "air fryer",
    ] }

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

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).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": [
    "running shoes",
    "air fryer"
  ]
}' |
apify call santhej/google-shopping-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=santhej/google-shopping-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Google Shopping Scraper - Products, Prices & Sellers",
        "description": "Scrape Google Shopping results: product title, price, old price, currency, seller, rating, review count & product URL. Compare prices across sellers for any product. 190+ countries. Clean JSON/CSV for price intelligence & e-commerce. No API keys.",
        "version": "0.0",
        "x-build-id": "NbIkEg49edfZevu8q"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/santhej~google-shopping-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-santhej-google-shopping-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/santhej~google-shopping-scraper/runs": {
            "post": {
                "operationId": "runs-sync-santhej-google-shopping-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/santhej~google-shopping-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-santhej-google-shopping-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "properties": {
                    "queries": {
                        "title": "Search keywords",
                        "maxItems": 100,
                        "type": "array",
                        "description": "Products to search on Google Shopping, e.g. ‘running shoes’, ‘air fryer’. One per line. Up to 100 per run.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "compareProductIds": {
                        "title": "Compare sellers for product IDs (optional)",
                        "maxItems": 50,
                        "type": "array",
                        "description": "Google Shopping product IDs to compare prices across all sellers (base price, shipping, tax, total, condition, availability). Product IDs appear in the search output. One per line, up to 50.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "locationCode": {
                        "title": "Country",
                        "enum": [
                            "2840",
                            "2826",
                            "2124",
                            "2036",
                            "2276",
                            "2250",
                            "2380",
                            "2724"
                        ],
                        "type": "string",
                        "description": "Target country. Default United States (2840). UK 2826, Canada 2124, Australia 2036, Germany 2276.",
                        "default": "2840"
                    },
                    "languageCode": {
                        "title": "Language",
                        "type": "string",
                        "description": "Language code (e.g. en, de, fr).",
                        "default": "en"
                    },
                    "priceMin": {
                        "title": "Min price (optional)",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Only return products at or above this price."
                    },
                    "priceMax": {
                        "title": "Max price (optional)",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Only return products at or below this price."
                    },
                    "condition": {
                        "title": "Condition (optional)",
                        "enum": [
                            "",
                            "new",
                            "used",
                            "refurbished"
                        ],
                        "type": "string",
                        "description": "Filter by item condition.",
                        "default": ""
                    },
                    "onSale": {
                        "title": "On sale only (optional)",
                        "type": "boolean",
                        "description": "Only return products currently on sale (discounted).",
                        "default": false
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
