Weibo Hot search brief
https://api.sandbase.ai/v1/api/weibo/app/hot-search-briefGet hot search brief on Weibo. Returns the platform data as structured JSON.
- 价格
- $0.001美元 / 次调用
- 方法
- POST
- 响应
- JSON
- 参数
- 0 个必填 · 0 个可选
Playground
您的输出将显示在这里
完成输入,然后点击运行。
API README
Weibo Hot search brief API
Returns the Weibo app search result page for the query "热搜简报" (hot search brief). It takes no input parameters. The response holds the search channel tabs, page menus, and a list of card items for the page layout.
Use cases
- Read the search channel tabs (综合, 智搜, 实时) and their container IDs to see how Weibo structures this search page.
- Collect the card item IDs from the brief page to track which cards Weibo shows for this query.
- Pull the share button and menu data to build a link or share card for the hot search brief page.
Request
curl -X POST "https://api.sandbase.ai/v1/api/weibo/app/hot-search-brief" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'
The result is returned in outputs[0].data.
Example response
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"channelInfo": {
"channelConfig": {
"channelType": "search_result",
"menu_scheme": "sinaweibo://cardlist?containerid=100103type%3D42%26q%3D%E7%83%AD%E6%90%9C%E7%AE%…",
"selectInfo": [],
"show_menu": 1,
"style": {
"backgroundColor": "#FFFFFF",
"backgroundDarkColor": "#1E1E1E",
"height": 42
}
},
"channels": [
{
"ai_preload_key": "search_all_flow",
"apiPath": "searchall",
"appid": "100103type=1&q=热搜简报&t=911",
"cleaned": true,
"containerid": "100103type=1&q=热搜简报&t=911",
"dot": {
"request_mark_interval": 999000
},
"dynaConfig": {
"bizArray": [
"common"
],
"bizType": "search",
"enable": true
},
"expose": {
"actionlog": {
"act_code": 6688,
"ext": "seqid:489468554|type:200|t:911|pos:1-24-0|q:热搜简报|srid:2b9d72a3193b472b12f90ea03c…",
"fid": "100103type=200&q=%E7%83%AD%E6%90%9C%E7%AE%80%E6%8A%A5&t=911&vstyle=1",
"lfid": "102803_ctg1_1780_-_ctg1_1780",
"luicode": "10001344",
"uicode": "10000003"
}
},
"flowId": "100103type=1&q=热搜简报&t=911",
"is_first_level": 1,
"pageDataType": "flow",
"params": {
"dfp": "200",
"is_container": "1",
"pic_tab_front": 0,
"search_mode_info": "1",
"search_ssid": "2b9d72a3193b472b12f90ea03cf710e4",
"search_time": 1793691973,
"search_vsid": "2b9d72a3193b472b12f90ea03cf710e4"
}
}
]
},
"config": "{}",
"footer": {
"data": {
"handler_type": 2,
"has_post_menu": 1,
"menus": [
{
"actionlog": {
"act_code": 554,
"ext": "seqid:489468554|type:200|t:911|pos:1-24-0|q:热搜简报|srid:2b9d72a3193b472b12f90ea03c…",
"fid": "100103type=200&q=%E7%83%AD%E6%90%9C%E7%AE%80%E6%8A%A5&t=911&vstyle=1",
"lfid": "102803_ctg1_1780_-_ctg1_1780",
"luicode": "10001344",
"uicode": "10000003"
},
"button_style": "search_expand",
"duration": 3000,
"is_expand": 1,
"name": "有问题尽管问我",
"params": {
"align": "center",
"bg_color": "#F4F4F4",
"bg_color_dark": "#2C2C2C",
"cleaned": true,
"disable_count": false,
"is_interrupt": 0,
"pic_height": 26,
"pic_width": 26
},
"pic": "https://simg.s.weibo.com/imgtool/20251127_chat_icon.png",
"pic_dark": "https://simg.s.weibo.com/imgtool/20251127_chat_icon_dark.png"
}
],
"type": 2
},
"type": "searchResult"
},
"globalChannelConfig": {
"refreshInfo": {
"refreshType": "pullArrow"
}
},
"items": [
{
"category": "card",
"data": {
"backgroundColor": "#EEEEEE",
"backgroundDarkColor": "#151515",
"card_type": 197,
"height": 1,
"item_style": {
"background": {
"color": "#FFFFFF",
"colorKey": "CommonCardBackground",
"type": "color"
},
"margin": [
0
],
"padding": [
0
]
},
"openurl": "",
"padding": [
0
]
},
"itemExt": {
"anchorId": "1971793691973"
},
"style": {
"background": {
"color": "#FFFFFF",
"colorKey": "CommonCardBackground",
"type": "color"
},
"margin": [
0
],
"padding": [
0
]
}
}
],
"loadedInfo": "{}",
"navInfo": "{}",
"navigationBar": {
"data": {
"title_bar_menus": [
{
"pic": "https://h5.sinaimg.cn/upload/1059/799/2022/03/30/share_pic.png",
"pic_highlight": "https://h5.sinaimg.cn/upload/1059/799/2022/03/30/share_pic_hightlight.png",
"type": "share"
}
]
},
"search_title": [
{
"act_log": {
"act_code": 1985,
"ext": "seqid:489468554|type:200|t:911|pos:1-24-0|q:热搜简报|srid:2b9d72a3193b472b12f90ea03c…",
"lfid": "102803_ctg1_1780_-_ctg1_1780",
"luicode": "10001344",
"uicode": "10000003"
},
"name": "share",
"pic_height": 30,
"pic_url": "https://simg.s.weibo.com/imgtool/20250324_0324_light_normal.png",
"pic_url_dark": "https://simg.s.weibo.com/imgtool/20250324_0324_dark_normal.png",
"pic_url_selected": "https://simg.s.weibo.com/imgtool/20250324_0324_light_hover.png",
"pic_url_selected_dark": "https://simg.s.weibo.com/imgtool/20250324_0324_selected_hover_dark.png",
"pic_width": 30,
"scheme": "",
"share_data": {
"containerid": "100103type=200&q=%E7%83%AD%E6%90%9C%E7%AE%80%E6%8A%A5&t=911&vstyle=1",
"custom_share_path": "https://m.s.weibo.com/applink/go2?noclose=1&url=sinaweibo%3A//searchall%3Fcontai…",
"desc": "",
"icon": "https://simg.s.weibo.com/zhisou/sharecard_image_0.png",
"more_btns": [
{
"actionlog": {
"act_code": 554,
"ext": "seqid:489468554|type:200|t:911|pos:1-24-1|q:热搜简报|srid:2b9d72a3193b472b12f90ea03c…",
"fid": "100103type=200&q=%E7%83%AD%E6%90%9C%E7%AE%80%E6%8A%A5&t=911&vstyle=1",
"lfid": "102803_ctg1_1780_-_ctg1_1780",
"luicode": "10001344",
"uicode": "10000003"
},
"image_url": "https://simg.s.weibo.com/imgtool/20250630_%E5%88%86%E4%BA%AB%E6%90%9C%E7%B4%A2.p…",
"image_url_dark": "https://simg.s.weibo.com/imgtool/20250630_%E5%88%86%E4%BA%AB%E6%90%9C%E7%B4%A2_d…",
"name": "分享搜索",
"params": {
"cleaned": true,
"scheme": "sinaweibo://sendweibo?show_keyboard=1&extparam=ann_ext%3Asearch%7Ct%3A911%7Cq%3A…",
"title_max_lines": 1
},
"skip_format": 1,
"type": "share_to_weibo",
"type_description": "sousuo_share_card"
}
],
"object_id": "",
"share_containerid": "23296496eb0729de2b6f002d3393c07af0bc82",
"share_mini": []
},
"type": "share"
}
],
"type": "search_default"
},
"pageData": "{}",
"refreshInfo": "{}"
}
Response fields
| Field | Meaning |
|---|---|
channelInfo.channels[].title | Name of the search tab, such as 综合, 智搜 or 实时. |
channelInfo.channels[].containerid | Container ID of the tab. It encodes the search type (type=1, type=261, type=61), the query q and t=911. |
channelInfo.channels[].pageDataType | How the tab loads its content, for example flow or wbox. |
channelInfo.channels[].scroll_api | Name of the API path the tab scrolls through. The real-time tab shows search/realtime. |
channelInfo.channels[].params.search_time | Time of the search as a Unix timestamp in seconds. |
items[].category | Type of the page item. The visible items use card. |
items[].data.card_type | Numeric card type, such as 197 or 269. Cards of type 197 have no content and act as spacers or anchors. |
items[].data.itemid / items[].itemExt.anchorId | ID of the card on the page. |
footer.data.menus[].name | Label of a footer button, such as 分享 (share). The params.count field holds a number shown with the button. |
navigationBar.search_title[].share_data.containerid | Container ID used to share this search page. |
Notes
- The request takes no parameters. Send an empty JSON object
{}. - The list of brief cards in
itemsis trimmed to layout data here. For ranked hot search topics, call Weibo Hot Search Rankings next. - To browse hot search groups, use Weibo Hot Search Categories.
Pricing
$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
开始构建
发送您的第一条请求
具备统一身份验证和使用情况跟踪的平台 API 端点。
curl -X POST "https://api.sandbase.ai/v1/api/weibo/app/hot-search-brief" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'2. 身份验证
将您的 SandBase API 密钥设置到服务器环境中。请求使用 Bearer 身份验证。
export SANDBASE_API_KEY="YOUR_API_KEY"请将密钥保存在服务器端。不要在浏览器代码中暴露它。
3. 参数
此 API 尚未发布参数 Schema。
4. 响应
这是该 API 保存的示例响应;查看时不会发起实时请求。
尚未发布已保存的响应。请在 Playground 中运行 API 以查看其响应。
探索更多
相关 APIs
| 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 |
问题
常见问题
如何使用 Weibo Hot search brief API?
向 https://api.sandbase.ai/v1/api/weibo/app/hot-search-brief 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 Playground 中试用,无需编写代码。
Weibo Hot search brief API 的价格是多少?
每次调用 $0.001,从您的 SandBase 余额中扣费。您只需为实际调用付费;无需订阅。
Weibo Hot search brief API 接受哪些参数?
Weibo Hot search brief 不接受输入参数;请发送空的 JSON 请求体。
Weibo Hot search brief API 返回什么?
在同一个 HTTP 请求中返回的 JSON 响应(同步)。 本页的 README 包含一个示例响应。
我需要 Weibo 开发者账户或 API key 吗?
不需要。Weibo Hot search brief 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 Weibo API 访问权限。
