Google AI Overviews API:回答与引用采集

从消费者使用的 Google AI Overviews 页面采集回答、引用和搜索数据,以 JSON 形式进行 GEO 衡量。

Google Search AI Overview with wireless earbud recommendations and supporting source cards.

响应结构

查看此引擎返回的回答正文、引用来源、搜索词等结构化字段。

  • aioverview.text, aioverview.sources: the overview and its cited pages. Check aioverview for null before reading either field.
  • organicResults: available organic search results, separate from the AI overview citations.
  • peopleAlsoAsk: related questions when present. Search panels are optional, so missing fields are not empty rankings.
{
  "task": {
    "taskType": "GOOGLE"
  },
  "response": {
    "sources": [
      {
        "url": "https://www.techgearlab.com/topics/audio/best-wireless-earbuds",
        "label": "TechGearLab (+1) - Related results",
        "position": 1
      },
      {
        "url": "https://www.rtings.com/headphones/reviews/best/wireless-earbuds",
        "label": "RTINGS.com (+1) - Related results",
        "position": 2
      },
      {
        "url": "https://www.forbes.com/sites/forbes-personal-shopper/article/the-best-wireless-earbuds/",
        "label": "Forbes (+1) - Related results",
        "position": 3
      },
      {
        "url": "https://www.cnet.com/tech/mobile/best-wireless-earbuds/",
        "label": "CNET - Related results",
        "position": 4
      },
      {
        "url": "https://www.youtube.com/watch?v=23My2YGjKzE",
        "label": "1:40",
        "position": 5
      },
      {
        "url": "https://www.youtube.com/watch?v=JLGn9NLfE6g&t=496",
        "label": "Best Running Earbuds 2026: 5 That Stay Put Through Any ..., Video, watch on YouTube",
        "position": 6
      }
    ],
    "peopleAlsoAsk": [
      {
        "question": "What is the 60-60 rule for earbuds?"
      },
      {
        "question": "What are the best wireless earbuds for home office use?"
      },
      {
        "question": "Which earbuds are best while driving?"
      },
      {
        "question": "Which earbuds are best for daily use?"
      }
    ],
    "aioverview": {
      "text": "The best wireless earbuds for commuting are the Sony WF-1000XM6\nGo to product viewer dialog for this item.\n, which provide incredible active noise cancellation (ANC) to silence loud transit sounds like subway rumbles and traffic.\nTop Commuter Picks\nBest Overall for Noise Blocking: Sony WF-1000XM6\nGo to product viewer dialog for this item.\noffer top-tier noise isolation, rich customizable sound, a great microphone for calls on the go, and over 8 hours of battery life with ANC on.",
      "sources": [
        {
          "url": "https://www.techgearlab.com/topics/audio/best-wireless-earbuds",
          "label": "TechGearLab (+1) - Related results",
          "position": 1
        },
        {
          "url": "https://www.rtings.com/headphones/reviews/best/wireless-earbuds",
          "label": "RTINGS.com (+1) - Related results",
          "position": 2
        },
        {
          "url": "https://www.forbes.com/sites/forbes-personal-shopper/article/the-best-wireless-earbuds/",
          "label": "Forbes (+1) - Related results",
          "position": 3
        },
        {
          "url": "https://www.cnet.com/tech/mobile/best-wireless-earbuds/",
          "label": "CNET - Related results",
          "position": 4
        },
        {
          "url": "https://www.youtube.com/watch?v=23My2YGjKzE",
          "label": "1:40",
          "position": 5
        },
        {
          "url": "https://www.youtube.com/watch?v=JLGn9NLfE6g&t=496",
          "label": "Best Running Earbuds 2026: 5 That Stay Put Through Any ..., Video, watch on YouTube",
          "position": 6
        }
      ]
    },
    "text": "The best wireless earbuds for commuting are the Sony WF-1000XM6\nGo to product viewer dialog for this item.\n, which provide incredible active noise cancellation (ANC) to silence loud transit sounds like subway rumbles and traffic.\nTop Commuter Picks\nBest Overall for Noise Blocking: Sony WF-1000XM6\nGo to product viewer dialog for this item.\noffer top-tier noise isolation, rich customizable sound, a great microphone for calls on the go, and over 8 hours of battery life with ANC on."
  }
}

分析品牌提及和引用

重复运行相同问题,按市场比较品牌提及和引用来源的变化。

使用 API 采集回答

使用 API 密钥提交问题,并保存已完成任务的 response。

curl -X POST https://api.querying.ai/v1/async/task \
  -H "Authorization: Bearer $QUERYING_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "taskType": "GOOGLE",
  "payload": {
    "query": "通勤无线耳机推荐",
    "country": "CN"
  }
}'

读取已完成的响应

使用 task.id 获取结果,读取已完成 response 中的引擎专属字段。

curl https://api.querying.ai/v1/async/task/TASK_ID \
  -H "Authorization: Bearer $QUERYING_API_KEY"

费用与使用范围

按套餐计算的请求费用
套餐单次1,000 次
Basic≈ $0.00400≈ $4.00
Max≈ $0.00190≈ $1.90

这是使用完月度套餐积分时的换算费用。

已完成请求按引擎消耗积分。失败请求不收费。

解读结果时的限制

回答和可选字段会因每次运行而变化。不要把单次回答当作整个市场的代表。

API 文档

相关功能