Skip to content

Note comments

Fetch comments for one Xiaohongshu note.

Inputs

note_idRequired · text

Note ID

Default:
cursorOptional · cursor

Comment cursor

Default:
sortOptional · select

Comment sort

Default: default · Allowed: default, latest_v2, like_count

Minimal call

estimate_collection
{
  "input": {
    "note_id": "<笔记详情返回的 note_id>"
  },
  "task_code": "xhs_note_comments_v1",
  "task_query": "获取指定小红书笔记的评论"
}

Result and pagination

  • mode: cursor
  • cursor: data.has_moredata.next_cursor
  • 10 Credits per successful task; estimated 5–30 seconds.

Only the fields listed below are part of the stable result contract.

PathTypeDescription
meta.request_idstringAsklear request identifier for tracing.
meta.api_namestringExecuted collection operation name.
meta.latency_msintegerCollection execution latency in milliseconds.
meta.credits_chargedintegerAsklear user-side Credits settled for this task after completion.
data.has_morebooleanWhether another comment page is available.
data.next_cursorstringCursor for the next page when has_more is true.
data.item_countintegerNumber of comments in this response, when supplied.
data.itemsarray<object>Comment items for this page, when supplied.