专业的小红书 APP 数据接口服务,支持笔记、用户、搜索、商品、话题等全场景数据采集。 智能账号池自动轮换,按需计费,仅成功请求扣费。
/blogger/notes 的 list[].noteId、/blogger/notes_v2 的 noteList[].noteInfo.noteId 或 /content/square 的榜单结果取得pageIndex 传 0/1/2/5/20、pageSize 传 5/10/20/50/100,返回的永远是同一批 5 条(comment.idStr 全等)——data.data 是数组(不是对象),每项为一条评论线程:| 字段 | 说明 |
|---|---|
comment | 主楼评论:content 正文 / createTime 时间 / likeCount 点赞 / subCommentCount 子评论数 / idStr 评论ID / userIdStr 评论人ID |
l1L2Comments[] | 该楼下的回复(博主的回复就在这里),字段同 comment,targetCommentId 指向主楼 |
userMap | {userIdStr: {userNickName 昵称, imageUrl 头像, gender 性别}} |
userMap —— comment 与 l1L2Comments[] 里只有 userIdStr,userIdStr 去 userMap 里取:id / noteId / userId 这几个数字字段有精度问题(超出 JS 安全整数),idStr / noteIdStr / userIdStr 字符串版本。