---
title: "小红书 API 数据接口：笔记、评论、博主 · SocialToAI"
canonical: https://socialtoai.app/zh/platforms/xiaohongshu/
updated: 2026-11-20
---

# 小红书 API 数据接口

小红书 API（数据接口）可以搜笔记，读笔记详情、评论、账号资料、账号发布的笔记和热榜，不用登录小红书账号，也不用提供 Cookie。每次调用 12 积分（约 $0.024–$0.04），失败不扣。小红书不提供浏览量，这个字段返回 null。可以直接发 HTTP 请求，也可以通过 MCP 接到 AI 客户端里用。最近实测：2026-11-19。

- 页面：https://socialtoai.app/zh/platforms/xiaohongshu/
- 最近更新：2026-11-20
- 最近实测：2026-11-19

## 可用的动作

| 动作 | 返回什么 | 由什么参数选中 | 价格键 | 积分 | 参数和字段 |
| --- | --- | --- | --- | --- | --- |
| `search` | 按关键词找笔记：正文、作者、点赞数、评论数和发布时间。 | — | `xiaohongshu.search` | 12 | [小红书搜索接口](https://socialtoai.app/zh/xiaohongshu-search-api.md) |
| `search` | 搜账号 | `type=user` | `xiaohongshu.search:user` | 12 | [小红书搜索接口](https://socialtoai.app/zh/xiaohongshu-search-api.md) |
| `search` | 搜图片 | `type=image` | `xiaohongshu.search:image` | 12 | [小红书搜索接口](https://socialtoai.app/zh/xiaohongshu-search-api.md) |
| `trending` | 现在的热榜：标题、名次和热度。 | — | `xiaohongshu.trending` | 12 | [小红书热榜接口](https://socialtoai.app/zh/xiaohongshu-trending-api.md) |
| `detail` | 用编号或链接取一条笔记：正文、作者、点赞数、评论数和发布时间。 | — | `xiaohongshu.detail` | 12 | [小红书详情接口](https://socialtoai.app/zh/xiaohongshu-detail-api.md) |
| `comments` | 一条笔记下的评论：正文、点赞数、回复数和时间。 | — | `xiaohongshu.comments` | 12 | [小红书评论接口](https://socialtoai.app/zh/xiaohongshu-comments-api.md) |
| `comments` | 某条评论下的回复 | `reply_of` | `xiaohongshu.comments:replies` | 12 | [小红书评论接口](https://socialtoai.app/zh/xiaohongshu-comments-api.md) |
| `user_profile` | 一个账号：名称、简介、粉丝数、关注数和作品数。 | — | `xiaohongshu.user_profile` | 12 | [小红书账号资料接口](https://socialtoai.app/zh/xiaohongshu-user-profile-api.md) |
| `user_posts` | 一个账号最近发布的笔记。 | — | `xiaohongshu.user_posts` | 12 | [小红书账号作品接口](https://socialtoai.app/zh/xiaohongshu-user-posts-api.md) |

和抖音比，小红书的笔记少给作者粉丝数和播放或浏览。

给 AI 读更省：21 个接口实测，同样的录制数据，平台原始 JSON 合计约 479,829 token，SocialToAI 返回约 80,827 token，少 83%（2026-11-06，方法见“测量方法”页）。

## 调用示例

```bash
curl https://socialtoai.app/v1/search \
  -H "Authorization: Bearer $SOCIALTOAI_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
    "platform": "xiaohongshu",
    "query": "咖啡"
  }'
```

## 小红书独有的接口

每个接口用自己的 op，通过 `POST /v1/call/{op}` 调用；完整的参数和返回字段在它自己的页面。

### 达人

| 接口 | 做什么 | 价格键 | 积分 | 参数和字段 |
| --- | --- | --- | --- | --- |
| 蒲公英博主搜索 | 按搜索词找蒲公英上的小红书博主（按博主写的内容匹配）。 | `xiaohongshu.kol_search` | 24 | [小红书蒲公英博主搜索接口](https://socialtoai.app/zh/xiaohongshu-kol-search-api.md) |
| 蒲公英博主详情 | 按蒲公英博主编号取这位小红书博主在蒲公英上的资料。 | `xiaohongshu.kol_profile` | 24 | [小红书蒲公英博主详情接口](https://socialtoai.app/zh/xiaohongshu-kol-profile-api.md) |
| 蒲公英博主粉丝画像 | 按蒲公英博主编号取这位小红书博主的粉丝画像。 | `xiaohongshu.kol_audience` | 24 | [小红书蒲公英博主粉丝画像接口](https://socialtoai.app/zh/xiaohongshu-kol-audience-api.md) |
| 蒲公英博主数据表现 | 按蒲公英博主编号取这位小红书博主近 30 天或 90 天日常笔记或合作笔记的数据表现。 | `xiaohongshu.kol_performance` | 24 | [小红书蒲公英博主数据表现接口](https://socialtoai.app/zh/xiaohongshu-kol-performance-api.md) |
| 蒲公英博主笔记 | 按蒲公英博主编号取一页这位小红书博主的笔记（蒲公英的“笔记案例”），带蒲公英给的数据。 | `xiaohongshu.kol_notes` | 24 | [小红书蒲公英博主笔记接口](https://socialtoai.app/zh/xiaohongshu-kol-notes-api.md) |
| 蒲公英博主粉丝趋势 | 按蒲公英博主编号取这位小红书博主最近 30 天或 60 天每天的粉丝数，以及这段时间净增多少、涨了百分之几。 | `xiaohongshu.kol_follower_history` | 24 | [小红书蒲公英博主粉丝趋势接口](https://socialtoai.app/zh/xiaohongshu-kol-follower-history-api.md) |
| 蒲公英相似博主 | 给一个蒲公英博主编号，取蒲公英推荐的和他相似的小红书博主。 | `xiaohongshu.kol_similar` | 24 | [小红书蒲公英相似博主接口](https://socialtoai.app/zh/xiaohongshu-kol-similar-api.md) |
| 蒲公英内容广场热门笔记 | 取蒲公英内容广场的热门笔记榜。 | `xiaohongshu.kol_trending_notes` | 24 | [小红书蒲公英内容广场热门笔记接口](https://socialtoai.app/zh/xiaohongshu-kol-trending-notes-api.md) |
| 蒲公英博主合作成本和数据概览 | 按蒲公英博主编号取这位小红书博主的合作成本。 | `xiaohongshu.kol_costs` | 24 | [小红书蒲公英博主合作成本和数据概览接口](https://socialtoai.app/zh/xiaohongshu-kol-costs-api.md) |
| 蒲公英博主核心数据趋势 | 按蒲公英博主编号取这位小红书博主最近 30 天或 90 天每天的核心数据。 | `xiaohongshu.kol_cost_history` | 24 | [小红书蒲公英博主核心数据趋势接口](https://socialtoai.app/zh/xiaohongshu-kol-cost-history-api.md) |
| 蒲公英博主粉丝概览 | 按蒲公英博主编号取这位小红书博主粉丝的质量。 | `xiaohongshu.kol_follower_quality` | 24 | [小红书蒲公英博主粉丝概览接口](https://socialtoai.app/zh/xiaohongshu-kol-follower-quality-api.md) |
| 蒲公英笔记数据 | 按笔记编号取蒲公英给品牌看的这篇小红书笔记的数据。 | `xiaohongshu.kol_note_metrics` | 24 | [小红书蒲公英笔记数据接口](https://socialtoai.app/zh/xiaohongshu-kol-note-metrics-api.md) |

### 关键词与指数

| 接口 | 做什么 | 价格键 | 积分 | 参数和字段 |
| --- | --- | --- | --- | --- |
| 蒲公英关键词逐日搜索指数 | 按一个关键词取它在小红书上最近约三个月逐日的搜索指数（蒲公英），并带每天和这个词有关的笔记数、曝光数、阅读数和互动数。 | `xiaohongshu.keyword_history` | 24 | [小红书蒲公英关键词逐日搜索指数接口](https://socialtoai.app/zh/xiaohongshu-keyword-history-api.md) |
| 蒲公英关联词 | 按一个关键词取小红书用户搜它之前和之后还会搜的词（蒲公英），各带相关度名次、搜索指数、相关笔记数和阅读数，用来拓词选题。 | `xiaohongshu.keyword_related` | 24 | [小红书蒲公英关联词接口](https://socialtoai.app/zh/xiaohongshu-keyword-related-api.md) |

### 电商

| 接口 | 做什么 | 价格键 | 积分 | 参数和字段 |
| --- | --- | --- | --- | --- |
| 商品搜索 | 按搜索词取一页小红书商城的商品。 | `xiaohongshu.product_search` | 12 | [小红书商品搜索接口](https://socialtoai.app/zh/xiaohongshu-product-search-api.md) |
| 商品详情 | 按商品编号取小红书商城的一件商品。 | `xiaohongshu.product_detail` | 12 | [小红书商品详情接口](https://socialtoai.app/zh/xiaohongshu-product-detail-api.md) |
| 商品评价 | 按商品编号取小红书商城这件商品排在最前的一页买家评价。 | `xiaohongshu.product_reviews` | 12 | [小红书商品评价接口](https://socialtoai.app/zh/xiaohongshu-product-reviews-api.md) |

### 内容与账号

| 接口 | 做什么 | 价格键 | 积分 | 参数和字段 |
| --- | --- | --- | --- | --- |
| 话题笔记 | 按话题页编号取该话题下的热门笔记。 | `xiaohongshu.topic_notes` | 12 | [小红书话题笔记接口](https://socialtoai.app/zh/xiaohongshu-topic-notes-api.md) |
| 话题详情 | 按话题页编号取一个小红书话题。 | `xiaohongshu.topic` | 12 | [小红书话题详情接口](https://socialtoai.app/zh/xiaohongshu-topic-api.md) |
| 搜索框联想词 | 按关键词取小红书搜索框里输入这个词时给的联想词（下拉补全），按小红书列出的顺序排，一次约 10 个。 | `xiaohongshu.search_suggestions` | 12 | [小红书搜索框联想词接口](https://socialtoai.app/zh/xiaohongshu-search-suggestions-api.md) |
| 视频笔记详情（视频地址和字幕） | 按笔记编号或链接取一篇小红书视频笔记。 | `xiaohongshu.video_detail` | 12 | [小红书视频笔记详情（视频地址和字幕）接口](https://socialtoai.app/zh/xiaohongshu-video-detail-api.md) |

## 小红书给不了的字段

这些字段在对应的调用里始终是 null，并列在返回的 `unavailable` 里。

| 字段 | 哪些动作 |
| --- | --- |
| `author.verified` | search, detail, user_posts |
| `author.followers` | search, detail, user_posts |
| `metrics.views` | search, detail, user_posts |
| `metrics.reposts` | search, detail, user_posts |
| `hashtags` | search, user_posts |
| `is_pinned` | search |
| `rank` | trending |
| `url` | trending, comments, user_posts |
| `author.username` | user_posts |

## 办成一件事多少钱

| 要做的事 | 怎么算 | 积分 | 约合 |
| --- | --- | --- | --- |
| 搜 1,000 条小红书结果 | 每页通常 20 条，50 页 | 600 积分 | 约 ¥14（$2.00） |
| 读 1,000 条小红书评论 | 每页通常 10 条，100 页 | 1,200 积分 | 约 ¥29（$4.00） |
| 回填一个小红书账号：200 条笔记列表加 20 条全文 | 10 页列表 + 20 次全文 | 360 积分 | 约 ¥8.6（$1.20） |
| 每天盯 1 个小红书账号，一个月最多 | 每次 30 积分 × 31 天 | 930 积分 | 约 ¥22（$3.10） |

按 $10 档算，买得越多单价越低。监控只在你开启时运行，随时可以暂停，没有订阅。

## 在 AI 里直接问

- 这周小红书上，家用咖啡和抹茶哪个更火？ → search, search: 24 积分

- 读一下这条小红书笔记的评论，告诉我大家在抱怨什么。 → detail, comments × 3: 48 积分

- 在小红书上找 5 个发露营咖啡内容的账号，看看他们最近发了什么。 → search, user_posts × 5: 72 积分

[小红书 MCP 服务器](https://socialtoai.app/zh/mcp/xiaohongshu.md)

## 能读小红书的现成工具

- [品牌口碑](https://socialtoai.app/zh/tools/brand-buzz.md)：各平台上的态度占比、提到最多的事，以及背后的帖子
- [评论分析](https://socialtoai.app/zh/tools/comment-insights.md)：评论里的话题和各自占比，还有提问、想买和投诉
- [账号动态](https://socialtoai.app/zh/tools/account-watch.md)：每个账号最近发了什么，哪条明显好于平时
- [找达人](https://socialtoai.app/zh/tools/find-creators.md)：做这类内容的达人：体量、近期作品和契合度
- [达人档案](https://socialtoai.app/zh/tools/creator-card.md)：这个人在其他平台的账号、各自的数据，以及是同一人的把握
- [批量链接数据](https://socialtoai.app/zh/tools/batch-stats.md)：每条链接一行，给出现在的数字；失效的链接会标出来
- [爆款发现](https://socialtoai.app/zh/tools/viral-finder.md)：明显超出作者平时水平的内容

## 官方 API

小红书开放平台目前只开放登录能力：应用审核通过后，可读取授权用户的基本信息（昵称、头像等）。文档中没有读取公开笔记或评论的接口。

来源：[小红书官方开发者文档](https://openaccount.xiaohongshu.com/docs/quick-start)，核对于 2026-10-17。

|  | 谁能用 | 费用 | 限制 | 来源 |
| --- | --- | --- | --- | --- |
| 小红书开放平台（登录） | 通过小红书审核的应用。 | 官方页面没有写价格。 | 只能读授权用户的基本信息（昵称、头像等）；文档里没有读公开笔记或评论的接口。 | [openaccount.xiaohongshu.com](https://openaccount.xiaohongshu.com/docs/quick-start)，核对于 2026-10-17 |
| SocialToAI | 有 Key 就能用，不用你的小红书账号，也不用审核。 | 每次 12 积分起（约 $0.04），失败不扣。 | 只读公开可见的内容；一次调用最多 30 条。 | https://socialtoai.app/zh/pricing.md |

在这里读 1,000 条笔记：约 50 次 `xiaohongshu.search` 调用（每页通常 20 条），共 600 积分，按第一档约 $2.00。 [算一下要多少钱](https://socialtoai.app/zh/free-tools/api-cost-estimator.md)

[小红书官方 API 的申请条件和价格](https://socialtoai.app/zh/does-xiaohongshu-have-an-api.md)

- [各平台评论接口对比](https://socialtoai.app/zh/comments-api.md)：哪些平台能取评论、每页多少条、多少积分。
- [各平台达人接口对比](https://socialtoai.app/zh/creator-api.md)：找达人、看资料、看粉丝画像，各平台能拿到什么。
- [怎么让 ChatGPT 读小红书](https://socialtoai.app/zh/how-to/let-chatgpt-read-xiaohongshu.md)：让 ChatGPT 读小红书笔记和评论
- [让 Claude Code 和 Cursor 读小红书和抖音：不扫码、不用 Cookie、不牵连账号](https://socialtoai.app/zh/how-to/let-claude-code-and-cursor-read-xiaohongshu-and-douyin.md)：让 Claude Code、Cursor 读小红书和抖音：不扫码、不用 Cookie，以及本地自建要付出什么
- [海外品牌怎么用 AI 监测小红书、抖音和微博](https://socialtoai.app/zh/how-to/monitor-xiaohongshu-douyin-weibo-from-outside-china.md)：海外品牌用 AI 监测小红书、抖音和微博：英文输出、带原帖链接
- [视频评论分析：让 AI 读完评论，带上原话](https://socialtoai.app/zh/how-to/analyze-comments-with-quotes.md)：评论在说什么，带原话：用工具还是让 AI 读，各平台价格，一次录制
- [批量查几百条链接的互动数据](https://socialtoai.app/zh/how-to/check-stats-for-many-links.md)：一次查几百条链接的数字：各平台价格、赠送积分能跑多少、什么时候会停
- [小红书蒲公英、抖音星图怎么找达人](https://socialtoai.app/zh/how-to/find-creators-on-xiaohongshu-and-douyin.md)：蒲公英和星图的接口：两边的搜索怎么匹配、要什么编号、一份名单多少钱
- [小红书采集会封号吗？](https://socialtoai.app/zh/how-to/xiaohongshu-collection-risk.md)：风险落在谁的账号上、小红书自己的文件怎么说，以及不用你账号的读法
- [每天盯小红书账号和关键词](https://socialtoai.app/zh/monitors/xiaohongshu.md)：每天盯小红书账号或关键词，每次 12 积分；为什么链到作者主页
- [每天盯竞品账号：发了什么，哪条比平时好](https://socialtoai.app/zh/monitors/competitors.md)：每天盯竞品账号：新发了什么、哪条比平时好，每个账号 9 积分起
- [每天盯品牌口碑：新讨论和背后的原帖](https://socialtoai.app/zh/monitors/brand.md)：每天盯品牌口碑：态度占比和背后的原帖，每次 16 积分起
- [Claude 能读小红书吗？](https://socialtoai.app/zh/can-ai-read/claude-xiaohongshu.md)：Claude 能读和读不到小红书的什么，带来源和真实请求
- [ChatGPT 能读小红书吗？](https://socialtoai.app/zh/can-ai-read/chatgpt-xiaohongshu.md)：ChatGPT 能读和读不到小红书的什么，带来源和真实请求
- [豆包能读小红书、抖音和公众号吗？](https://socialtoai.app/zh/can-ai-read/doubao.md)：豆包 App 和火山方舟上的豆包模型：谁能读到这些平台，带来源
- [小红书 note_id 是什么，在哪里找？](https://socialtoai.app/zh/can-ai-read/xiaohongshu-note-id.md)：编号在链接的哪里、前 8 位代表什么、为什么要令牌，带实测
- [小红书今日热榜](https://socialtoai.app/zh/trending/xiaohongshu.md)：每天更新的榜单，一页看全。
- [小红书 MCP 服务器](https://socialtoai.app/zh/mcp/xiaohongshu.md)：让你的 AI 直接读小红书。
