mcpField
G
Google Shopping (via Apify)

Google Shopping (via Apify)

リモート
apify.comビジネス・マーケティング03 週間前に更新
リポジトリ公式サイト

Google Shopping (via Apify) について

Apify Actorとして、検索語と国を指定し、価格、販売店、評価、配送情報などのGoogle Shopping商品データを取得します。開発者やエージェントが商品を比較したり、定期実行で新着商品や価格変動を追跡したりできます。

主な機能

  1. 01商品価格、割引、販売店情報
  2. 02評価、レビュー、配送情報
  3. 03検索語と国を指定した検索
  4. 04新着商品と価格変動の追跡

活用シーン

  1. 01販売店間の商品価格比較
  2. 02商品の価格変動を継続的に監視
  3. 03商品評価と配送オプションの確認

MCP 対応

Apifyのホスト型MCPサーバーから利用でき、MCPクライアントやAIエージェントがShoppingの検索結果を取得できます。

設定

リモートサーバーはインストール不要です。クライアントを選んで設定をコピーするか、ワンクリックで導入できます。

エンドポイントhttps://mcp.apify.com/?tools=automationnation/google-shopping-scraper
インストールコマンドをコピー
Claude CodeTerminal
Cursor.cursor/mcp.json
VS Code.vscode/mcp.json
Claude Desktopclaude_desktop_config.json
Windsurf~/.codeium/windsurf/mcp_config.json

コマンドはターミナルで実行し、JSON は各クライアントの MCP 設定に貼り付けて再起動します。認可が必要なサーバーは初回接続時にログインを求めます。

すべてのエンドポイント
Streamable HTTPhttps://mcp.apify.com/?tools=automationnation/google-shopping-scraper認証が必要

ツール

詳細

Google Shopping スクレイパー&API:価格、ストア、レビュー

Apify で実行

Google Shopping Scraper は、あらゆる検索キーワードと国について、商品名、価格、元の価格と割引額、ストア、評価、レビュー件数、配送、返品、Google 商品 ID を返す Apify Actor です。1 回の検索で約 50 件の商品を数秒で取得でき、料金は 1,000 件あたり $1 です。コードから、スケジュールを設定して、または Apify の MCP サーバーを介して AI エージェントから利用できます。

料金: 1,000 件あたり $1(Gold 以上では $0.80) · 実行: https://apify.com/automationnation/google-shopping-scraper · ガイド: https://retracn.github.io/automationnation-actors/google-shopping-scraper/

基本情報

  • 商品ごとに 1 行で、商品名、価格と通貨、元の価格と割引額、ストア、他のストアの有無、配送、返品、評価、レビュー件数、サムネイル、Google 商品 ID、Google Shopping のリンクを表示します。
  • Google Shopping のあらゆる国に対応し、価格はその国の通貨で取得されます。
  • Apify の Google SERP プロキシを介した通常の HTTP 通信を使用するため、検索には数秒かかります。
  • 価格の追跡:「Only new results」をオンにすると、スケジュール実行のたびに、前回の実行以降の新しい商品と価格変更のみが(ストアごとに)返され、以前の価格も表示されます。ガイド:https://retracn.github.io/automationnation-actors/guides/google-shopping-price-tracker/
  • 料金:1,000 件あたり $1。Apify の毎月の無料クレジット $5 で、5,000 件を取得できます。

入力例

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

コードから実行する

REST API

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 — examples/python_example.py を参照してください

# pip install apify-client
from 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 — examples/node_example.mjs を参照してください

// npm install apify-client
import { 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);

AI エージェントで利用する(MCP)

ホスト型 MCP サーバーの URL(Claude、ChatGPT、Cursor、およびリモート MCP に対応するその他のクライアント向け):

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

Claude Desktop / Cursor のローカル設定 — mcp/claude_desktop_config.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

Google Shopping の公式 API はありますか? Google の Content API は、自身の Merchant Center の商品を管理するものであり、Google Shopping の検索結果は返しません。Apify の Google Shopping Scraper は、Apify の API、クライアント、MCP を通じて、検索結果ページをデータとして返します。

検索 1 回あたり、何件の商品を取得できますか? 約 50 件です。Google が Shopping の検索結果ページに表示する件数と同じです。

価格の変更を追跡できますか? はい。「Only new results」をオンにしてスケジュールを設定してください。実行のたびに、前回の実行以降の新しい商品と価格変更が返され、price_down または price_up として示されます。以前の価格も表示されます。

AutomationNation のその他のコンテンツ


このリポジトリには使用例が含まれています。スクレーパー自体はApify プラットフォームで実行されます。無料の Apify アカウントと API トークンが必要です。使用例は MIT ライセンスです。

コメント

MCP は初めてですか?

プロトコルの概要から最初のサーバーの導入まで、よくある疑問にまとめて答えます。

AI アプリケーションが外部のツールやデータソースに統一的な方法で接続するためのオープンなプロトコルです。クライアントはモデルとの対話を担い、MCP サーバーはツール・リソース・プロンプトテンプレートを提供します。標準メッセージでやり取りするため、1 つのサーバーを複数のクライアントで再利用できます。