user_idstringrequerido
Blogger user ID
https://api.sandbase.ai/v1/api/xiaohongshu/pgy/blogger-fans-historyReturns historical follower growth counts for a Xiaohongshu Pugongying blogger over time based on user ID and a selected date range.
[
{
"data": {
"code": 0,
"data": {
"fansNumInc": 219,
"fansNumIncRate": 0.005887255033737466,
"list": [
{
"dateKey": "2026-09-06",
"num": 37199
},
{
"dateKey": "2026-09-07",
"num": 37201
},
{
"dateKey": "2026-09-08",
"num": 37208
},
"… 27 more items in the full response"
]
},
"guid": null,
"msg": "成功",
"success": true
}
}
]Seleccione un ejemplo para cargar sus entradas y el resultado en el playground.
Returns daily follower counts for a Xiaohongshu (RED) Pugongying (PGY) blogger. It needs the blogger's user_id and optionally a date range set with date_type.
curl -X POST "https://api.sandbase.ai/v1/api/xiaohongshu/pgy/blogger-fans-history" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"user_id": "60b137080000000001000301"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
user_id | string | Yes | Blogger user ID |
date_type | integer | No | Date range (~1=7d, 2=30d, 3=90d) |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"code": 0,
"data": {
"fansNumInc": 151,
"fansNumIncRate": 0.004035383094150031,
"list": [
{
"dateKey": "2026-10-04",
"num": 37419
}
]
},
"guid": null,
"msg": "成功",
"success": true
}
| Field | Meaning |
|---|---|
data.fansNumInc | Net change in followers over the returned period, as a whole number. |
data.fansNumIncRate | Follower growth over the period as a decimal ratio. A value of 0.004 means about 0.4%. |
data.list[].dateKey | Date of the data point, in YYYY-MM-DD format. |
data.list[].num | Follower count of the blogger on that date. |
success / code | success is true and code is 0 when the call works. |
msg | Status message text. It reads 成功 (success) on a good call. |
user_id as a string. The example value is 60b137080000000001000301. Look up blogger IDs with Xiaohongshu (RED) PGY Blogger Search.date_type is optional. 1 means 7 days, 2 means 30 days and 3 means 90 days. The schema allows values from 1 to 12.$0.02 per successful call. Failed calls are not charged.
Empiece a construir
Endpoint de la API de la plataforma con autenticación unificada y seguimiento de uso.
curl -X POST "https://api.sandbase.ai/v1/api/xiaohongshu/pgy/blogger-fans-history" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"user_id": "60b137080000000001000301"
}'Configure su clave de API de SandBase en el entorno de su servidor. Las solicitudes usan autenticación Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conserve su clave en el servidor. No la exponga en código del navegador.
user_idstringrequeridoBlogger user ID
date_typeintegerDate range (~1=7d, 2=30d, 3=90d)
Respuesta de ejemplo guardada para esta API; no se realiza ninguna solicitud en vivo al verla.
[
{
"data": {
"code": 0,
"data": {
"fansNumInc": 219,
"fansNumIncRate": 0.005887255033737466,
"list": [
{
"dateKey": "2026-09-06",
"num": 37199
},
{
"dateKey": "2026-09-07",
"num": 37201
},
{
"dateKey": "2026-09-08",
"num": 37208
},
"… 27 more items in the full response"
]
},
"guid": null,
"msg": "成功",
"success": true
}
}
]Explorar más
| API | Precio | Respuesta |
|---|---|---|
Xiaohongshu | $0.02 por llamada | JSON |
Xiaohongshu | $0.02 por llamada | JSON |
Xiaohongshu | $0.02 por llamada | JSON |
Xiaohongshu | $0.02 por llamada | JSON |
Xiaohongshu | $0.02 por llamada | JSON |
Xiaohongshu | $0.02 por llamada | JSON |
Preguntas
Envía una solicitud POST a https://api.sandbase.ai/v1/api/xiaohongshu/pgy/blogger-fans-history con tu clave API de SandBase en el encabezado Authorization (Bearer) y los parámetros como un cuerpo JSON. También puedes probarlo en el Playground de esta página sin escribir código.
$0.02 por llamada, facturado desde tu saldo de SandBase. Solo se te cobra por las llamadas que haces; no hay suscripción.
Requeridos: user_id (string). Opcionales: date_type (integer). La tabla de Parámetros y el Playground de esta página enumeran todos los campos.
Una respuesta JSON devuelta en la misma solicitud HTTP (sincrónica). El README de esta página incluye una respuesta de ejemplo.
No. Xiaohongshu (RED) PGY Blogger Fan History funciona a través de SandBase, así que una sola clave API de SandBase cubre este endpoint y todas las demás APIs y modelos del catálogo. No necesitas solicitar acceso a la API de Xiaohongshu por separado.