小红书xiaohongshu.pgy.creators.get
小红书蒲公英达人详情 API
达人在蒲公英上的资料:粉丝数、获赞与收藏、阅读和互动中位数、内容和特色标签,以及图文和视频笔记的报价(元)和是否开放接单。
GEThttps://api.okdata.online/v1/xiaohongshu/pgy/creators/get
价格
每次调用 $0.04,返回一个结果。查 1,000 次共 $40.00。失败的调用不扣费。
参数
| 参数名 | 类型 | 说明 |
|---|---|---|
id *必填 | string | 蒲公英达人 ID(24 位十六进制,与小红书用户 ID 相同),来自蒲公英达人搜索。 |
view | stringcompactstandardfull | 返回多少字段。full 会在 ext 里带上平台特有字段。 |
fields | string | 只保留这些字段,逗号分隔,用来省 token。 |
所有接口的 cursor、view、fields 用法一致: 请求说明.
返回字段
返回一个 Creator.
| 字段 | 类型 | 说明 |
|---|---|---|
id | string | 达人广场里的达人 ID,其他达人广场接口用它。 |
url | string | 达人在达人广场的主页。 |
account_id | string | null | 达人在平台上的账号 ID(达人广场给出时)。 |
username | string | null | 平台上的用户名或号(有的话)。 |
name | string | 昵称。 |
avatar_url | string | null | 头像图片地址。 |
location | string | null | 达人所在地。 |
gender | string | null | 达人广场标注的性别。 |
followers | integer | null | 粉丝数。 |
categories | string[] | null | 达人广场的内容类目,平台原文。 |
engagement_rate | number | null | 近期作品的互动率,0 到 1(0.038 即 3.8%)。 |
median_views | integer | null | 近期日常作品的播放或阅读中位数。 |
median_engagements | integer | null | 近期日常作品的互动中位数(赞、评、藏、转)。 |
rates | Rate[] | null | 公开的合作报价;达人广场不展示时为 null。 |
ext | object | 平台特有字段,只在 view=full 时返回。 |
请求示例
curl -G "https://api.okdata.online/v1/xiaohongshu/pgy/creators/get" \
-H "Authorization: Bearer $OKDATA_API_KEY" \
--data-urlencode 'id=5dfa1ee20000000001001cb3'import os
import requests
resp = requests.get(
"https://api.okdata.online/v1/xiaohongshu/pgy/creators/get",
headers={"Authorization": f"Bearer {os.environ['OKDATA_API_KEY']}"},
params={"id": "5dfa1ee20000000001001cb3"},
timeout=60,
)
body = resp.json()
if body["code"] != "ok":
raise RuntimeError(f"{body['code']}: {body['message']} (charged: {body['charged']})")
row = body["data"]["item"]
print(row["name"], row["followers"], row["engagement_rate"])
print("cost: $" + body["meta"]["billing"]["amount"])const url = new URL('https://api.okdata.online/v1/xiaohongshu/pgy/creators/get');
url.searchParams.set('id', "5dfa1ee20000000001001cb3");
const res = await fetch(url, {
headers: {
Authorization: `Bearer ${process.env.OKDATA_API_KEY}`,
},
});
const body = await res.json();
if (body.code !== 'ok') throw new Error(`${body.code}: ${body.message}`);
const row = body.data.item;
console.log(row.name, row.followers, row.engagement_rate);
console.log('cost: $' + body.meta.billing.amount);{
"name": "call",
"arguments": {
"endpoint": "xiaohongshu.pgy.creators.get",
"params": {
"id": "5dfa1ee20000000001001cb3"
}
}
}或者对接好 MCP 的智能体直接说用「小红书蒲公英达人详情」挑出十个互动好、报价划算的达人,附报价。
返回示例
{
"code": "ok",
"request_id": "0f6c2a8e-4b1d-4e0a-9a51-3c7d2b9e1f20",
"data": {
"item": {
"id": "5dfa1ee20000000001001cb3",
"url": "https://pgy.xiaohongshu.com/solar/pre-trade/blogger-detail/5dfa1ee20000000001001cb3",
"account_id": "5dfa1ee20000000001001cb3",
"username": "shaka521",
"name": "山野轻装",
"avatar_url": "https://cdn.example.com/avatar/creator.jpg",
"location": "江苏 苏州",
"gender": "male",
"followers": 176970,
"categories": [
"出行旅游",
"旅行"
],
"engagement_rate": null,
"median_views": 198469,
"median_engagements": 15935,
"rates": [
{
"type": "image_note",
"name": "图文笔记",
"price": 16000,
"currency": "CNY",
"available": true,
"settlement": null
}
]
}
},
"warnings": [],
"meta": {
"capability": "xiaohongshu.pgy.creators.get",
"billing": {
"amount": "0.04",
"currency": "USD",
"balance_after": "9.96"
},
"unavailable": {},
"cached": false,
"replayed": false,
"fetched_at": "2026-11-11T08:00:00Z"
}
}在线调试
这会向 https://api.okdata.online 发送一次真实调用,正常计费:最多 $0.04。失败的调用不扣费。key 只会发往这个地址,本站不保存。
常见问题
小红书蒲公英达人详情接口多少钱?
每次调用 $0.04,返回一个结果。查 1,000 次共 $40.00。失败的调用不扣费。
需要小红书账号、Cookie 或扫码登录吗?
不需要。只要带上 okdata 的 API key。返回的是小红书上的公开数据,不会用到你自己的小红书账号。
调用失败会扣费吗?
不会。所有错误都会返回 charged: false;只有超时返回 charged: null,表示结果还没确定。带同一个 Idempotency-Key 重发,绝不会重复扣费。
小红书不展示某个字段怎么办?
这个字段会是 null,meta.unavailable 里会列出它和原因:platform(平台本来就不展示)或 capability(我们暂时取不到)。
用到这个接口的问答
小红书的其他接口
- 小红书笔记搜索xiaohongshu.notes.searchPost[]$0.02/次
- 小红书笔记详情xiaohongshu.notes.getPost$0.02/次
- 小红书笔记评论xiaohongshu.notes.comments.listComment[]$0.02/次
- 小红书博主信息xiaohongshu.users.getAccount$0.02/次
- 小红书博主笔记列表xiaohongshu.users.notes.listPost[]$0.02/次
- 小红书热点话题xiaohongshu.trends.listTrend[]$0.02/次
- 小红书蒲公英达人搜索xiaohongshu.pgy.creators.searchCreator[]$0.04/次
- 小红书商城商品搜索xiaohongshu.shop.products.searchProduct[]$0.02/次
- 小红书商城商品评价xiaohongshu.shop.products.reviews.listReview[]$0.02/次