user_idstringrequired
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
},
{
"dateKey": "2026-09-09",
"num": 37225
},
{
"dateKey": "2026-09-10",
"num": 37240
},
{
"dateKey": "2026-09-11",
"num": 37242
},
{
"dateKey": "2026-09-12",
"num": 37249
},
{
"dateKey": "2026-09-13",
"num": 37255
},
{
"dateKey": "2026-09-14",
"num": 37274
},
{
"dateKey": "2026-09-15",
"num": 37274
},
{
"dateKey": "2026-09-16",
"num": 37276
},
{
"dateKey": "2026-09-17",
"num": 37281
},
{
"dateKey": "2026-09-18",
"num": 37284
},
{
"dateKey": "2026-09-19",
"num": 37294
},
{
"dateKey": "2026-09-20",
"num": 37304
},
{
"dateKey": "2026-09-21",
"num": 37312
},
{
"dateKey": "2026-09-22",
"num": 37322
},
{
"dateKey": "2026-09-23",
"num": 37336
},
{
"dateKey": "2026-09-24",
"num": 37357
},
{
"dateKey": "2026-09-25",
"num": 37365
},
{
"dateKey": "2026-09-26",
"num": 37371
},
{
"dateKey": "2026-09-27",
"num": 37372
},
{
"dateKey": "2026-09-28",
"num": 37384
},
{
"dateKey": "2026-09-29",
"num": 37401
},
{
"dateKey": "2026-09-30",
"num": 37407
},
{
"dateKey": "2026-10-01",
"num": 37413
},
{
"dateKey": "2026-10-02",
"num": 37417
},
{
"dateKey": "2026-10-03",
"num": 37419
},
{
"dateKey": "2026-10-04",
"num": 37419
},
{
"dateKey": "2026-10-05",
"num": 37418
}
]
},
"guid": null,
"msg": "成功",
"success": true
}
}
]Select an example to load its inputs and result into the 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.
Start building
Platform API endpoint with unified authentication and usage tracking.
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
-X POST "https://api.sandbase.ai/v1/api/xiaohongshu/pgy/blogger-fans-history" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'SANDBASE_JSON'
{
"user_id": "60b137080000000001000301"
}
SANDBASE_JSON
)
printf '%s\n' "$result"Set your SandBase API key in your server environment. Requests use Bearer authentication.
export SANDBASE_API_KEY="YOUR_API_KEY"Keep your key on the server. Do not expose it in browser code.
user_idstringrequiredBlogger user ID
date_typeintegerDate range (~1=7d, 2=30d, 3=90d)
Saved example response for this API; no live request is made when viewing it.
[
{
"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
},
{
"dateKey": "2026-09-09",
"num": 37225
},
{
"dateKey": "2026-09-10",
"num": 37240
},
{
"dateKey": "2026-09-11",
"num": 37242
},
{
"dateKey": "2026-09-12",
"num": 37249
},
{
"dateKey": "2026-09-13",
"num": 37255
},
{
"dateKey": "2026-09-14",
"num": 37274
},
{
"dateKey": "2026-09-15",
"num": 37274
},
{
"dateKey": "2026-09-16",
"num": 37276
},
{
"dateKey": "2026-09-17",
"num": 37281
},
{
"dateKey": "2026-09-18",
"num": 37284
},
{
"dateKey": "2026-09-19",
"num": 37294
},
{
"dateKey": "2026-09-20",
"num": 37304
},
{
"dateKey": "2026-09-21",
"num": 37312
},
{
"dateKey": "2026-09-22",
"num": 37322
},
{
"dateKey": "2026-09-23",
"num": 37336
},
{
"dateKey": "2026-09-24",
"num": 37357
},
{
"dateKey": "2026-09-25",
"num": 37365
},
{
"dateKey": "2026-09-26",
"num": 37371
},
{
"dateKey": "2026-09-27",
"num": 37372
},
{
"dateKey": "2026-09-28",
"num": 37384
},
{
"dateKey": "2026-09-29",
"num": 37401
},
{
"dateKey": "2026-09-30",
"num": 37407
},
{
"dateKey": "2026-10-01",
"num": 37413
},
{
"dateKey": "2026-10-02",
"num": 37417
},
{
"dateKey": "2026-10-03",
"num": 37419
},
{
"dateKey": "2026-10-04",
"num": 37419
},
{
"dateKey": "2026-10-05",
"num": 37418
}
]
},
"guid": null,
"msg": "成功",
"success": true
}
}
]Explore more
| API | Price | Response |
|---|---|---|
Xiaohongshu | $0.02 per call | JSON |
Xiaohongshu | $0.02 per call | JSON |
Xiaohongshu | $0.02 per call | JSON |
Xiaohongshu | $0.02 per call | JSON |
Xiaohongshu | $0.02 per call | JSON |
Xiaohongshu | $0.02 per call | JSON |
Questions
Send a POST request to https://api.sandbase.ai/v1/api/xiaohongshu/pgy/blogger-fans-history with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.
$0.02 per call, billed from your SandBase balance. You are only charged for calls you make; there is no subscription.
Required: user_id (string). Optional: date_type (integer). The Parameters table and the Playground on this page list every field.
A JSON response returned in the same HTTP request (synchronous). The README on this page includes a sample response.
No. Xiaohongshu (RED) PGY Blogger Fan History runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for Xiaohongshu API access separately.