WellbyteWellbyte

GET /v1/xiaohongshu/search/notes

搜索笔记

stable · 13 credits / 次(成功才计)

按关键词搜索笔记,可指定排序、笔记类型与发布时间范围。翻页时把首次搜索返回的 search_id 与 search_session_id 一并回传,否则结果会漂移。

注册即送 500 credits,用自己的 Key 试调。 免费注册

请求

curl -s 'https://api.wellbyte.net/v1/xiaohongshu/search/notes?page=NaN&source=demo&ai_mode=NaN&keyword=%E7%BE%8E%E9%A3%9F%E6%8E%A8%E8%8D%90&note_type=demo&search_id=demo&sort_type=demo&time_filter=demo&search_session_id=demo' \
  -H "Authorization: Bearer dg_live_…"

响应

示例采集于 2026-08-25

data{
code:0
data{
items[ 3 items ]
onebox{ 5 items }
can_cut:false
taxonomy1:"5ab094be481d26b8ef9045f1"
query_type:0
request_dqa:0
query_intent{ 3 items }
strategy_info{ 2 items }
ai_mode_enable:false
cur_cut_number:0
is_broad_query:true
service_status:
"{"filter":"not_required","note":"success","onebox":"not_required","cost":{"all":..."
show_single_col:false
query_debug_info{ 1 item }
request_dqa_instant:false
video_intent_grade_v3:1
search_dqa_new_page_exp:1
search_pull_down_opt_exp:1
dqa_authorized_user_by_shared:false
}
meta{
endpoint:"xiaohongshu.search.notes"
cache_hit:false
elapsed_ms:0
request_id:"req_sample"
credits_charged:0
}
message:"ok"
}

请求历史

打开完整日志

还没有调用记录。先跑通一次,再换成你的数据。

    请求参数

    参数类型位置必填说明示例
    pageintegerquery页码,从 1 开始demo
    sourcestringquery搜索来源标识demo
    ai_modeintegerqueryAI 模式:0 关闭、1 开启demo
    keywordstringquery搜索关键词美食推荐
    note_typestringquery笔记类型:不限 / 视频 / 图文demo
    search_idstringquery搜索 ID,翻页时传首次搜索返回值demo
    sort_typestringquery排序:general 综合、time_descending 最新、popularity_descending 最热demo
    time_filterstringquery发布时间:不限 / 一天内 / 一周内 / 半年内demo
    search_session_idstringquery搜索会话 ID,翻页时传首次搜索返回值demo

    响应字段

    字段字典待补 —— 右侧可执行区可直接看到真实结构。

    错误码

    codeHTTP含义是否计费
    40001400参数缺失或格式错误
    40102401API Key 无效或已吊销
    40201402余额不足,请充值
    40402404目标资源不存在
    42201422质量门槛未通过
    42901429超出速率限制
    50401504上游超时
    50201502上游返回异常

    计费

    成功扣 13 credits;任何失败(含上游 200 但未过质量门槛)扣 0。

    搜索

    搜索端点与文档