Data APIs ยท RedNote (Xiaohongshu)
RedNote (Xiaohongshu) data APIs for AI agents
morigraph has 6 RedNote (Xiaohongshu) data APIs that Claude, ChatGPT, Cursor, Codex or your own code can call, including profile, search, note and note comments. You need no RedNote (Xiaohongshu) developer account or API key, only one morigraph connection. Calls cost from 0.2 credits, about $20 for 1,000 calls, paid from one balance.
- APIs
- 6
- Price
- 0.2 to 0.24 credits a call
- Call it from
- MCP, command line and HTTP API
- Needs
- One morigraph connection. No RedNote (Xiaohongshu) account or API key
Three ways to call it
Every data API is run by one tool, data_api, with the API's id and its arguments. The example is RedNote (Xiaohongshu) Profile.
In your assistant (MCP). Connect once, then ask in plain words
claude mcp add --transport http --scope user morigraph https://morigraph.com/mcp
Use morigraph's RedNote (Xiaohongshu) Profile data API with {"userId":"56b0a4491c07df6365277af7"} and summarise what comes back.From a terminal or script (CLI)
npx @morigraph/cli@latest login
morigraph call data_api --json-args '{"api":"rednote.profile","input":{"userId":"56b0a4491c07df6365277af7"}}'From your own code (HTTP API)
curl https://api.morigraph.com/v1/tools/data_api \
-H "Authorization: Bearer $MORIGRAPH_API_KEY" \
-H "Content-Type: application/json" \
-d '{"api":"rednote.profile","input":{"userId":"56b0a4491c07df6365277af7"}}'6 RedNote (Xiaohongshu) data APIs
| API | Id | Price |
|---|---|---|
| RedNote (Xiaohongshu) Profile | rednote.profile | 0.2 credits a call |
| RedNote (Xiaohongshu) Search | rednote.search | 0.2 credits a call |
| RedNote (Xiaohongshu) Note | rednote.note | 0.24 credits a call |
| RedNote (Xiaohongshu) Note Comments | rednote.note_comments | 0.24 credits a call |
| RedNote (Xiaohongshu) User Notes | rednote.user_notes | 0.2 credits a call |
| RedNote (Xiaohongshu) User Search | rednote.search_users | 0.24 credits a call |
RedNote (Xiaohongshu) Profile
Look up a RedNote (Xiaohongshu) profile by user ID and return normalized profile details.
| Argument | Type | Required | What it is |
|---|---|---|---|
userId | string | yes | RedNote (Xiaohongshu) user ID. |
Returns collectedCount description followers following gender image likedCount location nickname postedNotes redId shareUrl userId verified
The call
data_api({"api":"rednote.profile","input":{"userId":"56b0a4491c07df6365277af7"}})RedNote (Xiaohongshu) Search
Search RedNote (Xiaohongshu) notes by keyword and return normalized note records with pagination.
| Argument | Type | Required | What it is |
|---|---|---|---|
cursor | string | no | Pagination cursor from the previous response. |
query | string | yes | Keyword to search for on RedNote (Xiaohongshu). |
sort | general | hot | time | no | Sort order for matching notes. Default "general". |
Returns authorImage authorNickname authorRedId authorUserId collectCount commentCount createdUtc description image likeCount nextCursor noteId notes shareCount title type updatedUtc xsecToken
The call
data_api({"api":"rednote.search","input":{"query":"coffee","sort":"general"}})RedNote (Xiaohongshu) Note
Look up a RedNote (Xiaohongshu) note by note ID and return normalized note details.
| Argument | Type | Required | What it is |
|---|---|---|---|
noteId | string | yes | RedNote (Xiaohongshu) note ID. |
Returns authorImage authorNickname authorRedId authorUserId authorVerified collectCount commentCount createdUtc description image language likeCount location noteId shareCount title type updatedUtc url
The call
data_api({"api":"rednote.note","input":{"noteId":"6a8fe7c20000000026003bbf"}})RedNote (Xiaohongshu) Note Comments
List comments on a RedNote (Xiaohongshu) note and return normalized comment records with pagination.
| Argument | Type | Required | What it is |
|---|---|---|---|
cursor | string | no | Pagination cursor from the previous response. |
noteId | string | yes | RedNote (Xiaohongshu) note ID. |
Returns commentId comments createdUtc hasMore image likeCount nextCursor nickname noteId redId replyCount text total userId
The call
data_api({"api":"rednote.note_comments","input":{"noteId":"68dd422c0000000203019829"}})RedNote (Xiaohongshu) User Notes
List notes posted by a RedNote (Xiaohongshu) user and return normalized note records with pagination.
| Argument | Type | Required | What it is |
|---|---|---|---|
cursor | string | no | Pagination cursor from the previous response. |
userId | string | yes | RedNote (Xiaohongshu) user ID. |
Returns authorImage authorNickname authorUserId collectCount commentCount createdUtc description hasMore image likeCount nextCursor noteId notes shareCount title type
The call
data_api({"api":"rednote.user_notes","input":{"userId":"56b0a4491c07df6365277af7"}})RedNote (Xiaohongshu) User Search
Search RedNote (Xiaohongshu) users by keyword and return normalized user records with pagination.
| Argument | Type | Required | What it is |
|---|---|---|---|
cursor | string | no | Pagination cursor from the previous response. |
query | string | yes | Keyword to search for on RedNote (Xiaohongshu). |
Returns description image link name nextCursor redId subtitle userId users verified verifyType
The call
data_api({"api":"rednote.search_users","input":{"query":"coffee"}})Good to know
- The price shown is the usual one. A call can cost more when the first source fails and another serves it; the most it can cost is shown beside each API, and
max_creditssets your own limit. - These APIs return public data. What you may do with it depends on the platform's terms and the privacy law where you operate, and that responsibility is yours.
- A failed call is not charged.
When to choose something else
Choose a provider that specialises in RedNote (Xiaohongshu) data when you need it at high volume, on a schedule, or as bulk exports: you will get volume pricing and more control. Choose the platform's official API when you need data from your own account. These APIs are for an agent that needs an answer now, alongside other tools on the same balance.
Questions
Do I need a RedNote (Xiaohongshu) API key or developer account?
No. morigraph supplies the access. You connect morigraph once to your assistant, or use one morigraph API key from your own code, and call any of the 6 APIs on this page.
What does RedNote (Xiaohongshu) data cost through morigraph?
Between 0.2 and 0.24 credits a call depending on the API, where a credit is about 10 cents. That is from about $20 for 1,000 calls. You pay per call from one balance, with no separate subscription.
Can Claude, ChatGPT or Cursor get RedNote (Xiaohongshu) data?
Yes. Add morigraph as an MCP server, sign in once, then ask in plain words. Your assistant finds the right API with one search and runs it with one call.
Which RedNote (Xiaohongshu) data APIs are available?
RedNote (Xiaohongshu) Profile, RedNote (Xiaohongshu) Search, RedNote (Xiaohongshu) Note, RedNote (Xiaohongshu) Note Comments, RedNote (Xiaohongshu) User Notes and RedNote (Xiaohongshu) User Search.
Prices and availability read from the production service on . A credit is about 10 cents of tool use; see pricing. Your assistant can quote the exact cost before a paid call.