GET /v1/xiaohongshu/stored/note
Xiaohongshu stored note API: a saved RED note by note ID
Returns one note we have stored: title, text, likes, comments, saves, shares, posted time, note type, tags, images or video, author and whether we hold the full note or only a feed card (is_partial). Send q as the bare 24-character hex note 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 note 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/note?q=6a4c1b350000000021023a9e' \
-H "Authorization: Bearer $VIREV_API_KEY"import os
import requests
response = requests.request(
"GET",
"https://api.virev.ai/v1/xiaohongshu/stored/note",
params={
"q": "6a4c1b350000000021023a9e",
},
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 note 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, with lists cut to their first 3 items and long text shortened.
{
"data": {
"id": 33,
"note_id": "64469b250000000013016860",
"title": "探店/邯郸",
"caption": "推荐一家经常去的咖啡店 新世纪九楼 SOLOS\nCAFE\n两层工业风的装修风格 很安静 适合聊天学习谈\n事情~\n有饮品,小吃还有 意面(是推荐)~\n喜欢拍照的姐妹可以沖一下\nSOLOS CAFE:新世纪九层\n某音现在有团购 很合适\n#周末探店[话题]# #邯郸美食探店[话题]#",
"likes": 169,
"comments": 16,
"collected": 31,
"shares": 8,
"posted_at": "2023-04-24T15:07:17Z",
"note_type": "normal",
"is_video": false,
"image_url": "https://api.virev.ai/v1/media/xiaohongshu_note/33/post_image",
"image_urls": [
"https://api.virev.ai/v1/media/xiaohongshu_note/33/post_image",
"https://api.virev.ai/v1/media/xiaohongshu_note/33/post_image_1",
"https://api.virev.ai/v1/media/xiaohongshu_note/33/post_image_2"
],
"video_url": null,
"tags": [
"周末探店",
"邯郸美食探店"
],
"is_partial": false,
"first_seen_at": "2026-10-27T21:29:02.878963Z",
"last_seen_at": "2026-10-27T21:29:22.985079Z",
"user_id": "5ea195610000000001000374",
"author_name": "Xxxx辛",
"author_profile_pic_url": "https://api.virev.ai/v1/media/xiaohongshu_account/24/profile_pic",
"media": []
},
"meta": {
"cost": "$0.0005",
"balance": "$9.9935",
"request_id": "req_9b515bb37f488a644de87ab6ca1dadb6"
}
}How it works
The canonical RED note read model over the tracked corpus, including engagement, ordered source/mirrored media, author identity, and partial/full state. Strictly DB: a miss is 404 and never triggers acquisition. Read a fresh note with /v1/xiaohongshu/note_detail.
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 | Note 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. |