OpenAPI 文档/小红书GET

小红书 — 用户信息(App 版)

SpiderHubs OpenAPI 文档:小红书 — 用户信息(App 版),分类 小红书。接口 GET /openapi/v1/contentcreator/xiaohongshu/app/get_user_info。按 user_id 拉取小红书用户信息(App 版)。

OpId: xhs-get-user-info · 最近更新: 2026-05-23

说明

按 user_id 拉取小红书用户信息(App 版)。

基础信息

Endpoint:
GET /openapi/v1/contentcreator/xiaohongshu/app/get_user_info
计费:
1 积分 / 次
限流:
300 次 / 分钟 / 用户

请求参数说明

参数类型必填说明
user_idstring用户 ID

响应字段说明

字段类型说明
codeint业务状态码,200 表示成功
request_idstring本次请求唯一标识,排查问题时可提供
dataobject业务数据容器,具体字段见下
user_id / red_idstring用户 ID / 小红书号
nicknamestring昵称
descstring个人简介
genderint性别
images / avatarstring头像地址
fansint粉丝数
followsint关注数
interactionint获赞与收藏总数
notesint发布笔记数
ip_locationstringIP 属地
请求示例 · cURL
curl 'https://api.spiderhubs.com/openapi/v1/contentcreator/xiaohongshu/app/get_user_info?user_id=5b0...' \
  -H 'Authorization: Bearer sk_live_xxxxxxxxxxxxxxxxxxxxxxxx'
响应示例
{
  "code": 200,
  "request_id": "6d52ec40-63fb-4116-8d55-6d2984e0e3da",
  "data": {
    "code": 0,
    "success": true,
    "data": {
      "ip_location": "Guangxi",
      "blocked": false,
      "collected_poi_num": 0,
      "tab_visible": {
        "seed": true,
        "collect": true,
        "buyer": true,
        "note": true,
        "like": false
      },
      "liked": 11811,
      "result": {
        "success": true,
        "code": 0
      },
      "collected": 4036,
      "is_login_user_pro_account": false,
      "follows": 2,
      "recommend_info": "",
      "real_name_info": "",
      "default_collection_tab": "note",
      "block_view_to_user": false,
      "red_official_verify_base_info": "",
      "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",
        "redclubscore": 0,
        "red_club": false,
        "red_club_level": 0
      },
      "banner_info": {
        "image": "http://sns-avatar-qc.rednotecdn.com/user_banner/1040g2k03206o3hqc5m005p8ri8392pu...",
        "bg_color": "39342f",
        "like_status": false
      },
      "share_info": {
        "title": "明星风采",
        "content": "看一看明星,享受生活的美好"
      },
      "imageb": "https://sns-avatar-qc.xhscdn.com/avatar/1040g2jo3206nv56s6e005p8ri8392pupvre2dkg...",
      "identity_deeplink": "xhsdiscover://rn/app-settings/official/certification/details?type=2&user_id=651b...",
      "red_official_verify_type": 0,
      "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": 0
          },
          "... and 2 more"
        ]
      },
      "is_recommend_level_illegal": false,
      "ndiscovery": 223,
      "userid": "651b920600000000240167d9",
      "collected_movie_num": 0,
      "fstatus": 
  ... // response truncated for docs (full size > 2KB)
}

开始调用 SpiderHubs API

使用账户中心生成的 API Key,通过 Authorization: Bearer sk_live_xxx 调用接口。