uidstringrequerido
User ID (required)
https://api.sandbase.ai/v1/api/weibo/app/user-infoReturns basic profile information for a Weibo user, including nickname, avatar, biography, follower counts, and channel metadata, using a user ID.
[
{
"data": {
"channelInfo": {
"channelConfig": {
"channelType": "userProfile",
"selectInfo": {
"flowId": "2328087648703289",
"pageDataType": "flow",
"pullRefreshTop": 1,
"tabKey": "dynamic"
},
"style": {
"backgroundColor": "#FFFFFF",
"backgroundDarkColor": "#FFFFFF",
"height": 44
}
},
"channels": [
{
"apiPath": "/2/flowlist",
"containerid": "2328087648703289",
"dynaConfig": {
"bizType": "profile",
"enable": true
},
"flowId": "2328087648703289",
"pageDataType": "flow",
"params": {
"profileTabType": "profile",
"profile_check_ext": "2064491343597timestamp:1791290328|profileUid:7648703289",
"profile_check_value": "timestamp:1791290328|profileUid:7648703289|token:29c4d9d1"
},
"theme": {
"hidden": 0,
"id": 18,
"mustShow": 1,
"tabKey": "dynamic"
},
"title": "动态",
"titleInfo": {
"style": {
"font": "Normal",
"fontSize": 15,
"iconHeight": 24,
"iconSkinKey": "channelIcon_1",
"iconWidth": 24,
"padding": [
0,
10,
"… 2 more items in the full response"
],
"selectFont": "Bold",
"selectFontSize": 15,
"selectTextColor": "#333333",
"selectTextDarkColor": "#D3D3D3",
"sliderColor": [
"#FF6A00",
"#FF6A00"
],
"sliderDarkColor": [
"#FF6A00",
"#FF6A00"
],
"sliderIcon": "",
"sliderIconDark": "",
"sliderSkinKey": "channelSlider_1",
"styleId": "channelTitleInfo",
"textColor": "#939393",
"textDarkColor": "#888888",
"textSkinKey": "channelText_1"
}
}
},
{
"apiPath": "/2/profile/container_timeline",
"containerid": "1076037648703289",
"dynaConfig": {
"bizType": "profile",
"enable": true
},
"flowId": "1076037648703289",
"pageDataType": "flow",
"params": {
"filterGroupStyle": 1,
"gender": "f",
"new_select_menu": 1,
"profileTabType": "weibo",
"profile_check_ext": "2064491343597timestamp:1791290328|profileUid:7648703289",
"profile_check_value": "timestamp:1791290328|profileUid:7648703289|token:29c4d9d1"
},
"serviceConfig": {
"filter_group": {
"filter_group": [
"…",
"…",
"… 1 more items in the full response"
],
"filter_group_info": {
"icon": "https://h5.sinaimg.cn/upload/1059/799/2022/05/11/shaixuan.png",
"icon_code": 3059,
"icon_name": "筛选",
"icon_scheme": "",
"search_code": 3058,
"search_scheme": "sinaweibo://searchall?profile_containerid=231802&type=401&trans_bg=1&disable_history=1&disable_sug=1&disable_hot=0&searchhint=搜她的微博&profile_uid=7648703289",
"title": "全部微博(1136)"
}
}
},
"theme": {
"hidden": 0,
"id": 2,
"mustShow": 1,
"tabKey": "weibo"
},
"title": "微博",
"titleInfo": {
"style": {
"backgroundDarkIcon": "https://h5.sinaimg.cn/upload/1059/799/2021/04/07/weibotab_dark.png",
"backgroundIcon": "https://h5.sinaimg.cn/upload/1059/799/2021/04/01/weibotab.png",
"font": "Normal",
"fontSize": 15,
"iconHeight": 24,
"iconSkinKey": "channelIcon_1",
"iconWidth": 24,
"padding": [
0,
10,
"… 2 more items in the full response"
],
"selectBackgroundDarkIcon": "https://h5.sinaimg.cn/upload/1059/799/2021/04/07/weibotab_dark.png",
"selectBackgroundIcon": "https://h5.sinaimg.cn/upload/1059/799/2021/04/01/weibotab.png",
"selectFont": "Bold",
"selectFontSize": 15,
"selectTextColor": "#333333",
"selectTextDarkColor": "#D3D3D3",
"sliderColor": [
"#FF6A00",
"#FF6A00"
],
"sliderDarkColor": [
"#FF6A00",
"#FF6A00"
],
"sliderIcon": "",
"sliderIconDark": "",
"sliderSkinKey": "channelSlider_1",
"styleId": "channelTitleInfo",
"textColor": "#939393",
"textDarkColor": "#888888",
"textSkinKey": "channelText_1"
}
}
},
"… 3 more items in the full response"
]
},
"config": "{}",
"footer": {
"data": {
"toolbar_menus_new": {
"items": [
{
"buttonMap": {
"normal": "…"
},
"handlerType": "default_handler",
"identifier": "message",
"notificationname": null,
"status": "normal",
"type": "toolbar_link"
},
{
"buttonMap": {
"normal": "…"
},
"handlerType": "recommend_handler",
"identifier": "recommend",
"notificationname": null,
"status": "normal",
"type": "toolbar_active"
},
"… 1 more items in the full response"
],
"servicePopup": [],
"style": {
"backgroundUrl": "",
"padding": [
0,
13,
"… 2 more items in the full response"
],
"skinKey": "navigationBackground"
}
}
},
"type": "userProfile"
},
"header": {
"config": {
"type": "userProfile"
},
"data": {
"action_more": {
"actionlog": {
"act_code": 4631,
"cardid": "",
"ext": "",
"fid": "1076037648703289",
"lfid": "232532",
"luicode": "10000002",
"oid": "",
"uicode": "10000198"
},
"desc": "更多资料",
"icon": "https://h5.sinaimg.cn/upload/1059/799/2022/02/28/info_more.png",
"icon_dark": "https://h5.sinaimg.cn/upload/1059/799/2022/02/28/info_more_dark.png",
"icon_height": 12,
"icon_width": 6.5,
"scheme": "sinaweibo://userdetailinfov2?uid=7648703289",
"textcolor": "#939393",
"textcolor_dark": "#888888"
},
"infoList": [
{
"actionlog": {
"act_code": 4630,
"cardid": "",
"ext": "name:description",
"fid": "1076037648703289",
"lfid": "232532",
"luicode": "10000002",
"oid": "",
"uicode": "10000198"
},
"desc": "恨比爱长久",
"icon": "https://h5.sinaimg.cn/upload/1059/799/2020/05/19/description.png",
"icon_dark": "https://h5.sinaimg.cn/upload/1059/799/2020/05/19/description-dark.png",
"icon_video_style": "https://h5.sinaimg.cn/upload/1059/799/2021/04/16/video_description.png",
"icon_video_style_dark": "https://h5.sinaimg.cn/upload/1059/799/2021/04/16/video_description_dark.png",
"scheme": "",
"textcolor": "#939393",
"textcolor_dark": "#888888"
},
{
"descs": [
{
"content": "… 3 items in the full response"
}
],
"textcolor": "#939393",
"textcolor_dark": "#888888"
}
],
"isVideoCoverStyle": false,
"style": {
"avatar": {
"avatarBorderSkinKey": "avatarBorderColor",
"boder_color": "#ffffff",
"boder_color_dark": "#00000000",
"border_color_dark": "#1E1E1E",
"border_width": 2,
"inside_border_color": "#12000000",
"inside_border_color_dark": "#1affffff",
"inside_border_width": 1,
"mask_color": "#00000000",
"mask_color_dark": "#00000000",
"mask_padding": "2",
"size": 76,
"v_size": 20
},
"heightScale": 0.39,
"nick": {
"gender_top": 0,
"grass_top": 0,
"membershop_top": -2,
"text_color": "#333333",
"text_color_dark": "#D3D3D3",
"verticalSpacing": 0
},
"nick_offset": 31,
"nick_offset_ios": 31,
"styleId": "headerDefalt",
"userinfo_offset": 27
},
"tags": [
{
"actionlog": {
"act_code": 4629,
"cardid": "",
"ext": "type:video_play",
"fid": "1076037648703289",
"lfid": "232532",
"luicode": "10000002",
"oid": "7648703289",
"uicode": "10000198"
},
"backgroundSkinKey": "tagBackground_1",
"bg_color": "#59FFDDCB",
"bg_color_dark": "#FF181818",Seleccione un ejemplo para cargar sus entradas y el resultado en el playground.
Returns the profile page layout data for one Weibo user. It needs the numeric user ID in uid. The response holds the profile tabs (posts, videos, dynamic feed), a bottom toolbar with the user's follow state and avatar URLs, and a header block with profile info.
curl -X POST "https://api.sandbase.ai/v1/api/weibo/app/user-info" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uid": "7648703289"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
uid | string | Yes | User ID (required) |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"channelInfo": {
"channelConfig": {
"channelType": "userProfile",
"selectInfo": {
"flowId": "2328087648703289",
"pageDataType": "flow",
"pullRefreshTop": 1,
"tabKey": "dynamic"
},
"style": {
"backgroundColor": "#FFFFFF",
"backgroundDarkColor": "#FFFFFF",
"height": 44
}
},
"channels": [
{
"apiPath": "/2/flowlist",
"containerid": "2328087648703289",
"dynaConfig": {
"bizType": "profile",
"enable": true
},
"flowId": "2328087648703289",
"pageDataType": "flow",
"params": {
"profileTabType": "profile",
"profile_check_ext": "2070301595320timestamp:1793691974|profileUid:7648703289",
"profile_check_value": "timestamp:1793691974|profileUid:7648703289|token:b0056c25"
},
"theme": {
"hidden": 0,
"id": 18,
"mustShow": 1,
"tabKey": "dynamic"
},
"title": "动态",
"titleInfo": {
"style": {
"font": "Normal",
"fontSize": 15,
"iconHeight": 24,
"iconSkinKey": "channelIcon_1",
"iconWidth": 24,
"padding": [
0
],
"selectFont": "Bold",
"selectFontSize": 15
}
}
}
]
},
"config": "{}",
"footer": {
"data": {
"toolbar_menus_new": {
"items": [
{
"buttonMap": {
"normal": {
"actionlog": {
"act_code": 594,
"cardid": "230774_-_WEIBO_INDEX_PROFILE_CHAT",
"ext": "uid:2070301595320|ouid:7648703289|btn_name:留言|btn_type:zs_messege|toolbar_type:1…",
"fid": "2307747648703289",
"oid": "messagelist",
"uicode": "10000198"
},
"disable": "0",
"param": {
"scheme": "sinaweibo://messagelist?uid=7648703289&nick=悲伤荷包蛋&verified_type=-1&send_from=use…",
"type": "vertical_arrange"
},
"style": {
"alignment": "1",
"image": {
"height": "28",
"pic": "https://d.sinaimg.cn/prd/100/1968/2025/06/23/sx_default.png",
"pic_dark": "https://d.sinaimg.cn/prd/100/1968/2025/06/23/sx_dark.png",
"skinKey": "messageNormalIcon",
"width": "28"
},
"name": {
"skinKey": "messageNormalText",
"text": "留言",
"textColor": "#636363",
"textColorDark": "#999999",
"textFontSize": "13"
},
"padding": [
"0"
],
"space": "0",
"type": "normal",
"widthValue": 54
}
}
},
"handlerType": "default_handler",
"identifier": "message",
"notificationname": null,
"status": "normal",
"type": "toolbar_link"
}
],
"servicePopup": [],
"style": {
"backgroundUrl": "",
"padding": [
0
],
"skinKey": "navigationBackground"
}
}
},
"type": "userProfile"
},
"header": {
"config": {
"type": "userProfile"
},
"data": {
"action_more": {
"actionlog": {
"act_code": 4631,
"cardid": "",
"ext": "",
"fid": "1076037648703289",
"lfid": "232532",
"luicode": "10000002",
"oid": "",
"uicode": "10000198"
},
"desc": "更多资料",
"icon": "https://h5.sinaimg.cn/upload/1059/799/2022/02/28/info_more.png",
"icon_dark": "https://h5.sinaimg.cn/upload/1059/799/2022/02/28/info_more_dark.png",
"icon_height": 12,
"icon_width": 6.5,
"scheme": "sinaweibo://userdetailinfov2?uid=7648703289",
"textcolor": "#939393"
},
"infoList": [
{
"actionlog": {
"act_code": 4630,
"cardid": "",
"ext": "name:description",
"fid": "1076037648703289",
"lfid": "232532",
"luicode": "10000002",
"oid": "",
"uicode": "10000198"
},
"desc": "恨比爱长久",
"icon": "https://h5.sinaimg.cn/upload/1059/799/2020/05/19/description.png",
"icon_dark": "https://h5.sinaimg.cn/upload/1059/799/2020/05/19/description-dark.png",
"icon_video_style": "https://h5.sinaimg.cn/upload/1059/799/2021/04/16/video_description.png",
"icon_video_style_dark": "https://h5.sinaimg.cn/upload/1059/799/2021/04/16/video_description_dark.png",
"scheme": "",
"textcolor": "#939393"
}
],
"isVideoCoverStyle": false,
"style": {
"avatar": {
"avatarBorderSkinKey": "avatarBorderColor",
"boder_color": "#ffffff",
"boder_color_dark": "#00000000",
"border_color_dark": "#1E1E1E",
"border_width": 2,
"inside_border_color": "#12000000",
"inside_border_color_dark": "#1affffff",
"inside_border_width": 1
},
"heightScale": 0.39,
"nick": {
"gender_top": 0,
"grass_top": 0,
"membershop_top": -2,
"text_color": "#333333",
"text_color_dark": "#D3D3D3",
"verticalSpacing": 0
},
"nick_offset": 31,
"nick_offset_ios": 31,
"styleId": "headerDefalt",
"userinfo_offset": 27
},
"tags": [
{
"actionlog": {
"act_code": 4629,
"cardid": "",
"ext": "type:video_play",
"fid": "1076037648703289",
"lfid": "232532",
"luicode": "10000002",
"oid": "7648703289",
"uicode": "10000198"
},
"backgroundSkinKey": "tagBackground_1",
"bg_color": "#59FFDDCB",
"bg_color_dark": "#FF181818",
"bg_color_video_style": "#8C181818",
"bg_color_video_style_dark": "#8C181818",
"color": "#FFFF6200",
"color_dark": "#FFEA8011"
}
],
"userDescribe": [
{
"actionlog": {
"act_code": 4644
},
"scheme": "https://m.weibo.cn/c/attention/visit?showmenu=0&sign=7648703289&source=MQ==&role…",
"text": [
{
"content": "362.4万",
"style": {
"bold": "1",
"styleId": "defaultNumberContent",
"textColor": "#333333",
"textColorDark": "#D3D3D3",
"textSize": 15
},
"type": "text"
}
]
}
],
"userInfo": {
"allow_all_act_msg": false,
"allow_all_comment": false,
"allow_msg": 1,
"audio_ability": 2,
"auth_career": null,
"auth_career_name": null,
"auth_realname": null,
"auth_status": 2
}
}
},
"headerBack": {
"config": {
"fixed": 0,
"type": "profileHeaderBack"
},
"default": {
"channelBarStyle": {
"backgroundColor": "#FFFFFF",
"backgroundDarkColor": "#1E1E1E",
"font": "Normal",
"fontSize": 15,
"padding": [
0
],
"selectFont": "Bold",
"selectFontSize": 15,
"selectTextColor": "#333333"
},
"data": {
"backgroundDarkUrl": "",
"backgroundSkinKey": "headBackground",
"backgroundUrl": "",
"coverImage": [
{
"cover": "https://wx1.sinaimg.cn/hworiginal/70ace9b7ly1ggzusnypoej20yi0yiaop.jpg",
"cover_thumbnails": "https://wx1.sinaimg.cn/bmiddle/70ace9b7ly1ggzusnypoej20yi0yiaop.jpg",
"pid": "70ace9b7ly1ggzusnypoej20yi0yiaop"
}
],
"coverImageSkinKey": "coverImage",
"coverVideo": {
"skinKey": "coverVideo"
},
"maskFillColor": [
"#00FFFFFF"
],
"maskFillColorDark": [
"#001E1E1E"
]
},
"style": {
"backgroundColor": "#EEEEEE",
"backgroundColorDark": "#151515",
"backgroundImageSize": [
100
],
"contentBottom": "ToChannelBarBottom",
"contentInset": [
0
],
"contentModel": "scaleAspectTopFit",
"height": 0,
"heightScale": 0.39
}
}
},
"navigationBar": {
"data": {
"title_bar_menus": [
{
"actionlog": {
"act_code": 3058,
"ext": "type:profileSearch|isowner:0"
},
"bgColor": "#26000000",
"permanent": 1,
"pic": "https://h5.sinaimg.cn/upload/1014/739/2024/09/03/new_profile_sousuo2.png",
"pic_highlight": "https://h5.sinaimg.cn/upload/1014/739/2024/09/03/new_profile_sousuo2_anxia.png",
"pic_highlight_dark": "https://h5.sinaimg.cn/upload/1014/739/2024/09/03/new_profile_sousuo2_anxia_dark.…",
"pic_pin": "https://h5.sinaimg.cn/upload/1014/739/2024/09/03/new_profile_sousuo2_shanghua.pn…",
"scheme": "sinaweibo://userinfosearchall?disable_history=1&disable_hot=0&disable_search=0&d…"
}
]
},
"type": "default"
},
"profileSkin": {
"local": {
"md5": "",
"skinId": ""
}
}
}
| Field | Meaning |
|---|---|
channelInfo.channels[].title | Name of each profile tab, such as 动态 (dynamic), 微博 (posts) and 视频 (videos). |
channelInfo.channels[].containerid / channelInfo.channels[].flowId | Container ID of the tab's feed. The posts tab value starts with 107603 followed by the user ID. |
channelInfo.channels[].apiPath | Path of the Weibo endpoint that serves the tab's feed, for example /2/flowlist. |
channelInfo.channels[].params.profileTabType | Tab type key, such as profile, weibo or water_fall. |
channelInfo.channels[].serviceConfig.filter_group.filter_group[].title | Label of a filter on the posts tab. The all-posts title includes a count, for example 全部微博(1136). |
footer.data.toolbar_menus_new.items[].identifier | Name of each toolbar button: message, recommend and follow. |
footer.data.toolbar_menus_new.items[].userinfo.id | Numeric ID of the profile user. It appears on the follow button item. |
footer.data.toolbar_menus_new.items[].userinfo.avatar_hd / footer.data.toolbar_menus_new.items[].userinfo.avatar_large | Signed URLs of the user's avatar in high and large sizes. The URLs carry an Expires parameter. |
footer.data.toolbar_menus_new.items[].userinfo.following / footer.data.toolbar_menus_new.items[].userinfo.follow_me | Booleans for whether the viewing account follows the user and whether the user follows that account. |
uid as a string of digits, for example 7648703289.profile_check_value strings in params hold a timestamp and a token. Treat them as short-lived values tied to this response.$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Empiece a construir
Endpoint de la API de la plataforma con autenticación unificada y seguimiento de uso.
curl -X POST "https://api.sandbase.ai/v1/api/weibo/app/user-info" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"uid": "7648703289"
}'Configure su clave de API de SandBase en el entorno de su servidor. Las solicitudes usan autenticación Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conserve su clave en el servidor. No la exponga en código del navegador.
uidstringrequeridoUser ID (required)
Respuesta de ejemplo guardada para esta API; no se realiza ninguna solicitud en vivo al verla.
[
{
"data": {
"channelInfo": {
"channelConfig": {
"channelType": "userProfile",
"selectInfo": {
"flowId": "2328087648703289",
"pageDataType": "flow",
"pullRefreshTop": 1,
"tabKey": "dynamic"
},
"style": {
"backgroundColor": "#FFFFFF",
"backgroundDarkColor": "#FFFFFF",
"height": 44
}
},
"channels": [
{
"apiPath": "/2/flowlist",
"containerid": "2328087648703289",
"dynaConfig": {
"bizType": "profile",
"enable": true
},
"flowId": "2328087648703289",
"pageDataType": "flow",
"params": {
"profileTabType": "profile",
"profile_check_ext": "2064491343597timestamp:1791290328|profileUid:7648703289",
"profile_check_value": "timestamp:1791290328|profileUid:7648703289|token:29c4d9d1"
},
"theme": {
"hidden": 0,
"id": 18,
"mustShow": 1,
"tabKey": "dynamic"
},
"title": "动态",
"titleInfo": {
"style": {
"font": "Normal",
"fontSize": 15,
"iconHeight": 24,
"iconSkinKey": "channelIcon_1",
"iconWidth": 24,
"padding": [
0,
10,
"… 2 more items in the full response"
],
"selectFont": "Bold",
"selectFontSize": 15,
"selectTextColor": "#333333",
"selectTextDarkColor": "#D3D3D3",
"sliderColor": [
"#FF6A00",
"#FF6A00"
],
"sliderDarkColor": [
"#FF6A00",
"#FF6A00"
],
"sliderIcon": "",
"sliderIconDark": "",
"sliderSkinKey": "channelSlider_1",
"styleId": "channelTitleInfo",
"textColor": "#939393",
"textDarkColor": "#888888",
"textSkinKey": "channelText_1"
}
}
},
{
"apiPath": "/2/profile/container_timeline",
"containerid": "1076037648703289",
"dynaConfig": {
"bizType": "profile",
"enable": true
},
"flowId": "1076037648703289",
"pageDataType": "flow",
"params": {
"filterGroupStyle": 1,
"gender": "f",
"new_select_menu": 1,
"profileTabType": "weibo",
"profile_check_ext": "2064491343597timestamp:1791290328|profileUid:7648703289",
"profile_check_value": "timestamp:1791290328|profileUid:7648703289|token:29c4d9d1"
},
"serviceConfig": {
"filter_group": {
"filter_group": [
"…",
"…",
"… 1 more items in the full response"
],
"filter_group_info": {
"icon": "https://h5.sinaimg.cn/upload/1059/799/2022/05/11/shaixuan.png",
"icon_code": 3059,
"icon_name": "筛选",
"icon_scheme": "",
"search_code": 3058,
"search_scheme": "sinaweibo://searchall?profile_containerid=231802&type=401&trans_bg=1&disable_history=1&disable_sug=1&disable_hot=0&searchhint=搜她的微博&profile_uid=7648703289",
"title": "全部微博(1136)"
}
}
},
"theme": {
"hidden": 0,
"id": 2,
"mustShow": 1,
"tabKey": "weibo"
},
"title": "微博",
"titleInfo": {
"style": {
"backgroundDarkIcon": "https://h5.sinaimg.cn/upload/1059/799/2021/04/07/weibotab_dark.png",
"backgroundIcon": "https://h5.sinaimg.cn/upload/1059/799/2021/04/01/weibotab.png",
"font": "Normal",
"fontSize": 15,
"iconHeight": 24,
"iconSkinKey": "channelIcon_1",
"iconWidth": 24,
"padding": [
0,
10,
"… 2 more items in the full response"
],
"selectBackgroundDarkIcon": "https://h5.sinaimg.cn/upload/1059/799/2021/04/07/weibotab_dark.png",
"selectBackgroundIcon": "https://h5.sinaimg.cn/upload/1059/799/2021/04/01/weibotab.png",
"selectFont": "Bold",
"selectFontSize": 15,
"selectTextColor": "#333333",
"selectTextDarkColor": "#D3D3D3",
"sliderColor": [
"#FF6A00",
"#FF6A00"
],
"sliderDarkColor": [
"#FF6A00",
"#FF6A00"
],
"sliderIcon": "",
"sliderIconDark": "",
"sliderSkinKey": "channelSlider_1",
"styleId": "channelTitleInfo",
"textColor": "#939393",
"textDarkColor": "#888888",
"textSkinKey": "channelText_1"
}
}
},
"… 3 more items in the full response"
]
},
"config": "{}",
"footer": {
"data": {
"toolbar_menus_new": {
"items": [
{
"buttonMap": {
"normal": "…"
},
"handlerType": "default_handler",
"identifier": "message",
"notificationname": null,
"status": "normal",
"type": "toolbar_link"
},
{
"buttonMap": {
"normal": "…"
},
"handlerType": "recommend_handler",
"identifier": "recommend",
"notificationname": null,
"status": "normal",
"type": "toolbar_active"
},
"… 1 more items in the full response"
],
"servicePopup": [],
"style": {
"backgroundUrl": "",
"padding": [
0,
13,
"… 2 more items in the full response"
],
"skinKey": "navigationBackground"
}
}
},
"type": "userProfile"
},
"header": {
"config": {
"type": "userProfile"
},
"data": {
"action_more": {
"actionlog": {
"act_code": 4631,
"cardid": "",
"ext": "",
"fid": "1076037648703289",
"lfid": "232532",
"luicode": "10000002",
"oid": "",
"uicode": "10000198"
},
"desc": "更多资料",
"icon": "https://h5.sinaimg.cn/upload/1059/799/2022/02/28/info_more.png",
"icon_dark": "https://h5.sinaimg.cn/upload/1059/799/2022/02/28/info_more_dark.png",
"icon_height": 12,
"icon_width": 6.5,
"scheme": "sinaweibo://userdetailinfov2?uid=7648703289",
"textcolor": "#939393",
"textcolor_dark": "#888888"
},
"infoList": [
{
"actionlog": {
"act_code": 4630,
"cardid": "",
"ext": "name:description",
"fid": "1076037648703289",
"lfid": "232532",
"luicode": "10000002",
"oid": "",
"uicode": "10000198"
},
"desc": "恨比爱长久",
"icon": "https://h5.sinaimg.cn/upload/1059/799/2020/05/19/description.png",
"icon_dark": "https://h5.sinaimg.cn/upload/1059/799/2020/05/19/description-dark.png",
"icon_video_style": "https://h5.sinaimg.cn/upload/1059/799/2021/04/16/video_description.png",
"icon_video_style_dark": "https://h5.sinaimg.cn/upload/1059/799/2021/04/16/video_description_dark.png",
"scheme": "",
"textcolor": "#939393",
"textcolor_dark": "#888888"
},
{
"descs": [
{
"content": "… 3 items in the full response"
}
],
"textcolor": "#939393",
"textcolor_dark": "#888888"
}
],
"isVideoCoverStyle": false,
"style": {
"avatar": {
"avatarBorderSkinKey": "avatarBorderColor",
"boder_color": "#ffffff",
"boder_color_dark": "#00000000",
"border_color_dark": "#1E1E1E",
"border_width": 2,
"inside_border_color": "#12000000",
"inside_border_color_dark": "#1affffff",
"inside_border_width": 1,
"mask_color": "#00000000",
"mask_color_dark": "#00000000",
"mask_padding": "2",
"size": 76,
"v_size": 20
},
"heightScale": 0.39,
"nick": {
"gender_top": 0,
"grass_top": 0,
"membershop_top": -2,
"text_color": "#333333",
"text_color_dark": "#D3D3D3",
"verticalSpacing": 0
},
"nick_offset": 31,
"nick_offset_ios": 31,
"styleId": "headerDefalt",
"userinfo_offset": 27
},
"tags": [
{
"actionlog": {
"act_code": 4629,
"cardid": "",
"ext": "type:video_play",
"fid": "1076037648703289",
"lfid": "232532",
"luicode": "10000002",
"oid": "7648703289",
"uicode": "10000198"
},
"backgroundSkinKey": "tagBackground_1",
"bg_color": "#59FFDDCB",
"bg_color_dark": "#FF181818",
"bg_color_video_style": "#8C181818",
"bg_color_video_style_dark": "#8C181818",
"color": "#FFFF6200",
"color_dark": "#FFEA8011",
"color_video_style": "#FFFC7011",
"color_video_style_dark": "#FFDC6515",
"label_type": "video_play",
"scheme": "",
"textSkinKey": "tagText_1",
"title": "视频累计播放量3.25亿"
}
],
"userDescribe": [
{
"actionlog": {
"act_code": 4644
},
"scheme": "https://m.weibo.cn/c/attention/visit?showmenu=0&sign=7648703289&source=MQ==&role=NA==",
"text": [
{
"content": "363.2万",
"style": "…",
"type": "text"
},
{
"style": "…",
"type": "icon"
},
"… 1 more items in the full response"
]
},
{
"text": [
{
"style": "…",
"type": "icon"
}
]
},
"… 3 more items in the full response"
],
"userInfo": {
"allow_all_act_msg": false,
"allow_all_comment": false,
"allow_msg": 1,
"audio_ability": 2,
"auth_career": null,
"auth_career_name": null,
"auth_realname": null,
"auth_status": 2,
"avatar_extend_info": {
"can_save_photo": true,
"pendant_scheme": "https://new.vip.weibo.cn/headportrait/mall?sinainternalbrowser=topnav&toolbar_hidden=1&bconf=3",
"pendant_title": "设置头像挂件",
"pendant_url_new": "",
"show_icon": false
},
"avatar_hd": "https://tvax3.sinaimg.cn/crop.0.0.1080.1080.1024/008lDb85ly8ha4by3jwh3j30u00u0q47.jpg?KID=imgbed,tva&Expires=1791301128&ssig=1NpfLDSplD",
"avatar_hd_pid": "008lDb85ly8ha4by3jwh3j30u00u0q47",
"avatar_large": "https://tvax3.sinaimg.cn/crop.0.0.1080.1080.180/008lDb85ly8ha4by3jwh3j30u00u0q47.jpg?KID=imgbed,tva&Expires=1791301128&ssig=DjXJzDJwJC",
"avatar_type": 0,
"badge": {
"aizi_2020": 0,
"anniversary": 0,
"ant_2019": 0,
"aoyun_2021": 0,
"aoyun_2024": 0,
"article_visible": 0,
"asiad_2018": 0,
"avengers_2019": 0,
"baokemeng_2022": 0,
"baokemeng_2023": 0,
"bawangchaji_2023": 0,
"bddxrrdongaohui_2022": 0,
"bind_taobao": 1,
"biyeji_2021": 0,
"biyeji_2022": 0,
"biyeji_2023": 0,
"biyeji_2024": 0,
"brand_account_2021": 0,
"cddyh_2020": 0,
"ceshiicon_2022": 0,
"changxiangsi_2024": 0,
"china_2019": 0,
"china_2019_2": 0,
"china_2020": 0,
"chunjiesheyingdasai_2023": 0,
"cishan_2019": 0,
"city_university": 0,
"clock_in_ug": 0,
"comment_source": 0,
"companion_card": 0,
"cuccidlam12_2021": 0,
"cuccidlam20_2021": 0,
"cuccidlam25_2021": 0,
"cz_wed_2017": 0,
"dailu_2021": 0,
"dailv": 0,
"dailv_2018": 0,
"dailv_2019": 0,
"dailv_2020": 0,
"dailv_2022": 0,
"…": "225 more fields in the full response"
},
"bi_followers_count": 163,
"birthday": "0000-00-00",
"block": 2,
"block_me": 2,
"brand_account": 0,
"chaohua_ability": 0,
"city": "1000",
"class": 1,
"close_friends_type": 0,
"comment_display": 0,
"constellation": "",
"counter_state": 0,
"cover_image_phone": "https://ww1.sinaimg.cn/crop.0.0.640.640.640/9d44112bjw1f1xl1c10tuj20hs0hs0tw.jpg",
"cover_image_phone_level": 1,
"covers": [
{
"cover": "https://wx1.sinaimg.cn/hworiginal/70ace9b7ly1ggzusnypoej20yi0yiaop.jpg",
"cover_thumbnails": "https://wx1.sinaimg.cn/bmiddle/70ace9b7ly1ggzusnypoej20yi0yiaop.jpg",
"pid": "70ace9b7ly1ggzusnypoej20yi0yiaop"
}
],
"created_at": "Fri Jul 16 03:51:25 +0800 2021",
"credit_score": 80,
"description": "恨比爱长久",
"description_scheme": "sinaweibo://cardlist?containerid=2302837648703289_-_INFO&title=%E5%9F%BA%E6%9C%AC%E4%BF%A1%E6%81%AF",
"domain": "",
"ecommerce_ability": 0,
"email": "",
"extend": {
"mbprivilege": "0000000000000000000000000000000000000000000000000000000004c00208",
"privacy": {
"mobile": 0
}
},
"favourites_count": 828,
"follow_item_id": "0001980001_7648703289_06385313",
"follow_me": false,
"…": "99 more fields in the full response"
}
}
},
"headerBack": {
"config": {
"fixed": 0,
"type": "profileHeaderBack"
},
"default": {
"channelBarStyle": {
"backgroundColor": "#FFFFFF",
"backgroundDarkColor": "#1E1E1E",
"font": "Normal",
"fontSize": 15,
"padding": [
0,
10,
"… 2 more items in the full response"
],
"selectFont": "Bold",
"selectFontSize": 15,
"selectTextColor": "#333333",
"selectTextDarkColor": "#D3D3D3",
"sliderColor": [
"#FF6A00",
"#FF6A00"
],
"sliderDarkColor": [
"#FF6A00",
"#FF6A00"
],
"styleId": "headerBackChannelBar",
"textColor": "#939393",
"textDarkColor": "#888888"
},
"data": {
"backgroundDarkUrl": "",
"backgroundSkinKey": "headBackground",
"backgroundUrl": "",
"coverImage": [
{
"cover": "https://wx1.sinaimg.cn/hworiginal/70ace9b7ly1ggzusnypoej20yi0yiaop.jpg",
"cover_thumbnails": "https://wx1.sinaimg.cn/bmiddle/70ace9b7ly1ggzusnypoej20yi0yiaop.jpg",
"pid": "70ace9b7ly1ggzusnypoej20yi0yiaop"
}
],
"coverImageSkinKey": "coverImage",
"coverVideo": {
"skinKey": "coverVideo"
},
"maskFillColor": [
"#00FFFFFF",
"#FFFFFFFF"
],
"maskFillColorDark": [
"#001E1E1E",
"#FF1E1E1E"
],
"maskSkinKey": "headMask"
},
"style": {
"backgroundColor": "#EEEEEE",
"backgroundColorDark": "#151515",
"backgroundImageSize": [
100,
100
],
"contentBottom": "ToChannelBarBottom",
"contentInset": [
0,
0,
"… 2 more items in the full response"
],
"contentModel": "scaleAspectTopFit",
"height": 0,
"heightScale": 0.39,
"styleId": "headerBackDefault"
}
}
},
"navigationBar": {
"data": {
"title_bar_menus": [
{
"actionlog": {
"act_code": 3058,
"ext": "type:profileSearch|isowner:0"
},
"bgColor": "#26000000",
"permanent": 1,
"pic": "https://h5.sinaimg.cn/upload/1014/739/2024/09/03/new_profile_sousuo2.png",
"pic_highlight": "https://h5.sinaimg.cn/upload/1014/739/2024/09/03/new_profile_sousuo2_anxia.png",
"pic_highlight_dark": "https://h5.sinaimg.cn/upload/1014/739/2024/09/03/new_profile_sousuo2_anxia_dark.png",
"pic_pin": "https://h5.sinaimg.cn/upload/1014/739/2024/09/03/new_profile_sousuo2_shanghua.png",
"scheme": "sinaweibo://userinfosearchall?disable_history=1&disable_hot=0&disable_search=0&disable_sug=1&force_ejecttype=present&trans_bg=0&type=401&profile_containerid=100103&hint=搜她的微博&profile_uid=7648703289&recommend_flowid=231802_7648703289_type%3D401",
"type": "search"
},
{
"actionlog": {
"act_code": 3056,
"ext": "type:profileShare",
"fid": "1076037648703289",
"uicode": "10000198"
},
"bgColor": "#26000000",
"blocked": 0,
"permanent": 1,
"pic": "https://h5.sinaimg.cn/upload/1014/739/2024/09/03/share_pic.png",
"pic_highlight": "https://h5.sinaimg.cn/upload/1014/739/2024/09/03/fenxianganxia.png",
"pic_highlight_dark": "https://h5.sinaimg.cn/upload/1014/739/2024/09/03/fenxianganxia_dark.png",
"pic_pin": "https://h5.sinaimg.cn/upload/1014/739/2024/09/03/share_pic_hightlight.png",
"shareData": {
"desc": "恨比爱长久",
"icon": "https://tvax3.sinaimg.cn/crop.0.0.1080.1080.180/008lDb85ly8ha4by3jwh3j30u00u0q47.jpg?KID=imgbed,tva&Expires=1791301128&ssig=DjXJzDJwJC",
"title": "悲伤荷包蛋",
"url": "https://m.weibo.cn/u/7648703289?"
},
"type": "share"
}
]
},
"type": "default"
},
"profileSkin": {
"local": {
"md5": "",
"skinId": ""
}
}
}
}
]Explorar más
| API | Precio | Respuesta |
|---|---|---|
Weibo User Profile InformationEsta API Weibo | $0.001 por llamada | JSON |
Weibo | $0.001 por llamada | JSON |
Weibo | $0.001 por llamada | JSON |
Weibo | $0.001 por llamada | JSON |
Weibo | $0.001 por llamada | JSON |
Weibo | $0.001 por llamada | JSON |
Preguntas
Envía una solicitud POST a https://api.sandbase.ai/v1/api/weibo/app/user-info con tu clave API de SandBase en el encabezado Authorization (Bearer) y los parámetros como un cuerpo JSON. También puedes probarlo en el Playground de esta página sin escribir código.
$0.001 por llamada, facturado desde tu saldo de SandBase. Solo se te cobra por las llamadas que haces; no hay suscripción.
Requeridos: uid (string). La tabla de Parámetros y el Playground de esta página enumeran todos los campos.
Una respuesta JSON devuelta en la misma solicitud HTTP (sincrónica). El README de esta página incluye una respuesta de ejemplo.
No. Weibo User Profile Information funciona a través de SandBase, así que una sola clave API de SandBase cubre este endpoint y todas las demás APIs y modelos del catálogo. No necesitas solicitar acceso a la API de Weibo por separado.