keywordstringrequired
Search keyword
https://api.sandbase.ai/v1/api/xiaohongshu/app-v2/search-usersReturns Xiaohongshu user profiles matching a specified query term. Includes user identifiers, verification details, and follower count metrics.
[
{
"data": {
"code": 0,
"data": {
"filters": [
{
"filter_tags": [
{
"icon_tail_url": "",
"icon_tail_url_night": "",
"icon_url": "",
"icon_url_night": "",
"id": "all",
"name": "All",
"need_location_info": false,
"origin_text": "",
"sub_filters": null,
"sub_filters_select_type": ""
},
{
"icon_tail_url": "",
"icon_tail_url_night": "",
"icon_url": "",
"icon_url_night": "",
"id": "0-100",
"name": "0-100",
"need_location_info": false,
"origin_text": "",
"sub_filters": null,
"sub_filters_select_type": ""
},
{
"icon_tail_url": "",
"icon_tail_url_night": "",
"icon_url": "",
"icon_url_night": "",
"id": "100-1000",
"name": "100-1k",
"need_location_info": false,
"origin_text": "",
"sub_filters": null,
"sub_filters_select_type": ""
},
{
"icon_tail_url": "",
"icon_tail_url_night": "",
"icon_url": "",
"icon_url_night": "",
"id": "1000-10000",
"name": "1k-10k",
"need_location_info": false,
"origin_text": "",
"sub_filters": null,
"sub_filters_select_type": ""
},
{
"icon_tail_url": "",
"icon_tail_url_night": "",
"icon_url": "",
"icon_url_night": "",
"id": "10000-100000",
"name": "10k-100k",
"need_location_info": false,
"origin_text": "",
"sub_filters": null,
"sub_filters_select_type": ""
},
{
"icon_tail_url": "",
"icon_tail_url_night": "",
"icon_url": "",
"icon_url_night": "",
"id": "100000",
"name": "Above 100k",
"need_location_info": false,
"origin_text": "",
"sub_filters": null,
"sub_filters_select_type": ""
}
],
"group_show_type": 0,
"id": "fans_count",
"invisible": true,
"name": "Followers",
"type": "single",
"word_request_id": "b6fd96797c9b9f0e6cc14b66c7ad73ef"
},
{
"filter_tags": [
{
"icon_tail_url": "",
"icon_tail_url_night": "",
"icon_url": "",
"icon_url_night": "",
"id": "all",
"name": "All",
"need_location_info": false,
"origin_text": "",
"sub_filters": null,
"sub_filters_select_type": ""
},
{
"icon_tail_url": "",
"icon_tail_url_night": "",
"icon_url": "",
"icon_url_night": "",
"id": "regular_user",
"name": "regular user",
"need_location_info": false,
"origin_text": "",
"sub_filters": null,
"sub_filters_select_type": ""
},
{
"icon_tail_url": "",
"icon_tail_url_night": "",
"icon_url": "",
"icon_url_night": "",
"id": "personal_verification",
"name": "personal verification",
"need_location_info": false,
"origin_text": "",
"sub_filters": null,
"sub_filters_select_type": ""
},
{
"icon_tail_url": "",
"icon_tail_url_night": "",
"icon_url": "",
"icon_url_night": "",
"id": "business_verification",
"name": "business verification",
"need_location_info": false,
"origin_text": "",
"sub_filters": null,
"sub_filters_select_type": ""
}
],
"group_show_type": 0,
"id": "user_type",
"invisible": true,
"name": "Type",
"type": "single",
"word_request_id": "db7fc73b2236ad6b214ee80656926550"
}
],
"users": [
{
"desc": "rednote ID: 450470458",
"followed": false,
"id": "5d4e1f9b0000000012026818",
"image": "https://sns-avatar-qc.xhscdn.com/avatar/1040g2jo31gdg4r9g3s405nae3udkkq0oraj5mho?imageView2/2/w/360/format/webp",
"link": "xhsdiscover://1/user/user.5d4e1f9b0000000012026818",
"name": "技术爬爬虾",
"reason": "",
"red_id": "450470458",
"red_official_verified": false,
"red_official_verify_type": 0,
"self": false,
"show_red_official_verify_icon": false,
"sub_title": "Fans 135.9k"
}
]
},
"debug_id": "5366f17b",
"debug_info": "gAAAAABqxUTAE179XqvCR9P63klNbwiYU4V7nY7G1-OmtIKeg2fE7Z2zE9GZYYQgj4JXIcrl5qzTSjC-VLDOeR_rlXtJ3r40dTvwWWUrC3JwFmYbYPOPsHYX09ZBQ7Xj45KDsWjYDjP3FIz1BgwKIkYb6M_5GNx_-yZmEkvOjrOujiy-05SZQsfLJHs4XKVU1adoFZpiL3GNCiDBnV9c7BvsAaepkd9b36czHMrqCaoaREM1xy-NN_sLMVyf9sgpmp577A3qVZSgcZj-J8U_UIfgIUjGlgE5KfXRyTuvCKbO2i0k2XmOh8NJulk6joSO4_NsHfkPb_tt5qkmij96QdoCMVLwuLJ8Zi72gV84oa4CWLAIuWOM7FyGnsyA2-RoaS8npDVdT7JckfoKKPUdFOTZaMVlovTkyw0gKSoJrVWbVmz8zX7KJCA=",
"next_page": 2,
"page": 1,
"search_id": "08714187df584c2f",
"success": true
}
}
]Select an example to load its inputs and result into the playground.
Returns a page of Xiaohongshu (RED) user accounts that match a search term. Each result has the user ID, display name, RED ID, verification flags, and a follower label. The only required input is keyword.
sub_title label.curl -X POST "https://api.sandbase.ai/v1/api/xiaohongshu/app-v2/search-users" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"keyword": "小红书"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
keyword | string | Yes | Search keyword |
page | integer | No | Page number, start from 1 |
search_id | string | No | Search ID, pass value from first search response for pagination |
source | string | No | Source, default "explore_feed" |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"code": 0,
"data": {
"filters": [
{
"filter_tags": [
{
"icon_tail_url": "",
"icon_tail_url_night": "",
"icon_url": "",
"icon_url_night": "",
"id": "all",
"name": "All",
"need_location_info": false,
"origin_text": ""
}
],
"group_show_type": 0,
"id": "fans_count",
"invisible": true,
"name": "Followers",
"type": "single",
"word_request_id": "71db60eedf9fe0be6ff5538195b2f1f1"
}
],
"users": [
{
"desc": "官方账号",
"followed": false,
"id": "59f985684eacab1ce3cc5409",
"image": "https://sns-avatar-qc.xhscdn.com/avatar/600e72c904b7c90001c6e3bf.jpg?imageView2/…",
"link": "xhsdiscover://1/user/user.59f985684eacab1ce3cc5409",
"name": "小红书REDesign",
"reason": "",
"red_id": "63044481856",
"red_official_verified": true,
"red_official_verify_type": 0,
"self": false,
"show_red_official_verify_icon": false
}
]
},
"debug_id": "88ccd612",
"debug_info": "gAAAAABq6ZFs1ibV7bP6A-JK73XWLOTYM3KJaXbSgyAbPq8pvyOCx7gNSP7HregcC4Xa3-EQL8VNxM7e…",
"next_page": 2,
"page": 1,
"search_id": "20f427c7a6d3496b",
"success": true
}
| Field | Meaning |
|---|---|
data.users[].id | The user ID of the account. Use it as the user identifier in other Xiaohongshu user calls. |
data.users[].red_id | The public RED ID of the account, shown as a numeric string. |
data.users[].name | The display name of the account. |
data.users[].desc | Short profile label for the account. Official accounts show 官方账号 here. |
data.users[].sub_title | Follower count as display text, for example Fans 581.2k. It is a rounded label, not a number. |
data.users[].red_official_verified / data.users[].red_official_verify_type | Whether the account has official verification, and a numeric code for the verification type. The meaning of each code is not described in the response. |
data.users[].show_red_official_verify_icon | Whether the app shows the verification icon next to the account. |
data.users[].image | URL of the account avatar image. |
data.users[].link | App deep link that opens the user profile in the Xiaohongshu app. |
search_id | ID of this search. Send it back in search_id when you request the next page. |
next_page in the response gives the page number to request next, and page shows the current page. Set page to that value to continue.search_id from the first response on every later page request.data.filters lists filter groups such as fans_count and user_type, each with tag IDs like 0-100 and personal_verification. The request schema has no parameter for them.$0.01 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Start building
Platform API endpoint with unified authentication and usage tracking.
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
-X POST "https://api.sandbase.ai/v1/api/xiaohongshu/app-v2/search-users" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'SANDBASE_JSON'
{
"page": 1,
"source": "explore_feed",
"keyword": "技术爬爬虾",
"search_id": ""
}
SANDBASE_JSON
)
printf '%s\n' "$result"Set your SandBase API key in your server environment. Requests use Bearer authentication.
export SANDBASE_API_KEY="YOUR_API_KEY"Keep your key on the server. Do not expose it in browser code.
keywordstringrequiredSearch keyword
pageintegerPage number, start from 1
Default: 1
search_idstringSearch ID, pass value from first search response for pagination
Default: ""
sourcestringSource, default "explore_feed"
Default: "explore_feed"
Saved example response for this API; no live request is made when viewing it.
[
{
"data": {
"code": 0,
"data": {
"filters": [
{
"filter_tags": [
{
"icon_tail_url": "",
"icon_tail_url_night": "",
"icon_url": "",
"icon_url_night": "",
"id": "all",
"name": "All",
"need_location_info": false,
"origin_text": "",
"sub_filters": null,
"sub_filters_select_type": ""
},
{
"icon_tail_url": "",
"icon_tail_url_night": "",
"icon_url": "",
"icon_url_night": "",
"id": "0-100",
"name": "0-100",
"need_location_info": false,
"origin_text": "",
"sub_filters": null,
"sub_filters_select_type": ""
},
{
"icon_tail_url": "",
"icon_tail_url_night": "",
"icon_url": "",
"icon_url_night": "",
"id": "100-1000",
"name": "100-1k",
"need_location_info": false,
"origin_text": "",
"sub_filters": null,
"sub_filters_select_type": ""
},
{
"icon_tail_url": "",
"icon_tail_url_night": "",
"icon_url": "",
"icon_url_night": "",
"id": "1000-10000",
"name": "1k-10k",
"need_location_info": false,
"origin_text": "",
"sub_filters": null,
"sub_filters_select_type": ""
},
{
"icon_tail_url": "",
"icon_tail_url_night": "",
"icon_url": "",
"icon_url_night": "",
"id": "10000-100000",
"name": "10k-100k",
"need_location_info": false,
"origin_text": "",
"sub_filters": null,
"sub_filters_select_type": ""
},
{
"icon_tail_url": "",
"icon_tail_url_night": "",
"icon_url": "",
"icon_url_night": "",
"id": "100000",
"name": "Above 100k",
"need_location_info": false,
"origin_text": "",
"sub_filters": null,
"sub_filters_select_type": ""
}
],
"group_show_type": 0,
"id": "fans_count",
"invisible": true,
"name": "Followers",
"type": "single",
"word_request_id": "b6fd96797c9b9f0e6cc14b66c7ad73ef"
},
{
"filter_tags": [
{
"icon_tail_url": "",
"icon_tail_url_night": "",
"icon_url": "",
"icon_url_night": "",
"id": "all",
"name": "All",
"need_location_info": false,
"origin_text": "",
"sub_filters": null,
"sub_filters_select_type": ""
},
{
"icon_tail_url": "",
"icon_tail_url_night": "",
"icon_url": "",
"icon_url_night": "",
"id": "regular_user",
"name": "regular user",
"need_location_info": false,
"origin_text": "",
"sub_filters": null,
"sub_filters_select_type": ""
},
{
"icon_tail_url": "",
"icon_tail_url_night": "",
"icon_url": "",
"icon_url_night": "",
"id": "personal_verification",
"name": "personal verification",
"need_location_info": false,
"origin_text": "",
"sub_filters": null,
"sub_filters_select_type": ""
},
{
"icon_tail_url": "",
"icon_tail_url_night": "",
"icon_url": "",
"icon_url_night": "",
"id": "business_verification",
"name": "business verification",
"need_location_info": false,
"origin_text": "",
"sub_filters": null,
"sub_filters_select_type": ""
}
],
"group_show_type": 0,
"id": "user_type",
"invisible": true,
"name": "Type",
"type": "single",
"word_request_id": "db7fc73b2236ad6b214ee80656926550"
}
],
"users": [
{
"desc": "rednote ID: 450470458",
"followed": false,
"id": "5d4e1f9b0000000012026818",
"image": "https://sns-avatar-qc.xhscdn.com/avatar/1040g2jo31gdg4r9g3s405nae3udkkq0oraj5mho?imageView2/2/w/360/format/webp",
"link": "xhsdiscover://1/user/user.5d4e1f9b0000000012026818",
"name": "技术爬爬虾",
"reason": "",
"red_id": "450470458",
"red_official_verified": false,
"red_official_verify_type": 0,
"self": false,
"show_red_official_verify_icon": false,
"sub_title": "Fans 135.9k"
}
]
},
"debug_id": "5366f17b",
"debug_info": "gAAAAABqxUTAE179XqvCR9P63klNbwiYU4V7nY7G1-OmtIKeg2fE7Z2zE9GZYYQgj4JXIcrl5qzTSjC-VLDOeR_rlXtJ3r40dTvwWWUrC3JwFmYbYPOPsHYX09ZBQ7Xj45KDsWjYDjP3FIz1BgwKIkYb6M_5GNx_-yZmEkvOjrOujiy-05SZQsfLJHs4XKVU1adoFZpiL3GNCiDBnV9c7BvsAaepkd9b36czHMrqCaoaREM1xy-NN_sLMVyf9sgpmp577A3qVZSgcZj-J8U_UIfgIUjGlgE5KfXRyTuvCKbO2i0k2XmOh8NJulk6joSO4_NsHfkPb_tt5qkmij96QdoCMVLwuLJ8Zi72gV84oa4CWLAIuWOM7FyGnsyA2-RoaS8npDVdT7JckfoKKPUdFOTZaMVlovTkyw0gKSoJrVWbVmz8zX7KJCA=",
"next_page": 2,
"page": 1,
"search_id": "08714187df584c2f",
"success": true
}
}
]Explore more
| API | Price | Response |
|---|---|---|
Xiaohongshu (RED) User SearchThis API Xiaohongshu | $0.01 per call | JSON |
Xiaohongshu | $0.01 per call | JSON |
Xiaohongshu | $0.01 per call | JSON |
Xiaohongshu | $0.01 per call | JSON |
Xiaohongshu | $0.01 per call | JSON |
Xiaohongshu | $0.01 per call | JSON |
Questions
Send a POST request to https://api.sandbase.ai/v1/api/xiaohongshu/app-v2/search-users with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.
$0.01 per call. Every organization gets 100 free calls per UTC day, shared across eligible SandBase APIs including this one; after that each call is billed at this price from your SandBase balance. There is no subscription.
Required: keyword (string). Optional: page (integer), search_id (string) and source (string). The Parameters table and the Playground on this page list every field.
A JSON response returned in the same HTTP request (synchronous). The README on this page includes a sample response.
No. Xiaohongshu (RED) User Search runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for Xiaohongshu API access separately.