小红书 — 笔记评论
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_id | string | 是 | 笔记 ID |
| cursor | string | 否 | 游标,首次留空 |
响应字段说明
| 字段 | 类型 | 说明 |
|---|---|---|
| code | int | 业务状态码,200 表示成功 |
| request_id | string | 本次请求唯一标识,排查问题时可提供 |
| data | object | 业务数据容器,具体字段见下 |
| comments | array | 评论列表,每条含 id、content 评论内容、user 评论者、like_count 点赞数、create_time 时间、sub_comment_count 子评论数 |
| cursor | string | 下一页游标 |
| has_more | bool | 是否还有更多评论 |
请求示例 · 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 调用接口。