Google Shopping (via Apify)

io.github.retracnv1.0.0更新於 Oct 5, 2026

Google Shopping for AI agents: product prices, discounts, stores, ratings and reviews.

已驗證Streamable HTTP可網頁執行Business & CommerceWeb Search & Scraping

概覽

AI 產生的概覽

讓助理依關鍵字與國家搜尋 Google Shopping,取得商品價格、折扣、商店、評分與評論。

功能
這個遠端 MCP 伺服器封裝了一個 Apify Actor,可依搜尋詞與國家回傳 Google Shopping 結果。每筆結果包含商品標題、價格與幣別、原價與折扣、商店、配送與退貨資訊、評分、評論數、縮圖、Google 商品 ID 以及購物連結。一次搜尋大約回傳 50 個商品,也就是 Google 購物結果頁顯示的數量。
適用情境
適合需要取得商品目前零售價格、折扣、商店比較或評分的情境,例如比價、市場或競品研究,以及跨國家的購物比較。
執行需求
使用 mcp.apify.com 上的遠端 MCP 端點,不需要本機執行環境。需要 Apify API 權杖,透過 Authorization 標頭以 Bearer 形式傳送;註冊免費 Apify 帳號即可取得。依回傳的商品數量計費。
安裝前請注意
Authorization 標頭攜帶 Apify API 權杖,應視為機密,避免在共用設定中外洩。執行會消耗付費 Apify 額度,價格為每 1,000 個商品 1 美元,免費每月額度約可涵蓋 5,000 個商品。查詢與結果會經過 Apify 與 Google Shopping。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Google Shopping (via Apify),將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "google-shopping": {
      "type": "http",
      "url": "https://mcp.apify.com/?tools=automationnation/google-shopping-scraper"
    }
  }
}

README

Google Shopping Scraper & API: prices, stores and reviews

[Run on Apify]

Google Shopping Scraper is an Apify Actor that returns Google Shopping results for any search and country: product title, price, original price and discount, store, rating, review count, delivery, returns and Google product IDs, about 50 products per search in seconds, at $1 per 1,000 products. Use it from code, on a schedule or from AI agents through Apify's MCP server.

Price: $1 per 1,000 products ($0.80 on Gold and above) · Run it: https://apify.com/automationnation/google-shopping-scraper · Guide: https://retracn.github.io/automationnation-actors/google-shopping-scraper/

Quick facts

  • One row per product: title, price and currency, original price and discount, store, other stores flag, delivery, returns, rating, review count, thumbnail, Google product IDs and a Google Shopping link.
  • Any Google Shopping country; prices come in that country's currency.
  • Plain HTTP through Apify's Google SERP proxy: a search takes a few seconds.
  • Price: $1 per 1,000 products; Apify's free $5 monthly credit covers 5,000 products.

Example input

json
{  "queries": [    "wireless earbuds"  ],  "country": "us",  "maxResultsPerQuery": 50}

Run it from code

REST API

bash
curl -X POST "https://api.apify.com/v2/acts/automationnation~google-shopping-scraper/run-sync-get-dataset-items?token=$APIFY_TOKEN" \  -H "Content-Type: application/json" \  -d '{"queries": ["wireless earbuds"], "country": "us", "maxResultsPerQuery": 50}'

Python — see examples/python_example.py

python
# pip install apify-clientfrom apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")run = client.actor("automationnation/google-shopping-scraper").call(run_input={  "queries": [    "wireless earbuds"  ],  "country": "us",  "maxResultsPerQuery": 50})for item in client.dataset(run["defaultDatasetId"]).iterate_items():    print(item.get("title"), item.get("price"), item.get("store"), item.get("rating"))

JavaScript — see examples/node_example.mjs

js
// npm install apify-clientimport { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });const run = await client.actor('automationnation/google-shopping-scraper').call({  "queries": [    "wireless earbuds"  ],  "country": "us",  "maxResultsPerQuery": 50});const { items } = await client.dataset(run.defaultDatasetId).listItems();for (const item of items) console.log(item.title, item.price, item.store, item.rating);

Use it with AI agents (MCP)

Hosted MCP server URL (Claude, ChatGPT, Cursor and other clients with remote MCP support):

https://mcp.apify.com?tools=automationnation/google-shopping-scraper

Local config for Claude Desktop / Cursor — mcp/claude_desktop_config.json:

json
{  "mcpServers": {    "google-shopping-scraper": {      "command": "npx",      "args": [        "-y",        "@apify/actors-mcp-server",        "--tools",        "automationnation/google-shopping-scraper"      ],      "env": {        "APIFY_TOKEN": "YOUR_APIFY_TOKEN"      }    }  }}

FAQ

Is there an official Google Shopping API? Google's Content API manages your own Merchant Center products; it doesn't return Google Shopping search results. Google Shopping Scraper on Apify returns the results page as data through Apify's API, clients and MCP.

How many products per search? About 50, the number Google shows on a Shopping results page.

More from AutomationNation


This repository holds usage examples. The scraper itself runs on the Apify platform; you need a free Apify account and API token. Examples are MIT licensed.

來源:README.md,提交 4bf5d33

工具

0
工具後設資料尚未被收錄。

版本歷史

1
  1. v1.0.0最新Oct 5, 2026