Xiaohongshu/小红书

搜索笔记V3

POST
https://api.getoneapi.com/api/xiaohongshu/search_note_v3
已弃用

请求参数

Header 参数

Authorization string 必需

在 Header 添加参数 Authorization,其值为在 Bearer 之后拼接 apikey

默认值: Bearer YOUR_API_KEY
Content-Type string 必需
默认值: application/json

Body 参数

application/json
keyword string 关键词 必需
page number 页数 必需

从1开始

默认值: 1
search_id string 搜索ID 可选

第一次请求可不传,服务端会生成searchId,翻页时需要携带服务端返回的searchId

session_id string 会话ID 可选

第一次请求可不传,服务端会生成sessionId,翻页时携带服务端返回的sessionId

sort_type enum<string> 排序 可选
枚举值:
general 综合
popularity_descending 最多点赞
time_descending 最新发布
comment_descending 最多评论
collect_descending 最多收藏
默认值: general
filter_note_type enum<string> 笔记类型 可选
枚举值:
不限 不限
视频笔记 视频
普通笔记 图文
默认值: 不限
filter_note_time enum<string> 发布时间 可选

不传默认不限

枚举值:
不限 所有时间
一天内 24小时内
一周内 7天内
半年内 6个月内
默认值: 不限
示例
{
  "keyword" : "罗永浩",
  "page" : 1,
  "search_id" : "",
  "session_id" : "",
  "sort_type" : "",
  "filter_note_type" : "",
  "filter_note_time" : ""
}

返回响应

响应 200

application/json
code integer 必需
message string 必需
data object 必需
示例
{
  "code" : 200,
  "message" : "success",
  "data" : { }
}

请求示例代码

替换 YOUR_API_KEY、参数占位符与请求数据后使用。第三方客户端需先安装对应依赖。

curl --globoff --request POST 'https://api.getoneapi.com/api/xiaohongshu/search_note_v3' \
  --header 'Authorization: Bearer YOUR_API_KEY' \
  --header 'Content-Type: application/json' \
  --data '{
  "keyword" : "罗永浩",
  "page" : 1,
  "search_id" : "",
  "session_id" : "",
  "sort_type" : "",
  "filter_note_type" : "",
  "filter_note_time" : ""
}'

更新于 2026-11-10 19:04:42

在线调试

POSThttps://api.getoneapi.com/api/xiaohongshu/search_note_v3

使用你的 API Key 发起真实请求,成功调用按账户规则计费。勾选后可将密钥保存在此浏览器,下次自动填入,可随时清除。

请求头(JSON)

可设置 Authorization、Content-Type、Accept。

正在准备调试参数…