OpenAPI 文档/小红书GET

小红书 — 笔记评论

SpiderHubs OpenAPI 文档:小红书 — 笔记评论,分类 小红书。接口 GET /openapi/v1/contentcreator/xiaohongshu/web_v2/fetch_note_comments。按 note_id 拉取笔记一级评论(cursor 翻页)。

OpId: xhs-note-comments · 最近更新: 2026-05-23

说明

按 note_id 拉取笔记一级评论(cursor 翻页)。

基础信息

Endpoint:
GET /openapi/v1/contentcreator/xiaohongshu/web_v2/fetch_note_comments
计费:
1 积分 / 次
限流:
300 次 / 分钟 / 用户

请求参数说明

参数类型必填说明
note_idstring笔记 ID
cursorstring游标,首次留空

响应字段说明

字段类型说明
codeint业务状态码,200 表示成功
request_idstring本次请求唯一标识,排查问题时可提供
dataobject业务数据容器,具体字段见下
commentsarray评论列表,每条含 id、content 评论内容、user 评论者、like_count 点赞数、create_time 时间、sub_comment_count 子评论数
cursorstring下一页游标
has_morebool是否还有更多评论
请求示例 · cURL
curl 'https://api.spiderhubs.com/openapi/v1/contentcreator/xiaohongshu/web_v2/fetch_note_comments?note_id=6a04a97f0000000007010f46&cursor=' \
  -H 'Authorization: Bearer sk_live_xxxxxxxxxxxxxxxxxxxxxxxx'
响应示例
{
  "code": 200,
  "request_id": "f72eeb81-a889-4d86-97a8-469b3888bbe1",
  "data": {
    "all_sort_strategies": [],
    "comment_count": 0,
    "comment_count_l1": 0,
    "comments": [],
    "current_sort_strategy": "default",
    "cursor": "{\"index\":2,\"pageArea\":\"ALL\"}",
    "has_more": false,
    "page_context": "{\"sub_hot\":\"filter_no_info_exp_no_writer\"}",
    "prompt_bar_info": {
      "show_above_input": true
    },
    "user_id": "651b920600000000240167d9"
  }
}

开始调用 SpiderHubs API

使用账户中心生成的 API Key,通过 Authorization: Bearer sk_live_xxx 调用接口。