小红书 — 用户信息(App V2)
SpiderHubs OpenAPI 文档:小红书 — 用户信息(App V2),分类 小红书。接口 GET /openapi/v1/contentcreator/xiaohongshu/app_v2/get_user_info。App_v2 版用户信息接口(部分字段比 V1 更全)。
OpId:
xhs-user-info-v2 · 最近更新: 2026-05-23说明
App_v2 版用户信息接口(部分字段比 V1 更全)。
基础信息
- Endpoint:
- GET /openapi/v1/contentcreator/xiaohongshu/app_v2/get_user_info
- 计费:
- 1 积分 / 次
- 限流:
- 300 次 / 分钟 / 用户
请求参数说明
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
| user_id | string | 是 | 用户 ID |
响应字段说明
| 字段 | 类型 | 说明 |
|---|---|---|
| code | int | 业务状态码,200 表示成功 |
| request_id | string | 本次请求唯一标识,排查问题时可提供 |
| data | object | 业务数据容器,具体字段见下 |
| user_id / red_id | string | 用户 ID / 小红书号 |
| nickname | string | 昵称 |
| desc | string | 个人简介 |
| gender | int | 性别 |
| images / avatar | string | 头像地址 |
| fans | int | 粉丝数 |
| follows | int | 关注数 |
| interaction | int | 获赞与收藏总数 |
| notes | int | 发布笔记数 |
| ip_location | string | IP 属地 |
请求示例 · cURL
curl 'https://api.spiderhubs.com/openapi/v1/contentcreator/xiaohongshu/app_v2/get_user_info?user_id=5b0...' \
-H 'Authorization: Bearer sk_live_xxxxxxxxxxxxxxxxxxxxxxxx'响应示例
{
"code": 200,
"request_id": "178a23f0-50db-4850-977a-d539f70734f6",
"data": {
"success": true,
"data": {
"ip_location": "Guangxi",
"collected_poi_num": 0,
"user_brand": {
"alert_title": "",
"alert_content": [],
"name": "Business information disclosure",
"link": "https://www.xiaohongshu.com/vendor/697b5967a5a4d50015507387/qualifications?selle..."
},
"blocked": false,
"liked": 11811,
"tab_visible": {
"note": true,
"collect": true,
"buyer": true,
"seed": true,
"like": false
},
"result": {
"success": true,
"code": 0
},
"is_login_user_pro_account": false,
"collected": 4036,
"follows": 2,
"recommend_info": "",
"real_name_info": "",
"default_collection_tab": "note",
"red_official_verify_base_info": "",
"block_view_to_user": false,
"share_link": "https://www.xiaohongshu.com/user/profile/651b920600000000240167d9?xsec_token=YBv...",
"red_club_info": {
"red_club_url": "https://www.xiaohongshu.com/store/mc/landing",
"red_club": false,
"red_club_level": 0,
"redclubscore": 0
},
"banner_info": {
"image": "http://sns-avatar-qc.rednotecdn.com/user_banner/1040g2k03206o3hqc5m005p8ri8392pu...",
"bg_color": "39342f",
"like_status": false
},
"share_info": {
"title": "明星风采",
"content": "看一看明星,享受生活的美好"
},
"identity_deeplink": "xhsdiscover://rn/app-settings/official/certification/details?type=2&user_id=651b...",
"red_official_verify_type": 0,
"imageb": "https://sns-avatar-qc.xhscdn.com/avatar/1040g2jo3206nv56s6e005p8ri8392pupvre2dkg...",
"show_extra_info_button": false,
"avatar_like_status": false,
"collected_product_num": 0,
"buyer_info": {
"choice_id": "137939385293897728",
"extra_map": {
"curationGoodsSearch": "true"
},
"tab_name": "Curation"
},
"collected_notes_num": 7,
"location_jump": false,
"desc": "看一看明星,享受生活的美好",
"location": "",
"remark_name": "",
"hula_tabs": {
"tab_id_selected": "note",
"all_show_tab_config": [
{
"tab_id": "note",
"tab_name": "Notes",
"tab_index_weight
... // response truncated for docs (full size > 2KB)
}开始调用 SpiderHubs API
使用账户中心生成的 API Key,通过 Authorization: Bearer sk_live_xxx 调用接口。