RedNoteAnswer

Does RedNote (Xiaohongshu) have an API?

No. RedNote's open platform is for shops and lists no API for notes, search or profiles. Our 24-endpoint API returns public notes as JSON.

3 min read

Short answer

  • RedNote's developer site, open.xiaohongshu.com, is an e-commerce open platform (电商开放平台) for shop tools: ERP, order printing, listing migration and inventory.
  • Its homepage lists no API for notes, search, comments or profiles, so tracking posts, comments or creators needs another route.
  • ToolzerHub's RedNote API returns public notes, comments, profiles and product reviews as JSON: 24 endpoints, 15 credits per call, 20 notes per search page.
On this page

No. RedNote (Xiaohongshu, 小红书) has a developer platform, but it is built for shops and lists no API for reading notes. Our RedNote API returns public notes, comments, profiles and product reviews as JSON.

What RedNote's open platform covers

RedNote's open platform is titled 电商开放平台, "e-commerce open platform". Its tool apps let developers build ERP, order printing, listing migration and stock tools once a shop authorises them, and its self-use apps connect a shop's own systems. It lists no API for notes (笔记), search results, comments or user profiles. For shop orders and seller data it is the right route.

Read public RedNote data as JSON

We make ToolzerHub. Our RedNote API returns public RedNote content as JSON with one API key and no RedNote account. It has 24 endpoints in five groups:

  • Search: posts, profiles, images, products, groups and query suggestions.
  • Posts: image or video note details, comments and comment replies.
  • Profiles: profile details, web profile, a profile's posts and its saved posts.
  • Products: details, reviews, review summary and recommendations.
  • Topics, creator inspiration and the home feed.

It reads public content only: no direct messages, private accounts, posting or liking.

bash
curl "https://api.toolzerhub.com/v2/rednote/search/posts?query=coffee" \
  -H "x-api-key: $TOOLZERHUB_API_KEY"

The call returns 20 notes and a next_cursor; one note is shown, trimmed.

json
{
  "data": {
    "items": [{
      "model_type": "note",
      "note": {
        "id": "6809f747000000001e006f6f",
        "title": "ʜᴏᴍᴇ ᴄᴀғᴇ|沉浸式宅家做咖啡🟤浓郁丝滑好喝",
        "desc": "⏳ᴍʏ ᴄᴏғғᴇᴇ ᴅᴀɪʟʏ. #我的咖啡日记 #我的人生vlog …",
        "type": "video",
        "liked_count": 5288,
        "collected_count": 1921,
        "comments_count": 76,
        "shared_count": 394,
        "timestamp": 1745483591,
        "user": { "userid": "…", "nickname": "…" }
      }
    }],
    "next_cursor": "eyJwYWdlIjoyLCJzZWFy…"
  }
}
  • collected_count is saves (收藏), separate from liked_count.
  • timestamp is Unix seconds. type is normal for image notes and video for video notes.
  • sort takes relevance, recent, popular, most_commented, most_saved or english. content_type filters to video, image or live; time_range to day, week or half_year.
  • Pass next_cursor back as cursor, with page set to the next number, for the next 20.

An English query works: all 20 results for "coffee" had Chinese titles about coffee. For a script that saves search results to CSV, see search Xiaohongshu with Python; to export one account's notes, see export a RedNote profile.

What it costs

Every RedNote v2 call costs 15 credits. A search page returns 20 notes, so 1,000 notes take 50 calls, or 750 credits. You get 100 free credits a month, which cover 6 calls, about 120 notes; $19 buys 10,000 credits that never expire, and plans for higher volume cover more notes. Set your key and run the search above.

For Weibo, the other big Chinese platform, see our Weibo API guide. For Douyin creators' videos, see the Douyin API.

We are not affiliated with RedNote or 行吟信息科技(上海)有限公司.

Get this data from your own code

The RedNote API returns it as JSON with one x-api-key header. 100 free credits monthly.