# 取任务的回答

GET/v1/answers

取一个任务的回答。任务还没结束时，也能先取已有的。

## 价格

- 价格: 不收费

这个接口不收费，所以不接受 Idempotency-Key 和 X-Max-Price；带了会返回 invalid_params。

## 参数

`job_id` 编号（UUID） 必填

任务编号。

`cursor` 文字

上一页返回的 next_cursor。不带就从第一页开始。最多 200 个字符。

## 请求头

`Authorization` 必填

Bearer 加你的 API Key。

## 返回

成功时返回 HTTP 200，数据在 `data.items`，列表里每一项是一个 `Answer`。字段一直都在： `[]` 是这次没有， `null` 是平台不提供或看不出来。 一次返回一页， `page.next_cursor` 不是 null 就还有下一页。

| 字段 | 类型 | 说明 |
| --- | --- | --- |
| `id` | `string` | 回答编号 |
| `job_id` | `string` | 所属的任务 |
| `engine` | `string` | 平台编号 |
| `prompt` | `string` | 问的问题 |
| `sample` | `{ index: integer, of: integer }` | 这道题在这个平台的第几次，一共几次 |
| `status` | `"pending" \| "answered" \| "no_answer" \| "refused" \| "failed"` | pending 还没完成；answered 有回答；no_answer 这次没有出现 AI 回答；refused AI 拒绝回答；failed 没采到。前三种结果收费，failed 不收费 |
| `failure_reason` | `"upstream_failed" \| "timeout" \| "invalid_content" \| "region_mismatch" \| "account_closed" \| "key_closed" \| null` | 没采到的原因，只在 failed 时有。都不收费 |
| `search_triggered` | `boolean \| null` | 回答前有没有搜索。null 是看不出来，不等于没搜 |
| `text` | `string \| null` | 去掉引用编号的回答正文 |
| `markdown` | `string \| null` | 保留原格式的回答正文。引用编号的写法各平台不同，不一定和 citations.position 对应 |
| `model` | `string \| null` | 平台显示的模型名 |
| `citations` | `Citation[] \| null` | 来源列表。能分清时，会标出用在回答里还是只找到 |
| `search_queries` | `string[] \| null` | AI 回答前实际搜索的词 |
| `search_steps` | `SearchStep[] \| null` | 每次搜索用了哪些词、找到了哪些网页 |
| `follow_ups` | `string[] \| null` | AI 推荐接着问的问题 |
| `products` | `Product[] \| null` | 回答里推荐的商品 |
| `images` | `Image[] \| null` | 回答里的图片 |
| `videos` | `Video[] \| null` | 回答里的视频 |
| `live_rooms` | `LiveRoom[] \| null` | 回答里的直播间 |
| `ads` | `Ad[] \| null` | 回答旁边的广告 |
| `entities` | `Entity[] \| null` | 平台自己标出的品牌、商品等名称 |
| `reasoning` | `string \| null` | 平台展示出来的思考过程 |
| `search_page` | `SearchPage \| null` | 同一次采集里的搜索结果页 |
| `ext` | `object` | 只有个别平台才有的字段 |
| `conditions` | `Conditions` | 采集条件：入口、登录状态、要求的地区和实际的地区 |
| `channel` | `Channel` | 走的哪条线路。统计按线路分开 |
| `evidence` | `Evidence` | 存了哪些证据，什么时候采的，保存到什么时候 |

### 里面的对象

**Citation 12 个字段**

| 字段 | 类型 | 说明 |
| --- | --- | --- |
| `position` | `integer` | 排在第几个，从 1 开始 |
| `url` | `string` | 真实网址，跳转链接已经还原 |
| `domain` | `string` | 域名 |
| `title` | `string \| null` | 标题 |
| `snippet` | `string \| null` | 摘要 |
| `site_name` | `string \| null` | 网站名 |
| `published_at` | `string \| null` | 发布时间。平台没给就是 null |
| `author` | `string \| null` | 作者 |
| `platform` | `string \| null` | 来源所在的平台，例如某个博客平台 |
| `quotes` | `string[] \| null` | 来源里被用到的原文 |
| `anchors` | `Anchor[] \| null` | 这条来源对应回答里的哪一段 |
| `cited` | `boolean \| null` | true 用在了回答里；false 只在搜索时找到；null 看不出来 |

**Anchor 2 个字段**

| 字段 | 类型 | 说明 |
| --- | --- | --- |
| `text` | `string \| null` | 这条来源对应的那段回答，不是来源的原文 |
| `offset` | `integer \| null` | 在 markdown 里的字符位置 |

**SearchStep 2 个字段**

| 字段 | 类型 | 说明 |
| --- | --- | --- |
| `queries` | `string[]` | 这次搜索用的词 |
| `results` | `({ url: string, title: string \| null })[]` | 这次搜索找到的网页 |

