How do I export Xiaohongshu (RedNote) data?
Take it page by page with OneFeedAPI's Xiaohongshu endpoints: note search and details, a creator's notes, comments and replies, and PGY creator data all come back in one JSON shape. Without code, the command line writes results to a file, and Skills turn comments and keyword searches straight into a CSV table. OneFeedAPI reads Xiaohongshu (RedNote) with 33 endpoints, from $0.0200 a call; a failed call is not charged, and the free trial covers up to 333 calls.
What you can export
Notes found by keyword, a note's whole text, hashtags and images, a creator's notes, the comments and replies under a note, Xiaohongshu's trending list, PGY creators' rates, performance and audiences, and products with their reviews. All of it is publicly visible data; you never sign in to Xiaohongshu.
Three ways to export
In code: each call returns one page, with the list in data.items; pass page.next_cursor back as cursor for the next page, within the hour the cursor is good for. Every page is a call charged on its own.
On the command line: onefeedapi call with --pages walks several pages, --max-spend caps the cost, and --out writes the result to a JSON file. With a Skill: onefeedapi run comments takes a note's comments and onefeedapi run mentions searches a page of notes by keyword; --out writes either as a CSV.
Before you export
The text in search results is the excerpt on the card, not the whole note: get the whole text from the note endpoint by ID. A note ID is 24 hexadecimal characters; the note endpoint also takes a long web link, but not short links or share texts.
Search results come with each note's text, author and counts.
Why OneFeedAPI
- Steady: endpoints were available 100% of the last 30 days, on a public status page you can check.
- Fast: a paid call took 1.3 seconds at the median over the last 7 days (counted 2026-11-06).
- Fewer tokens: across 21 endpoints on Xiaohongshu (RedNote), one recorded real response each, the platform's own JSON comes to 480k tokens and what an AI reads through OneFeedAPI's MCP server to 36k, 92% fewer; the JSON of a direct API call is 85% fewer too (counted 2026-11-06). Every platform answers in one shape: the author in
author, counts inmetrics, the next page inpage.next_cursor, so another platform needs no new parser. - See before you pay: every endpoint's page shows a recorded real response, field by field.
- Spending you control: a failed call is not charged; each key can have a limit,
X-Max-Pricecaps one call, and the sameIdempotency-Keywithin 24 hours is never charged twice. - Ready for AI: a remote MCP server listed in the official MCP registry as
com.onefeedapi/mcp, usable from Claude, Cursor and ChatGPT. - Free trial of up to 333 calls, no card.
Endpoints
Each with its price; every page has the parameters, the fields and a recorded response.
Start with one key.
253 endpoints on 21 platforms, from $0.0003 a call. Errors and timeouts are not charged.