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.

Open in ChatGPTOpen in Claude

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 in metrics, the next page in page.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-Price caps one call, and the same Idempotency-Key within 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.

Xiaohongshu note searchSearch Xiaohongshu notes by terms: title, text, author, engagement counts, images, and a link that opens. Each says whether it is a brand partnership note on record. By relevance, newest, most liked, most commented or most saved; video or image notes only; published in the last day, week or half year.$0.0200 / a callXiaohongshu note detailGet one Xiaohongshu note by ID or link: title, text, author, engagement counts, images. It also says whether it is a brand partnership note on record.$0.0200 / a callXiaohongshu note commentsGet a page of top-level comments on a Xiaohongshu note by ID or link, newest first or hottest first: text, commenter, likes, reply count, time posted.$0.0200 / a callXiaohongshu user notesGet a page of the notes a Xiaohongshu account posted, by user ID or profile link: title, text, engagement counts, images, whether pinned.$0.0200 / a callXiaohongshu PGY creator searchFind Xiaohongshu creators on PGY by search terms, by the filters of PGY's creator square, or both: followers, the price of a sponsored note, estimated CPM, median reads and interactions of everyday and sponsored notes, image or video creators, content category, content feature, persona, where they are, gender, followers' gender and age, industry worked with lately; leaving out the inactive and those losing followers; ordered by followers, price, reads, interactions, shop visits, cost per read, invitations answered, growth, completion and more. Each with creator ID, name, handle, location, content categories and followers, and in the full view prices and medians. A search goes as far as its first 5,000 creators. The creator ID the other PGY endpoints take comes from here.$0.0400 / a call

Start with one key.

253 endpoints on 21 platforms, from $0.0003 a call. Errors and timeouts are not charged.

Start free