---
document_id: agent.collection.task.wechat_mp_article_comments_v1
schema_version: 2
parent_document_id: agent.querying
section: querying
---

<!-- Generated by scripts.build_agent_guide; do not edit. -->

# Article comments / 文章评论

Fetch comments by article URL.

按文章 URL 取评论。

Task / 任务: `wechat_mp_article_comments_v1`
Platform / 平台: WeChat Official Account / 微信公众号
Billing / 计费: 3 Credits per successful task / 每个成功任务 3 Credits
Estimate / 估价: call `estimate_collection`; start directly when `approval_required=false`, otherwise obtain approval for `upper_bound_credits`.
估价：调用 `estimate_collection`；`approval_required=false` 时直接启动，否则请用户确认 `upper_bound_credits`。

## Limitations / 限制

- 只接受已开启评论的文章。
- 支持翻页:把 next_cursor 原样传回 cursor。

## Inputs / 输入

- `url` — Article URL / 文章 URL; kind=text; required=True; default=''; bounds=min_length=1, max_length=2048
- `cursor` — Cursor / 翻页游标; kind=cursor; required=False; default=''; bounds=max_length=8192

## Minimal call / 最小调用

`estimate_collection`

```json
{
  "task_query": "获取指定文章的评论",
  "task_code": "wechat_mp_article_comments_v1",
  "input": {
    "url": "https://mp.weixin.qq.com/s/EXAMPLE"
  }
}
```


## Result and pagination / 结果与分页

- mode=cursor
- input: `cursor`; continuation: `data.has_more` → `data.next_cursor`

Only the fields listed below are part of the stable result contract. /
只有下方列出的字段属于稳定结果契约。

## Result fields / 结果字段

- `meta.request_id` — type=string; Asklear request identifier for tracing. / 用于追踪的 Asklear 请求 ID。
- `meta.api_name` — type=string; Executed collection operation name. / 实际执行的采集操作名称。
- `meta.latency_ms` — type=integer; Collection execution latency in milliseconds. / 采集执行耗时（毫秒）。
- `meta.credits_charged` — type=integer; Asklear user-side Credits settled for this task after completion. / 任务完成后 Asklear 用户侧实际结算的 Credits。
- `data.items` — type=array<object>; Items returned by this page. / 本页返回的条目。
- `data.item_count` — type=integer; Number of items in this page. / 本页条目数。
- `data.has_more` — type=boolean; Whether another page is available and has a safe continuation token. / 是否还有下一页且已返回可安全使用的续页令牌。
- `data.next_cursor` — type=string|null; Continuation token to pass back to the same task when has_more is true. / has_more 为 true 时传回同一任务的续页令牌。
- `data.items[].content_id` — type=scalar|null; Content id, when available. / 内容ID（如有）。
- `data.items[].nickname` — type=scalar|null; Display name, when available. / 昵称（如有）。
- `data.items[].username` — type=scalar|null; Account username, when available. / 账号用户名（如有）。
- `data.items[].nick_name` — type=scalar|null; Display name, when available. / 昵称（如有）。
- `data.items[].head_url` — type=scalar|null; Avatar URL, when available. / 头像链接（如有）。
- `data.items[].content` — type=scalar|null; Content, when available. / 内容（如有）。
- `data.items[].like_count` — type=scalar|null; Like count, when available. / 点赞数（如有）。
- `data.items[].like_num` — type=scalar|null; Like num, when available. / 点赞数（如有）。
- `data.items[].reply_count` — type=scalar|null; Reply count, when available. / 回复数（如有）。
- `data.items[].reply_total` — type=scalar|null; Reply total, when available. / 回复总（如有）。
- `data.items[].create_time` — type=scalar|null; Creation time, when available. / 创建时间（如有）。
- `data.items[].ip_region` — type=scalar|null; IP region, when available. / IP 属地（如有）。
- `data.items[].ip_wording` — type=scalar|null; Displayed IP region, when available. / 显示的 IP 属地（如有）。
- `data.items[].is_elected` — type=scalar|null; Is elected, when available. / 是否精选（如有）。
- `data.items[].is_top` — type=scalar|null; Is top, when available. / 是否置顶（如有）。
- `data.appmsgid` — type=scalar|null; Appmsgid, when available. / 文章消息 ID（如有）。
- `data.elected_total` — type=scalar|null; Elected total, when available. / 精选总（如有）。
- `data.total_count` — type=scalar|null; Total count, when available. / 总数（如有）。
- `data.comment_id` — type=scalar|null; Comment identifier, when available. / 评论 ID（如有）。

Use `list_collection_tasks` as the runtime authority, then `describe_collection_task` for one task's full input contract, examples and limits. Collection access is entitlement-gated. /
以 `list_collection_tasks` 返回为运行时准据，再用 `describe_collection_task` 取单个任务的完整入参契约、示例与限制；采集能力受 entitlement 控制。
