创作者资料
获取已知用户ID的小红书蒲公英创作者资料和合作报价信息。用于在活动对接或报价对比之前审查创作者。
参数
| 参数 | 必填 | 类型 | 说明 | 示例 | 可选值 |
|---|---|---|---|---|---|
user_id |
必填 | string | 博主的用户ID。 | 5f6f683f000000000101dd02 |
— |
代码示例
curl -G "https://api.mofa-ai.com/v1/xiaohongshu_pgy/api_solar_cooperator_user_blogger_user_id_v1" \
-H "Authorization: Bearer $MOFA_API_KEY" \
--data-urlencode 'user_id=5f6f683f000000000101dd02'
import os
import requests
resp = requests.get(
"https://api.mofa-ai.com/v1/xiaohongshu_pgy/api_solar_cooperator_user_blogger_user_id_v1",
headers={"Authorization": f"Bearer {os.environ['MOFA_API_KEY']}"},
params={
"user_id": "5f6f683f000000000101dd02",
},
timeout=60,
)
body = resp.json()
if body["success"]:
print(body["cost_usd"], body["data"])
else:
print(body["error"], body["message"])
const url = new URL("https://api.mofa-ai.com/v1/xiaohongshu_pgy/api_solar_cooperator_user_blogger_user_id_v1");
url.search = new URLSearchParams({
user_id: "5f6f683f000000000101dd02",
});
const resp = await fetch(url, {
headers: { Authorization: `Bearer ${process.env.MOFA_API_KEY}` },
});
const body = await resp.json();
if (body.success) console.log(body.cost_usd, body.data);
else console.error(body.error, body.message);
在线试用
登录后可以在这里直接调用此接口,按价格从余额扣费,失败不收费。新账户赠送 $0.50 试用额度。
响应示例
采集于 2026-11-07,耗时 2245 ms · 请求参数 {"user_id": "5f6f683f000000000101dd02"}
JSON
{
"success": true,
"code": 0,
"message": "success",
"request_id": "req_5f1c2a9be04d7c3a81f6e2d0",
"endpoint": "xiaohongshu_pgy.api_solar_cooperator_user_blogger_user_id_v1",
"cost_usd": 0.03,
"data": {
"code": 0,
"data": {
"cpc": null,
"cps": null,
"…": "+87",
"live": null,
"name": "VvBoom",
"note": null,
"type": [],
"redId": "733190604",
"valid": 1,
"gender": "男",
"userId": "5f6f683f000000000101dd02",
"fansNum": 829738,
"liveSign": null,
"location": "浙江 杭州 余杭区",
"noteList": null,
"noteSign": null,
"userType": 2,
"fansCount": 829738,
"headPhoto": "https://sns-avatar-qc.xhscdn.com/avatar/1040g2jo31h93pm2pja005nrfd0vgbn825peofo8?imageView2/2/w/120/format/jpg",
"isCollect": false,
"nextLevel": -1,
"recommend": null,
"showPrice": null,
"tradeType": null,
"lowerPrice": 50000.0,
"priceState": 1,
"videoPrice": 50000.0,
"videoState": 1,
"clickMidNum": 101129,
"contentTags": [
{
"taxonomy1Tag": "影视综资讯",
"taxonomy2Tags": [
"娱乐资讯"
]
}
],
"featureTags": [
"职场生活",
"vlog"
],
"industryTag": null,
"interMidNum": 3963,
"resemblance": true,
"videoInCart": false,
"currentLevel": 2,
"personalTags": null,
"picturePrice": 0.0,
"pictureState": 0,
"authorityList": null,
"pictureInCart": false,
"videoCpcState": 0,
"clickMidNumMcn": 101129,
"cooperateState": 1,
"picPriceRemind": null,
"totalNoteCount": null,
"travelAreaList": null,
"videoCpcInCart": null,
"homePageDisplay": 1,
"matchNoteNumber": 0,
"pictureCpcInCart": null,
"videoCpcPerPrice": null,
"videoPriceRemind": null,
"businessNoteCount": 3,
"videoCpcBasePrice": null,
"pictureCpcPerPrice": null,
"pictureCpcBasePrice": null,
"videoCpcEstimateNum": null,
"likeCollectCountInfo": 2677503,
"pictureCpcEstimateNum": null,
"goodRecommendPermission": null
},
"message": null,
"requestId": "c72e5d3260024b2f947301027c50b066",
"recordTime": "2026-11-08T07:59:04.297931673",
"requestParams": {
"body": null,
"query": {
"userId": "5f6f683f000000000101dd02"
}
}
}
}