FeedMCP

数据接口 / 小红书

蒲公英博主搜索 API

在蒲公英按笔记内容或昵称找博主:粉丝数、图文和视频报价、阅读和互动中位数、阅读成本、视频完播率、粉丝增长,每页 20 个。

项目 值
地址 GET https://api.feedmcp.com/v1/xiaohongshu/pgy/creators/search
ID xiaohongshu.pgy.creators.search
价格 $0.04 / 次
返回 一页 达人对象列表
认证 Authorization: Bearer $FEEDMCP_API_KEY

蒲公英博主 ID 就是小红书用户 ID,可以直接传给小红书账号和笔记接口。prices 是图文和视频笔记的报价(人民币)。

参数

参数 类型 必填 说明
keyword string 是 关键词
by content / name 否 content 按笔记内容找、name 按昵称找,默认 content
cursor string 否 翻页游标。第一页不传;下一页传上一页返回的 page.next_cursor。每一页单独计费

所有接口还支持 view=full:在返回里附上平台的原始数据(raw),价格不变。

返回字段

data.items 是一组「达人」对象,所有平台字段相同:

字段 类型 说明
id string 营销平台上的达人 ID:抖音是星图 ID,小红书是用户 ID;同一平台的达人类接口都用它
platform string 内容平台:douyin、xiaohongshu
name string | null 昵称
avatar string | null 头像
gender 'male' | 'female' | null 性别
location string | null 地区
account_id string | null 对应的内容平台账号 ID(抖音 sec_user_id、小红书用户 ID),可以传给账号接口
handle string | null 抖音号、小红书号
url string | null 星图或蒲公英上的达人主页
mcn string | null 签约机构(只有蒲公英博主资料)
uid string | null 抖音数字 uid(只有星图;巨量算数的达人接口要用)
tags string[] 内容标签
followers number | null 粉丝数
prices {type, price}[] 报价(人民币):星图是 21–60 秒和 60 秒以上视频(只有搜索结果带,完整报价用报价接口),蒲公英是图文和视频笔记
metrics.expected_views number | null 星图预估的单条播放量
metrics.views_median_30d number | null 近 30 天播放中位数
metrics.interaction_rate_30d number | null 近 30 天互动率,0–1
metrics.completion_rate_30d number | null 近 30 天完播率,0–1
metrics.cpm_21_60s number | null 21–60 秒视频的预估 CPM(元)
metrics.star_index number | null 星图指数
metrics.read_median number | null 蒲公英:阅读中位数
metrics.engagement_median number | null 蒲公英:互动中位数
metrics.picture_read_cost number | null 蒲公英:图文单次阅读成本(元)

什么时候扣费

成功调用一次 $0.04,空结果也算一次(搜索的空结果也是答案)。参数错误、平台出错、超时都不收费。

每次返回的 meta.billing 里写着这次扣了多少、还剩多少余额。

调用示例

cURL

curl "https://api.feedmcp.com/v1/xiaohongshu/pgy/creators/search?keyword=%E9%9C%B2%E8%90%A5" \
  -H "Authorization: Bearer $FEEDMCP_API_KEY"

Python

import os, requests

r = requests.get(
    "https://api.feedmcp.com/v1/xiaohongshu/pgy/creators/search",
    params={"keyword": "露营"},
    headers={"Authorization": f"Bearer {os.environ['FEEDMCP_API_KEY']}"},
    timeout=30,
)
print(r.json())

JavaScript

const res = await fetch("https://api.feedmcp.com/v1/xiaohongshu/pgy/creators/search?keyword=%E9%9C%B2%E8%90%A5", {
  headers: { Authorization: `Bearer ${process.env.FEEDMCP_API_KEY}` },
});
console.log(await res.json());

MCP

在装好 FeedMCP 的 AI 里,调用 call 工具:

{
  "endpoint": "xiaohongshu.pgy.creators.search",
  "params": {
    "keyword": "露营"
  },
  "max_price": "0.04"
}

返回示例

示例数据是虚构的,格式和真实返回一致。

{
  "code": "ok",
  "request_id": "req_7Qm2kXb9TzLp",
  "data": {
    "items": [
      {
        "id": "612722f1000000000101d7ec",
        "platform": "xiaohongshu",
        "name": "山野博主1",
        "avatar": "https://sns-avatar-qc.xhscdn.com/a",
        "gender": "female",
        "location": "北京",
        "account_id": "612722f1000000000101d7ec",
        "handle": "aa1j11",
        "url": "https://pgy.xiaohongshu.com/solar/pre-trade/blogger-detail/612722f1000000000101d7ec",
        "tags": [
          "露营徒步",
          "户外爱好者"
        ],
        "followers": 14315,
        "prices": [
          {
            "type": "图文笔记",
            "price": 3500
          },
          {
            "type": "视频笔记",
            "price": 6000
          }
        ],
        "metrics": {
          "likes_and_saves": null,
          "sponsored_notes": null,
          "read_median": 2517,
          "engagement_median": 158,
          "picture_read_cost": 1.44,
          "video_read_cost": null,
          "video_completion_rate": 0.062,
          "followers_growth_rate_30d": 0.046,
          "active_followers_rate": null
        }
      },
      {
        "id": "612722f1000000000102d7ec",
        "platform": "xiaohongshu",
        "name": "山野博主2",
        "avatar": "https://sns-avatar-qc.xhscdn.com/a",
        "gender": "female",
        "location": "北京",
        "account_id": "612722f1000000000102d7ec",
        "handle": "aa1j12",
        "url": "https://pgy.xiaohongshu.com/solar/pre-trade/blogger-detail/612722f1000000000102d7ec",
        "tags": [
          "露营徒步",
          "户外爱好者"
        ],
        "followers": 14315,
        "prices": [
          {
            "type": "图文笔记",
            "price": 3500
          },
          {
            "type": "视频笔记",
            "price": 6000
          }
        ],
        "metrics": {
          "likes_and_saves": null,
          "sponsored_notes": null,
          "read_median": 2517,
          "engagement_median": 158,
          "picture_read_cost": 1.44,
          "video_read_cost": null,
          "video_completion_rate": 0.062,
          "followers_growth_rate_30d": 0.046,
          "active_followers_rate": null
        }
      }
    ]
  },
  "page": {
    "next_cursor": "eyJjdXJzb3IiOjIwfQ",
    "has_more": true
  },
  "warnings": [],
  "meta": {
    "endpoint": "xiaohongshu.pgy.creators.search",
    "platform": "xiaohongshu",
    "fetched_at": "2026-11-19T08:00:00.000Z",
    "source": "FeedMCP",
    "catalog_revision": "d09a736bd39e8b3f",
    "billing": {
      "charged": true,
      "amount": "0.04",
      "currency": "USD",
      "balance": "9.98"
    }
  }
}

出错时的格式见 错误码:每个错误都写明扣没扣钱(charged)和能不能重试(retry)。

小红书的其他接口

常见问题

蒲公英博主搜索接口多少钱?

成功调用一次 $0.04,空结果也算一次(搜索的空结果也是答案)。参数错误、平台出错、超时都不收费。

需要平台账号吗?

不需要,只取公开数据。

ID 或链接怎么找?

笔记 ID 是笔记链接 /explore/ 后面那一串;也可以直接传分享链接(xhslink.com)。

怎么取更多条?

返回里有 page.next_cursor 时,把它作为 cursor 参数传回来取下一页。每一页单独计费。

怎么在 AI 里用?

装好 MCP 后直接说你要什么,AI 会调用 xiaohongshu.pgy.creators.search。