SocialToAIStart freeConsole

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.

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, checked 2026-10-17. What a platform allows changes; its own pages are the authority.

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.

InterfaceWhat it returnsPrice keyCredits
SearchFind notes by keyword: text, author, likes, comment count and publish time.xiaohongshu.search12
Search · type=userFind accounts by keyword: name.xiaohongshu.search:user12
Search · type=imageFind notes by keyword: text, author, likes and comment count.xiaohongshu.search:image12
TrendingWhat is trending now: title, rank and heat.xiaohongshu.trending12
DetailOne note by ID or link: text, author, likes, comment count and publish time.xiaohongshu.detail12
CommentsThe comments under one note: text, likes, reply count and time.xiaohongshu.comments12
Comments · reply_ofThe comments under one note: text, likes and time.xiaohongshu.comments:replies12
User ProfileOne account: name, bio, followers, following and post count.xiaohongshu.user_profile12
User PostsThe recent notes of one account.xiaohongshu.user_posts12
Product searchSearch the products of Xiaohongshu's shop by terms.xiaohongshu.product_search12
Product detailGet a product of Xiaohongshu's shop by its ID.xiaohongshu.product_detail12
Product reviewsGet the first page of buyers' reviews of a product of Xiaohongshu's shop by the product's ID.xiaohongshu.product_reviews12

2 more on the Xiaohongshu (RedNote) API page.

One call: Search
curl https://api.socialtoai.com/v1/search \  -H "Authorization: Bearer $SOCIALTOAI_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.

Sources

Last updated: