GET /v1/xiaohongshu/note/comments
Note Comments
stable · 13 credits per success
Paginated top-level comments for a note, sortable by newest or likes. Pass cursor, index and pageArea from the previous page to continue.
Request parameters
| Name | Type | In | Required | Description | Example |
|---|---|---|---|---|---|
| index | integer | query | no | 评论索引,首次请求传 0,翻页传上一页返回值 | demo |
| cursor | string | query | no | 分页游标,首次请求留空,翻页传上一页返回值 | demo |
| note_id | string | query | no | 笔记 ID;与 share_text 二选一,同时传入时以 note_id 为准 | 697c0eee000000000a03c308 |
| pageArea | string | query | no | 折叠状态:UNFOLDED 展开(默认)、FOLDED 折叠 | demo |
| share_text | string | query | no | 笔记分享链接,支持 xiaohongshu.com 长链与 xhslink 短链 | http://xhslink.com/o/8GqargIxrko |
| sort_strategy | string | query | no | 排序:latest_v2 最新、like_count 最热、default 默认 | demo |
Response fields
Field dictionary coming soon — the executable panel shows the live shape.
Errors
| code | HTTP | Meaning | Billed |
|---|---|---|---|
| 40001 | 400 | Invalid parameters | no |
| 40102 | 401 | Invalid or revoked API Key | no |
| 40201 | 402 | Insufficient credits | no |
| 40402 | 404 | Resource not found | no |
| 42201 | 422 | Quality gate failed | no |
| 42901 | 429 | Rate limit exceeded | no |
| 50401 | 504 | Upstream timeout | no |
| 50201 | 502 | Upstream error | no |
Billing
Success costs 13 credits. Any failure — including a 200 from upstream that fails the quality gate — costs 0.