userIdstringzorunlu
KOL's user ID.
https://api.sandbase.ai/v1/api/xiaohongshu/pgy-v2/user-id-fans-overall-new-historyGet Xiaohongshu Pugongying follower history for a creator over the selected 30- or 90-day period. Use it to track total followers or new-follower growth over time.
Çıktınız burada görünecek
Girdileri tamamlayın, ardından Çalıştır'a tıklayın.
Returns a daily follower time series for one Xiaohongshu creator listed on Pugongying (PGY), plus the total change over the period. It needs the creator's userId. You can pick a 30-day or 90-day window and choose total followers or new followers.
fansNumInc across a shortlist.curl -X POST "https://api.sandbase.ai/v1/api/xiaohongshu/pgy-v2/user-id-fans-overall-new-history" \
-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. |
dateType | string | No | Time range for data. |
increaseType | string | No | Type of growth data. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"fansNumInc": -18872,
"fansNumIncRate": -0.0008,
"list": [
{
"dateKey": "2026-10-04",
"num": 25043018
}
]
}
| Field | Meaning |
|---|---|
fansNumInc | Net change in the num value over the selected period. It is negative when the series went down. |
fansNumIncRate | Change over the period as a decimal rate. For example, -0.0008 means a drop of 0.08%. |
list[] | One entry per day in the selected period, in date order. |
list[].dateKey | Date of the data point, in YYYY-MM-DD format. |
list[].num | Value for that date. With the default increaseType of FANS_TOTAL it is the total follower count. With FANS_INCREASE it is the new-follower figure. |
dateType as DAY_30 (default) or DAY_90 to change the window.increaseType to FANS_TOTAL (default) for total followers or FANS_INCREASE for new-follower growth.userId from Xiaohongshu Pugongying Creator Search. It is a 24-character hex string.$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/user-id-fans-overall-new-history" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"userId": "5a73c5fa4eacab4c4ccc9778",
"dateType": "DAY_30",
"increaseType": "FANS_TOTAL"
}'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.
dateTypestringTime range for data.
Varsayılan: "DAY_30"
Olası değerler: DAY_30, DAY_90
increaseTypestringType of growth data.
Varsayılan: "FANS_TOTAL"
Olası değerler: FANS_TOTAL, FANS_INCREASE
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/user-id-fans-overall-new-history 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ı: dateType (DAY_30, DAY_90 arasından biri) ve increaseType (FANS_TOTAL, FANS_INCREASE arasından biri). 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 Follower Growth History, 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.