GET /v1/xiaohongshu/stored/profile
Xiaohongshu stored profile API: a saved RED creator by user ID
Returns a creator we have stored: name, red id, bio, avatar, follower and following counts with their precision, whether a creator page (is_authoritative) or only a note card named them, and when we last read them. Send q as the bare 24-character hex user id, never a Xiaohongshu URL. It reads our database only, so a miss is a 404 and never starts a crawl; read a fresh one with the Xiaohongshu profile API.
- Price
- $0.0005 per call
- Batch
- Yes, through /v1/batch
- Failed calls
- Not charged
Example request
curl 'https://api.virev.ai/v1/xiaohongshu/stored/profile?q=5ea195610000000001000374' \
-H "Authorization: Bearer $VIREV_API_KEY"import os
import requests
response = requests.request(
"GET",
"https://api.virev.ai/v1/xiaohongshu/stored/profile",
params={
"q": "5ea195610000000001000374",
},
headers={"Authorization": f"Bearer {os.environ['VIREV_API_KEY']}"},
timeout=60,
)
response.raise_for_status()
print(response.json())Parameters
| Name | In | Type | Description |
|---|---|---|---|
q required | query | string | Bare lowercase 24-hex Xiaohongshu user ID. Never submit a Xiaohongshu URL: copied URLs may contain private xsec_token values and edge access logs run before application validation. |
Example response
The example response of the API reference.
{
"data": {
"id": 24,
"profile_id": 31,
"user_id": "5ea195610000000001000374",
"red_id": "829461029",
"full_name": "Xxxx辛",
"biography": "分享日常~\n 连赞拉黑!!",
"profile_pic_url": "https://api.virev.ai/v1/media/xiaohongshu_account/24/profile_pic",
"followers": 10000,
"following": 10,
"is_authoritative": true,
"metric_precision": {
"followers": "approximate",
"following": "approximate"
},
"first_scraped_at": "2026-10-27T21:29:02.780030Z",
"last_scraped_at": "2026-10-27T21:29:22.980717Z",
"scrape_count": 9
},
"meta": {
"cost": "$0.0005",
"balance": "$9.9930",
"request_id": "req_1707c43da9fd15140d33b2887e391503"
}
}How it works
A stored Xiaohongshu creator: name, red id, bio, avatar, follower and following counts with their precision, whether a creator page (is_authoritative) or only a note card named it, and when we last read it. Strictly DB: a creator we never stored is a 404, never a crawl. Read a fresh one with /v1/xiaohongshu/user_profile.
Errors
| Status | When |
|---|---|
400 | The request parameters are invalid. |
401 | Missing, malformed, or revoked API key. |
402 | Balance is too low for this request. |
404 | Creator not in the tracked corpus. |
429 | Over the per-minute limit. The limit belongs to your organization and all its API keys share it: 100 requests per minute unless an increase was granted. Wait for the Retry-After seconds, then retry. On a live read, code rate_limited means the platform itself rate-limited this read; retry after the Retry-After seconds. You are not charged. |
502 | The upstream fetch failed. You are not charged. |
503 | Billing could not be confirmed, so no upstream data was returned. |
504 | The upstream request timed out. You are not charged. |