API · Xiaohongshu
GET /xiaohongshu/user/posts
A Xiaohongshu account’s latest notes.
| Request | GET /v1/xiaohongshu/user/posts |
| Operation id | xiaohongshu.user.posts |
| Cost | 2 credits, refunded if the call fails |
| Auth | API key: Authorization: Bearer <key> or x-api-key. |
A Xiaohongshu account’s latest notes.
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | string | no | The account id (24 hex characters). Example: 5ff0e6410000000001008400. |
url | string | no | Or the profile URL (xiaohongshu.com or rednote.com). |
limit | integer | no | Notes per page, 1 to 30. Defaults to 30. |
since | string | no | Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Example: 2026-01-01. |
until | string | no | Only rows published on or before this date: YYYY-MM-DD (that whole UTC day) or an ISO 8601 timestamp. Example: 2026-12-31. |
Responses
| Status | Meaning | Schema |
|---|---|---|
200 | The latest notes. | XiaohongshuNotes |
400 | Invalid input. Nothing was charged. | Error |
401 | Missing or invalid API key. | Error |
402 | Not enough credits, a spend cap was reached, or payment is required. | Error |
403 | The target is private, or the account is suspended. | Error |
404 | The account does not exist. | Error |
429 | Too many requests. Wait for Retry-After seconds. | Error |
503 | Xiaohongshu is temporarily unavailable. Retryable; nothing was charged. | Error |
XiaohongshuNotes fields
| Field | Type | Description |
|---|---|---|
data | XiaohongshuNote[] | |
meta | object |
Errors use one shape everywhere; see Errors for every code and what to do.