API · Xiaohongshu
GET /xiaohongshu/user
A Xiaohongshu profile: bio, followers, likes and saves.
| Request | GET /v1/xiaohongshu/user |
| Operation id | xiaohongshu.user.get |
| Cost | 2 credits, refunded if the call fails |
| Auth | API key: Authorization: Bearer <key> or x-api-key. |
A Xiaohongshu profile: bio, followers, likes and saves.
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). |
Responses
| Status | Meaning | Schema |
|---|---|---|
200 | The profile. | XiaohongshuUser |
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 |
XiaohongshuUser fields
| Field | Type | Description |
|---|---|---|
user_id | string | |
basicInfo | object | |
interactions | object[] | follows, fans (followers), interaction (likes and saves), as display strings. |
tags | object[] | |
url | string |
Errors use one shape everywhere; see Errors for every code and what to do.