GET /v1/xiaohongshu/search/note_v2
Xiaohongshu Note Search API (V2)
stable · 16 credits per success
Search Xiaohongshu (RedNote) notes by keyword, with pagination and sort, note-type and publish-time filters. Use it to support topic research, content discovery and monitoring of keyword-related posts.
Request parameters
| Name | Type | In | Required | Description | Example |
|---|---|---|---|---|---|
| page | integer | query | no | 用于分页的页码。 | 1 |
| sort | string | query | no | 结果集的排序方式。 可选值: - `general`:综合排序 - `popularity_descending`:热度降序 - `time_descending`:时间降序 - `comment_descending`:评论数降序 -… | general |
| keyword | string | query | yes | 搜索关键词。 | 咖啡 |
| noteTime | string | query | no | 笔记发布时间筛选。结果可能包含超出所选时间范围的笔记。 可选值: - `ONE_DAY`:一天内 - `ONE_WEEK`:一周内 - `HALF_YEAR`:半年内 | ONE_DAY |
| noteType | string | query | no | 笔记类型过滤器。 可用值: - `_0`: 通用 - `_1`: 视频 - `_2`: 普通 | _0 |
Response fields
Field dictionary coming soon — the executable panel shows the live shape.
Errors
| code | HTTP | Meaning | Billed |
|---|---|---|---|
| 40001 | 400 | Invalid parameters | no |
| 40102 | 401 | Invalid or revoked API Key | no |
| 40201 | 402 | Insufficient credits | no |
| 40402 | 404 | Resource not found | no |
| 42201 | 422 | Quality gate failed | no |
| 42901 | 429 | Rate limit exceeded | no |
| 50401 | 504 | Upstream timeout | no |
| 50201 | 502 | Upstream error | no |
Billing
Success costs 16 credits. Any failure — including a 200 that fails the quality gate — costs 0.