Google AI Overview Scraper

scraper.overview は、豊富な商品データ、引用、広告、Web ソースを含む包括的な Google AI Overview のレスポンスを取得し、異なる地域での検索結果の分析を支援します。

リクエスト例

curl '{api_host}/api/v2/scraper/execute' \
--header 'Content-Type: application/json' \
--header 'x-api-token: {you_api_key}' \
--data '{
    "actor": "scraper.overview",
    "input": {
        "prompt": "Recommended attractions in New York",
        "country": "US",
        "shopping": true
    },
    "webhook": {
        "url": "http://www.youwebhook.com"
    }
}'

ボディパラメータ

パラメータ必須説明
promptstringはいGoogle AI Overview に送信するプロンプト。
countrystringはい国または地域。
shoppingbooleanいいえショッピングデータを取得するかどうか。デフォルトは true。有効にすると、products フィールドに商品情報が返されます。

レスポンスフィールド

注: レスポンスにショッピングデータ(products フィールド)が含まれる場合、API コールは基本料金の 2 倍で課金されます。これは、複数のソースから商品情報を抽出および処理するために追加のリソースオーバーヘッドが必要となるためです。

データフィールド Source: AI Overview 内の商品

typeproduct_positiondescription
productrecommended推奨商品
productinline_linkインラインリンク商品
productreference参照商品
ads productnull広告商品

データフィールド Products: Google スポンサー商品

データフィールド Ads: Google 広告(Serp)

パラメータ説明
contentstringMarkdown 形式の回答本文。
rawtextstring元の回答データ。
metadataobjectメタデータ情報。
metadata.rawUrlstringWeb ページの URL。
is_overview_shoppingbooleanショッピングデータが埋め込まれているかどうか。
productsarray商品データ。
products.deliverystring配送サービス。
products.discountstring割引情報。
products.imgstring商品画像の URL。
products.orig_pricestring元の価格。
products.ratingstring評価。
products.review_countstringレビュー数。
products.sellerstring販売者。
products.urlstring商品詳細ページの URL。
products.storesarray店舗情報。
products.stores.delivery_feestring配送料。
products.stores.extensionsarray追加サービス。
products.stores.linkstring商品リダイレクトリンク。
products.stores.namestring店舗名。
products.stores.pricestring販売価格。
products.ratingsstring評価。
products.tagstringタグ。
products.titlestring商品タイトル。
products.total_pricestring合計価格。
sourcearray引用ソース。
source.faviconstringWeb サイトのファビコン。
source.snippetstring引用記事のスニペット。
source.thumbnailstring引用記事のサムネイル画像。
source.titlestring引用タイトル。
source.typestringソースタイプ。
source.urlstring引用元の URL。
source.website_namestringWeb サイト名。
source.html_indexintMarkdown コンテンツ内の推奨商品ショッピングカードの位置を示します。
source.storesarray店舗情報。
source.stores.delivery_feestring配送料。
source.stores.extensionsarray追加サービス。
source.stores.linkstring商品リダイレクトリンク。
source.stores.namestring店舗名。
source.stores.pricestring販売価格。
web_sourcearrayWeb 検索ソース。
web_source.faviconstringWeb サイトのファビコン。
web_source.snippetstring引用記事のスニペット。
web_source.thumbnailstring引用記事のサムネイル画像。
web_source.titlestring引用タイトル。
web_source.urlstring引用元の URL。
web_source.website_namestringWeb サイト名。
web_source.storesarray店舗情報。
web_source.stores.delivery_feestring配送料。
web_source.stores.extensionsarray追加サービス。
web_source.stores.linkstring商品リダイレクトリンク。
web_source.stores.namestring店舗名。
web_source.stores.pricestring販売価格。
adsarray広告。
ads.section_titlestringセクションタイトル。
ads.typestringタイプ。
ads.titlestringタイトル。
ads.urlstringWeb ページの URL。
ads.google_ad_urlstring広告リンク。
ads.display_urlstring表示 URL。
ads.advertiserstring広告主。
ads.descriptionstring説明。
ads.tracking_tokenstringトラッキングトークン。
ads.slotstring広告スロット番号。
ads.pricestring価格。
ads.orig_pricestring元の価格。
ads.sellerstring販売者。
ads.ratingstring評価。
ads.review_countstringレビュー数。
ads.imgstring商品画像の URL。
ads.site_linksarrayWeb サイトリンク。
ads.site_links.titlestringタイトル。
ads.site_links.urlstringWeb ページの URL。
ads.site_links.google_ad_urlstring広告リンク。