小红书 — 首页推荐
SpiderHubs OpenAPI 文档:小红书 — 首页推荐,分类 小红书。接口 POST /openapi/v1/contentcreator/xiaohongshu/web/get_home_recommend。获取小红书首页推荐信息流,支持按分类筛选。参数通过 JSON body 传递。
OpId:
xhs-home-recommend · 最近更新: 2026-05-23说明
获取小红书首页推荐信息流,支持按分类筛选。参数通过 JSON body 传递。
基础信息
- Endpoint:
- POST /openapi/v1/contentcreator/xiaohongshu/web/get_home_recommend
- 计费:
- 1 积分 / 次
- 限流:
- 300 次 / 分钟 / 用户
请求参数说明
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
| feed_type | string | 否 | 推荐分类(0=全部、1=穿搭、2=美食 等共 10 类),默认 0 |
| need_filter_image | string | 否 | 是否仅返回图文笔记,默认 false |
| cursor_score | string | 否 | 分页游标,首次留空 |
响应字段说明
| 字段 | 类型 | 说明 |
|---|---|---|
| code | int | 业务状态码,200 表示成功 |
| request_id | string | 本次请求唯一标识,排查问题时可提供 |
| data | object | 业务数据容器,具体字段见下 |
| items | array | 推荐笔记卡片列表,每条含 note_id、title 标题、type 类型、cover 封面、user 作者、互动计数 |
| cursor_score / cursor | string | 翻页游标 |
| has_more | bool | 是否还有更多数据 |
请求示例 · cURL
curl -X POST 'https://api.spiderhubs.com/openapi/v1/contentcreator/xiaohongshu/web/get_home_recommend?feed_type=0' \
-H 'Authorization: Bearer sk_live_xxxxxxxxxxxxxxxxxxxxxxxx' \
-H 'Content-Type: application/json' \
-d '{}'响应示例
{
"code": 200,
"request_id": "...",
"data": { /* platform-native data — see endpoint reference for shape */ }
}开始调用 SpiderHubs API
使用账户中心生成的 API Key,通过 Authorization: Bearer sk_live_xxx 调用接口。