querystringobligatoire
Search keyword (required)
https://api.sandbase.ai/v1/api/weibo/app/ai-smart-searchReturns AI smart search channel results and feed metadata from Weibo for a specified keyword query, with optional page-based pagination.
[
{
"data": {
"channelInfo": {
"channelConfig": {
"channelType": "search_result",
"menu_scheme": "sinaweibo://cardlist?containerid=100103type%3D42%26q%3DOpenAI%26t%3D1&extparam=dfp%3D200%26selected_type%3D200%26selected_containerid%3D100103type%3D200%26q%3DOpenAI%26t%3D1%26vstyle%3D1",
"selectInfo": [],
"show_menu": 1,
"style": {
"backgroundColor": "#FFFFFF",
"backgroundDarkColor": "#1E1E1E",
"height": 42
}
},
"channels": [
{
"ai_preload_key": "search_all_flow",
"apiPath": "searchall",
"appid": "100103type=1&q=OpenAI&t=1",
"cleaned": true,
"containerid": "100103type=1&q=OpenAI&t=1",
"dot": {
"request_mark_interval": 999000
},
"dynaConfig": {
"bizArray": [
"common",
"search",
"… 1 more items in the full response"
],
"bizType": "search",
"enable": true
},
"expose": {
"actionlog": {
"act_code": 6688,
"ext": "seqid:781690831|type:200|t:1|pos:1-25-0|q:OpenAI|srid:dba9678cbf04eb5deb9f81ef622b6ed6|search_ssid:dba9678cbf04eb5deb9f81ef622b6ed6|search_vsid:dba9678cbf04eb5deb9f81ef622b6ed6|ext:&qtime=1787218522&|search_layout:default|searchbar_source:discover_searchbar",
"fid": "100103type=200&q=OpenAI&t=1&vstyle=1",
"lfid": "102803_ctg1_1780_-_ctg1_1780",
"luicode": "10000512",
"uicode": "10000003"
}
},
"flowId": "100103type=1&q=OpenAI&t=1",
"is_first_level": 1,
"pageDataType": "flow",
"params": {
"dfp": "200",
"is_container": "1",
"pic_tab_front": 0,
"search_mode_info": "1",
"search_ssid": "dba9678cbf04eb5deb9f81ef622b6ed6",
"search_time": 1787218522,
"search_vsid": "dba9678cbf04eb5deb9f81ef622b6ed6",
"searchbar_source": "discover_searchbar"
},
"scheme": "sinaweibo://selectchannel?containerid=100103type%3D1%26q%3DOpenAI%26t%3D1",
"style": {
"flowType": "flow",
"padding": [
0,
0,
"… 2 more items in the full response"
]
},
"title": "综合",
"titleInfo": {
"icon": "",
"iconDark": "",
"style": {
"backgroundDarkIcon": "",
"backgroundIcon": "",
"backgroundLottie": "",
"backgroundLottieDark": "",
"font": "",
"fontSize": 15,
"iconHeight": 42,
"iconWidth": 58,
"padding": [
0,
10,
"… 2 more items in the full response"
],
"selectBackgroundDarkIcon": "",
"selectBackgroundIcon": "",
"selectFont": "Bold",
"selectFontSize": 15,
"selectTextColor": "#333333",
"selectTextDarkColor": "#D3D3D3",
"sliderColor": [
"#FFA300",
"#FF6A00"
],
"sliderDarkColor": [
"#FF6A00",
"#FF6A00"
],
"textColor": "#939393",
"textDarkColor": "#999999"
},
"subTitle": ""
}
},
{
"apiPath": "searchall",
"appid": "100103type=61&q=OpenAI&t=1",
"cleaned": true,
"containerid": "100103type=61&q=OpenAI&t=1",
"dot": {
"request_mark_interval": -1
},
"expose": {
"actionlog": {
"act_code": 6688,
"ext": "seqid:781690831|type:200|t:1|pos:1-25-1|q:OpenAI|srid:dba9678cbf04eb5deb9f81ef622b6ed6|search_ssid:dba9678cbf04eb5deb9f81ef622b6ed6|search_vsid:dba9678cbf04eb5deb9f81ef622b6ed6|ext:&qtime=1787218522&|search_layout:default|searchbar_source:discover_searchbar",
"fid": "100103type=200&q=OpenAI&t=1&vstyle=1",
"lfid": "102803_ctg1_1780_-_ctg1_1780",
"luicode": "10000512",
"uicode": "10000003"
}
},
"flowId": "100103type=61&q=OpenAI&t=1",
"is_first_level": 1,
"pageDataType": "flow",
"params": {
"dfp": "200",
"is_container": "1",
"pic_tab_front": 0,
"search_mode_info": "1",
"search_ssid": "dba9678cbf04eb5deb9f81ef622b6ed6",
"search_time": 1787218522,
"search_vsid": "dba9678cbf04eb5deb9f81ef622b6ed6",
"searchbar_source": "discover_searchbar"
},
"scheme": "sinaweibo://selectchannel?containerid=100103type%3D61%26q%3DOpenAI%26t%3D1",
"scroll_api": "search/realtime",
"style": {
"flowType": "flow",
"padding": [
0,
0,
"… 2 more items in the full response"
]
},
"title": "实时",
"titleInfo": {
"icon": "",
"iconDark": "",
"style": {
"backgroundDarkIcon": "",
"backgroundIcon": "",
"backgroundLottie": "",
"backgroundLottieDark": "",
"font": "",
"fontSize": 15,
"iconHeight": 42,
"iconWidth": 58,
"padding": [
0,
10,
"… 2 more items in the full response"
],
"selectBackgroundDarkIcon": "",
"selectBackgroundIcon": "",
"selectFont": "Bold",
"selectFontSize": 15,
"selectTextColor": "#333333",
"selectTextDarkColor": "#D3D3D3",
"sliderColor": [
"#FFA300",
"#FF6A00"
],
"sliderDarkColor": [
"#FF6A00",
"#FF6A00"
],
"textColor": "#939393",
"textDarkColor": "#999999"
},
"subTitle": ""
}
},
"… 11 more items in the full response"
]
},
"config": "{}",
"footer": {
"data": {
"handler_type": 2,
"has_post_menu": 1,
"menus": [
{
"actionlog": {
"act_code": 554,
"ext": "seqid:781690831|type:200|t:1|pos:1-25-0|q:OpenAI|srid:dba9678cbf04eb5deb9f81ef622b6ed6|search_ssid:dba9678cbf04eb5deb9f81ef622b6ed6|search_vsid:dba9678cbf04eb5deb9f81ef622b6ed6|ext:&button=AIChat&scene=search&searchbar_source=&qtime=1787218522&|search_layout:default|searchbar_source:discover_searchb…",
"fid": "100103type=200&q=OpenAI&t=1&vstyle=1",
"lfid": "102803_ctg1_1780_-_ctg1_1780",
"luicode": "10000512",
"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,
"scheme": "https://ai.s.weibo.com/api/chat/pm/private_page.json?from=10FC695010&input_query=OpenAI&source=footbar&is_picture=0&t=891&cot=1",
"title_align": "center",
"title_bold": false,
"title_max_lines": 1,
"title_size": 16
},
"pic": "https://simg.s.weibo.com/imgtool/20251127_chat_icon.png",
"pic_dark": "https://simg.s.weibo.com/imgtool/20251127_chat_icon_dark.png",
"pop_data": {
"actionlog": {
"act_code": 8315,
"ext": "seqid:781690831|type:200|t:1|pos:1-25-0|q:OpenAI|srid:dba9678cbf04eb5deb9f81ef622b6ed6|search_ssid:dba9678cbf04eb5deb9f81ef622b6ed6|search_vsid:dba9678cbf04eb5deb9f81ef622b6ed6|ext:&toast=1&zhisou_from=tab&toast_click=1&qtime=1787218522&|search_layout:default|zhisou_from:tab|toast_click:1|searchbar_…",
"fid": "100103type=200&q=OpenAI&t=1&vstyle=1",
"lfid": "102803_ctg1_1780_-_ctg1_1780",
"luicode": "10000512",
"uicode": "10000003"
},
"cleaned": true,
"content": "继续问抽666元红包!",
"display_time": 5000,
"expose_actionlog": {
"act_code": 8315,
"ext": "seqid:781690831|type:200|t:1|pos:1-25-0|q:OpenAI|srid:dba9678cbf04eb5deb9f81ef622b6ed6|search_ssid:dba9678cbf04eb5deb9f81ef622b6ed6|search_vsid:dba9678cbf04eb5deb9f81ef622b6ed6|ext:&toast=1&zhisou_from=tab&toast_expo=1&qtime=1787218522&|search_layout:default|zhisou_from:tab|toast_expo:1|searchbar_so…",
"fid": "100103type=200&q=OpenAI&t=1&vstyle=1",
"lfid": "102803_ctg1_1780_-_ctg1_1780",
"luicode": "10000512",
"uicode": "10000003"
},
"pop_id": "927ca03588aa67cebdc24a5a52c2a145",
"post_time": 3000,
"scheme": "https://ai.s.weibo.com/api/chat/pm/private_page.json?from=10FC695010&input_query=OpenAI&source=footbar&is_picture=0&t=891&cot=1",
"text_color": "#FF8200",
"text_color_dark": "#EA8011",
"text_size": 16
},
"skip_format": 1,
"title_color": "#636363",
"title_color_dark": "#999999",
"type": "link"
},
{
"actionlog": {
"act_code": 554,
"ext": "seqid:781690831|type:200|t:1|pos:1-25-0|q:OpenAI|srid:dba9678cbf04eb5deb9f81ef622b6ed6|search_ssid:dba9678cbf04eb5deb9f81ef622b6ed6|search_vsid:dba9678cbf04eb5deb9f81ef622b6ed6|ext:&button=share&scene=search&searchbar_source=&qtime=1787218522&|search_layout:default|searchbar_source:discover_searchba…",
"fid": "100103type=200&q=OpenAI&t=1&vstyle=1",
"lfid": "102803_ctg1_1780_-_ctg1_1780",
"luicode": "10000512",
"uicode": "10000003"
},
"button_style": "search_normal",
"name": "分享",
"params": {
"cleaned": true,
"count": 0,
"disable_count": true,
"layout": "vertical",
"scheme": "wb_search_share",
"title_max_lines": 1
},
"pic": "https://simg.s.weibo.com/imgtool/20251105_share_1105.png",
"pic_dark": "https://simg.s.weibo.com/imgtool/20251105_share_1105_dark.png",
"skip_format": 1,
"title_color": "#333333",
"title_color_dark": "#D3D3D3",
"type": "link"
}
],
"type": 2
},
"type": "searchResult"
},
"globalChannelConfig": {
"refreshInfo": {
"refreshType": "pullArrow"
}
},
"items": [
{
"category": "card",
"data": {
"backgroundColor": "#EEEEEE",
"backgroundDarkColor": "#151515",
"card_type": 197,
"height": 1,
"item_style": {
"background": {Sélectionnez un exemple pour charger ses entrées et son résultat dans le playground.
Returns the Weibo app AI smart search response for a keyword. The response lists the search channels (such as 综合, 实时, 图片), the card items for the first page, and footer and share metadata. It needs a query and accepts an optional page.
containerid of each one.search_time and search session IDs for a keyword query to log when a search ran.ai_answer slot.custom_share_path value.curl -X POST "https://api.sandbase.ai/v1/api/weibo/app/ai-smart-search" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"query": "OpenAI"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
query | string | Yes | Search keyword (required) |
page | integer | No | Page number, starts from 1 (default 1) |
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%3DOpenAI%26t%3D1&extparam=d…",
"selectInfo": [],
"show_menu": 1,
"style": {
"backgroundColor": "#FFFFFF",
"backgroundDarkColor": "#1E1E1E",
"height": 42
}
},
"channels": [
{
"ai_preload_key": "search_all_flow",
"apiPath": "searchall",
"appid": "100103type=1&q=OpenAI&t=1",
"cleaned": true,
"containerid": "100103type=1&q=OpenAI&t=1",
"dot": {
"request_mark_interval": 999000
},
"dynaConfig": {
"bizArray": [
"common"
],
"bizType": "search",
"enable": true
},
"expose": {
"actionlog": {
"act_code": 6688,
"ext": "seqid:231949943|type:200|t:1|pos:1-24-0|q:OpenAI|srid:12e6bb13aeb29c79454459cebb…",
"fid": "100103type=200&q=OpenAI&t=1&vstyle=1",
"lfid": "102803_ctg1_1780_-_ctg1_1780",
"luicode": "10000512",
"uicode": "10000003"
}
},
"flowId": "100103type=1&q=OpenAI&t=1",
"is_first_level": 1,
"pageDataType": "flow",
"params": {
"dfp": "200",
"is_container": "1",
"pic_tab_front": 0,
"search_mode_info": "1",
"search_ssid": "12e6bb13aeb29c79454459cebb1646e9",
"search_time": 1793691964,
"search_vsid": "12e6bb13aeb29c79454459cebb1646e9",
"searchbar_source": "discover_searchbar"
}
}
]
},
"config": "{}",
"footer": {
"data": {
"handler_type": 2,
"has_post_menu": 1,
"menus": [
{
"actionlog": {
"act_code": 554,
"ext": "seqid:231949943|type:200|t:1|pos:1-24-0|q:OpenAI|srid:12e6bb13aeb29c79454459cebb…",
"fid": "100103type=200&q=OpenAI&t=1&vstyle=1",
"lfid": "102803_ctg1_1780_-_ctg1_1780",
"luicode": "10000512",
"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": "1971793691964"
},
"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:231949943|type:200|t:1|pos:1-24-0|q:OpenAI|srid:12e6bb13aeb29c79454459cebb…",
"lfid": "102803_ctg1_1780_-_ctg1_1780",
"luicode": "10000512",
"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=OpenAI&t=1&vstyle=1",
"custom_share_path": "http://s.weibo.com/weibo?q=OpenAI",
"desc": "实时资讯,海量讨论",
"icon": "http://h5.sinaimg.cn/upload/2016/07/29/557/link.png",
"more_btns": [
{
"actionlog": {
"act_code": 554,
"ext": "seqid:231949943|type:200|t:1|pos:1-24-1|q:OpenAI|srid:12e6bb13aeb29c79454459cebb…",
"fid": "100103type=200&q=OpenAI&t=1&vstyle=1",
"lfid": "102803_ctg1_1780_-_ctg1_1780",
"luicode": "10000512",
"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%3A1%7Cq%3AOp…",
"title_max_lines": 1
},
"skip_format": 1,
"type": "share_to_weibo",
"type_description": "sousuo_share_card"
}
],
"object_id": "",
"share_containerid": "230958type%3D1%26q%3DOpenAI",
"share_mini": []
},
"type": "share"
}
],
"type": "search_default"
},
"pageData": "{}",
"refreshInfo": "{}"
}
| Field | Meaning |
|---|---|
channelInfo.channels[].title | Display name of the search channel, for example 综合 (all), 实时 (real time) or 图片 (pictures). |
channelInfo.channels[].containerid / channelInfo.channels[].flowId | ID of the channel's result list. It contains the channel type number, the query q and t. |
channelInfo.channels[].apiPath | Name of the search endpoint that serves the channel. The real-time channel also has scroll_api. |
channelInfo.channels[].params.search_time | Unix timestamp in seconds for when the search ran. |
channelInfo.channels[].params.search_ssid / channelInfo.channels[].params.search_vsid | Search session IDs. They repeat across the channels of one response. |
channelInfo.channels[].style.flowType | Layout of the channel, flow for a list or staggered for a two column grid. |
items[].category | Kind of entry in the result list. In this response all entries are card. |
items[].data.card_type | Numeric card type of the entry, for example 197 or 269. |
items[].data.itemid | ID of the card. The value ai_answer marks the AI answer slot. |
navigationBar.search_title[].share_data.custom_share_path | Web search URL for the keyword on s.weibo.com. |
query. Use page to move through pages, starting at 1.$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Commencer à construire
Point de terminaison de l'API de la plateforme avec authentification unifiée et suivi de l'utilisation.
curl -X POST "https://api.sandbase.ai/v1/api/weibo/app/ai-smart-search" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"page": 1,
"query": "OpenAI"
}'Définissez votre clé API SandBase dans l'environnement de votre serveur. Les requêtes utilisent l'authentification Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conservez votre clé côté serveur. Ne l'exposez pas dans le code du navigateur.
querystringobligatoireSearch keyword (required)
pageintegerPage number, starts from 1 (default 1)
Par défaut : 1
Exemple de réponse enregistré pour cette API ; aucune requête en direct n'est effectuée lors de l'affichage.
[
{
"data": {
"channelInfo": {
"channelConfig": {
"channelType": "search_result",
"menu_scheme": "sinaweibo://cardlist?containerid=100103type%3D42%26q%3DOpenAI%26t%3D1&extparam=dfp%3D200%26selected_type%3D200%26selected_containerid%3D100103type%3D200%26q%3DOpenAI%26t%3D1%26vstyle%3D1",
"selectInfo": [],
"show_menu": 1,
"style": {
"backgroundColor": "#FFFFFF",
"backgroundDarkColor": "#1E1E1E",
"height": 42
}
},
"channels": [
{
"ai_preload_key": "search_all_flow",
"apiPath": "searchall",
"appid": "100103type=1&q=OpenAI&t=1",
"cleaned": true,
"containerid": "100103type=1&q=OpenAI&t=1",
"dot": {
"request_mark_interval": 999000
},
"dynaConfig": {
"bizArray": [
"common",
"search",
"… 1 more items in the full response"
],
"bizType": "search",
"enable": true
},
"expose": {
"actionlog": {
"act_code": 6688,
"ext": "seqid:781690831|type:200|t:1|pos:1-25-0|q:OpenAI|srid:dba9678cbf04eb5deb9f81ef622b6ed6|search_ssid:dba9678cbf04eb5deb9f81ef622b6ed6|search_vsid:dba9678cbf04eb5deb9f81ef622b6ed6|ext:&qtime=1787218522&|search_layout:default|searchbar_source:discover_searchbar",
"fid": "100103type=200&q=OpenAI&t=1&vstyle=1",
"lfid": "102803_ctg1_1780_-_ctg1_1780",
"luicode": "10000512",
"uicode": "10000003"
}
},
"flowId": "100103type=1&q=OpenAI&t=1",
"is_first_level": 1,
"pageDataType": "flow",
"params": {
"dfp": "200",
"is_container": "1",
"pic_tab_front": 0,
"search_mode_info": "1",
"search_ssid": "dba9678cbf04eb5deb9f81ef622b6ed6",
"search_time": 1787218522,
"search_vsid": "dba9678cbf04eb5deb9f81ef622b6ed6",
"searchbar_source": "discover_searchbar"
},
"scheme": "sinaweibo://selectchannel?containerid=100103type%3D1%26q%3DOpenAI%26t%3D1",
"style": {
"flowType": "flow",
"padding": [
0,
0,
"… 2 more items in the full response"
]
},
"title": "综合",
"titleInfo": {
"icon": "",
"iconDark": "",
"style": {
"backgroundDarkIcon": "",
"backgroundIcon": "",
"backgroundLottie": "",
"backgroundLottieDark": "",
"font": "",
"fontSize": 15,
"iconHeight": 42,
"iconWidth": 58,
"padding": [
0,
10,
"… 2 more items in the full response"
],
"selectBackgroundDarkIcon": "",
"selectBackgroundIcon": "",
"selectFont": "Bold",
"selectFontSize": 15,
"selectTextColor": "#333333",
"selectTextDarkColor": "#D3D3D3",
"sliderColor": [
"#FFA300",
"#FF6A00"
],
"sliderDarkColor": [
"#FF6A00",
"#FF6A00"
],
"textColor": "#939393",
"textDarkColor": "#999999"
},
"subTitle": ""
}
},
{
"apiPath": "searchall",
"appid": "100103type=61&q=OpenAI&t=1",
"cleaned": true,
"containerid": "100103type=61&q=OpenAI&t=1",
"dot": {
"request_mark_interval": -1
},
"expose": {
"actionlog": {
"act_code": 6688,
"ext": "seqid:781690831|type:200|t:1|pos:1-25-1|q:OpenAI|srid:dba9678cbf04eb5deb9f81ef622b6ed6|search_ssid:dba9678cbf04eb5deb9f81ef622b6ed6|search_vsid:dba9678cbf04eb5deb9f81ef622b6ed6|ext:&qtime=1787218522&|search_layout:default|searchbar_source:discover_searchbar",
"fid": "100103type=200&q=OpenAI&t=1&vstyle=1",
"lfid": "102803_ctg1_1780_-_ctg1_1780",
"luicode": "10000512",
"uicode": "10000003"
}
},
"flowId": "100103type=61&q=OpenAI&t=1",
"is_first_level": 1,
"pageDataType": "flow",
"params": {
"dfp": "200",
"is_container": "1",
"pic_tab_front": 0,
"search_mode_info": "1",
"search_ssid": "dba9678cbf04eb5deb9f81ef622b6ed6",
"search_time": 1787218522,
"search_vsid": "dba9678cbf04eb5deb9f81ef622b6ed6",
"searchbar_source": "discover_searchbar"
},
"scheme": "sinaweibo://selectchannel?containerid=100103type%3D61%26q%3DOpenAI%26t%3D1",
"scroll_api": "search/realtime",
"style": {
"flowType": "flow",
"padding": [
0,
0,
"… 2 more items in the full response"
]
},
"title": "实时",
"titleInfo": {
"icon": "",
"iconDark": "",
"style": {
"backgroundDarkIcon": "",
"backgroundIcon": "",
"backgroundLottie": "",
"backgroundLottieDark": "",
"font": "",
"fontSize": 15,
"iconHeight": 42,
"iconWidth": 58,
"padding": [
0,
10,
"… 2 more items in the full response"
],
"selectBackgroundDarkIcon": "",
"selectBackgroundIcon": "",
"selectFont": "Bold",
"selectFontSize": 15,
"selectTextColor": "#333333",
"selectTextDarkColor": "#D3D3D3",
"sliderColor": [
"#FFA300",
"#FF6A00"
],
"sliderDarkColor": [
"#FF6A00",
"#FF6A00"
],
"textColor": "#939393",
"textDarkColor": "#999999"
},
"subTitle": ""
}
},
"… 11 more items in the full response"
]
},
"config": "{}",
"footer": {
"data": {
"handler_type": 2,
"has_post_menu": 1,
"menus": [
{
"actionlog": {
"act_code": 554,
"ext": "seqid:781690831|type:200|t:1|pos:1-25-0|q:OpenAI|srid:dba9678cbf04eb5deb9f81ef622b6ed6|search_ssid:dba9678cbf04eb5deb9f81ef622b6ed6|search_vsid:dba9678cbf04eb5deb9f81ef622b6ed6|ext:&button=AIChat&scene=search&searchbar_source=&qtime=1787218522&|search_layout:default|searchbar_source:discover_searchb…",
"fid": "100103type=200&q=OpenAI&t=1&vstyle=1",
"lfid": "102803_ctg1_1780_-_ctg1_1780",
"luicode": "10000512",
"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,
"scheme": "https://ai.s.weibo.com/api/chat/pm/private_page.json?from=10FC695010&input_query=OpenAI&source=footbar&is_picture=0&t=891&cot=1",
"title_align": "center",
"title_bold": false,
"title_max_lines": 1,
"title_size": 16
},
"pic": "https://simg.s.weibo.com/imgtool/20251127_chat_icon.png",
"pic_dark": "https://simg.s.weibo.com/imgtool/20251127_chat_icon_dark.png",
"pop_data": {
"actionlog": {
"act_code": 8315,
"ext": "seqid:781690831|type:200|t:1|pos:1-25-0|q:OpenAI|srid:dba9678cbf04eb5deb9f81ef622b6ed6|search_ssid:dba9678cbf04eb5deb9f81ef622b6ed6|search_vsid:dba9678cbf04eb5deb9f81ef622b6ed6|ext:&toast=1&zhisou_from=tab&toast_click=1&qtime=1787218522&|search_layout:default|zhisou_from:tab|toast_click:1|searchbar_…",
"fid": "100103type=200&q=OpenAI&t=1&vstyle=1",
"lfid": "102803_ctg1_1780_-_ctg1_1780",
"luicode": "10000512",
"uicode": "10000003"
},
"cleaned": true,
"content": "继续问抽666元红包!",
"display_time": 5000,
"expose_actionlog": {
"act_code": 8315,
"ext": "seqid:781690831|type:200|t:1|pos:1-25-0|q:OpenAI|srid:dba9678cbf04eb5deb9f81ef622b6ed6|search_ssid:dba9678cbf04eb5deb9f81ef622b6ed6|search_vsid:dba9678cbf04eb5deb9f81ef622b6ed6|ext:&toast=1&zhisou_from=tab&toast_expo=1&qtime=1787218522&|search_layout:default|zhisou_from:tab|toast_expo:1|searchbar_so…",
"fid": "100103type=200&q=OpenAI&t=1&vstyle=1",
"lfid": "102803_ctg1_1780_-_ctg1_1780",
"luicode": "10000512",
"uicode": "10000003"
},
"pop_id": "927ca03588aa67cebdc24a5a52c2a145",
"post_time": 3000,
"scheme": "https://ai.s.weibo.com/api/chat/pm/private_page.json?from=10FC695010&input_query=OpenAI&source=footbar&is_picture=0&t=891&cot=1",
"text_color": "#FF8200",
"text_color_dark": "#EA8011",
"text_size": 16
},
"skip_format": 1,
"title_color": "#636363",
"title_color_dark": "#999999",
"type": "link"
},
{
"actionlog": {
"act_code": 554,
"ext": "seqid:781690831|type:200|t:1|pos:1-25-0|q:OpenAI|srid:dba9678cbf04eb5deb9f81ef622b6ed6|search_ssid:dba9678cbf04eb5deb9f81ef622b6ed6|search_vsid:dba9678cbf04eb5deb9f81ef622b6ed6|ext:&button=share&scene=search&searchbar_source=&qtime=1787218522&|search_layout:default|searchbar_source:discover_searchba…",
"fid": "100103type=200&q=OpenAI&t=1&vstyle=1",
"lfid": "102803_ctg1_1780_-_ctg1_1780",
"luicode": "10000512",
"uicode": "10000003"
},
"button_style": "search_normal",
"name": "分享",
"params": {
"cleaned": true,
"count": 0,
"disable_count": true,
"layout": "vertical",
"scheme": "wb_search_share",
"title_max_lines": 1
},
"pic": "https://simg.s.weibo.com/imgtool/20251105_share_1105.png",
"pic_dark": "https://simg.s.weibo.com/imgtool/20251105_share_1105_dark.png",
"skip_format": 1,
"title_color": "#333333",
"title_color_dark": "#D3D3D3",
"type": "link"
}
],
"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,
0,
"… 2 more items in the full response"
],
"padding": [
0,
0,
"… 2 more items in the full response"
]
},
"openurl": "",
"padding": [
0,
0,
"… 2 more items in the full response"
]
},
"itemExt": {
"anchorId": "1971787218522"
},
"style": {
"background": {
"color": "#FFFFFF",
"colorKey": "CommonCardBackground",
"type": "color"
},
"margin": [
0,
0,
"… 2 more items in the full response"
],
"padding": [
0,
0,
"… 2 more items in the full response"
]
}
},
{
"category": "card",
"data": {
"anchorId": "ai_answer",
"backgroundColor": "#EEEEEE",
"backgroundDarkColor": "#151515",
"card_type": 197,
"height": 0,
"item_style": {
"background": {
"color": "#FFFFFF",
"colorKey": "CommonCardBackground",
"type": "color"
},
"margin": [
0,
0,
"… 2 more items in the full response"
],
"padding": [
0,
0,
"… 2 more items in the full response"
]
},
"itemid": "ai_answer",
"openurl": "",
"padding": [
0,
0,
"… 2 more items in the full response"
]
},
"itemExt": {
"anchorId": "ai_answer"
},
"style": {
"background": {
"color": "#FFFFFF",
"colorKey": "CommonCardBackground",
"type": "color"
},
"margin": [
0,
0,
"… 2 more items in the full response"
],
"padding": [
0,
0,
"… 2 more items in the full response"
]
}
},
"… 11 more items in the full response"
],
"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:781690831|type:200|t:1|pos:1-25-0|q:OpenAI|srid:dba9678cbf04eb5deb9f81ef622b6ed6|search_ssid:dba9678cbf04eb5deb9f81ef622b6ed6|search_vsid:dba9678cbf04eb5deb9f81ef622b6ed6|ext:&button=new_top_share_more&act_code=1985&pre_mapos=10&qtime=1787218522&|search_layout:default|searchbar_source:discover…",
"lfid": "102803_ctg1_1780_-_ctg1_1780",
"luicode": "10000512",
"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=OpenAI&t=1&vstyle=1",
"custom_share_path": "http://s.weibo.com/weibo?q=OpenAI",
"desc": "实时资讯,海量讨论",
"icon": "http://h5.sinaimg.cn/upload/2016/07/29/557/link.png",
"more_btns": [
{
"actionlog": "…",
"image_url": "https://simg.s.weibo.com/imgtool/20250630_%E5%88%86%E4%BA%AB%E6%90%9C%E7%B4%A2.png",
"image_url_dark": "https://simg.s.weibo.com/imgtool/20250630_%E5%88%86%E4%BA%AB%E6%90%9C%E7%B4%A2_dark.png",
"name": "分享搜索",
"params": "…",
"skip_format": 1,
"type": "share_to_weibo",
"type_description": "sousuo_share_card"
},
{
"actionlog": "…",
"image_url": "https://simg.s.weibo.com/imgtool/20250630_%E5%88%86%E4%BA%AB%E6%99%BA%E6%90%9C.png",
"image_url_dark": "https://simg.s.weibo.com/imgtool/20250630_%E5%88%86%E4%BA%AB%E6%99%BA%E6%90%9C_dark.png",
"name": "分享智搜",
"params": "…",
"skip_format": 1,
"type": "link",
"type_description": "ai_share_card"
},
"… 2 more items in the full response"
],
"object_id": "",
"share_containerid": "230958type%3D1%26q%3DOpenAI",
"share_mini": [],
"shared_text": "快来搜索看看http://s.weibo.com/weibo/OpenAI",
"shared_text_qrcode": "",
"title": "OpenAI",
"url": "http://s.weibo.com/weibo?q=OpenAI",
"useDirectUrl": false
},
"type": "share"
}
],
"type": "search_default"
},
"pageData": "{}",
"refreshInfo": "{}"
}
}
]Explorer plus
| API | Prix | Réponse |
|---|---|---|
Weibo App AI Smart SearchCette API Weibo | $0.001 par appel | JSON |
Weibo | $0.001 par appel | JSON |
Weibo | $0.001 par appel | JSON |
Weibo | $0.001 par appel | JSON |
Weibo | $0.001 par appel | JSON |
Weibo | $0.001 par appel | JSON |
Questions
Envoyez une requête POST à https://api.sandbase.ai/v1/api/weibo/app/ai-smart-search 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.
$0.001 par appel, facturé depuis votre solde SandBase. Vous ne payez que les appels que vous effectuez ; aucun abonnement.
Obligatoire : query (string). Facultatif : page (integer). Le tableau des paramètres et le Playground sur cette page listent tous les champs.
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.
Non. Weibo App AI Smart Search 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 Weibo séparément.