**Product 21 个字段**

| 字段 | 类型 | 说明 |
| --- | --- | --- |
| `position` | `integer` | 排在第几个，从 1 开始 |
| `title` | `string \| null` | 标题 |
| `url` | `string \| null` | 网址 |
| `price` | `number \| null` | 价格。读得准才给；打码的价格和价格区间是 null |
| `currency` | `string \| null` | 货币 |
| `price_text` | `string \| null` | 平台显示的价格原文 |
| `original_price` | `number \| null` | 原价 |
| `seller` | `string \| null` | 卖家 |
| `platform` | `string \| null` | 所在的平台 |
| `rating` | `number \| null` | 评分 |
| `review_count` | `integer \| null` | 评论数 |
| `product_id` | `string \| null` | 商品编号 |
| `sku_id` | `string \| null` | 规格编号 |
| `brand` | `string \| null` | 品牌 |
| `image_url` | `string \| null` | 商品图片 |
| `label` | `string \| null` | 平台给的推荐语或促销标签 |
| `availability` | `string \| null` | 有没有货 |
| `delivery` | `string \| null` | 配送说明 |
| `discount` | `string \| null` | 折扣说明 |
| `offers` | `Offer[] \| null` | 各个卖家的报价 |
| `sponsored` | `boolean \| null` | 是不是广告 |

**Offer 7 个字段**

| 字段 | 类型 | 说明 |
| --- | --- | --- |
| `seller` | `string \| null` | 卖家 |
| `price` | `number \| null` | 价格 |
| `currency` | `string \| null` | 货币 |
| `price_text` | `string \| null` | 平台显示的价格原文 |
| `url` | `string \| null` | 网址 |
| `available` | `boolean \| null` | 有没有货 |
| `label` | `string \| null` | 平台给的推荐语或促销标签 |

**Image 3 个字段**

| 字段 | 类型 | 说明 |
| --- | --- | --- |
| `image_url` | `string` | 图片网址 |
| `page_url` | `string \| null` | 图片所在的网页 |
| `title` | `string \| null` | 标题 |

**Video 9 个字段**

| 字段 | 类型 | 说明 |
| --- | --- | --- |
| `position` | `integer` | 排在第几个，从 1 开始 |
| `title` | `string \| null` | 标题 |
| `url` | `string \| null` | 网址 |
| `platform` | `string \| null` | 所在的平台 |
| `author` | `string \| null` | 作者 |
| `duration_seconds` | `integer \| null` | 时长，秒 |
| `video_id` | `string \| null` | 视频编号 |
| `views` | `integer \| null` | 播放量 |
| `published_at` | `string \| null` | 发布时间。平台没给就是 null |

**LiveRoom 7 个字段**

| 字段 | 类型 | 说明 |
| --- | --- | --- |
| `position` | `integer` | 排在第几个，从 1 开始 |
| `platform` | `string \| null` | 所在的平台 |
| `room_id` | `string \| null` | 直播间编号 |
| `title` | `string \| null` | 标题 |
| `account` | `string \| null` | 开播的账号 |
| `status` | `string \| null` | 直播状态 |
| `products` | `({ product_id: string \| null, title: string \| null, sales_text: string \| null })[]` | 带货的商品。sales_text 是平台显示的销量原文，不换算 |

**Ad 8 个字段**

| 字段 | 类型 | 说明 |
| --- | --- | --- |
| `position` | `integer \| null` | 排在第几个，从 1 开始 |
| `title` | `string \| null` | 标题 |
| `url` | `string \| null` | 网址 |
| `advertiser` | `string \| null` | 广告主 |
| `text` | `string \| null` | 广告文案 |
| `block` | `string \| null` | 广告所在的位置 |
| `sitelinks` | `(string \| null)[] \| null` | 附加链接 |
| `badges` | `(string \| null)[] \| null` | 标记 |

**Entity 2 个字段**

| 字段 | 类型 | 说明 |
| --- | --- | --- |
| `name` | `string \| null` | 名称 |
| `type` | `string \| null` | 类别，例如品牌或商品 |

**SearchPage 8 个字段**

| 字段 | 类型 | 说明 |
| --- | --- | --- |
| `results` | `SearchResult[]` | 自然结果 |
| `features` | `Feature[]` | 搜索引擎自己的聚合块，不占自然排名 |
| `ads` | `Ad[] \| null` | 广告 |
| `related_searches` | `string[] \| null` | 相关搜索 |
| `people_also_ask` | `string[] \| null` | 相关问题 |
| `videos` | `Video[] \| null` | 视频结果 |
| `products` | `Product[] \| null` | 商品结果 |
| `ai_summary` | `{ text: string, citations: Citation[] } \| null` | 页面上的 AI 摘要和它的来源 |

