小红书
    小红书
    • 更多接口API
    • 搜索用户
      GET
    • 搜索笔记
      GET
    • 话题列表
      GET
    • 主页详情
      GET
    • 笔记列表
      GET
    • 笔记详情
      GET
    • 评论列表
      GET
    • 二级评论
      GET
    • 关注列表
      GET
    • 收藏列表
      GET
    • 粉丝列表
      GET
    • 次数查询
      GET
    • 商品详情
      GET
    • 商品评论
      GET
    • 商品SKU
      GET

      主页详情

      GET
      http://119.91.27.220:9525/api/open/xhs/user/detail

      请求参数

      Query 参数
      userId
      string 
      用户ID
      必需
      示例值:
      5c8b0f400000000012030a3c
      token
      string 
      可选
      示例值:
      {{token}}

      示例代码

      Shell
      JavaScript
      Java
      Swift
      Go
      PHP
      Python
      HTTP
      C
      C#
      Objective-C
      Ruby
      OCaml
      Dart
      R
      请求示例请求示例
      Shell
      JavaScript
      Java
      Swift
      curl --location -g --request GET 'http://119.91.27.220:9525/api/open/xhs/user/detail?userId=5c8b0f400000000012030a3c&token=f96dd54fb1fa94dea2e5396011250cc0'

      返回响应

      🟢200成功
      application/json
      Body
      object {0}
      示例
      {
          "code": 0,
          "data": {
              "show_extra_info_button": false,
              "collected_movie_num": 0,
              "collected": 21,
              "collected_brand_num": 0,
              "userid": "5c8b0f400000000012030a3c",
              "liked": 88,
              "collected_product_num": 0,
              "identity_label_migrated": false,
              "hula_tabs": {
                  "tab_id_selected": "note",
                  "all_show_tab_config": [
                      {
                          "tab_id": "note"
                      },
                      {
                          "tab_id": "collect",
                          "is_show_lock": false
                      }
                  ]
              },
              "is_recommend_level_illegal": false,
              "recommend_info_icon": "",
              "location_jump": true,
              "zhong_tong_bar_info": {
                  "conversions": []
              },
              "community_rule_url": "https://www.xiaohongshu.com/user/community-rule",
              "images": "https://sns-avatar-qc.xhscdn.com/avatar/1040g2jo311ba7fegma6g5n4b1t04m2hsc448kv8?imageView2/2/w/360/format/webp",
              "college_info": {
                  "college_name": "武汉大学",
                  "enrollment_year": 0
              },
              "note_num_stat": {
                  "collected": 21,
                  "liked": 88,
                  "posted": 19
              },
              "feedback_account_appeal_url": "https://fe.xiaohongshu.com/apps/risk-h5/user-check?fullscreen=true&source=personal_homepage",
              "level": {
                  "number": 4,
                  "image": "http://s4.xiaohongshu.com/static/throne/property/m4.png",
                  "level_name": "困困薯",
                  "image_link": ""
              },
              "collected_tags_num": 0,
              "follows": 356,
              "share_info_v2": {
                  "title": "分享@北京短剧搭子社群的个人主页",
                  "content": "共同在短视频生态成长..."
              },
              "tags": [
                  {
                      "tag_type": "info",
                      "icon": "http://ci.xiaohongshu.com/icons/user/gender-male-v1.png",
                      "name": "34岁"
                  },
                  {
                      "tag_type": "location",
                      "name": "北京海淀"
                  }
              ],
              "share_link": "https://www.xiaohongshu.com/user/profile/5c8b0f400000000012030a3c",
              "red_club_info": {
                  "red_club_level": 0,
                  "redclubscore": 0,
                  "red_club": false,
                  "red_club_url": "https://www.xiaohongshu.com/store/mc/landing"
              },
              "banner_info": {
                  "image": "http://sns-avatar-qc.xhscdn.com/user_banner/1040g2k030oe44gseim6g5n4b1t04m2hshm8hr38?imageView2/2/w/540/format/jpg",
                  "bg_color": "f2f2f2",
                  "like_status": false
              },
              "seller_info": {
                  "tab_goods_api_version": 1,
                  "tab_code_names": [],
                  "is_tab_goods_first": true
              },
              "identity_deeplink": "xhsdiscover://rn/app-settings/official/certification/details?type=2&user_id=5c8b0f400000000012030a3c&is_mcn=false",
              "remark_name": "",
              "default_collection_tab": "note",
              "imageb": "https://sns-avatar-qc.xhscdn.com/avatar/1040g2jo311ba7fegma6g5n4b1t04m2hsc448kv8?imageView2/2/w/540/format/webp",
              "desc": "共同在短视频生态成长\n402493977@qq.com",
              "tab_visible": {
                  "note": true,
                  "seed": true,
                  "like": false,
                  "collect": true
              },
              "gender": 0,
              "tab_public": {
                  "collection_note": true,
                  "seed": true,
                  "collection": true,
                  "collection_board": true
              },
              "nboards": 0,
              "collected_book_num": 0,
              "red_id": "557049584",
              "interactions": [
                  {
                      "is_private": false,
                      "toast": "",
                      "count": 356,
                      "name": "关注",
                      "type": "follows"
                  },
                  {
                      "is_private": false,
                      "toast": "",
                      "name": "粉丝",
                      "count": 48,
                      "type": "fans"
                  },
                  {
                      "is_private": false,
                      "toast": "",
                      "count": 109,
                      "name": "获赞与收藏",
                      "type": "interaction"
                  }
              ],
              "result": {
                  "code": 0,
                  "success": true,
                  "message": "success"
              },
              "fstatus": "none",
              "blocked": false,
              "blocking": false,
              "ndiscovery": 19,
              "nickname": "北京短剧搭子社群",
              "recommend_info": "",
              "desc_at_users": [],
              "collected_notes_num": 38,
              "share_info": {
                  "title": "北京短剧搭子社群",
                  "content": "共同在短视频生态成长\n402493977@qq.com"
              },
              "red_official_verify_base_info": "",
              "avatar_like_status": false,
              "red_official_verified": false,
              "fans": 48,
              "collected_poi_num": 0,
              "red_official_verify_content": "",
              "red_official_verify_type": 0,
              "location": "中国 北京 海淀"
          },
          "msg": "操作成功"
      }
      上一页
      话题列表
      下一页
      笔记列表
      Built with