userIdstringआवश्यक
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.
आपका आउटपुट यहाँ दिखाई देगा
इनपुट पूरा करें, फिर Run पर क्लिक करें।
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.
बिल्डिंग शुरू करें
एकीकृत authentication और usage tracking के साथ Platform API endpoint.
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 key को अपने सर्वर environment में सेट करें। Requests Bearer authentication का उपयोग करती हैं।
export SANDBASE_API_KEY="YOUR_API_KEY"अपना key सर्वर पर रखें। इसे browser code में expose न करें।
userIdstringआवश्यकKOL's user ID.
dateTypestringTime range for data.
डिफ़ॉल्ट: "DAY_30"
संभावित मान: DAY_30, DAY_90
increaseTypestringType of growth data.
डिफ़ॉल्ट: "FANS_TOTAL"
संभावित मान: FANS_TOTAL, FANS_INCREASE
इस API के लिए सेव किया गया example response; इसे देखते समय कोई live request नहीं की जाती।
कोई सेव response प्रकाशित नहीं किया गया है। इसका response देखने के लिए Playground में API चलाएँ।
और जानें
| API | कीमत | प्रतिक्रिया |
|---|---|---|
Xiaohongshu | $0.021429 प्रति कॉल | JSON |
Xiaohongshu | $0.021429 प्रति कॉल | JSON |
Xiaohongshu | $0.071429 प्रति कॉल | JSON |
Xiaohongshu | $0.021429 प्रति कॉल | JSON |
Xiaohongshu | $0.021429 प्रति कॉल | JSON |
Xiaohongshu | $0.021429 प्रति कॉल | JSON |
प्रश्न
https://api.sandbase.ai/v1/api/xiaohongshu/pgy-v2/user-id-fans-overall-new-history पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।
$0.021429 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।
आवश्यक: userId (string)। वैकल्पिक: dateType (DAY_30, DAY_90 में से एक) और increaseType (FANS_TOTAL, FANS_INCREASE में से एक)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।
एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।
नहीं। Xiaohongshu Pugongying Follower Growth History SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से Xiaohongshu API access के लिए आवेदन करने की आवश्यकता नहीं है।