WellbyteWellbyte

GET /v1/xiaohongshu/note/sub_comments

Note Sub Comments

stable · 13 credits per success

Paginated replies under one top-level comment. Leave cursor empty and pass index=1 on the first call, then echo cursor and index from the previous page.

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/sub_comments?index=NaN&cursor=demo&note_id=699916e6000000001d0253da&comment_id=699fb9930000000008030db6&share_text=http%3A%2F%2Fxhslink.com%2Fo%2F8GqargIxrko' \
  -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分页索引,首次请求传 1demo
    cursorstringqueryno分页游标,首次请求留空demo
    note_idstringqueryno笔记 ID;与 share_text 二选一,同时传入时以 note_id 为准699916e6000000001d0253da
    comment_idstringqueryyes父评论 ID699fb9930000000008030db6
    share_textstringqueryno笔记分享链接,支持 xiaohongshu.com 长链与 xhslink 短链http://xhslink.com/o/8GqargIxrko

    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