小红书数据 API · Xiaohongshu (RedNote) data API · DataXAPI
БесплатноБез исполняемых скриптовНе проверенPublic Xiaohongshu (RedNote) data through DataXAPI: videos, notes, images, topics, users, comments, PGY, Xiaohongshu Shop. 33 endpoints, $0.0200 to $0.0400 a…
от data-x-api403 установки в других каталогахОб этом скилле
小红书数据 API · Xiaohongshu (RedNote) data API · DataXAPI
Pay per call, no subscription. A call that ends in an error is not charged. 按次付费,不用订阅;出错不收费。 33 Xiaohongshu (RedNote) endpoints, $0.0200 to $0.0400 a call, each at its own price (listed below). No Xiaohongshu (RedNote) account, cookie or login: one DataXAPI key.
DataXAPI returns public Xiaohongshu (RedNote) data (小红书的公开数据) in one response shape, paid per call from a prepaid balance. This skill lists all 33 Xiaohongshu (RedNote) endpoints with their prices and the questions each one answers. It was generated from catalog revision e43c3e964bcc3fc3.
What one call returns: xiaohongshu.notes.search with query=咖啡, a recorded answer (15 items came back, the first shown; names, text, IDs and links are stand-ins, the figures are as recorded).
{
"data": {
"items": [
{
"id": "67d5e2be00000000d803d22d",
"url": "https://www.xiaohongshu.com/explore/67d5e2be00000000d803d22d",
"type": "image",
"title": "实测一个月咖啡,结论有点意外",
"text": "把咖啡从头到尾讲清楚,看完少走弯路",
"published_at": "2026-05-17T05:25:25.000Z",
"author": {
"id": "6130783200000000883b2a1e",
"username": "coffee_lab_sh",
"name": "山野咖啡馆",
"avatar_url": "https://sns-avatar-qc.xhscdn.com/avatar/610f17040000000049dd4887.jpg"
},
"metrics": {
"likes": 48,
"comments": 21,
"shares": 5,
"favorites": 10
},
"images": [
"https://sns-webpic-qc.xhscdn.com/20261010/2d7c7c32da67d3c3d839!nd_dft_wlteh_webp_3"
]
}
]
},
"page": {
"returned": 15,
"has_more": true,
"next_cursor": "c1.Ip12-f4dS4HmSDpdPex7WuLPBr1zJAbdhL_Wj8K0"
},
"meta": {
"billing": {
"amount": "0.02",
"currency": "USD",
"balance_after": "9.98"
}
}
}
What to call for which question
- Find Xiaohongshu (RedNote) notes that review sunscreen. / 搜小红书上测评防晒霜的笔记。 →
xiaohongshu.notes.search($0.0200) - Which PGY (蒲公英) creators write about home decor? / 蒲公英上有哪些写家居的博主? →
xiaohongshu.pgy.creators.search($0.0400) - What do the comments on this Xiaohongshu note say? / 这篇小红书笔记下面的评论在说什么? →
xiaohongshu.notes.comments.list($0.0200)
Skills for one job here, each with its parameters and calls: xiaohongshu-note-search (小红书笔记搜索), xiaohongshu-comments (小红书评论采集), xiaohongshu-creator (小红书博主资料与笔记), xiaohongshu-trends (小红书热点话题), xiaohongshu-keyword-index (小红书关键词搜索指数).
When the question is not one of these, run find (or dataxapi find) with the user's words and xiaohongshu; if nothing fits, say so instead of calling another platform.
Call it three ways
Command line (npm install -g dataxapi, or npx dataxapi), with the key in $DATAXAPI_API_KEY (never print it, log it or put it in an address):
dataxapi call xiaohongshu.notes.search 'query=咖啡' --max-price 0.02
MCP. Server https://api.dataxapi.com/mcp, header Authorization: Bearer <key>. Tools: find (with platform: "xiaohongshu" it lists this platform's endpoints), describe (parameters and price), call, read_more (free), account (balance). Setting the server up: https://dataxapi.com/agents.md
{"capability":"xiaohongshu.notes.search","query":"咖啡","max_price":"0.02"}
REST:
curl -G "https://api.dataxapi.com/v1/xiaohongshu/notes/search" \
--data-urlencode "query=咖啡" \
-H "Authorization: Bearer $DATAXAPI_API_KEY"
xiaohongshu.notes.search costs $0.02 per call. Every capability ID maps to its path: dots become slashes under /v1. Finding endpoints, reading their parameters and their prices is free and needs no key.
Before you call
- IDs are 24 characters. Notes, users, topics and products are named by 24 hexadecimal characters. A note's link ends in its ID (/explore/
or /discovery/item/ ); short links and share texts are not taken. - Search returns an excerpt. A search result is the card, not the note: its text is an excerpt and its title has lost its emoji. An account's note list gives the first 100 characters. Note detail has the whole text.
- A link that opens. Search results carry a link with the access token the website asks for. An account's note list has no link: fetch the note by its ID to get one.
- No view counts. Notes come without a view count: the platform does not give one.
- The PGY creator ID. PGY endpoints take the creator ID from the PGY creator search. That search matches what creators write about; for terms no creator matches it still returns loosely related creators, not an empty list.
Every Xiaohongshu (RedNote) endpoint
| Capability ID | Name | Returns | Price | A page |
|---|---|---|---|---|
xiaohongshu.images.search |
Xiaohongshu image search (小红书图片搜索) | Search Xiaohongshu pictures by terms, a page at a time; each result is one picture with the note it belongs to: the picture's address, the note's title, |
Установить 小红书数据 API · Xiaohongshu (RedNote) data API · DataXAPI в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл 小红书数据 API · Xiaohongshu (RedNote) data API · DataXAPI?
Public Xiaohongshu (RedNote) data through DataXAPI: videos, notes, images, topics, users, comments, PGY, Xiaohongshu Shop. 33 endpoints, $0.0200 to $0.0400 a call, a failed call is free. Use when the user asks about Xiaohongshu (RedNote) content, accounts, comments or trends, or gives a Xiaohongshu (RedNote) link, ID or account name. 通过 DataXAPI 取小红书的公开数据:视频、笔记、图片、话题、用户、评论、蒲公英、小红书商城。33 个接口,一次 $0.0200 到 $0.0400,失败不收费。用户问到小红书的内容、账号、评论或热点,或给出小红书的链接、编号、账号名时使用。
Как установить скилл 小红书数据 API · Xiaohongshu (RedNote) data API · DataXAPI?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл 小红书数据 API · Xiaohongshu (RedNote) data API · DataXAPI запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic