GET /v1/xiaohongshu/stored/profile/notes

Xiaohongshu stored notes API: a RED creator's saved notes by user ID

Returns one page of the notes we have stored for a creator, newest first, with notes we read only from an explore card (is_partial) last. Send q as the bare 24-character hex user id, and send next_cursor back as cursor while has_more is true. It reads our database only, so a miss is a 404 and never starts a crawl.

Price
$0.0005 per call
Batch
Yes, through /v1/batch
Failed calls
Not charged

Example request

curl
curl 'https://api.virev.ai/v1/xiaohongshu/stored/profile/notes?q=5ea195610000000001000374' \
  -H "Authorization: Bearer $VIREV_API_KEY"
python
import os
import requests

response = requests.request(
    "GET",
    "https://api.virev.ai/v1/xiaohongshu/stored/profile/notes",
    params={
        "q": "5ea195610000000001000374",
    },
    headers={"Authorization": f"Bearer {os.environ['VIREV_API_KEY']}"},
    timeout=60,
)
response.raise_for_status()
print(response.json())

Parameters

NameInTypeDescription
q requiredquerystringBare 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 5ea195610000000001000374.
limit queryintegerHow many notes to return (1–100). Flat price regardless of count. Default 30.
cursor querystringOpaque next_cursor from the previous page.

Example response

The example response of the API reference, with lists cut to their first 3 items and long text shortened.

json
{
  "data": {
    "notes": [
      {
        "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,
        "metric_precision": {},
        "first_seen_at": "2026-10-27T21:29:02.878963Z",
        "last_seen_at": "2026-10-27T21:29:22.985079Z"
      }
    ],
    "next_cursor": null,
    "has_more": false
  },
  "meta": {
    "cost": "$0.0005",
    "balance": "$9.9925",
    "request_id": "req_bbaa0b40fe8fc047155d60f279f48c7b"
  }
}

How it works

One page of a stored creator's notes, newest first, a note read only from an explore card (is_partial) last. Pass next_cursor back as cursor for the next page; has_more is true exactly when it is set. Flat price per page. Strictly DB: a creator we never stored is a 404, never a crawl.

Errors

StatusWhen
400The request parameters are invalid.
401Missing, malformed, or revoked API key.
402Balance is too low for this request.
404Creator not in the tracked corpus.
429Over 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.
502The upstream fetch failed. You are not charged.
503Billing could not be confirmed, so no upstream data was returned.
504The upstream request timed out. You are not charged.