Does Xiaohongshu (RedNote) have an API? (2026)
Not for public content: Xiaohongshu's open platform offers login only, and documents no API for reading public notes or comments. SocialToAI reads its publicly visible notes, comments, accounts and trends without a Xiaohongshu developer account: 30 interfaces from 12 credits a call (≈ $0.024–$0.04), and failed calls are free. Official facts checked 2026-10-17.
The short answer
Not for public content: Xiaohongshu's open platform offers login only, and documents no API for reading public notes or comments.
| Way | What it gives and who can use it | Price |
|---|---|---|
| Xiaohongshu open platform login | Apps that pass Xiaohongshu's review. | The page states no price. |
| Third-party hosted API (this site) | Anyone with a key: no Xiaohongshu account, no developer review. | From 12 credits a call (≈$0.04); failed calls free. |
What the official API allows
Xiaohongshu's open platform currently offers login only: after the app passes review, it can read the basic profile (nickname, avatar) of users who authorise it. No API for reading public notes or comments is documented.
Source: Xiaohongshu's own developer documentation, checked 2026-10-17. What a platform allows changes; its own pages are the authority.
Xiaohongshu's official APIs, side by side
| Official API | Who can use it and how | Cost | Limits | Source |
|---|---|---|---|---|
| Xiaohongshu open platform login | Apps that pass Xiaohongshu's review. | The page states no price. | Reads the basic profile (nickname, avatar) of users who authorise the app; no API for public notes or comments is documented. | openaccount.xiaohongshu.com, checked 2026-10-17 |
Xiaohongshu's own dashboards and programmes
These are not APIs for public content, but they come up whenever people look for its data. Only what their official pages say is written here; a programme whose official page we could not read is left out.
| Programme | What it shows, and who can use it | Bulk export of other people's public content | Closest here | Source |
|---|---|---|---|---|
| Professional account | The rights it lists: a professional identity, multi-dimensional data reports, profile management (linking a shop, claiming a store), fan tools, opening a shop, brand and product partnerships, and paid promotion. A Xiaohongshu account that picks an identity on the platform, submits its qualifications and pays the review fee; the page says review takes three working days. | The page does not mention exporting other people's public content in bulk. | User Profile, User Posts Publicly visible accounts and notes, not the data in your own dashboard. | pro.xiaohongshu.com, checked 2026-11-06 |
| Pugongying | Xiaohongshu's official platform for sponsored content and live-stream partnerships: creator data, note and live-stream results, and the workflow from choosing creators to the review afterwards. Brands, buyers and creators who sign up on it. Its open API needs a brand or agency account's authorisation. | The page does not mention it. The open API's scope is creator quotes, results after an order, orders and comments. | PGY creator search, PGY creator metrics, PGY creator audience profile | pgy.xiaohongshu.com, ad-market.xiaohongshu.com, checked 2026-11-06 |
| Juguang | Xiaohongshu's ad platform. Its help centre covers campaigns and data reports; its open API offers reports and creating and reading campaigns, units and creatives. Advertisers: before registering as a developer, a brand or agency needs a Juguang advertising qualification and its first top-up. | The documented scope is the authorised account's own reports and campaigns. No reading of other people's public content is documented. | No match here: this cannot read your ad account. | ad.xiaohongshu.com, ad-market.xiaohongshu.com, checked 2026-11-06 |
| Qianfan | The merchant back office (its sign-in page is titled Qianfan, beside seller sign-up and a seller school). The e-commerce open platform has tool apps, which offer a shop ERP, order printing, product migration and inventory once the shop authorises them, and apps a shop builds for itself. Shops that sign up; a developer needs the shop's authorisation. | The page does not mention exporting other people's public content in bulk. | Product search, Product detail, Product reviews Public products and reviews, not a shop's back office. | ark.xiaohongshu.com, open.xiaohongshu.com, checked 2026-11-06 |
Reading Xiaohongshu's public data with SocialToAI
SocialToAI is an API and MCP server for publicly visible content and account information. You need no Xiaohongshu account and no app review: one SocialToAI key, or signing in from Claude, ChatGPT, Claude Code, Cursor and Codex. Each call costs a fixed number of credits, and a failed call costs nothing.
| Interface | What it returns | Credits |
|---|---|---|
| Xiaohongshu (RedNote) Search API | Find notes by keyword: text, author, likes, comment count and publish time. | 12 |
| Xiaohongshu (RedNote) Trending API | What is trending now: title, rank and heat. | 12 |
| Xiaohongshu (RedNote) Detail API | One note by ID or link: text, author, likes, comment count and publish time. | 12 |
| Xiaohongshu (RedNote) Comments API | The comments under one note: text, likes, reply count and time. | 12 |
| Xiaohongshu (RedNote) User Profile API | One account: name, bio, followers, following and post count. | 12 |
| Xiaohongshu (RedNote) User Posts API | The recent notes of one account. | 12 |
| Xiaohongshu (RedNote) product search API | Search the products of Xiaohongshu's shop by terms. | 12 |
| Xiaohongshu (RedNote) topic notes API | Get the trending notes under a Xiaohongshu topic by its page ID. | 12 |
| Xiaohongshu (RedNote) topic detail API | Get one Xiaohongshu topic by its page ID. | 12 |
| Xiaohongshu (RedNote) product reviews API | Get the first page of buyers' reviews of a product of Xiaohongshu's shop by the product's ID. | 12 |
| Xiaohongshu (RedNote) Search API · type=user | Find accounts by keyword: name. | 12 |
| Xiaohongshu (RedNote) Search API · type=image | Find notes by keyword: text, author, likes and comment count. | 12 |
18 more on the Xiaohongshu (RedNote) API page.
curl https://socialtoai.app/v1/search \ -H "Authorization: Bearer $SOCIALTOAI_API_KEY" \ -H "Idempotency-Key: $(uuidgen)" \ -H "Content-Type: application/json" \ -d '{ "platform": "xiaohongshu", "query": "咖啡" }'- No Xiaohongshu account, cookie or developer approval on your side.
- What comes back is what the platform shows publicly; commenters are anonymised.
- Every platform answers in the same response format, so the same code reads Xiaohongshu and the others.
- Prepaid credits from 12 credits a call; 100 free credits on sign-up, no card.
Reading Xiaohongshu without the official API
There are three ways in, and they differ in what you have to hand over and keep running. These are kinds of tool, not products.
| Way | What you need | What to watch for |
|---|---|---|
| Write your own scraper | Code, proxies, and often your own Xiaohongshu login or cookies | Requests made in your account's name can get it limited or banned; pages and signatures change, so the code needs upkeep. |
| Run an open-source MCP server or script locally | Install it, then sign in with your account or paste its cookies | It reads as your account, and stops when the platform changes or your computer is off. |
| Call a hosted API (SocialToAI) | One SocialToAI key, or one MCP address and sign-in | No account of yours is used; you pay from 12 credits a call and nothing for a failed one; keeping up with Xiaohongshu is our job. |
FAQ
Does Xiaohongshu (RedNote) have an open API?
For login only: after review, an app can read the basic profile of users who authorise it, and the docs list no API for reading public notes or comments. Source: openaccount.xiaohongshu.com, checked 2026-10-17.
Can Pugongying, Juguang, Qianfan or a professional account export public Xiaohongshu notes in bulk?
The official pages we read do not mention it. They serve brands, agencies, shops and creators: the open API of Juguang and Pugongying needs an account's authorisation, and its scope is reports, campaigns, creator quotes, results after an order, orders and comments. Source: ad-market.xiaohongshu.com, checked 2026-11-06.
Can I read Xiaohongshu without a developer account?
Yes. SocialToAI reads its publicly visible notes, comments, accounts and trends for you: 30 interfaces from 12 credits a call (≈$0.04), and failed calls are free. You need one SocialToAI key, or sign-in from your AI client.
Will reading Xiaohongshu this way get my account banned?
No account of yours is involved: you never sign in to Xiaohongshu, hand over a cookie or install anything, so nothing is read in your account's name.
How much does reading Xiaohongshu cost here?
From 12 credits a call: $0.04 at the first pack, $40.00 for a thousand such calls. A failed call costs nothing, and every answer states what it charged. 100 free credits on sign-up, no card.
Can Claude and ChatGPT read Xiaohongshu?
Yes: add SocialToAI's MCP address in Claude or ChatGPT, sign in and press Allow, then ask in plain words. Each answer states the credits it used.
Read next
Sources
- Xiaohongshu: openaccount.xiaohongshu.com, checked 2026-10-17
- ad-market.xiaohongshu.com, checked 2026-11-06
- pro.xiaohongshu.com, checked 2026-11-06
- pgy.xiaohongshu.com, checked 2026-11-06
- ad.xiaohongshu.com, checked 2026-11-06
- ark.xiaohongshu.com, checked 2026-11-06
- open.xiaohongshu.com, checked 2026-11-06
- Xiaohongshu (RedNote) API on SocialToAI: every call and its credits, last tested 2026-11-19
- The live catalog: what is offered now and its credits, readable without a key
Last updated: