跳到正文

笔记评论

获取一条小红书笔记的评论。

输入

note_id必填 · text

笔记 ID

默认:
cursor可选 · cursor

评论游标

默认:
sort可选 · select

评论排序

默认: default · 允许值: default, latest_v2, like_count

最小调用

estimate_collection
{
  "input": {
    "note_id": "<笔记详情返回的 note_id>"
  },
  "task_code": "xhs_note_comments_v1",
  "task_query": "获取指定小红书笔记的评论"
}

结果与分页

  • mode: cursor
  • cursor: data.has_moredata.next_cursor
  • 每个成功任务 10 Credits;预计 5–30 秒。

只有下方列出的字段属于稳定结果契约。

路径类型说明
meta.request_idstring用于追踪的 Asklear 请求 ID。
meta.api_namestring实际执行的采集操作名称。
meta.latency_msinteger采集执行耗时(毫秒)。
meta.credits_chargedinteger任务完成后 Asklear 用户侧实际结算的 Credits。
data.has_moreboolean是否还有下一页评论。
data.next_cursorstringhas_more 为 true 时用于请求下一页的游标。
data.item_countinteger本次返回的评论数(如响应提供)。
data.itemsarray<object>本页评论条目(如响应提供)。