小红书(RedNote)笔记评论 API
v1.0.0通过 JustOneAPI 使用 noteId 调用 2 个 get-note-comment 版本,获取 Xiaohongshu(RedNote)笔记评论。
运行时依赖
安装命令
点击复制技能文档
小红书(RedNote)笔记评论 使用此专用的 JustOneAPI 技能获取小红书笔记评论。它对接 /api/xiaohongshu/get-note-comment 下的 2 个版本路径。 必需非 token 输入:noteId。 OpenAPI 描述:获取小红书笔记评论数据(文本、作者、时间戳),用于反馈分析。
端点范围 Platform key: xiaohongshu Endpoint key: get-note-comment Platform family: 小红书(RedNote) Skill slug: justoneapi-xiaohongshu-get-note-comment
操作版本 Method | Path | 版本 | 摘要 GET | /api/xiaohongshu/get-note-comment/v2 | v2 | 笔记评论 GET | /api/xiaohongshu/get-note-comment/v4 | v4 | 笔记评论
输入参数 参数 | 位置 | 必需版本 | 可选版本 | 类型 | 说明 lastCursor | query | 无 | getNoteCommentV2 | string | 上一页返回的翻页游标 noteId | query | 全部 | 无 | string | 小红书笔记唯一 ID sort | query | 无 | getNoteCommentV2 | string | 排序:normal(默认)、latest(最新)
请求体:无;参数放 query。
版本选择 若用户未指定版本,选所需输入与用户数据匹配的版本:
- getNoteCommentV2 (v2):仅需 noteId
- getNoteCommentV4 (v4):仅需 noteId
运行 支持操作 ID:getNoteCommentV2、getNoteCommentV4 node {baseDir}/bin/run.mjs --operation "getNoteCommentV2" --token "$JUST_ONE_API_TOKEN" --params-json '{"noteId":""}' 调用前若缺少必需参数,请先询问。用户提供的 ID、游标、关键词、过滤器保持原样。
环境 必需:JUST_ONE_API_TOKEN 用 --token "$JUST_ONE_API_TOKEN" 传递;勿在聊天、截图或日志中粘贴 token 值。 从 Just One API Dashboard 获取,认证详见《Just One API Usage Guide》。
输出 先说明所用 operation ID 与路径,如 getNoteCommentV2 on /api/xiaohongshu/get-note-comment/v2。 回显查询范围(noteId),再摘要结果。 优先返回支持“反馈分析”的字段:文本、作者、时间戳。 摘要后附原始 JSON。若后端报错,给出后端 payload 与确切 operation ID。