share_textstring
Xiaohongshu sharing link (support APP and Web sharing link)
Default: ""
https://api.sandbase.ai/v1/api/xiaohongshu/app-v2/user-infoReturns detailed profile data for a Xiaohongshu user. Look up accounts by providing either a specific user identifier or a profile share link.
[
{
"data": {
"code": 0,
"data": {
"avatar_handle_entry_list": [],
"avatar_like_status": false,
"avatar_pendant": {
"current_user_pendant": false,
"current_user_pet": false
},
"banner_info": {
"bg_color": "5a3b25",
"image": "http://sns-avatar-qc.rednotecdn.com/user_banner/1040g2k031pja0736ko2g5n36hcv4k5g51r2p2ho?imageView2/2/w/540/format/jpg&ap=28&sc=USR_BG",
"like_status": false
},
"block_view_from_user": false,
"block_view_to_user": false,
"blocked": false,
"blocking": false,
"buyer_info": {
"choice_id": "137513274643674518",
"extra_map": {
"curationGoodsSearch": "true"
},
"tab_name": "Curation"
},
"collected": 15141,
"collected_book_num": 0,
"collected_brand_num": 0,
"collected_movie_num": 0,
"collected_notes_num": 0,
"collected_poi_num": 0,
"collected_product_num": 0,
"collected_tags_num": 0,
"college_info": {
"college_name": "浙江农林大学",
"enrollment_year": 2019
},
"community_rule_url": "https://www.xiaohongshu.com/user/community-rule",
"default_collection_tab": "note",
"desc": "野生饭桶|城市胃探险家|人形大众点评机\n🌊|这里是 一颗白菜🥬 的主页\n🔥|人设:吃得米其林,也啃得旮旯老店",
"desc_at_users": [],
"fans": 10152,
"follows": 1122,
"fstatus": "none",
"gender": 1,
"hula_tabs": {
"all_show_tab_config": [
{
"tab_id": "note",
"tab_index_weight": 0,
"tab_name": "Notes"
},
{
"tab_id": "buyer",
"tab_index_weight": 1,
"tab_name": "Product selection"
}
],
"tab_id_selected": "note"
},
"identity_deeplink": "xhsdiscover://rn/app-settings/official/certification/details?type=2&user_id=5c668b3e0000000012021605&is_mcn=false",
"identity_label_migrated": false,
"imageb": "https://sns-avatar-qc.rednotecdn.com/avatar/1040g2jo31hpod1vijs705n36hcv4k5g5f8fn40g?imageView2/2/w/540/format/webp",
"images": "https://sns-avatar-qc.rednotecdn.com/avatar/1040g2jo31hpod1vijs705n36hcv4k5g5f8fn40g?imageView2/2/w/360/format/webp",
"interactions": [
{
"count": 1122,
"is_private": true,
"name": "Following",
"toast": "Following list is invisible",
"type": "follows"
},
{
"count": 10152,
"is_private": true,
"name": "Followers",
"toast": "Follower list is invisible",
"type": "fans"
},
{
"count": 76530,
"is_private": false,
"name": "Likes & Collects",
"toast": "",
"type": "interaction"
}
],
"ip_location": "Zhejiang",
"is_login_user_pro_account": false,
"is_recommend_level_illegal": false,
"level": {
"image_link": "",
"number": 0
},
"liked": 61389,
"location": "中国 浙江 杭州",
"location_jump": true,
"mute_view_to_user": false,
"nboards": 0,
"ndiscovery": 282,
"nickname": "一颗白菜",
"note_num_stat": {
"collected": 15141,
"liked": 61389,
"posted": 282
},
"real_name_deep_target": 1,
"real_name_info": "",
"recommend_info": "",
"recommend_info_icon": "",
"red_club_info": {
"red_club": false,
"red_club_level": 0,
"red_club_url": "https://www.xiaohongshu.com/store/mc/landing",
"redclubscore": 0
},
"red_id": "W2604376390",
"red_official_verified": false,
"red_official_verify_base_info": "",
"red_official_verify_content": "",
"red_official_verify_type": 0,
"remark_name": "",
"result": {
"code": 0,
"message": "success",
"success": true
},
"sec_account_deeplink": "xhsdiscover://rn/accounts/account-detail?targetId=5c668b3e0000000012021605&new_page_exp=1&rn_min_version=3.3.6",
"share_info": {
"content": "野生饭桶|城市胃探险家|人形大众点评机\n🌊|这里是 一颗白菜🥬 的主页\n🔥|人设:吃得米其林,也啃得旮旯老店",
"title": "一颗白菜"
},
"share_info_v2": {
"content": "Followers: 10.2k\nLikes&Col: 76.5k",
"ecom_content": "一颗白菜为你推荐了27件宝藏好物!已有1人买过了!",
"ecom_share_link": "https://www.xiaohongshu.com/user/profile/5c668b3e0000000012021605?tab=buyer&channelType=share_outside",
"ecom_title": "一颗白菜的橱窗",
"title": "@一颗白菜‘s profile"
},
"share_link": "https://www.xiaohongshu.com/user/profile/5c668b3e0000000012021605?xsec_token=YBFYk7nXrvgvQtrHryk-4yF3npwCGue-Msjfuw70kIXNc=&xsec_source=app_share",
"show_extra_info_button": false,
"tab_public": {
"collection": false,
"collection_board": true,
"collection_note": true,
"seed": true
},
"tab_visible": {
"buyer": true,
"collect": false,
"like": false,
"note": true,
"seed": true
},
"tags": [
{
"icon": "http://sns-i11.rednotecdn.com/icons/user/gender-female-v1.png",
"tag_type": "info"
},
{
"name": "浙江杭州",
"tag_type": "location"
}
],
"user_desc_info": {
"button": {
"original": {
"button_content": "Translate",
"translation_strategy": 2
},
"replace": {
"button_content": "See original",
"translation_strategy": 3
}
},
"desc": "野生饭桶|城市胃探险家|人形大众点评机\n🌊|这里是 一颗白菜🥬 的主页\n🔥|人设:吃得米其林,也啃得旮旯老店",
"desc_at_users": [],
"desc_keywords_switch": true,
"desc_with_placeholder": "野生饭桶|城市胃探险家|人形大众点评机\n🌊|这里是 一颗白菜🥬 的主页\n🔥|人设:吃得米其林,也啃得旮旯老店",
"trans_api_param": {
"biz_id": "user_profile_5c668b3e0000000012021605",
"biz_type": "user_profile",
"text_inputs": [
{
"content": "野生饭桶|城市胃探险家|人形大众点评机\n🌊|这里是 一颗白菜🥬 的主页\n🔥|人设:吃得米其林,也啃得旮旯老店",
"key": "desc"
}
]
}
},
"user_role_type": 6,
"user_widget_switch": false,
"userid": "5c668b3e0000000012021605",
"zhong_tong_bar_info": {
"conversions": [
{
"icon": "https://fe-video-qc.xhscdn.com/fe-platform/5d104f03c28936f28480c1225414c979ce9e96d1.png",
"id": "34",
"link": "xhsdiscover://rn/declare/my-evaluation?userid=5c668b3e0000000012021605&activeTabName=poi&activeTabId=0",
"name": "Review",
"sub_title": "1 review"
}
]
}
},
"debug_id": "c7f4a1c9",
"debug_info": "gAAAAABqvfBfAGv0dygIE7Si0zbE4zhfyzoPRY7KTpD9vIn-_dP2_g6cm7B1A5XsC1cki1ysWb_oUj36TQa28mz-7n128khjZKsknSnXZ0MDeD8V8S-fgI4xzF_gLhaVPJH01o0_AWGyWzXmTff0nn7JnesyRZay2TgiJk9mfTJEj6ZccVHh0rPr9WEgYuZwMs-JakFV3aqII3F7gH6hqHlShtpTNuol1AXpmKT5WnKQfjkSmD21ASojp0vZ5eBXPt7dVL47Axpo7k9Kv03emSqxn_Ot4y3nwfSVRdPoTAeGsgvQ-CDSCK3_gqkMywwrb_EY9ym-yEaTd0lR2mAZKBKverDWoWnmZ_MgGTqC2ENpEXzeT3YWalzoJuOn8DnuXGtPulgZR55qTj-cjwJl0faFJUOiI08vuLOxQAC6IGBMbQF4CNMKUOU=",
"msg": "成功",
"success": true
}
}
]Select an example to load its inputs and result into the playground.
Retrieve detailed profile information for an account using either user_id or a profile URL in share_text.
curl -X POST "https://api.sandbase.ai/v1/api/xiaohongshu/app-v2/user-info" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'
| Name | Type | Required | Description |
|---|---|---|---|
user_id | string | No | User ID, e.g. "61b46d790000000010008153" |
share_text | string | No | Xiaohongshu sharing link (support APP and Web sharing link) |
user_id or share_text.share_text supports both mobile app and web sharing links.Flat price per call. Failed calls, including lookups whose target does not exist, are not charged.
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/user-info" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'SANDBASE_JSON'
{
"user_id": "5c668b3e0000000012021605",
"share_text": ""
}
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.
share_textstringXiaohongshu sharing link (support APP and Web sharing link)
Default: ""
user_idstringUser ID, e.g. "61b46d790000000010008153"
Default: ""
Saved example response for this API; no live request is made when viewing it.
[
{
"data": {
"code": 0,
"data": {
"avatar_handle_entry_list": [],
"avatar_like_status": false,
"avatar_pendant": {
"current_user_pendant": false,
"current_user_pet": false
},
"banner_info": {
"bg_color": "5a3b25",
"image": "http://sns-avatar-qc.rednotecdn.com/user_banner/1040g2k031pja0736ko2g5n36hcv4k5g51r2p2ho?imageView2/2/w/540/format/jpg&ap=28&sc=USR_BG",
"like_status": false
},
"block_view_from_user": false,
"block_view_to_user": false,
"blocked": false,
"blocking": false,
"buyer_info": {
"choice_id": "137513274643674518",
"extra_map": {
"curationGoodsSearch": "true"
},
"tab_name": "Curation"
},
"collected": 15141,
"collected_book_num": 0,
"collected_brand_num": 0,
"collected_movie_num": 0,
"collected_notes_num": 0,
"collected_poi_num": 0,
"collected_product_num": 0,
"collected_tags_num": 0,
"college_info": {
"college_name": "浙江农林大学",
"enrollment_year": 2019
},
"community_rule_url": "https://www.xiaohongshu.com/user/community-rule",
"default_collection_tab": "note",
"desc": "野生饭桶|城市胃探险家|人形大众点评机\n🌊|这里是 一颗白菜🥬 的主页\n🔥|人设:吃得米其林,也啃得旮旯老店",
"desc_at_users": [],
"fans": 10152,
"follows": 1122,
"fstatus": "none",
"gender": 1,
"hula_tabs": {
"all_show_tab_config": [
{
"tab_id": "note",
"tab_index_weight": 0,
"tab_name": "Notes"
},
{
"tab_id": "buyer",
"tab_index_weight": 1,
"tab_name": "Product selection"
}
],
"tab_id_selected": "note"
},
"identity_deeplink": "xhsdiscover://rn/app-settings/official/certification/details?type=2&user_id=5c668b3e0000000012021605&is_mcn=false",
"identity_label_migrated": false,
"imageb": "https://sns-avatar-qc.rednotecdn.com/avatar/1040g2jo31hpod1vijs705n36hcv4k5g5f8fn40g?imageView2/2/w/540/format/webp",
"images": "https://sns-avatar-qc.rednotecdn.com/avatar/1040g2jo31hpod1vijs705n36hcv4k5g5f8fn40g?imageView2/2/w/360/format/webp",
"interactions": [
{
"count": 1122,
"is_private": true,
"name": "Following",
"toast": "Following list is invisible",
"type": "follows"
},
{
"count": 10152,
"is_private": true,
"name": "Followers",
"toast": "Follower list is invisible",
"type": "fans"
},
{
"count": 76530,
"is_private": false,
"name": "Likes & Collects",
"toast": "",
"type": "interaction"
}
],
"ip_location": "Zhejiang",
"is_login_user_pro_account": false,
"is_recommend_level_illegal": false,
"level": {
"image_link": "",
"number": 0
},
"liked": 61389,
"location": "中国 浙江 杭州",
"location_jump": true,
"mute_view_to_user": false,
"nboards": 0,
"ndiscovery": 282,
"nickname": "一颗白菜",
"note_num_stat": {
"collected": 15141,
"liked": 61389,
"posted": 282
},
"real_name_deep_target": 1,
"real_name_info": "",
"recommend_info": "",
"recommend_info_icon": "",
"red_club_info": {
"red_club": false,
"red_club_level": 0,
"red_club_url": "https://www.xiaohongshu.com/store/mc/landing",
"redclubscore": 0
},
"red_id": "W2604376390",
"red_official_verified": false,
"red_official_verify_base_info": "",
"red_official_verify_content": "",
"red_official_verify_type": 0,
"remark_name": "",
"result": {
"code": 0,
"message": "success",
"success": true
},
"sec_account_deeplink": "xhsdiscover://rn/accounts/account-detail?targetId=5c668b3e0000000012021605&new_page_exp=1&rn_min_version=3.3.6",
"share_info": {
"content": "野生饭桶|城市胃探险家|人形大众点评机\n🌊|这里是 一颗白菜🥬 的主页\n🔥|人设:吃得米其林,也啃得旮旯老店",
"title": "一颗白菜"
},
"share_info_v2": {
"content": "Followers: 10.2k\nLikes&Col: 76.5k",
"ecom_content": "一颗白菜为你推荐了27件宝藏好物!已有1人买过了!",
"ecom_share_link": "https://www.xiaohongshu.com/user/profile/5c668b3e0000000012021605?tab=buyer&channelType=share_outside",
"ecom_title": "一颗白菜的橱窗",
"title": "@一颗白菜‘s profile"
},
"share_link": "https://www.xiaohongshu.com/user/profile/5c668b3e0000000012021605?xsec_token=YBFYk7nXrvgvQtrHryk-4yF3npwCGue-Msjfuw70kIXNc=&xsec_source=app_share",
"show_extra_info_button": false,
"tab_public": {
"collection": false,
"collection_board": true,
"collection_note": true,
"seed": true
},
"tab_visible": {
"buyer": true,
"collect": false,
"like": false,
"note": true,
"seed": true
},
"tags": [
{
"icon": "http://sns-i11.rednotecdn.com/icons/user/gender-female-v1.png",
"tag_type": "info"
},
{
"name": "浙江杭州",
"tag_type": "location"
}
],
"user_desc_info": {
"button": {
"original": {
"button_content": "Translate",
"translation_strategy": 2
},
"replace": {
"button_content": "See original",
"translation_strategy": 3
}
},
"desc": "野生饭桶|城市胃探险家|人形大众点评机\n🌊|这里是 一颗白菜🥬 的主页\n🔥|人设:吃得米其林,也啃得旮旯老店",
"desc_at_users": [],
"desc_keywords_switch": true,
"desc_with_placeholder": "野生饭桶|城市胃探险家|人形大众点评机\n🌊|这里是 一颗白菜🥬 的主页\n🔥|人设:吃得米其林,也啃得旮旯老店",
"trans_api_param": {
"biz_id": "user_profile_5c668b3e0000000012021605",
"biz_type": "user_profile",
"text_inputs": [
{
"content": "野生饭桶|城市胃探险家|人形大众点评机\n🌊|这里是 一颗白菜🥬 的主页\n🔥|人设:吃得米其林,也啃得旮旯老店",
"key": "desc"
}
]
}
},
"user_role_type": 6,
"user_widget_switch": false,
"userid": "5c668b3e0000000012021605",
"zhong_tong_bar_info": {
"conversions": [
{
"icon": "https://fe-video-qc.xhscdn.com/fe-platform/5d104f03c28936f28480c1225414c979ce9e96d1.png",
"id": "34",
"link": "xhsdiscover://rn/declare/my-evaluation?userid=5c668b3e0000000012021605&activeTabName=poi&activeTabId=0",
"name": "Review",
"sub_title": "1 review"
}
]
}
},
"debug_id": "c7f4a1c9",
"debug_info": "gAAAAABqvfBfAGv0dygIE7Si0zbE4zhfyzoPRY7KTpD9vIn-_dP2_g6cm7B1A5XsC1cki1ysWb_oUj36TQa28mz-7n128khjZKsknSnXZ0MDeD8V8S-fgI4xzF_gLhaVPJH01o0_AWGyWzXmTff0nn7JnesyRZay2TgiJk9mfTJEj6ZccVHh0rPr9WEgYuZwMs-JakFV3aqII3F7gH6hqHlShtpTNuol1AXpmKT5WnKQfjkSmD21ASojp0vZ5eBXPt7dVL47Axpo7k9Kv03emSqxn_Ot4y3nwfSVRdPoTAeGsgvQ-CDSCK3_gqkMywwrb_EY9ym-yEaTd0lR2mAZKBKverDWoWnmZ_MgGTqC2ENpEXzeT3YWalzoJuOn8DnuXGtPulgZR55qTj-cjwJl0faFJUOiI08vuLOxQAC6IGBMbQF4CNMKUOU=",
"msg": "成功",
"success": true
}
}
]Explore more
| API | Price | Response |
|---|---|---|
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/user-info 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.
No parameters are required. Optional: share_text (string) and user_id (string). The Parameters table and the Playground on this page list every field.
A JSON response returned in the same HTTP request (synchronous).
No. Xiaohongshu (RED) User Information 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.