/v1/call/xiaohongshu.kol_note_metrics小红书蒲公英笔记数据接口
小红书独有的接口。
按笔记编号取蒲公英给品牌看的这篇小红书笔记的数据。小红书蒲公英笔记数据 API(数据接口)每次调用 24 积分(约 $0.048–$0.08),失败不扣。用 HTTP 调用,或让 AI 客户端通过 MCP 调用。
最近更新:
调用小红书蒲公英笔记数据,你会拿到什么。
取自一次录制的返回。
录制的一次调用返回了下面这个对象。名称和正文在示例里去掉了,数字是录制时的真实值。
| 字段 | 录制时的值 |
|---|---|
| title | 示例里已去掉 |
| url | 示例里已去掉 |
| rank | null |
| heat | null |
| fields.format | image |
| fields.text | 示例里已去掉 |
| fields.published_at | 2026-11-06T08:58:31.000Z |
| fields.images | 2 项 |
| fields.creator_id | 示例里已去掉 |
| fields.creator_name | 示例里已去掉 |
| fields.brand | 示例里已去掉 |
| fields.brand_id | 示例里已去掉 |
| fields.impressions | 24,405 |
| fields.views | 4,482 |
| fields.likes | 203 |
| fields.collects | 171 |
| fields.comments | 46 |
| fields.shares | 36 |
| fields.follows | 22 |
| fields.component_clicks.comment_area | normal |
每次 24 积分(≈ $0.048–$0.08),$10 约够 125 次。
小红书蒲公英笔记数据的请求与返回
curl https://socialtoai.app/v1/call/xiaohongshu.kol_note_metrics \ -H "Authorization: Bearer $SOCIALTOAI_API_KEY" \ -H "Idempotency-Key: $(uuidgen)" \ -H "Content-Type: application/json" \ -d '{ "id": "6a20edfa0000000021020951" }'import osimport uuidimport requestsresponse = requests.post( "https://socialtoai.app/v1/call/xiaohongshu.kol_note_metrics", headers={ "Authorization": f"Bearer {os.environ['SOCIALTOAI_API_KEY']}", # A new key for each request; the same one again retries it without paying twice. "Idempotency-Key": str(uuid.uuid4()), }, json={ "id": "6a20edfa0000000021020951", },)print(response.json())# 已经通过 MCP 接好了?直接用大白话问。用“小红书蒲公英笔记数据”接口(xiaohongshu.kol_note_metrics),参数是 id: 6a20edfa0000000021020951。# 你的 AI 会调用 call 工具,参数是:{ "id": "6a20edfa0000000021020951"}{ "op": "xiaohongshu.kol_note_metrics", "platform": "xiaohongshu", "status": "ok", "items": [ { "platform": "xiaohongshu", "id": "…", "ref": "…", "approx": [], "extra": {}, "type": "entry", "entry_type": "pgy_note", "title": "…", "url": "https://example.com/…", "rank": null, "heat": null, "fields": { "format": "image", "text": "…", "published_at": "2026-11-06T08:58:31.000Z", "images": ["https://example.com/…", "https://example.com/…"], "creator_id": "…", "creator_name": "…", "brand": "…", "brand_id": "…", "impressions": 24405, "views": 4482, "likes": 203, "collects": 171, "comments": 46, "shares": 36, "follows": 22, "component_clicks": { "comment_area": "normal", "content": null, "note_bottom": null } } } ], "unavailable": [], "cost_credits": 24}- entry_type
- pgy_note
- format
- image
- text
- …
- published_at
- 2026-11-06T08:58:31.000Z
- creator_id
- …
- creator_name
- …
- brand
- …
示例里的名称和正文已去掉,数字是录制时的真实值。
小红书蒲公英笔记数据的参数。
1 个,全部必填。
用 POST 发一个 JSON 请求体。Key 放在 Authorization 请求头里,不要放进网址。
| 名称 | 类型 | 是否必填 | 默认值 | 说明 |
|---|---|---|---|---|
| id | string | 必填 | — | 笔记编号,24 位十六进制:小红书笔记链接 explore/ 后面那段,或蒲公英博主笔记接口返回的 id |
这些值从哪里拿。
id笔记编号,24 位十六进制:小红书笔记链接 explore/ 后面那段,或蒲公英博主笔记接口返回的 id(例如 6a20edfa0000000021020951)
这些接口返回的每一条都带 ref,原样填进来即可:
search小红书搜索接口user_posts小红书账号作品接口topic_notes小红书话题笔记接口search · type=image小红书搜索接口kol_trending_notes小红书蒲公英内容广场热门笔记接口
小红书蒲公英笔记数据返回的字段。
小红书给不了的标出来了。
| 字段 | 类型 | 含义 |
|---|---|---|
| items[].extra | object | 平台在下面这些字段之外给的内容,用平台自己的字段名(IP 属地、uid、有没有橱窗等),每个是什么见接口的 extra_fields;没有就是空对象。评论和评价里不会有写的人是谁。 |
| items[].title | string | 条目的标题或名称。 |
| items[].url | string | 能打开它的链接;平台的列表不带链接时为 null。 |
| items[].rank | integer | 榜上的名次,从 1 起。 |
| items[].heat | integer | 平台给的热度值。 |
| items[].fields.format | string | image 是图文笔记,video 是视频笔记。 |
| items[].fields.text | string | 笔记正文。 |
| items[].fields.published_at | string | 发布时间。 |
| items[].fields.images | string[] | 图片地址,按笔记里的顺序。 |
| items[].fields.creator_id | string | 博主的蒲公英博主编号,其他蒲公英博主接口可直接用。 |
| items[].fields.creator_name | string | 博主昵称。 |
| items[].fields.brand | string | 报备的合作品牌;不是报备的合作笔记时为 null。 |
| items[].fields.brand_id | string | 报备品牌的小红书账号编号;没有时为 null。 |
| items[].fields.impressions | integer | 曝光数。 |
| items[].fields.views | integer | 阅读数。 |
| items[].fields.likes | integer | 点赞数。 |
| items[].fields.collects | integer | 收藏数。 |
| items[].fields.comments | integer | 评论数。 |
| items[].fields.shares | integer | 分享数。 |
| items[].fields.follows | integer | 这篇笔记带来的涨粉数。 |
| items[].fields.component_clicks.comment_area | string | 评论区组件的点击率档位:normal(0–2%)、high(2–10%)、very_high(10% 以上);没挂时为 null。 |
| items[].fields.component_clicks.content | string | 正文组件的点击率档位;没挂时为 null。 |
| items[].fields.component_clicks.note_bottom | string | 笔记底部组件的点击率档位;没挂时为 null。 |
null小红书给不了的字段这个调用的字段小红书都给得出;单条内容缺某个值时,那个字段是 null。
每一条另有 platform、id、ref、approx、type;items 外面的部分每个调用都一样。 返回格式
小红书蒲公英笔记数据的翻页与计费。
每把 Key 每秒 5 次,购买后 20 次;超出不扣费。 频率限制
失败的调用 0 积分,不会自动重试。 错误码
接口上次实测:2026-11-20。每次调用从平台读取,返回里的 fetched_at 是读取时间;同一把 Key 5 分钟内重发完全相同的请求算重放(replayed: true),0 积分,返回第一次读到的结果。
接好 MCP 后,这样问就会用到小红书蒲公英笔记数据。
按笔记编号取蒲公英给品牌看的这篇小红书笔记的数据:6a20edfa0000000021020951
24 积分call {"op":"xiaohongshu.kol_note_metrics","id":"6a20edfa0000000021020951"}在小红书上搜和“咖啡”有关的笔记,再对前 3 个结果:按笔记编号取蒲公英给品牌看的这篇小红书笔记的数据。
84 积分search {"platform":"xiaohongshu","query":"咖啡"}call {"op":"xiaohongshu.kol_note_metrics","id":"<ref>"} × 3
交给你的 AI。
复制给 Claude 或 ChatGPT。
怎么接用 SocialToAI 的 MCP 服务(https://socialtoai.app/mcp)完成这件事:按笔记编号取蒲公英给品牌看的这篇小红书笔记的数据:6a20edfa0000000021020951调用 call 工具,参数是 {"op":"xiaohongshu.kol_note_metrics","id":"6a20edfa0000000021020951"}。必填:id。要查多个就一个一个调用,每个 24 积分。开跑前先算出总共要多少积分,问我同意了再调用。拿到结果后,可以接着调:comments(评论),用返回的 ref 或 username。如果还没接上 SocialToAI,告诉我怎么接,不要让我把 Key 贴进对话。回答时附上你用到的每一条的链接,最后告诉我花了多少积分。接好 MCP 后把这段话贴进对话。里面没有 Key:在 Claude 和 ChatGPT 里登录授权,其他客户端把 Key 放在请求头里。
接着看。
官方能做什么、谁能申请、多少钱,带来源。
找达人、看资料、看粉丝画像,各平台能拿到什么。
让 ChatGPT 读小红书笔记和评论
让 Claude Code、Cursor 读小红书和抖音:不扫码、不用 Cookie,以及本地自建要付出什么
海外品牌用 AI 监测小红书、抖音和微博:英文输出、带原帖链接
蒲公英和星图的接口:两边的搜索怎么匹配、要什么编号、一份名单多少钱
让你的 AI 直接读小红书。