> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.beatapi.io/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.beatapi.io/_mcp/server.

# 下一页传页码还是 continuation_token？

> youtube.web_v2.get_video_comments 使用 continuation_token 而非页码翻页，续页时需保持 video_id、排序、语言和国家设置不变。

`youtube.web_v2.get_video_comments` 的下一页使用 `continuation_token`，不使用页码。从上一页完整响应中读取返回的续页 token 并原样传入下一次请求的 `continuation_token`，同时保持 `video_id`、排序、语言和国家设置不变。

## 使用 continuation_token 续页

同一条评论采集链中的每一页必须保持相同的请求上下文：

* **从完整响应读取 token：** 在上一页已保存的 `youtube.web_v2.get_video_comments` 完整响应中确认续页 token。
* **原样回传 token：** 将响应返回的续页值传入 `continuation_token`，不要使用整数页码。
* **固定查询条件：** 每一页保持同一个 `video_id`、排序、语言和国家设置。

## 分开管理 newest 与 top 翻页链

不同排序方式各自维护独立的续页序列：

* 第一页按 `newest` 拉取评论时，第二页继续使用 `newest` 并带上第一页返回的 `continuation_token`。
* 需要查看热门评论时，使用 `top` 从第一页另起查询，不要复用 `newest` 的续页 token。

## 停止条件与请求计费

遇到以下任一情况即停止翻页并记录原因：

1. 响应中缺少 `continuation_token`，或返回的 token 与之前重复。
2. `youtube.web_v2.get_video_comments` 请求失败。
3. 达到预设的页数上限。

平台每多翻一页，都会按一次独立请求计费。

[评论研究指南](/zh/guides/youtube-review-questions) · [BeatAPI 价格页](https://beatapi.io/zh/pricing)