Platforms / Social / Xiaohongshu (RedNote)
Xiaohongshu (RedNote) data API
11 Xiaohongshu (RedNote) endpoints are live: notes, comments, users, search, note detail V4, note comments V4, user profile V4, user notes V3 and note search V4. Only successful calls that return data are billed; each endpoint's parameters, price and full response example are in the API reference. Xiaohongshu (RedNote) posts are also covered by the cross-platform search.
Endpoints Open in the API reference →
- Xiaohongshu (RedNote) note detail
raw.xiaohongshu.note - Xiaohongshu (RedNote) note comments
raw.xiaohongshu.comments - Xiaohongshu (RedNote) comment replies
raw.xiaohongshu.comment_replies - Xiaohongshu (RedNote) user profile
raw.xiaohongshu.user - Xiaohongshu (RedNote) user notes
raw.xiaohongshu.user_notes - Xiaohongshu (RedNote) note search
raw.xiaohongshu.search - Xiaohongshu (RedNote) note detail V4
raw.xiaohongshu.note_v4 - Xiaohongshu (RedNote) note comments V4
raw.xiaohongshu.comments_v4 - Xiaohongshu (RedNote) user profile V4
raw.xiaohongshu.user_v4 - Xiaohongshu (RedNote) user notes V3
raw.xiaohongshu.user_notes_v3 - Xiaohongshu (RedNote) note search V4
raw.xiaohongshu.search_v4
A real response Full example →
早八人通勤咖啡测评|这三家真的值
#咖啡测评
第二家我也天天喝
求地址!
{
"desc": "高三后期。\n教室里最常见的饮料已经不是矿泉水了。\n⸻\n是咖啡。\n⸻\n以前上课。\n桌角摆着的是农夫山泉。\n或者可口可乐。…",
"image_list": [
{
"file_id": "notes_pre_post/1040g3k8320jnafonm8805pg9fsr1hjdj6tlakno",
"height": 1274,
"live_photo": false,
"trace_id": "notes_pre_post/1040g3k8320jnafonm8805pg9fsr1hjdj6tlakno",
"url": "http://sns-na-i27.xhscdn.com/notes_pre_post/1040g3k8320jnaf…",
"width": 1125
}
],
"interact_info": {
"collected": false,
"collected_count": "1153",
"comment_count": "1072",
"followed": false,
"liked": false,
"liked_count": "11045",
"nice_count": "11045",
"relation": "none",
"share_count": "359",
"sticky": false
},
"ip_location": "山东",
"last_update_time": 1790824361,
"note_id": "6a14846d000000000702d0d4",
"share_info": {
"un_share": false
},
"tag_list": [
{
"id": "5c50fb9b000000001c001a21",
"link": "xhsdiscover://topic/v2/5c50fb9b4b25ed000140fa85?page_source…",
"name": "晚自习",
"type": "topic"
}
],
"time": 1779729517,
"title": "高三后期,班里开始靠咖啡续命了",
"type": "normal",
"user": {
"avatar": "https://sns-avatar-qc.xhscdn.com/avatar/1040g2jo3203ufh702q…",
"nick_name": "说***吗",
"red_official_verify_type": 0,
"user_id": "66097f36000000000600cdb3"
}
}Make the call
curl -G https://api.qovia.ai/v1/raw/xiaohongshu/note \ -H "Authorization: Bearer $QOVIA_KEY" \ --data-urlencode "note_id=6a14846d000000000702d0d4"
import os, requests resp = requests.get( "https://api.qovia.ai/v1/raw/xiaohongshu/note", headers={"Authorization": f"Bearer {os.environ['QOVIA_KEY']}"}, params={"note_id": "6a14846d000000000702d0d4"}, ) print(resp.json()["data"])
// Add to any MCP client, then just ask in plain language { "mcpServers": { "qovia": { "url": "https://api.qovia.ai/mcp", "headers": { "Authorization": "Bearer sk-qovia-…" } } } }
FAQ
Does Xiaohongshu (RedNote) have an official data API?
Xiaohongshu (RedNote) offers no self-serve API for notes or comments; its official open platform mainly serves merchants and partners. Qovia turns public Xiaohongshu notes, comments, users and search into one REST API you call with an API key.
What Xiaohongshu (RedNote) data can I get?
Note details (title, text, like/comment/save/share counts, topics, publish time, IP location, images and video), note comments (default or newest first), comment replies, user profiles, a user's notes, and keyword search over notes. Pugongying creator data for brand deals is on the Xiaohongshu Pugongying page.
Do I need a Xiaohongshu account or cookies?
No. All you need is a Qovia API key: no accounts, cookies, proxies or request signing to maintain.
How is it billed?
Prepaid and per call: only successful calls that return data are charged, and empty results, errors and timeouts are not. Every response says what it cost (meta.charged_usd). Each endpoint's price is in the API reference.
Can I use it from Claude, Cursor or other AI tools?
Yes. Qovia is also an MCP server (https://api.qovia.ai/mcp): add it to Claude Code, Cursor or VS Code with your API key and the AI finds the endpoint, pulls the data and summarises it.
What should I keep in mind when using the data?
Qovia provides a data API service and claims no ownership of the underlying content. Use the data under applicable law and Xiaohongshu's platform rules; see our terms of service.
Ways to connect
Guides
- Does Xiaohongshu (RedNote) have an API? Get notes and comments with Python
- Use Douyin, RedNote and Weibo data in Claude Code and Cursor with MCP
More in Social
Your agent only knows what you give it
Give it Douyin, Xiaohongshu (RedNote), WeChat and product reviews: structured, per call, nothing charged for failures.