Sand AISand AI MAGI-2MAGI-2가 이제 SandBase에서 제공됩니다: 네이티브 오디오가 포함된 1080p 동영상지금 사용해 보기

Weibo User Profile Information

API 문서
https://api.sandbase.ai/v1/api/weibo/app/user-info

Returns basic profile information for a Weibo user, including nickname, avatar, biography, follower counts, and channel metadata, using a user ID.

가격
$0.001USD / 호출
메서드
POST
응답
JSON
매개변수
필수 1개 · 선택 사항 0개

Playground

입력
User ID (required)
출력예시
응답outputs · 20.0 KB · 574줄
[
  {
    "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",

예시

예시를 선택하면 입력값과 결과가 플레이그라운드에 로드됩니다.

API README

Weibo User Profile Information API

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.

Use cases

  • Get the tab container IDs for a Weibo user so you can request their posts or videos feed.
  • Read the post count shown on the all-posts filter title for a creator.
  • Fetch the avatar image URLs for a Weibo user ID.
  • Check whether the profile has messaging enabled and what follow state the toolbar shows.

Request

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.

Parameters

NameTypeRequiredDescription
uidstringYesUser ID (required)

Example response

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": ""
    }
  }
}

Response fields

FieldMeaning
channelInfo.channels[].titleName of each profile tab, such as 动态 (dynamic), 微博 (posts) and 视频 (videos).
channelInfo.channels[].containerid / channelInfo.channels[].flowIdContainer ID of the tab's feed. The posts tab value starts with 107603 followed by the user ID.
channelInfo.channels[].apiPathPath of the Weibo endpoint that serves the tab's feed, for example /2/flowlist.
channelInfo.channels[].params.profileTabTypeTab type key, such as profile, weibo or water_fall.
channelInfo.channels[].serviceConfig.filter_group.filter_group[].titleLabel of a filter on the posts tab. The all-posts title includes a count, for example 全部微博(1136).
footer.data.toolbar_menus_new.items[].identifierName of each toolbar button: message, recommend and follow.
footer.data.toolbar_menus_new.items[].userinfo.idNumeric 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_largeSigned 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_meBooleans for whether the viewing account follows the user and whether the user follows that account.

Notes

Pricing

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

더 살펴보기

관련 API

모든 API
API가격응답
Weibo$0.001 / 호출JSON
Weibo$0.001 / 호출JSON
Weibo$0.001 / 호출JSON
Weibo$0.001 / 호출JSON
Weibo$0.001 / 호출JSON
Weibo$0.001 / 호출JSON

가이드:Best Weibo API in 2026: Pricing Compared

질문

FAQ

Weibo User Profile Information API를 어떻게 사용하나요?

Authorization 헤더(Bearer)에 SandBase API 키를 넣고, 매개변수를 JSON 본문으로 담아 https://api.sandbase.ai/v1/api/weibo/app/user-info에 POST 요청을 보내세요. 이 페이지의 Playground에서도 코드를 작성하지 않고 직접 테스트할 수 있습니다.

Weibo User Profile Information API 비용은 얼마인가요?

호출당 $0.001, SandBase 잔액에서 청구됩니다. 사용한 호출에 대해서만 요금이 부과되며, 구독은 없습니다.

Weibo User Profile Information API는 어떤 매개변수를 받나요?

필수: uid (string). 이 페이지의 Parameters 표와 Playground에 모든 필드가 나와 있습니다.

Weibo User Profile Information API는 무엇을 반환하나요?

같은 HTTP 요청에서 반환되는 JSON 응답입니다(동기식). 이 페이지의 README에 샘플 응답이 포함되어 있습니다.

Weibo 개발자 계정이나 API 키가 필요한가요?

아니요. Weibo User Profile Information은 SandBase를 통해 실행되므로, SandBase API 키 하나로 이 엔드포인트와 카탈로그의 다른 모든 API 및 모델을 사용할 수 있습니다. Weibo API 액세스를 별도로 신청할 필요는 없습니다.