userIdstringwymagane
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.
Twój wynik pojawi się tutaj
Uzupełnij dane wejściowe, a następnie kliknij Uruchom.
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.
Zacznij tworzyć
Punkt końcowy API platformy z jednolitym uwierzytelnianiem i śledzeniem użycia.
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"
}'Ustaw klucz API SandBase w środowisku serwera. Żądania używają uwierzytelniania Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Przechowuj klucz na serwerze. Nie ujawniaj go w kodzie przeglądarkowym.
userIdstringwymaganeKOL's user ID.
dateTypestringTime range for data.
Domyślnie: "DAY_30"
Możliwe wartości: DAY_30, DAY_90
increaseTypestringType of growth data.
Domyślnie: "FANS_TOTAL"
Możliwe wartości: FANS_TOTAL, FANS_INCREASE
Zapisany przykładowy response dla tego API; podczas wyświetlania nie jest wykonywane żadne żądanie na żywo.
Nie opublikowano zapisanego response. Uruchom API w Playground, aby sprawdzić jego odpowiedź.
Odkryj więcej
| API | Cena | Odpowiedź |
|---|---|---|
Xiaohongshu | $0.021429 za wywołanie | JSON |
Xiaohongshu | $0.021429 za wywołanie | JSON |
Xiaohongshu | $0.071429 za wywołanie | JSON |
Xiaohongshu | $0.021429 za wywołanie | JSON |
Xiaohongshu | $0.021429 za wywołanie | JSON |
Xiaohongshu | $0.021429 za wywołanie | JSON |
Przewodniki:Best Xiaohongshu API in 2026: Pricing Compared
Pytania
Wyślij żądanie POST do https://api.sandbase.ai/v1/api/xiaohongshu/pgy-v2/user-id-fans-overall-new-history z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.
$0.021429 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.
Wymagane: userId (string). Opcjonalne: dateType (jedna z opcji: DAY_30, DAY_90) i increaseType (jedna z opcji: FANS_TOTAL, FANS_INCREASE). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.
Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie). README na tej stronie zawiera przykładową odpowiedź.
Nie. Xiaohongshu Pugongying Follower Growth History działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API Xiaohongshu.