Xiaohongshu (RedNote)

Xiaohongshu (RedNote) API

Read notes, comments, user profiles and keyword search from Xiaohongshu (RedNote) over REST: 6 live endpoints, one API key and one JSON envelope. Below are all of them and a real request and response.

A new account gets 50 trial calls; after that, successful calls are billed from a prepaid balance. See pricing.

6 Xiaohongshu (RedNote) API endpoints

Parameters, response fields and code samples for each are in the API reference.

A request and its response

Xiaohongshu (RedNote) note detail(GET /v1/raw/xiaohongshu/note). The sample comes from the endpoint catalog, not live data; a full response also carries request_id and meta.

cURL
curl 'https://api.qovia.ai/v1/raw/xiaohongshu/note?note_id=6a14846d000000000702d0d4' \
  -H "Authorization: Bearer $QOVIA_KEY"
data in the 200 OK response
{
  "data": {
    "id": "soc_xia_456d9ed67d8b",
    "src": "social",
    "platform": "xiaohongshu",
    "lang": "zh-CN",
    "text": "高三后期,班里开始靠咖啡续命了\n高三后期。\n教室里最常见的饮料已经不是矿泉水了。\n⸻\n是咖啡。\n⸻\n以前上课。\n桌角摆着…",
    "author": {
      "uid_hash": "16d5e890d464",
      "user_id": "66097f36000000000600cdb3",
      "nickname": "说***吗"
    },
    "metrics": {
      "likes": 11045,
      "comments": 1072,
      "saves": 1153,
      "shares": 359
    },
    "extra": {
      "source_id": "6a14846d000000000702d0d4",
      "url": "https://www.xiaohongshu.com/explore/6a14846d000000000702d0d4",
      "title": "高三后期,班里开始靠咖啡续命了",
      "note_type": "image",
      "topic": "#晚自习",
      "topics": [
        "晚自习",
        "高考倒计时",
        "我的高三记忆"
      ],
      "published_at": "2026-05-26T01:18:37+08:00",
      "ip_location": "山东",
      "cover_url": "https://sns-na-i27.xhscdn.com/notes_pre_post/1040g3k8320jnafonm8805pg9fsr1hjdj6tlakno?imageView2/2/w/1080/format/webp",
      "images": [
        "https://sns-na-i27.xhscdn.com/notes_pre_post/1040g3k8320jnafonm8805pg9fsr1hjdj6tlakno?imageView2/2/w/1080/format/webp"
      ],
      "video_url": null,
      "video_dur_s": null
    },
    "prov": {
      "hash": "0x9bfd99f0f6635fc6",
      "ts": "2026-10-21T20:49:50+08:00",
      "source": "live"
    }
  }
}

Use Xiaohongshu (RedNote) data from an AI tool

Qovia is also an MCP server. Run this in Claude Code. Finding and reading endpoints needs no key; to call them, set up your API key as in the MCP docs. Cursor and VS Code setups are there too.

Shell
claude mcp add --transport http qovia https://api.qovia.ai/mcp

FAQ

How do I call the Xiaohongshu (RedNote) API?

Send a GET request to https://api.qovia.ai, for example /v1/raw/xiaohongshu/…, with your API key in an Authorization: Bearer header. A success is HTTP 200 with request_id, data and meta. This page lists all 6 endpoints, and each one's parameters are in the API reference.

Does Xiaohongshu (RedNote) have an official data API?

Xiaohongshu (RedNote) offers no self-serve API for notes or comments; its official open platform mainly serves merchants and partners. Qovia turns public Xiaohongshu notes, comments, users and search into one REST API you call with an API key.

What Xiaohongshu (RedNote) data can I get?

Note details (title, text, like/comment/save/share counts, topics, publish time, IP location, images and video), note comments (default or newest first), comment replies, user profiles, a user's notes, and keyword search over notes. Pugongying creator data for brand deals is on the Xiaohongshu Pugongying page.

Do I need a Xiaohongshu account or cookies?

No. All you need is a Qovia API key: no accounts, cookies, proxies or request signing to maintain.

How is it billed?

Prepaid and per call: only successful calls that return data are charged, and empty results, errors and timeouts are not. Every response says what it cost (meta.charged_usd). Each endpoint's price is in the API reference.

Can I use it from Claude, Cursor or other AI tools?

Yes. Qovia is also an MCP server (https://api.qovia.ai/mcp): add it to Claude Code, Cursor or VS Code with your API key and the AI finds the endpoint, pulls the data and summarises it.

What should I keep in mind when using the data?

Qovia provides a data API service and claims no ownership of the underlying content. Use the data under applicable law and Xiaohongshu's platform rules; see our terms of service.

Your agent only knows what you give it

Give it Douyin, Xiaohongshu (RedNote), WeChat and product reviews: structured, per call, nothing charged for failures.