GET /v1/xiaohongshu/search/note_v4
Xiaohongshu Note Search API (V4)
stable · 39 credits per success
Search Xiaohongshu (RedNote) notes through the mobile app search flow, with pagination, sorting, note-type and time filters. Use it for iterative topic research and filtered content discovery.
Request parameters
| Name | Type | In | Required | Description | Example |
|---|---|---|---|---|---|
| page | integer | query | no | 用于分页的页码。 | 1 |
| keyword | string | query | yes | 搜索关键词。 | 咖啡 |
| noteType | string | query | no | 笔记类型筛选。 可选值: - `ALL`: 不限 - `VIDEO_NOTE`: 视频笔记 - `NORMAL_NOTE`: 图文笔记 | ALL |
| sortType | string | query | no | 结果集的排序方式。 可选值: - `general`:综合排序 - `popularity_descending`:热度降序 - `time_descending`:时间降序 - `comment_descending`:评论数降序 -… | general |
| timeFilter | string | query | no | 发布时间筛选。 可选值: - `ALL`: 不限 - `ONE_DAY`: 一天内 - `ONE_WEEK`: 一周内 - `HALF_YEAR`: 半年内 | ALL |
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 39 credits. Any failure — including a 200 that fails the quality gate — costs 0.