专业的小红书 APP 数据接口服务,支持笔记、用户、搜索、商品、话题等全场景数据采集。 智能账号池自动轮换,按需计费,仅成功请求扣费。
| 参数 | 必填 | 默认 | 说明 |
|---|---|---|---|
note_id | 是 | — | 笔记 ID,24 位十六进制 |
cursor | 否 | 空 | 翻页游标。首次留空 |
index | 否 | 0 | 翻页索引。首次传 0 |
pageArea | 否 | UNFOLDED | UNFOLDED=展开,FOLDED=折叠 |
sort_strategy | 否 | latest_v2 | latest_v2 最新 / like_count 最热 / default 不推荐(翻页会漏或重) |
$.data.data.cursor 是一段 JSON 字符串:{"cursor": "6a97cf20000000000b012aaf", "index": 3, "pageArea": "ALL"}index / pageArea 为准。has_more 为 false 时停止翻页。$.data.data:| 字段 | 说明 |
|---|---|
comments | 评论数组,见下 |
cursor | 下一页游标(JSON 字符串) |
has_more | 是否还有下一页 |
comment_count / comment_count_l1 | 评论总数 / 一级评论数 |
current_sort_strategy | 本次生效的排序 |
all_sort_strategies | 该笔记支持的全部排序方式 |
id、content、time、like_count、ip_location、user(评论者)、sub_comment_count(回复数)、sub_comments(部分回复预览)、at_users 等。sub_comment_count > 0 的评论,用它的 id 作为 comment_id 调 /note/sub_comments。curl --location 'https://rnote.dev/api/v2/crawler/note/comments?note_id=697c0eee000000000a03c308&cursor=undefined&index=undefined&pageArea=undefined&sort_strategy=undefined' \
--header 'X-API-Key: <api-key>'null