userIdstring必填
KOL's user ID.
https://api.sandbase.ai/v1/api/xiaohongshu/pgy-v2/data-v3-notes-rateGet Xiaohongshu Pugongying aggregate note performance metrics for a creator with business, note-type, date-range, and advertisement filters. Use it to compare content performance across selected scopes.
您的输出将显示在这里
完成输入,然后点击运行。
Returns aggregate note performance metrics for one Xiaohongshu Pugongying creator, such as median reads, impressions and interactions, traffic source shares, and a short list of recent notes. It needs the creator's userId. You can narrow the data by business type, note type, date range and advertisement filter.
advertiseSwitch....BeyondRate fields).curl -X POST "https://api.sandbase.ai/v1/api/xiaohongshu/pgy-v2/data-v3-notes-rate" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"userId": "5a73c5fa4eacab4c4ccc9778"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
userId | string | Yes | KOL's user ID. |
advertiseSwitch | string | No | Advertisement filter. |
business | string | No | Business type. |
dateType | string | No | Time range for data. |
noteType | string | No | Type of note. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"collectMedian": 20580,
"commentMedian": 23809,
"hundredLikePercent": "100.0",
"impMedian": 7498187,
"impMedianBeyondRate": "99.4",
"interactionBeyondRate": "98.9",
"interactionMedian": 285434,
"interactionRate": "17.7",
"likeMedian": 241045,
"longTermCommonNoteVo": {
"endPublishTime": "2026-05-07",
"longTermFindPagePercent": "7.1",
"longTermFollowPagePercent": "29.8",
"longTermKolHomePagePercent": "42.4",
"longTermOtherPagePercent": "9.3",
"longTermReadBeyondRate": "98.3",
"longTermReadNum": 450929,
"longTermSearchPagePercent": "11.3",
"noteNumber": 14,
"recentFindPagePercent": "68.9",
"recentFollowPagePercent": "17.0",
"recentKolHomePagePercent": "9.4"
},
"longTermCooperateNoteVo": {
"endPublishTime": "2026-05-07",
"longTermFindPagePercent": "0.6",
"longTermFollowPagePercent": "40.2",
"longTermKolHomePagePercent": "39.5",
"longTermOtherPagePercent": "2.9",
"longTermReadBeyondRate": "99.0",
"longTermReadNum": 407086,
"longTermSearchPagePercent": "16.8",
"noteNumber": 5,
"recentFindPagePercent": "34.4",
"recentFollowPagePercent": "38.3",
"recentKolHomePagePercent": "21.2"
},
"mEngagementNum": 299081
}
| Field | Meaning |
|---|---|
readMedian / impMedian / interactionMedian | Median reads, impressions and interactions across the notes in the selected scope. |
likeMedian / collectMedian / commentMedian / shareMedian | Median likes, collects, comments and shares per note. |
interactionRate | Interaction rate as a percentage string, for example 17.7. |
readMedianBeyondRate / impMedianBeyondRate / interactionBeyondRate | Percentage strings that show how the creator's median compares with other creators. A higher value means a better standing. |
hundredLikePercent / thousandLikePercent | Percentage strings for notes that reach the 100-like and 1000-like levels. |
noteNumber / videoNoteNumber | Count of notes and count of video notes in the selected scope. |
noteType[].contentTag / noteType[].percent | Content tags used by the creator and the share of notes under each tag. |
pagePercentVo.readHomefeedPercent / readSearchPercent / readFollowPercent / readDetailPercent / readNearbyPercent | Share of reads from each source, written as a fraction of 1. The imp...Percent fields give the same split for impressions. |
longTermCommonNoteVo / longTermCooperateNoteVo | Recent and long-term read counts, read rankings and page source shares for daily notes and cooperation notes. Each block has startPublishTime, endPublishTime and noteNumber. |
notes[].noteId / notes[].title / notes[].publishTime | ID, title and publish date of each listed note. Use notes[].readNum, impNum, likeNum, collectNum and interactionNum for its counts. |
userId is required. The defaults are business DAILY_NOTE, noteType PHOTO_TEXT_AND_VIDEO, dateType DAY_30 and advertiseSwitch ALL.dateType DAY_90 for a longer window, and advertiseSwitch ORGANIC_ONLY to leave out advertised notes.mEngagementNum and mengagementNum appear twice with the same value, as do mFollowCnt and mfollowCnt.noteId.$0.021429 per successful call. Failed calls are not charged.
开始构建
具备统一身份验证和使用情况跟踪的平台 API 端点。
curl -X POST "https://api.sandbase.ai/v1/api/xiaohongshu/pgy-v2/data-v3-notes-rate" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"userId": "5a73c5fa4eacab4c4ccc9778",
"business": "DAILY_NOTE",
"dateType": "DAY_30",
"noteType": "PHOTO_TEXT_AND_VIDEO",
"advertiseSwitch": "ALL"
}'将您的 SandBase API 密钥设置到服务器环境中。请求使用 Bearer 身份验证。
export SANDBASE_API_KEY="YOUR_API_KEY"请将密钥保存在服务器端。不要在浏览器代码中暴露它。
userIdstring必填KOL's user ID.
businessstringBusiness type.
默认值:"DAILY_NOTE"
可选值:DAILY_NOTE, COOPERATE_NOTE
noteTypestringType of note.
默认值:"PHOTO_TEXT_AND_VIDEO"
可选值:PHOTO_TEXT_AND_VIDEO, PHOTO_TEXT, VIDEO
dateTypestringTime range for data.
默认值:"DAY_30"
可选值:DAY_30, DAY_90
advertiseSwitchstringAdvertisement filter.
默认值:"ALL"
可选值:ALL, ORGANIC_ONLY
这是该 API 保存的示例响应;查看时不会发起实时请求。
尚未发布已保存的响应。请在 Playground 中运行 API 以查看其响应。
探索更多
| API | 价格 | 响应 |
|---|---|---|
Xiaohongshu | $0.021429 每次调用 | JSON |
Xiaohongshu | $0.021429 每次调用 | JSON |
Xiaohongshu | $0.071429 每次调用 | JSON |
Xiaohongshu | $0.021429 每次调用 | JSON |
Xiaohongshu | $0.021429 每次调用 | JSON |
Xiaohongshu | $0.021429 每次调用 | JSON |
问题
向 https://api.sandbase.ai/v1/api/xiaohongshu/pgy-v2/data-v3-notes-rate 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 Playground 中试用,无需编写代码。
每次调用 $0.021429,从您的 SandBase 余额中扣费。您只需为实际调用付费;无需订阅。
必填:userId (string)。 可选:business(DAILY_NOTE, COOPERATE_NOTE 之一), noteType(PHOTO_TEXT_AND_VIDEO, PHOTO_TEXT, VIDEO 之一), dateType(DAY_30, DAY_90 之一) 和 advertiseSwitch(ALL, ORGANIC_ONLY 之一)。 Parameters 表和本页的 Playground 列出了每个字段。
在同一个 HTTP 请求中返回的 JSON 响应(同步)。 本页的 README 包含一个示例响应。
不需要。Xiaohongshu Pugongying Note Performance Metrics 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 Xiaohongshu API 访问权限。