+Xiaohongshu API
Xiaohongshu (RedNote) notes, profiles, comments, video transcripts and explore feeds as clean JSON.
The API.SH Xiaohongshu API turns public Xiaohongshu (RedNote, Little Red Book) pages into structured JSON. Pull the explore feed for a channel such as food, fashion, cosmetics or travel, then open any note for its text, images, video links, tags, likes, collects, comments and shares. Read a creator's profile with followers and likes-and-collects, list their latest posts, read a note's top comments and get the transcript of a video note with its English translation where the site offers one.
- 6 endpoints
- from $1 / 1,000 calls
- 1,000 free credits / month
- failed calls free
GET https://api.api.sh/xiaohongshu/v1/ user
{ "success": true } What you can build with the Xiaohongshu API
Trend and content research
Read the explore feed by channel to see which notes and creators Xiaohongshu is pushing right now in food, beauty, fashion, travel or fitness.
Influencer (KOL/KOC) vetting
Check a creator's followers, likes-and-collects, post count, IP location and recent posts with their engagement before a campaign.
Campaign and note tracking
Track likes, collects, comments and shares on the notes in your campaign, along with their topic tags and mentioned users.
Consumer feedback
Read the top comments and first replies on a note to see how Chinese consumers react to a product or brand.
Video notes to text
Turn a video note into timed text, plain text or an SRT file, in the original Chinese or a translated caption track.
Xiaohongshu data you get
Field names from real responses. Numbers come parsed, URLs absolute, dates in ISO 8601.
Xiaohongshu API endpoints and prices
Every Xiaohongshu endpoint costs 1 credit per call: credits are $1 per 1,000 on a monthly plan, $2 pay-as-you-go. Pricing
| Xiaohongshu (RedNote) explore feed /xiaohongshu/ | $1 · $2 PAYG 1 credit |
| Xiaohongshu (RedNote) user profile /xiaohongshu/ | $1 · $2 PAYG 1 credit |
| Xiaohongshu (RedNote) user posts /xiaohongshu/ | $1 · $2 PAYG 1 credit |
| Xiaohongshu (RedNote) video transcript /xiaohongshu/ | $1 · $2 PAYG 1 credit |
| Xiaohongshu (RedNote) note comments /xiaohongshu/ | $1 · $2 PAYG 1 credit |
| Xiaohongshu (RedNote) note details /xiaohongshu/ | $1 · $2 PAYG 1 credit |
Call the Xiaohongshu API
Xiaohongshu (RedNote) user profile: GET https://api.api.sh/xiaohongshu/
curl "https://api.api.sh/xiaohongshu/v1/user?url=https%3A%2F%2Fwww.xiaohongshu.com%2Fuser%2Fprofile%2F55e34cd858944675eb95b706%3Fxsec_token%3DAB7AqOdnHoTVkdlz_g1V63r0auJqJxW83__3LrOYDVXTw%3D%26xsec_source%3Dpc_feed" \
-H "x-api-key: $APISH_KEY" import os, requests
res = requests.get(
"https://api.api.sh/xiaohongshu/v1/user",
params={"url": "https://www.xiaohongshu.com/user/profile/55e34cd858944675eb95b706?xsec_token=AB7AqOdnHoTVkdlz_g1V63r0auJqJxW83__3LrOYDVXTw=&xsec_source=pc_feed"},
headers={"x-api-key": os.environ["APISH_KEY"]},
timeout=120,
)
res.raise_for_status()
data = res.json() const url = new URL("https://api.api.sh/xiaohongshu/v1/user");
url.searchParams.set("url", "https://www.xiaohongshu.com/user/profile/55e34cd858944675eb95b706?xsec_token=AB7AqOdnHoTVkdlz_g1V63r0auJqJxW83__3LrOYDVXTw=&xsec_source=pc_feed");
const res = await fetch(url, { headers: { "x-api-key": process.env.APISH_KEY } });
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
const data = await res.json(); # Google Sheets (API.SH add-on)
=APISH("/xiaohongshu/v1/user", "url", "https://www.xiaohongshu.com/user/profile/55e34cd858944675eb95b706?xsec_token=AB7AqOdnHoTVkdlz_g1V63r0auJqJxW83__3LrOYDVXTw=&xsec_source=pc_feed")
# Zapier, Make, n8n (verified node): pick the API.SH app,
# choose "Xiaohongshu" and "Xiaohongshu (RedNote) user profile".
# AI agents (Claude, ChatGPT, Cursor): add the
# API.SH MCP server https://api.sh/mcp - Create a free accountConfirm your email and get 1,000 free credits every month. No card needed.
- Create an API keyOne key works for all 482 platforms.
- Send the requestJSON back in one call. Add
output=csvoroutput=ndjsonfor files.
Why API.SH for Xiaohongshu data
- Public data only: no Xiaohongshu login, cookies or account needed
- One key and one response shape for Xiaohongshu and 481 other platforms
- Built and maintained by API.SH, not third-party publishers
- Pay per call; errors on our side cost nothing
- Live status for every endpoint
API.SH vs the official Xiaohongshu API
Xiaohongshu runs an Open Platform (open.xiaohongshu.com), but its APIs are for approved merchants and partners managing a store: orders, products, inventory, logistics and finance. It does not offer public access to notes, profiles or comments. API.SH needs no partner approval or login and returns the public note and profile data as JSON.
Instead of maintaining a GitHub Xiaohongshu scraper or renting Apify actors, some of them already marked deprecated, API.SH gives you one key, a fixed price per call and a JSON shape that stays the same.
Xiaohongshu API questions
What Xiaohongshu data can I get?+
The explore feed by channel (/xiaohongshu/v1/feed), one note with text, media, tags and engagement counts (/xiaohongshu/v1/note), a note's top comments (/xiaohongshu/v1/note/comments), video transcripts (/xiaohongshu/v1/note/transcript), creator profiles (/xiaohongshu/v1/user) and a creator's latest posts (/xiaohongshu/v1/user/notes).
How much does the Xiaohongshu API cost?+
Every Xiaohongshu endpoint costs 1 credit per call. On a monthly plan 1,000 credits cost $1 (Starter is $50/month for 50,000 credits). Pay-as-you-go is $2 per 1,000 credits, with top-ups from $15 that never expire.
Is there a free trial?+
Yes. Every account gets 1,000 free credits every month. That is 1,000 calls to /xiaohongshu/v1/feed at 1 credit each.
Is there an official Xiaohongshu (RedNote) API?+
Only for commerce. The Xiaohongshu Open Platform gives approved merchants and partners APIs for orders, products, inventory and logistics. There is no official public API for notes, creators or comments, which is what API.SH covers.
Do I need a Xiaohongshu account or login?+
No. API.SH reads what Xiaohongshu shows logged-out visitors. That also sets the limits: keyword search, the full comment list and posts beyond the first page are shown to logged-in accounts only, so they are not available.
What is the xsec_token and where do I get it?+
Xiaohongshu only opens a note or profile with the xsec_token that comes with its link. Every link from the feed, share links and the url fields in our responses already carries it, so pass the whole link as url, or the id with its xsec_token.
Can I get English transcripts of RedNote videos?+
Yes, when the site publishes captions for the video. /xiaohongshu/v1/note/transcript returns timed segments, the full text and an SRT file, and lists the caption tracks available, such as zh-CN and en-US. A video without captions returns 404.
How do I get started?+
1. Sign up at api.sh. 2. Copy your API key from the dashboard. 3. Call /xiaohongshu/v1/feed with a channel such as food, then pass any note link it returns to /xiaohongshu/v1/note. Every parameter and request examples are in the docs at https://api.sh/docs. You can also use the JS or Python SDK, Google Sheets, Zapier, Make, n8n or the MCP server at https://api.sh/mcp.