userIdstringobligatoire
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.
Votre sortie apparaîtra ici
Complétez les entrées, puis cliquez sur Exécuter.
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.
Commencer à construire
Point de terminaison de l'API de la plateforme avec authentification unifiée et suivi de l'utilisation.
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"
}'Définissez votre clé API SandBase dans l'environnement de votre serveur. Les requêtes utilisent l'authentification Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conservez votre clé côté serveur. Ne l'exposez pas dans le code du navigateur.
userIdstringobligatoireKOL's user ID.
businessstringBusiness type.
Par défaut : "DAILY_NOTE"
Valeurs possibles : DAILY_NOTE, COOPERATE_NOTE
noteTypestringType of note.
Par défaut : "PHOTO_TEXT_AND_VIDEO"
Valeurs possibles : PHOTO_TEXT_AND_VIDEO, PHOTO_TEXT, VIDEO
dateTypestringTime range for data.
Par défaut : "DAY_30"
Valeurs possibles : DAY_30, DAY_90
advertiseSwitchstringAdvertisement filter.
Par défaut : "ALL"
Valeurs possibles : ALL, ORGANIC_ONLY
Exemple de réponse enregistré pour cette API ; aucune requête en direct n'est effectuée lors de l'affichage.
Aucune réponse enregistrée n'a été publiée. Exécutez l'API dans Playground pour inspecter sa réponse.
Explorer plus
| API | Prix | Réponse |
|---|---|---|
Xiaohongshu | $0.021429 par appel | JSON |
Xiaohongshu | $0.021429 par appel | JSON |
Xiaohongshu | $0.071429 par appel | JSON |
Xiaohongshu | $0.021429 par appel | JSON |
Xiaohongshu | $0.021429 par appel | JSON |
Xiaohongshu | $0.021429 par appel | JSON |
Questions
Envoyez une requête POST à https://api.sandbase.ai/v1/api/xiaohongshu/pgy-v2/data-v3-notes-rate avec votre clé API SandBase dans l’en-tête Authorization (Bearer) et les paramètres dans un corps JSON. Vous pouvez aussi l’essayer dans le Playground sur cette page sans écrire de code.
$0.021429 par appel, facturé depuis votre solde SandBase. Vous ne payez que les appels que vous effectuez ; aucun abonnement.
Obligatoire : userId (string). Facultatif : business (l’un de DAILY_NOTE, COOPERATE_NOTE), noteType (l’un de PHOTO_TEXT_AND_VIDEO, PHOTO_TEXT, VIDEO), dateType (l’un de DAY_30, DAY_90) et advertiseSwitch (l’un de ALL, ORGANIC_ONLY). Le tableau des paramètres et le Playground sur cette page listent tous les champs.
Une réponse JSON renvoyée dans la même requête HTTP (synchrone). Le README sur cette page inclut un exemple de réponse.
Non. Xiaohongshu Pugongying Note Performance Metrics fonctionne via SandBase, donc une seule clé API SandBase couvre ce point de terminaison ainsi que toutes les autres API et tous les modèles du catalogue. Vous n’avez pas besoin de demander un accès API Xiaohongshu séparément.