API references/Social
Read Xiaohongshu comments
redbook.note.commentsRead one page of top-level comments. Use the cursor returned by the previous result.
Xiaohongshu API for AI agentsUnit price$0.02 / 1 request
Try in the consoleRequest parameters
| Parameter | Type | Description |
|---|---|---|
note_idRequired | string | Note ID Minimum length: 1Up to 128 characters |
cursor | string | Cursor returned by the previous page Up to 4096 charactersDefault: "" |
index | integer | Comment index Range 0–100000Default: 0 |
page_area | string | Comment collapse state UNFOLDEDFOLDEDDefault: "UNFOLDED" |
Response data
Business data is in execution.result.data. Executions also include status, final cost and an Anyuse request ID.
| Parameter | Type | Description |
|---|---|---|
comments | array | null | Comment list with provider-defined fields |
cursor | any | Next-page cursor, string or integer depending on the API |
has_more | any | Upstream pagination indicator, boolean or 0/1 |