Google AI Overview 爬虫

scraper.overview 可捕获全面的 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"
    },
    "webhook": {
        "url": "http://www.youwebhook.com"
    }
}'

请求体参数

参数类型是否必填描述
promptstring发送至 Google AI Overview 的提示词。
countrystring国家或地区。

响应字段

数据字段 Source: AI Overview 内部的商品

typeproduct_positiondescription
productrecommended推荐商品
productinline_link内链商品
productreference参考商品
ads productnull广告商品

数据字段 Products: Google 赞助商品

数据字段 Ads: Google 广告 (SERP)

参数类型是否必填描述
contentstringMarkdown 格式的回复正文。
rawtextstring原始回复数据。
metadataobject元数据信息。
metadata.rawUrlstring网页 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.faviconstring网站图标。
source.snippetstring引用文章摘要。
source.thumbnailstring引用文章封面图。
source.titlestring引用标题。
source.typestring来源类型。
source.urlstring引用原始 URL。
source.website_namestring网站名称。
source.html_indexint表示推荐商品购物卡在 Markdown 内容中的位置。
source.storesarray店铺信息。
source.stores.delivery_feestring配送费。
source.stores.extensionsarray附加服务。
source.stores.linkstring商品跳转链接。
source.stores.namestring店铺名称。
source.stores.pricestring售价。
web_sourcearray网络搜索来源。
web_source.faviconstring网站图标。
web_source.snippetstring引用文章摘要。
web_source.thumbnailstring引用文章封面图。
web_source.titlestring引用标题。
web_source.urlstring引用原始 URL。
web_source.website_namestring网站名称。
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.urlstring网页 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_linksarray网站链接。
ads.site_links.titlestring标题。
ads.site_links.urlstring网页 URL。
ads.site_links.google_ad_urlstring广告链接。