---
title: "Answer"
description: "获取 Google 在搜索结果上方显示的 AI 概览，附带来源和周围的搜索结果。"
---

> Every apinoa docs page as markdown: https://apinoa.com/llms.txt (all in one file: https://apinoa.com/llms-full.txt; this API family in one file: https://apinoa.com/docs/answers/llms.txt)

```http
POST /v1/google-aio/answer
```

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

## 请求

```bash tab="cURL"
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"}'
```

```js tab="JavaScript"
const res = await fetch("https://gateway.apinoa.com/v1/google-aio/answer", {
  method: "POST",
  headers: { "x-api-key": process.env.APINOA_API_KEY, "content-type": "application/json" },
  body: JSON.stringify({ prompt: "best crm for small business" }),
});
const { success, data, error } = await res.json();
```

```python tab="Python"
import os

import requests

res = requests.post(
    "https://gateway.apinoa.com/v1/google-aio/answer",
    json={"prompt": "best crm for small business"},
    headers={"x-api-key": os.environ["APINOA_API_KEY"]},
    timeout=120,
)
body = res.json()
```

## 参数

| Parameter | Type | Required | Notes |
|---|---|---|---|
| `prompt` | string | yes | The question, as a person would type it. |
| `country` | string |  | The market the answer is asked from, as an ISO 3166 country code. Each engine's page lists its countries. |
| `include` | enum list |  | `page`: also return the answer as a self-contained HTML page, in `page`. |
| `language` | string |  | The language to answer in, as a language tag (`en`, `ko-KR`). |

The same parameters, and every response type, are in the OpenAPI document: https://apinoa.com/openapi.json

## 响应

在 `data` 中返回 [`Answer`](/docs/api-reference/answers/response-schema#answer)。 真实响应的节选：数组只保留前几项，长文本已截断。

```json
{
  "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…"
            }
          ]
        }
      ]
    }
  }
}
```

## 错误

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

全部错误代码见 [Errors](/docs/errors)。失败的调用不计费。

## 价格

**Price** $0.0012 per call. [List price](https://apinoa.com/en/pricing); the rate steps down above 1,000 calls a day.

## 说明

- Google 只对部分搜索显示 AI 概览。未显示时 `outcome` 为 `noAnswer`，搜索结果仍在 `results` 中返回。由于页面已读取，本次调用计费。
- 一次性回答：如需对话，请使用 [Google AI Mode](/docs/api-reference/google-ai-mode)。
