Apinoa Docs

Answer

获取 Google 在搜索结果上方显示的 AI 概览,附带来源和周围的搜索结果。

查看原始 .mdx
POST /v1/google-aio/answer

以 JSON 请求体发送输入。回答需要数秒,请将超时设为最多 120 秒。

请求

curl -X POST "https://gateway.apinoa.com/v1/google-aio/answer" \
  -H "x-api-key: $APINOA_API_KEY" \
  -H "content-type: application/json" \
  -d '{"prompt": "best crm for small business"}'

参数

参数类型必填说明
promptstring是The question, as a person would type it.
countrystringThe market the answer is asked from, as an ISO 3166 country code. Each engine's page lists its countries.
includeenum listpage: also return the answer as a self-contained HTML page, in page.
languagestringThe language to answer in, as a language tag (en, ko-KR).

这些参数及所有响应类型也写在OpenAPI 文档中。

响应

在 data 中返回 Answer。 真实响应的节选:数组只保留前几项,长文本已截断。

{
  "success": true,
  "data": {
    "engine": "google-aio",
    "prompt": "best crm for small business",
    "askedAt": "2026-10-30T01:03:13.154Z",
    "country": "US",
    "outcome": "answered",
    "blocks": [
      {
        "type": "paragraph",
        "markdown": "The best CRM for a small business depends on your primary goal, with **HubSpot**, **Pipedrive**, **GoHighLevel**, and **Zoho CRM** leading the top choices."
      },
      {"type": "heading", "level": 3, "markdown": "Top CRMs by Use Case"}
    ],
    "text": "The best CRM for a small business depends on your primary goal, with HubSpot, Pipedrive, GoHighLevel, and Zoho CRM leading the top choices.\n\nTop CRMs by Use Cas…",
    "markdown": "The best CRM for a small business depends on your primary goal, with **HubSpot**, **Pipedrive**, **GoHighLevel**, and **Zoho CRM** leading the top choices.\n\n###…",
    "citations": [{"start": 0, "end": 139, "sources": [0, 1]}, {"start": 478, "end": 544, "sources": [3, 4]}],
    "sources": [
      {
        "url": "https://www.youtube.com/watch?v=RIRyuq-AKOU&t=19",
        "title": "Best CRM Software for Small Business for 2026 (Top 5 Tested & Compared)",
        "site": "YouTube",
        "favicon": "https://encrypted-tbn2.gstatic.com/faviconV2?url=https://www.youtube.com&client=AIM&size=128&type=FAVICON&fallback_opts=TYPE,SIZE,URL",
        "snippet": "Best CRM Software for Small Business for 2026 (Top 5 Tested & Compared) that's why after working with over 7,000 small businesses.",
        "cited": true,
        "ext": {"origin": "https://www.youtube.com"}
      },
      {
        "url": "https://fayedigital.com/blog/best-crm-for-small-business/",
        "title": "Best CRM for Small Business: 2026 Guide - Faye Digital",
        "site": "fayedigital.com",
        "favicon": "https://encrypted-tbn2.gstatic.com/faviconV2?url=https://fayedigital.com&client=AIM&size=128&type=FAVICON&fallback_opts=TYPE,SIZE,URL",
        "snippet": "Originally published September 30, 2025 · Updated: July 2026 The best CRM for a small business is the one that fits your team toda...",
        "cited": true,
        "ext": {"origin": "https://fayedigital.com"}
      }
    ],
    "cards": [],
    "mentions": [],
    "suggestions": [],
    "results": [
      {
        "position": 1,
        "title": "10 Best CRM For Small Business Reviewed For 2026",
        "url": "https://croclub.com/tools/best-crm-for-small-business/",
        "site": "The CRO Club",
        "favicon": "data:image/png;base64,iVBORw0KGgoAAAANSU…",
        "snippet": "1. monday CRM — Best for customizable workflow 2. Attio — Best for automation capabilities 3. Salesflare — Best CRM for B2B small business ...",
        "publishedAt": "2026-07-31T00:00:00.000Z",
        "breadcrumbs": ["https://croclub.com", "Tools"]
      },
      {
        "position": 2,
        "title": "Best Small Business CRM Software for 2026: Top Picks",
        "url": "https://twelverays.agency/blog/the-best-small-business-crm-software-for-2023",
        "site": "Twelverays",
        "favicon": "data:image/png;base64,iVBORw0KGgoAAAANSU…",
        "snippet": "Zoho CRM gives small teams enterprise-grade customization at small-team prices. The free edition supports up to three users with the essentials, ...",
        "publishedAt": "2023-11-28T00:00:00.000Z",
        "breadcrumbs": ["https://twelverays.agency", "blog"]
      }
    ],
    "ext": {
      "videos": [
        {
          "title": "Top 5 CRM software for Small Business | Best Free & Paid ...",
          "url": "https://www.youtube.com/watch?v=G3zieFDnrO4",
          "image": "data:image/jpeg;base64,/9j/4AAQSkZJRgABA…",
          "platform": "YouTube",
          "channel": "Dan Kieft",
          "durationSec": 212
        }
      ],
      "other": [
        {
          "text": "Page Navigation 1 2 3 4 5 6 7 8 9 Next",
          "links": [
            {
              "title": "2",
              "url": "https://www.google.com/search?q=best+crm+for+small+business&sca_esv=1b1cc9915cf7410a&hl=en&gl=us&sxsrf=AKL5yDjUwz3OnD5UUgQHK9Z_Bxq-dflu7Q:1793322193204&ei=0ezja…"
            }
          ]
        }
      ]
    }
  }
}

错误

状态代码含义
400INVALID_PARAMS参数缺失、未知、超出范围,或该引擎不接受。消息中会指出是哪一个。
401UNAUTHORIZED缺少 x-api-key 请求头,或密钥已吊销或未知。
402INSUFFICIENT_BALANCE余额不足以支付本次调用。请在控制台充值。
429MARKETPLACE_SATURATED并发调用过多。请等待 Retry-After 秒后重试。
502UPSTREAM_ERROR引擎返回了无法使用的内容。请退避后重试。
502UPSTREAM_TIMEOUT引擎未能及时回答。请重试。
503SERVICE_UNAVAILABLE临时故障。请退避后重试。

全部错误代码见 Errors。失败的调用不计费。

价格

价格 每次调用 $0.0012。标价;单日调用超过 1,000 次后单价下调。

说明

  • Google 只对部分搜索显示 AI 概览。未显示时 outcome 为 noAnswer,搜索结果仍在 results 中返回。由于页面已读取,本次调用计费。
  • 一次性回答:如需对话,请使用 Google AI Mode。

本页内容