Xiaohongshu API (beta)
Read public Xiaohongshu data in one call: profiles, their latest notes and the explore feed. Responses come in Xiaohongshu’s own JSON, over REST or MCP.
- Endpoints
- 3
- From
- 2 credits · $0.02
- Failed calls
- Refunded
- Access
- REST · MCP · SDK
Xiaohongshu profile API
Endpoint details →import os, requests
res = requests.get(
"https://api.groundsocial.dev/v1/xiaohongshu/user?id=5ff0e6410000000001008400",
headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json(){ "basicInfo": { "nickname": "小王不爱睡", "redId": "hh06ovo", "desc": "谢谢大家喜欢 禁止拿图发其他平台!\n📮2027812575@qq.com", "gender": 1, "ipLocation": "", "images": "https://sns-avatar-qc.rednotecdn.com/avatar/61b1d83dc6f75a2f6b7215fa.jpg?imageView2/2/w/360/format/webp", "imageb": "https://sns-avatar-qc.rednotecdn.com/avatar/61b1d83dc6f75a2f6b7215fa.jpg?imageView2/2/w/540/format/webp" }, "interactions": [ { "type": "follows", "count": "8", "name": "关注", "i18nCount": "8", "show": false }, { "type": "fans", "count": "1万+", "i18nCount": "1万+", "show": false, "name": "粉丝" }, "… 1 more" ], "tags": [ { "icon": "http://sns-i11.rednotecdn.com/icons/user/gender-female-v1.png", "tagType": "info" } ], "result": { "success": true, "code": 0, "message": "success" }, "extraInfo": { "fstatus": "none", "blockType": "DEFAULT" }, "posted": 488, "liked": 680418, "collected": 147646, "tabPublic": { "collection": false, "collectionNote": { "count": 0, "display": false, "lock": false }, "collectionBoard": { "display": false, "lock": false, "count": 0 }, "collectionFile": { "display": false, "lock": false, "count": 0 } }, "user_id": "5ff0e6410000000001008400", "url": "https://www.rednote.com/user/profile/5ff0e6410000000001008400"}All Xiaohongshu endpoints
Credits per call · refunded on failure · Code tutorialsWhat people build with it
Social listening
Track mentions of a brand, product or topic as they post.
Creator research
Profiles, follower counts and recent posts for vetting.
Agent context
Give an AI agent what people are saying, with sources.
Pricing
Pay per call with credit packs that never expire, or keyless per call. No subscription. 100 free credits to start.
All packs →| Provider | Per 1,000 | Unit |
|---|---|---|
| Groundsocial | $1.00 → $0.40 | standard calls; $0.02 per call keyless |
| Phyllo | Quote only | custom plans |
Other providers’ prices from their public pages, in their own currency. A credit buys a different amount on each.
Xiaohongshu API questions
Do I need a Xiaohongshu account or API key?
No. Every call reads what Xiaohongshu shows a logged-out visitor. You only need a Groundsocial API key, or none at all with pay-per-call.
How much does the Xiaohongshu API cost?
From 2 credits per call. Credits cost $1.00 to $0.40 per 1,000 depending on the pack, or $0.02 per call keyless. Failed calls are refunded. You start with 100 free credits.
What format is the data in?
Responses come in Xiaohongshu’s own JSON, not a lossy cross-platform schema, so field names match what Xiaohongshu itself uses.
Can an AI agent use it?
Yes. Every Xiaohongshu endpoint is an MCP tool (xiaohongshu_user_get, …), and agents can sign themselves up with POST /v1/agent/signup.
Is it official?
No. Groundsocial is an independent API for public data. Xiaohongshu is a trademark of Xingyin Information Technology. We are not affiliated with or endorsed by Xingyin Information Technology.
More social APIs
All platforms →14 endpoints
Instagram API26 endpoints
LinkedIn API12 endpoints
Facebook API17 endpoints
Threads API6 endpoints
Bluesky API27 endpoints
Xiaohongshu is a trademark of Xingyin Information Technology. We are not affiliated with or endorsed by Xingyin Information Technology.