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?
使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/weibo/app/hot-search-brief。您也可以直接在本頁的 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 金鑰嗎?
不需要。Weibo Hot search brief 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 Weibo API 存取權。
