Skip to main content

GET /v1/xiaohongshu/note/detail

Xiaohongshu Note Detail

stable · 2 credits per success

Returns title, body, author and engagement for a note id; optionally paginates comments. Empty payloads fail the quality gate and are not billed.

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

Request

curl
curl -s 'https://api.wellbyte.net/v1/xiaohongshu/note/detail?note_id=demo_note_ok&comment_limit=20&with_comments=false' \
  -H "Authorization: Bearer dg_live_…"

Response

Sample captured 2026-08-27

data{
code:0
data{
id:"demo_note_ok"
stats{ 3 items }
title:"示例笔记"
author{ 2 items }
content:"这是一篇用于试调的示例笔记内容。"
comments[ 0 items ]
degraded:false
}
meta{
endpoint:"xiaohongshu.note.detail"
cache_hit:false
elapsed_ms:312
request_id:"req_demo_001"
credits_charged:0
}
message:"ok"
}

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

    Request parameters

    NameTypeInRequiredDescriptionExample
    note_idstringqueryyes笔记 ID,形如 64f2a9c8…;试调可用 demo_note_okdemo_note_ok
    comment_limitintegerqueryno评论条数上限(with_comments=true 时生效)20
    with_commentsbooleanqueryno是否附带翻页拉取评论false

    Response fields

    FieldTypeDescription
    idstring笔记 ID
    titlestring标题
    contentstring正文
    author.idstring作者 ID
    author.nicknamestring作者昵称
    stats.likesnumber点赞数
    stats.commentsnumber评论数
    stats.collectsnumber收藏数
    commentsarray评论列表(with_comments=true 时填充)
    degradedboolean评论拉取降级标记

    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 2 credits. Any failure — including a 200 that fails the quality gate — costs 0.

    All Xiaohongshu endpoints →

    Search

    Search endpoints and docs