userIdstringobligatoire
KOL's user ID.
https://api.sandbase.ai/v1/api/xiaohongshu/pgy-v2/kol-similar-kolGet paginated Xiaohongshu Pugongying creators similar to a known creator. Use it to expand a campaign shortlist from an existing reference account.
Votre sortie apparaîtra ici
Complétez les entrées, puis cliquez sur Exécuter.
Returns a page of Xiaohongshu Pugongying creators that resemble a reference creator. Each creator comes with follower counts, note counts, level and cooperation fields. You pass the reference creator's userId.
cooperateState before you reach out.businessNoteCount to see who already publishes sponsored content.curl -X POST "https://api.sandbase.ai/v1/api/xiaohongshu/pgy-v2/kol-similar-kol" \
-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. |
pageNum | integer | No | Page number for results. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"highlightWords": [],
"kols": [
{
"accumCommonImpMedinNum30d": 0,
"accumCoopImpMedinNum30d": 0,
"accumPicCommonImpMedinNum30d": 0,
"accumVideoCommonImpMedinNum30d": 0,
"activityList": [
"6adb6413e4b078c833452df1"
],
"algoRecommendReasons": null,
"authorityList": null,
"avgAgmv90d": 0.0,
"avgLiveViewerNum": 0.0,
"businessNoteCount": 73,
"buyerType": 2,
"classifyCode": null
}
],
"redirect2NickSearch": false,
"resultType": 0,
"total": 8,
"trackId": "kolSimilar_6df6cc54eceb4c13a94facae835ed2a5"
}
| Field | Meaning |
|---|---|
kols[] | List of similar creators on this page. |
kols[].fansCount / kols[].fansNum | Follower count of the creator. Both fields hold the same value in this response. |
kols[].businessNoteCount | Number of sponsored (business) notes recorded for the creator. |
kols[].coopNoteNum30d | Number of cooperation notes in the last 30 days, as the key name says. |
kols[].clickMidNum / kols[].clickMidNumMcn | Click-related metric for the creator. The two fields carry the same number in this response. |
kols[].currentLevel | Creator level on the platform. A value of -1 appears for a creator with no level. |
kols[].cooperateState / kols[].cooperType | Numeric codes for the creator's cooperation status and cooperation type. The response does not explain what each code means. |
kols[].fans30GrowthNum / kols[].fans30GrowthRate | Follower growth over 30 days, as a count and as a rate. The rate can be null. |
kols[].clothingIndustryPrice.picturePrice / kols[].clothingIndustryPrice.videoPrice | Price fields for picture and video notes in the clothing industry. They are 0 for the creators shown. |
total | Total number of similar creators found for the reference creator. |
trackId | Identifier of this similar-creator request. |
pageNum to move through pages. It defaults to 1.0 and many others are null for some creators, so check values before you rely on them.$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/kol-similar-kol" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"userId": "5a73c5fa4eacab4c4ccc9778",
"pageNum": 1
}'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.
pageNumintegerPage number for results.
Par défaut : 1
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/kol-similar-kol 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 : pageNum (integer). 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 Similar Creators 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.