userIdstringzorunlu
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.
Çıktınız burada görünecek
Girdileri tamamlayın, ardından Çalıştır'a tıklayın.
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.
Geliştirmeye başlayın
Birleşik kimlik doğrulama ve kullanım takibi sunan Platform API uç noktası.
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
}'SandBase API anahtarınızı sunucu ortamınıza ayarlayın. İstekler Bearer kimlik doğrulaması kullanır.
export SANDBASE_API_KEY="YOUR_API_KEY"Anahtarınızı sunucuda tutun. Tarayıcı kodunda açığa çıkarmayın.
userIdstringzorunluKOL's user ID.
pageNumintegerPage number for results.
Varsayılan: 1
Bu API için kaydedilmiş örnek yanıt; görüntülerken canlı istek yapılmaz.
Yayınlanmış bir kaydedilmiş yanıt yok. Yanıtını incelemek için API'yi Playground'da çalıştırın.
Daha fazlasını keşfedin
| API | Fiyat | Yanıt |
|---|---|---|
Xiaohongshu | $0.021429 çağrı başına | JSON |
Xiaohongshu | $0.021429 çağrı başına | JSON |
Xiaohongshu | $0.071429 çağrı başına | JSON |
Xiaohongshu | $0.021429 çağrı başına | JSON |
Xiaohongshu | $0.021429 çağrı başına | JSON |
Xiaohongshu | $0.021429 çağrı başına | JSON |
Sorular
SandBase API anahtarınızı Authorization başlığında (Bearer) ve parametreleri JSON gövdesi olarak ile https://api.sandbase.ai/v1/api/xiaohongshu/pgy-v2/kol-similar-kol adresine bir POST isteği gönderin. Ayrıca bu sayfadaki Playground’da kod yazmadan da deneyebilirsiniz.
çağrı başına $0.021429, SandBase bakiyenizden tahsil edilir. Yalnızca yaptığınız çağrılar için ücretlendirilirsiniz; abonelik yoktur.
Gerekli: userId (string). İsteğe bağlı: pageNum (integer). Parametreler tablosu ve bu sayfadaki Playground, tüm alanları listeler.
Aynı HTTP isteğinde döndürülen bir JSON yanıtı (senkron). Bu sayfadaki README'de örnek bir yanıt yer alır.
Hayır. Xiaohongshu Pugongying Similar Creators, SandBase üzerinden çalışır; bu nedenle tek bir SandBase API anahtarı bu uç noktayı ve katalogdaki diğer tüm API'leri ve modelleri kapsar. Xiaohongshu API erişimi için ayrıca başvuru yapmanız gerekmez.