WellbyteWellbyte

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.

Sign up for 500 credits and run with your own API key. Sign up free

Request

curl -s 'https://api.wellbyte.net/v1/xiaohongshu/note/comments?index=NaN&cursor=demo&note_id=697c0eee000000000a03c308&pageArea=demo&share_text=http%3A%2F%2Fxhslink.com%2Fo%2F8GqargIxrko&sort_strategy=demo' \
  -H "Authorization: Bearer dg_live_…"

Response

Sample response

data{
data:null
}

No calls yet. Get one green run first, then switch to your own data.

    Request parameters

    NameTypeInRequiredDescriptionExample
    indexintegerqueryno评论索引,首次请求传 0,翻页传上一页返回值demo
    cursorstringqueryno分页游标,首次请求留空,翻页传上一页返回值demo
    note_idstringqueryno笔记 ID;与 share_text 二选一,同时传入时以 note_id 为准697c0eee000000000a03c308
    pageAreastringqueryno折叠状态:UNFOLDED 展开(默认)、FOLDED 折叠demo
    share_textstringqueryno笔记分享链接,支持 xiaohongshu.com 长链与 xhslink 短链http://xhslink.com/o/8GqargIxrko
    sort_strategystringqueryno排序:latest_v2 最新、like_count 最热、default 默认demo

    Response fields

    Field dictionary coming soon — the executable panel shows the live shape.

    Errors

    codeHTTPMeaningBilled
    40001400Invalid parametersno
    40102401Invalid or revoked API Keyno
    40201402Insufficient creditsno
    40402404Resource not foundno
    42201422Quality gate failedno
    42901429Rate limit exceededno
    50401504Upstream timeoutno
    50201502Upstream errorno

    Billing

    Success costs 13 credits. Any failure — including a 200 from upstream that fails the quality gate — costs 0.

    Search

    Search endpoints and docs