Sand AISand AI MAGI-2MAGI-2 est maintenant sur SandBase : vidéo 1080p avec audio natifEssayer maintenant

Xiaohongshu (RED) User Information

Docs API
https://api.sandbase.ai/v1/api/xiaohongshu/app-v2/user-info

Returns detailed profile data for a Xiaohongshu user. Look up accounts by providing either a specific user identifier or a profile share link.

Prix
$0.01USD / appel
Méthode
POST
Réponse
JSON
Paramètres
0 obligatoires · 2 facultatifs

Bac à sable

Entrée
Xiaohongshu sharing link (support APP and Web sharing link)
User ID, e.g. "61b46d790000000010008153"
SortieExemple
Réponseoutputs · 7.5 KB · 214 lignes
[
  {
    "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
    }
  }
]

Exemples

Sélectionnez un exemple pour charger ses entrées et son résultat dans le playground.

README de l'API

Xiaohongshu (RED) User Information API

Returns the public profile of a Xiaohongshu (RED) user, including nickname, bio, follower and following counts, like and save totals, avatar images and IP location. Pass either a user_id or a Xiaohongshu share link in share_text.

Use cases

  • Pull a creator's follower count and total likes to compare accounts before a partnership.
  • Resolve a shared xhslink.com link into a user profile with a nickname and bio.
  • Track a creator's fans and liked values over time by calling the API on a schedule.
  • Collect avatar and banner image URLs to build creator cards in a dashboard.

Request

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 '{"user_id": "61b46d790000000010008153", "share_text": "https://xhslink.com/m/3ZSCJZAMz0a"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
share_textstringNoXiaohongshu sharing link (support APP and Web sharing link)
user_idstringNoUser ID, e.g. "61b46d790000000010008153"

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "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": "c7e6fa",
      "image": "http://sns-avatar-qc.rednotecdn.com/user_banner/default/h240-b100.png?imageView2…",
      "like_status": false
    },
    "block_view_from_user": false,
    "block_view_to_user": false,
    "blocked": false,
    "blocking": false,
    "collected": 48646,
    "collected_book_num": 0,
    "collected_brand_num": 0,
    "collected_movie_num": 0
  },
  "debug_id": "898018b4",
  "debug_info": "gAAAAABq6ZFv5BtK4dso-3h-ngz1foB6gdA6F2YCQNeRx4m40l-FFNMQ02-TZHGXND36iDpfo2CDnftS…",
  "msg": "成功",
  "success": true
}

Response fields

FieldMeaning
data.nicknameDisplay name of the user.
data.descBio text the user wrote for their profile.
data.fans / data.followsNumber of followers and number of accounts the user follows.
data.liked / data.collectedTotal likes and total saves the user's content has received.
data.interactions[]Summary counters for the profile header. Each row has type, a display name, a count and an is_private flag. The interaction row (Likes & Collects) gives the combined total.
data.ip_locationIP-based location label shown on the profile, such as Beijing.
data.ndiscoveryCount of discovery items on the profile. Its exact meaning is not documented, and it is likely the number of published notes.
data.images / data.imagebAvatar image URLs. images is the smaller version and imageb is the larger one.
data.banner_info.imageURL of the profile banner image. bg_color holds its background color.
data.hula_tabs.all_show_tab_config[]Tabs shown on the profile page, with tab_id and tab_name, for example Notes and Saves.

Notes

  • Send either user_id or share_text. The example sends both, and user_id is a 24-character hex string such as 61b46d790000000010008153.
  • share_text accepts a Xiaohongshu app or web share link, for example https://xhslink.com/m/3ZSCJZAMz0a.
  • A successful call returns code 0 and success true. The profile sits under data.
  • To list the user's notes, call Xiaohongshu (RED) User Posted Notes. For saved notes, call Xiaohongshu (RED) User Favorited Notes.

Pricing

$0.01 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

Explorer plus

APIs associées

Toutes les APIs
APIPrixRéponse
Xiaohongshu$0.01 par appelJSON
Xiaohongshu$0.01 par appelJSON
Xiaohongshu$0.01 par appelJSON
Xiaohongshu$0.01 par appelJSON
Xiaohongshu$0.01 par appelJSON
Xiaohongshu$0.01 par appelJSON

Guides :Best Xiaohongshu API in 2026: Pricing Compared

Questions

FAQ

Comment utiliser l’API Xiaohongshu (RED) User Information ?

Envoyez une requête POST à https://api.sandbase.ai/v1/api/xiaohongshu/app-v2/user-info avec votre clé API SandBase dans l’en-tête Authorization (Bearer) et les paramètres dans un corps JSON. Vous pouvez aussi l’essayer dans le Playground sur cette page sans écrire de code.

Combien coûte l’API Xiaohongshu (RED) User Information ?

$0.01 par appel, facturé depuis votre solde SandBase. Vous ne payez que les appels que vous effectuez ; aucun abonnement.

Quels paramètres l’API Xiaohongshu (RED) User Information accepte-t-elle ?

Aucun paramètre n’est requis. Facultatif : share_text (string) et user_id (string). Le tableau des paramètres et le Playground sur cette page listent tous les champs.

Que renvoie l’API Xiaohongshu (RED) User Information ?

Une réponse JSON renvoyée dans la même requête HTTP (synchrone). Le README sur cette page inclut un exemple de réponse.

Ai-je besoin d’un compte développeur ou d’une clé API Xiaohongshu ?

Non. Xiaohongshu (RED) User Information fonctionne via SandBase, donc une seule clé API SandBase couvre ce point de terminaison ainsi que toutes les autres API et tous les modèles du catalogue. Vous n’avez pas besoin de demander un accès API Xiaohongshu séparément.