# Does Xiaohongshu (RedNote) have an API?

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: 14 interfaces from 12 credits a call (≈ $0.024–$0.04), and failed calls are free. Official facts checked 2026-10-17.

- Page: https://socialtoai.com/does-xiaohongshu-have-an-api/
- Last updated: 2026-10-29

## The short answer

Not for public content: Xiaohongshu's open platform offers login only, and documents no API for reading public notes or comments.

## 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](https://openaccount.xiaohongshu.com/docs/quick-start), 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](https://openaccount.xiaohongshu.com/docs/quick-start), checked 2026-10-17 |

## 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](https://socialtoai.com/connect/claude.md), [ChatGPT](https://socialtoai.com/connect/chatgpt.md), [Claude Code](https://socialtoai.com/connect/claude-code.md), [Cursor](https://socialtoai.com/connect/cursor.md) and [Codex](https://socialtoai.com/connect/codex.md). Each call costs a fixed number of credits, and a failed call costs nothing.

| Interface | What it returns | Price key | Credits |
| --- | --- | --- | --- |
| [Search](https://socialtoai.com/xiaohongshu-search-api.md) | Find notes by keyword: text, author, likes, comment count and publish time. | `xiaohongshu.search` | 12 |
| [Search · type=user](https://socialtoai.com/xiaohongshu-search-api.md) | Find accounts by keyword: name. | `xiaohongshu.search:user` | 12 |
| [Search · type=image](https://socialtoai.com/xiaohongshu-search-api.md) | Find notes by keyword: text, author, likes and comment count. | `xiaohongshu.search:image` | 12 |
| [Trending](https://socialtoai.com/xiaohongshu-trending-api.md) | What is trending now: title, rank and heat. | `xiaohongshu.trending` | 12 |
| [Detail](https://socialtoai.com/xiaohongshu-detail-api.md) | One note by ID or link: text, author, likes, comment count and publish time. | `xiaohongshu.detail` | 12 |
| [Comments](https://socialtoai.com/xiaohongshu-comments-api.md) | The comments under one note: text, likes, reply count and time. | `xiaohongshu.comments` | 12 |
| [Comments · reply_of](https://socialtoai.com/xiaohongshu-comments-api.md) | The comments under one note: text, likes and time. | `xiaohongshu.comments:replies` | 12 |
| [User Profile](https://socialtoai.com/xiaohongshu-user-profile-api.md) | One account: name, bio, followers, following and post count. | `xiaohongshu.user_profile` | 12 |
| [User Posts](https://socialtoai.com/xiaohongshu-user-posts-api.md) | The recent notes of one account. | `xiaohongshu.user_posts` | 12 |
| [Product search](https://socialtoai.com/xiaohongshu-product-search-api.md) | Search the products of Xiaohongshu's shop by terms. | `xiaohongshu.product_search` | 12 |
| [Product detail](https://socialtoai.com/xiaohongshu-product-detail-api.md) | Get a product of Xiaohongshu's shop by its ID. | `xiaohongshu.product_detail` | 12 |
| [Product reviews](https://socialtoai.com/xiaohongshu-product-reviews-api.md) | Get the first page of buyers' reviews of a product of Xiaohongshu's shop by the product's ID. | `xiaohongshu.product_reviews` | 12 |

2 more on the [Xiaohongshu (RedNote) API page](https://socialtoai.com/platforms/xiaohongshu.md).

**One call: Search**

```
curl https://api.socialtoai.com/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](https://openaccount.xiaohongshu.com/docs/quick-start), checked 2026-10-17.

### Can I read Xiaohongshu without a developer account?

Yes. SocialToAI reads its publicly visible notes, comments, accounts and trends for you: 14 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

- [How to let ChatGPT read Xiaohongshu (RedNote)](https://socialtoai.com/how-to/let-chatgpt-read-xiaohongshu.md): connect ChatGPT to Xiaohongshu notes and comments
- [Official social media API prices and limits](https://socialtoai.com/data/official-social-api-pricing.md): Every platform's official API on one page, with sources.

## Sources

- [Xiaohongshu: openaccount.xiaohongshu.com](https://openaccount.xiaohongshu.com/docs/quick-start), checked 2026-10-17
- [Xiaohongshu (RedNote) API on SocialToAI](https://socialtoai.com/platforms/xiaohongshu.md): every call and its credits, last tested 2026-10-17
- [The live catalog](https://api.socialtoai.com/v1/capabilities): what is offered now and its credits, readable without a key

- [Xiaohongshu (RedNote) API](https://socialtoai.com/platforms/xiaohongshu.md): Every call on Xiaohongshu, with a request to copy.
- [Xiaohongshu (RedNote) MCP server](https://socialtoai.com/mcp/xiaohongshu.md): Let your AI read Xiaohongshu.
- [Claude](https://socialtoai.com/connect/claude.md): Connect Claude: sign in, no key.
- [ChatGPT](https://socialtoai.com/connect/chatgpt.md): Connect ChatGPT: sign in, no key.
