userIdstringobbligatorio
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.
Il tuo output apparirà qui
Completa gli input, poi fai clic su Esegui.
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.
Inizia a costruire
Endpoint API della piattaforma con autenticazione unificata e tracciamento dell'utilizzo.
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"
}'Imposta la tua SandBase API key nell'ambiente del server. Le richieste usano l'autenticazione Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conserva la tua key sul server. Non esporla nel codice del browser.
userIdstringobbligatorioKOL's user ID.
dateTypestringTime range for data.
Predefinito: "DAY_30"
Valori possibili: DAY_30, DAY_90
increaseTypestringType of growth data.
Predefinito: "FANS_TOTAL"
Valori possibili: FANS_TOTAL, FANS_INCREASE
Risposta di esempio salvata per questa API; durante la visualizzazione non viene eseguita alcuna richiesta live.
Nessuna risposta salvata è stata pubblicata. Esegui l'API in Playground per ispezionarne la risposta.
Esplora altro
| API | Prezzo | Risposta |
|---|---|---|
Xiaohongshu | $0.021429 per chiamata | JSON |
Xiaohongshu | $0.021429 per chiamata | JSON |
Xiaohongshu | $0.071429 per chiamata | JSON |
Xiaohongshu | $0.021429 per chiamata | JSON |
Xiaohongshu | $0.021429 per chiamata | JSON |
Xiaohongshu | $0.021429 per chiamata | JSON |
Domande
Invia una richiesta POST a https://api.sandbase.ai/v1/api/xiaohongshu/pgy-v2/user-id-fans-overall-new-history con la tua chiave API di SandBase nell'header Authorization (Bearer) e i parametri nel body JSON. Puoi anche provarla nel Playground di questa pagina senza scrivere codice.
$0.021429 per chiamata, addebitato dal tuo saldo SandBase. Paghi solo le chiamate che effettui; non c'è alcun abbonamento.
Richiesti: userId (string). Facoltativi: dateType (uno tra DAY_30, DAY_90) e increaseType (uno tra FANS_TOTAL, FANS_INCREASE). La tabella dei parametri e il Playground di questa pagina elencano tutti i campi.
Una risposta JSON restituita nella stessa richiesta HTTP (sincrona). Il README di questa pagina include una risposta di esempio.
No. Xiaohongshu Pugongying Follower Growth History funziona tramite SandBase, quindi una sola chiave API SandBase copre questo endpoint e tutte le altre API e modelli del catalogo. Non è necessario richiedere separatamente l'accesso alle API Xiaohongshu.