Google AI Mode スクレイパー

scraper.aimode Google AI Mode の応答を、レンダリングされたHTML、生のURL、および詳細な引用データとともにミラーリングするため、結果が地域ごとにどのように異なるかを監査できます。

リクエストの例

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

ボディパラメータ

パラメータ型必須説明
promptstringはいGoogle AI Mode に送信されたプロンプト。
countrystringはい国または地域コード。
shoppingbooleanいいえショッピングデータを取得するかどうか。デフォルトは true。有効にすると、レスポンスは products フィールドに追加の商品情報(商品クラスターの背後にある販売業者のオファー、直販店のURL、価格、分割払い、在庫、配送、返品など)を含みます。
locationstringいいえ地理的ターゲット結果用のGoogle標準ロケーション名(例:New York,New York,United States)。サポートされているすべてのロケーションについては、 Googleのジオターゲットリスト を参照してください。uuleパラメータとは相互に排他的です。
uulestringいいえ正確な地理的ターゲティングのための事前エンコードされた Google UULE 文字列。ロケーション名の代わりに事前に作成された UULE 値を使用する場合にこのパラメータを使用します。location と相互に排他的です。
urlstringいいえGoogle AIモードの完全なアクセスリンク。 すべての他のパラメータと相互に排他的です。 このパラメータが指定された場合、他のすべてのリクエストパラメータは不要となり、指定されても自動的に無視されます。
should_fetch_share_linkbooleanいいえ共有リンクを取得します。

レスポンスフィールド

注: 設定で shopping を有効にし、レスポンスにこの追加の商品情報が含まれる場合、API呼び出しには 基本料金の2倍が課金されます。これは、複数のソースから商品情報を抽出して処理するために追加のリソースが必要となるためです。

パラメータ型説明
result_textstring回答本文。
result_mdstringMarkdown 形式の回答本文。
result_htmlstringHTML版の回答。
raw_urlstringオリジナルの Google AI Mode URL。
citationsarray引用ソース。
citations.snippetstring引用された記事のスニペット。
citations.thumbnailstring引用された記事のカバー画像。
citations.titlestring引用タイトル。
citations.urlstring引用のURL。
citations.website_namestringウェブサイト名。
citations.faviconstringウェブサイトのファビコン。
search_resultarrayGoogle が参照したオプションの検索結果。
search_result.snippetstring検索結果のスニペット。
search_result.thumbnailstring検索結果のカバー画像。
search_result.titlestring検索結果のタイトル。
search_result.urlstring検索結果のリンク。
search_result.website_namestring検索結果のウェブサイト名。
productsarrayGoogle AI Mode が返した製品情報。
products.thumbnailsarray商品サムネイル画像URLの配列。
products.titlestring製品タイトル。
products.urlstring製品ページのURL。
products.brandstring商品ブランド名。
products.reviewsintレビュー件数。
products.ratingstring平均評価スコア。
products.price_rangestring価格帯の例: $2,499.99。
products.storesarrayストアオファーの配列。
products.stores.namestringストア名。
products.stores.linkstringストアの商品リンク。
products.stores.titlestringストアでの商品タイトル。
products.stores.ratingsstringストア評価の例: 4.3/5。
products.stores.extensionsarrayその他の情報(在庫、配送、返品)。
products.stores.pricestringストア価格。
products.stores.delivery_feestring配送料情報。
products.stores.total_pricestring料金を含む合計価格。
products.about_the_productobject詳細な商品情報。
products.about_the_product.titlestringセクションタイトル。
products.about_the_product.linkstring商品ページリンク。
products.about_the_product.displayed_linkstring表示されるドメイン名。
products.about_the_product.featuresarray商品の特徴/仕様。
products.about_the_product.features.titlestring特徴名。
products.about_the_product.features.valuestring特徴値。
products.about_the_product.descriptionstring商品説明。
products.variantsarray商品バリエーションオプション。
products.variants.titlestringバリエーションカテゴリタイトル。
products.variants.itemsarrayバリエーションオプションリスト。
products.variants.items.namestringバリエーションオプション名。
products.variants.items.selectedboolこのバリエーションが選択されているかどうか。
products.variants.items.availabilityboolバリエーションの利用可能状態。
products.ratingsarray評価分布データ。
products.ratings.starsint星評価レベル(1~5)。
products.ratings.amountintこのレベルの評価件数。
products.user_reviewsarrayユーザー口コミデータ。
products.user_reviews.textstring口コミ本文。
products.user_reviews.sourcestring口コミ掲載プラットフォーム。
products.user_reviews.ratingintユーザー評価スコア。
products.user_reviews.datestring口コミ日付。
products.user_reviews.namestringレビュアー名。
products.user_reviews.titlestring口コミタイトル。
share_urlstring共有リンク。