userIdstringobligatoire
Blogger's user ID.
https://api.sandbase.ai/v1/api/xiaohongshu/pgy-v2/blogger-user-idGet a Xiaohongshu Pugongying creator profile and cooperation quote information for a known user ID. Use it to review a creator before campaign outreach or pricing comparison.
Votre sortie apparaîtra ici
Complétez les entrées, puis cliquez sur Exécuter.
Returns a Xiaohongshu Pugongying creator profile for one user ID. The response covers follower counts, cooperation status, note counts and estimated cost metrics. It needs only the creator's userId.
businessNoteCount.curl -X POST "https://api.sandbase.ai/v1/api/xiaohongshu/pgy-v2/blogger-user-id" \
-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 | Blogger's user ID. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"accumCommonImpMedinNum30d": 0,
"accumCoopImpMedinNum30d": 0,
"accumPicCommonImpMedinNum30d": 0,
"accumVideoCommonImpMedinNum30d": 0,
"activityList": [
"6adb6413e4b078c833452df1"
],
"algoRecommendReasons": null,
"authorityList": null,
"avgAgmv90d": 0.0,
"avgLiveViewerNum": 0.0,
"businessNoteCount": 181,
"buyerType": 1,
"classifyCode": null
}
| Field | Meaning |
|---|---|
fansCount / fansNum | Total follower count of the creator. Both fields show the same value in this response. |
businessNoteCount | Number of sponsored (business) notes recorded for the creator. |
coopNoteNum30d | Number of cooperation notes in the last 30 days, as the 30d suffix indicates. |
cooperateState / cooperType | Numeric codes for the creator's cooperation status and cooperation type. The response does not explain what each code means. |
currentLevel | Numeric level of the creator on the platform. The response does not explain the scale. |
clickMidNum / clickMidNumMcn | Median click count figures. In this response both fields hold the same value. |
fans30GrowthNum / fans30GrowthRate | Follower growth over the last 30 days, as a count and as a rate. The rate can be null. |
estimatePictureCpm / estimateVideoCpm | Estimated CPM for picture notes and for video notes. A value of 0.0 means no estimate is present. |
estimatePictureEngageCost / estimateVideoEngageCost | Estimated cost per engagement for picture notes and for video notes. |
clothingIndustryPrice.picturePrice / clothingIndustryPrice.videoPrice | Quoted prices for picture and video notes in the clothing industry. The matching pictureState and videoState fields hold state codes. |
null or 0 when the platform has no data for that creator, so check for empty values before comparing creators.userId, search for creators with Xiaohongshu Pugongying Creator Search.$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/blogger-user-id" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"userId": "5a73c5fa4eacab4c4ccc9778"
}'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.
userIdstringobligatoireBlogger's user ID.
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.071429 par appel | JSON |
Xiaohongshu | $0.021429 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/blogger-user-id 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). 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 Creator Profile 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.