**SearchResult 6 个字段**

| 字段 | 类型 | 说明 |
| --- | --- | --- |
| `position` | `integer` | 排在第几个，从 1 开始 |
| `title` | `string \| null` | 标题 |
| `url` | `string` | 网址 |
| `domain` | `string` | 域名 |
| `snippet` | `string \| null` | 摘要 |
| `published_at` | `string \| null` | 发布时间。平台没给就是 null |

**Feature 3 个字段**

| 字段 | 类型 | 说明 |
| --- | --- | --- |
| `type` | `"engine_block"` | 聚合块的类型 |
| `title` | `string \| null` | 标题 |
| `url` | `string \| null` | 网址 |

**Conditions 6 个字段**

| 字段 | 类型 | 说明 |
| --- | --- | --- |
| `surface` | `"web" \| "app" \| "api" \| null` | 入口：网页、App 或官方接口 |
| `interface` | `string \| null` | 更细的入口，例如电脑网页或手机网页 |
| `login` | `"signed_in" \| "signed_out" \| null` | 登录状态。确认不了就是 null |
| `thinking` | `boolean \| null` | 有没有用深度思考 |
| `requested` | `{ country: string \| null, region: string \| null }` | 你要求的地区 |
| `actual` | `{ country: string \| null, region: string \| null }` | 能确认的实际地区。确认不了就是 null，不会用要求的地区代替 |

**Channel 3 个字段**

| 字段 | 类型 | 说明 |
| --- | --- | --- |
| `id` | `string` | 线路代号 |
| `tier` | `"basic" \| "full"` | 基础版或完整版 |
| `fallback` | `boolean` | 是不是换到了备用线路 |

**Evidence 6 个字段**

| 字段 | 类型 | 说明 |
| --- | --- | --- |
| `raw` | `boolean` | 有没有原始返回 |
| `html` | `boolean` | 有没有页面存档 |
| `screenshot` | `boolean` | 有没有截图 |
| `share_url` | `string \| null` | 平台自己的分享链接 |
| `captured_at` | `string \| null` | 采集时间 |
| `expires_at` | `string \| null` | 这条回答保存到什么时候 |

**page 4 个字段**

| 字段 | 类型 | 说明 |
| --- | --- | --- |
| `next_cursor` | `string \| null` | 取下一页用的游标。没有下一页是 null |
| `cursor_expires_at` | `string \| null` | 游标的失效时间。null 表示不会失效 |
| `has_more` | `boolean` | 还有没有下一页 |
| `returned` | `integer` | 这一页有几条 |

## 常见错误

返回错误就没有收费，只有 `settlement_unknown`：它表示暂时不知道有没有扣费，要用同一个 Idempotency-Key 再查。[查看每个错误码](https://www.askcrawl.com/zh/docs/errors/)。

| 错误 | HTTP | 意思 | 收费吗 |
| --- | --- | --- | --- |
| [`not_found`](https://www.askcrawl.com/zh/docs/errors/#not_found) | 404 | 对象不存在、私密或已删除 | 没有收费 |
| [`cursor_invalid`](https://www.askcrawl.com/zh/docs/errors/#cursor_invalid) | 400 | 游标不存在 | 没有收费 |
| [`invalid_params`](https://www.askcrawl.com/zh/docs/errors/#invalid_params) | 400 | 参数不合法 | 没有收费 |
| [`unauthorized`](https://www.askcrawl.com/zh/docs/errors/#unauthorized) | 401 | 没有带凭证，或凭证无效、已停用、已过期 | 没有收费 |
| [`rate_limited`](https://www.askcrawl.com/zh/docs/errors/#rate_limited) | 429 | 请求过快，或同时进行的调用过多 | 没有收费 |

```
curl <b>"https://api.askcrawl.com/v1/answers?job_id=$JOB_ID"</b> \
  -H <b>"Authorization: Bearer $API_KEY"</b>
```

上一级

[接口参考](https://www.askcrawl.com/zh/docs/api/)

相近的页面

[提交采集任务](https://www.askcrawl.com/zh/docs/api/answers-create/)

[提交前报价](https://www.askcrawl.com/zh/docs/api/answers-quote/)

[取一条回答](https://www.askcrawl.com/zh/docs/api/answers-get/)

[取证据文件](https://www.askcrawl.com/zh/docs/api/answers-evidence-get/)

依据

[错误和收费](https://www.askcrawl.com/zh/docs/errors/)

[费用、冻结和结算](https://www.askcrawl.com/zh/docs/billing/)

接着做

[快速开始](https://www.askcrawl.com/zh/docs/quickstart/)

[连接 AI 助手](https://www.askcrawl.com/zh/docs/mcp/)

> 网页：https://www.askcrawl.com/zh/docs/api/answers-list/ · 内容日期：2026-12-01
