Sand AISand AI MAGI-2MAGI-2 ist jetzt auf SandBase: 1080p-Video mit nativem AudioJetzt testen

Weibo Comprehensive Search

API-Dokumentation
https://api.sandbase.ai/v1/api/weibo/app/search-all

Returns comprehensive search results from Weibo for a specified keyword. Supports pagination and filtering by search type.

Preis
$0.001USD / Aufruf
Methode
POST
Antwort
JSON
Parameter
1 erforderlich · 2 optional

Playground

Eingabe
Search keyword (required)
Page number, starts from 1 (default 1) Minimum: 1.
Search type
AusgabeBeispiel
Antwortoutputs · 25.4 KB · 631 Zeilen
[
  {
    "data": {
      "channelInfo": {
        "channelConfig": {
          "channelType": "search_result",
          "menu_scheme": "sinaweibo://cardlist?containerid=100103type%3D42%26q%3DOpenAI%26t%3D1&extparam=seat%3D1%26lcate%3D6000%26lxid%3D1769242460874014228223%26cate%3D6000%26pos%3D0%26c_type%3D1%26source_c_type%3D1%26data_type%3Dhistory%26extquery%3Djcl%26ext_t%3D1%26display_time%3D1769242460%26dfp%3D1%26selected_type%3D1…",
          "selectInfo": {
            "flowId": "100103type=1&q=OpenAI&t=1",
            "pageDataType": "flow",
            "tabKey": "profile"
          },
          "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:95086232|type:1|t:1|pos:1-31-0|q:OpenAI|srid:98b7d638b282c66e9f7df778618a8980|search_ssid:89fd73bcee6d72e21c1d3d8d3c5cb2e0|search_vsid:98b7d638b282c66e9f7df778618a8980|ext:&qri=3072&ac_qri=11&qrt=3&qtime=1787218546&|search_layout:default|searchbar_source:discover_searchbar",
                "fid": "100103type=1&q=OpenAI&t=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": "1",
              "is_container": "1",
              "pic_tab_front": 0,
              "search_mode_info": "0",
              "search_ssid": "89fd73bcee6d72e21c1d3d8d3c5cb2e0",
              "search_time": "1769242464",
              "search_vsid": "98b7d638b282c66e9f7df778618a8980",
              "searchbar_source": "discover_searchbar"
            },
            "scheme": "sinaweibo://selectchannel?containerid=100103type=1&q=OpenAI&t=1",
            "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:95086232|type:1|t:1|pos:1-31-1|q:OpenAI|srid:98b7d638b282c66e9f7df778618a8980|search_ssid:89fd73bcee6d72e21c1d3d8d3c5cb2e0|search_vsid:98b7d638b282c66e9f7df778618a8980|ext:&qri=3072&ac_qri=11&qrt=3&qtime=1787218546&|search_layout:default|searchbar_source:discover_searchbar",
                "fid": "100103type=1&q=OpenAI&t=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": "1",
              "is_container": "1",
              "pic_tab_front": 0,
              "search_mode_info": "0",
              "search_ssid": "89fd73bcee6d72e21c1d3d8d3c5cb2e0",
              "search_time": "1769242464",
              "search_vsid": "98b7d638b282c66e9f7df778618a8980",
              "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": "{}",
      "dsl": {
        "config": {
          "name": "dynamic",
          "version": "1586950",
          "xml": [
            {
              "bType": "default",
              "cVersion": "12.1.0",
              "name": "cardCoupon.xml",
              "signature": "f77359ae090844313d42bb94b02e424e"
            },
            {
              "bType": "default",
              "cVersion": "12.3.3",
              "name": "cardSpecialTitle.xml",
              "signature": "d4c5f4fdf0e5484220bfc116e221b15c"
            },
            "… 47 more items in the full response"
          ]
        },
        "version": "1586950",
        "xml": [
          {
            "layout": "%3C%3Fxml+version%3D%221.0%22+encoding%3D%22utf-8%22%3F%3E+%3CRootLayout+++++xmlns%3Axsi%3D%22http%3A%2F%2Fwww.w3.org%2F2001%2FXMLSchema-instance%22+++++xsi%3AnoNamespaceSchemaLocation%3D%22..%2F..%2Fweibo.xsd%22+++++alignItems%3D%22center%22+++++dataKey%3D%22dynamicData%22+++++flexDirection%3D%22ro…",
            "name": "cardCoupon.xml"
          },
          {
            "layout": "%3C%3Fxml+version%3D%221.0%22+encoding%3D%22utf-8%22%3F%3E+%3CRootLayout+++++xmlns%3Axsi%3D%22http%3A%2F%2Fwww.w3.org%2F2001%2FXMLSchema-instance%22+++++xsi%3AnoNamespaceSchemaLocation%3D%22..%2F..%2Fweibo.xsd%22+++++alignItems%3D%22center%22+++++dataKey%3D%22dynamicData%22+++++flexDirection%3D%22ro…",
            "name": "cardSpecialTitle.xml"
          },
          "… 47 more items in the full response"
        ]
      },
      "footer": {
        "data": {
          "handler_type": 2,
          "has_post_menu": 1,
          "menus": [
            {
              "actionlog": {
                "act_code": 554,
                "ext": "seqid:95086232|type:1|t:1|pos:1-31-2|q:OpenAI|srid:98b7d638b282c66e9f7df778618a8980|search_ssid:89fd73bcee6d72e21c1d3d8d3c5cb2e0|search_vsid:98b7d638b282c66e9f7df778618a8980|ext:&extparam=ismaincomposer:1,creator_source:bottomsendweibo&button=sendWb&qri=3072&ac_qri=11&qrt=3&qtime=1787218546&|search_…",
                "fid": "100103type=1&q=OpenAI&t=1",
                "lfid": "102803_ctg1_1780_-_ctg1_1780",
                "luicode": "10000512",
                "uicode": "10000003"
              },
              "button_style": "search_expand",
              "is_expand": 1,
              "name": "和当前1976人一起讨论",
              "params": {
                "align": "center",
                "bg_color": "#F4F4F4",
                "bg_color_dark": "#2C2C2C",
                "cleaned": true,
                "desc_blod": true,
                "desc_color": "#636363",
                "desc_color_dark": "#999999",
                "desc_size": 10,
                "disable_count": true,
                "pic_corner": 15,
                "pic_dark_mode": "alpha",
                "pic_height": 30,
                "pic_width": 30,
                "scheme": "sinaweibo://sendweibo?show_keyboard=1&extparam=ann_ext%3Asearch%7Ct%3A1%7Cq%3AOpenAI%7Cismaincomposer%3A1%7Ccreator_source%3Abottomsendweibo&content=%23OpenAI%23",
                "title": "",
                "title_align": "center",
                "title_bold": false,
                "title_max_lines": 1,
                "title_size": 16
              },
              "pic": "https://simg.s.weibo.com/imgtool/20240424_haed.png",
              "pic_dark": "https://simg.s.weibo.com/imgtool/20240424_haed.png",
              "skip_format": 1,
              "title_color": "#636363",
              "title_color_dark": "#999999",
              "type": "link"
            },
            {
              "actionlog": {
                "act_code": 554,
                "ext": "seqid:95086232|type:1|t:1|pos:1-31-0|q:OpenAI|srid:98b7d638b282c66e9f7df778618a8980|search_ssid:89fd73bcee6d72e21c1d3d8d3c5cb2e0|search_vsid:98b7d638b282c66e9f7df778618a8980|ext:&button=share&scene=search&searchbar_source=&qri=3072&ac_qri=11&qrt=3&qtime=1787218546&|search_layout:default|searchbar_so…",
                "fid": "100103type=1&q=OpenAI&t=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"
            },
            "… 1 more items in the full response"
          ],
          "type": 2
        },
        "type": "searchResult"

Beispiele

Wählen Sie ein Beispiel aus, um seine Eingaben und das Ergebnis in den Playground zu laden.

API-README

Weibo Comprehensive Search API

Returns the Weibo app's main search results page for a keyword. The response holds the search tabs, a list of result cards (such as matching user accounts), and footer menu data. It needs a search keyword in query.

Use cases

  • Find which Weibo accounts the app surfaces first for a brand or product name such as OpenAI.
  • Read the search tab list to see which result views (all results, real-time, image) exist for a keyword.
  • Collect uid values from user cards to feed into profile lookups.
  • Page through results for a topic to build a keyword research sample.

Request

curl -X POST "https://api.sandbase.ai/v1/api/weibo/app/search-all" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query": "OpenAI"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
querystringYesSearch keyword (required)
pageintegerNoPage number, starts from 1 (default 1)
search_typeintegerNoSearch type

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%3DOpenAI%26t%3D1&extparam=s…",
      "selectInfo": {
        "flowId": "100103type=1&q=OpenAI&t=1",
        "pageDataType": "flow",
        "tabKey": "profile"
      },
      "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:1931346883|type:1|t:1|pos:1-31-0|q:OpenAI|srid:19a3e1ec8bb8e49c4ffa8054010…",
            "fid": "100103type=1&q=OpenAI&t=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": "1",
          "is_container": "1",
          "pic_tab_front": 0,
          "search_mode_info": "0",
          "search_ssid": "89fd73bcee6d72e21c1d3d8d3c5cb2e0",
          "search_time": "1769242464",
          "search_vsid": "19a3e1ec8bb8e49c4ffa805401028a0c",
          "searchbar_source": "discover_searchbar"
        }
      }
    ]
  },
  "config": "{}",
  "dsl": {
    "config": {
      "name": "dynamic",
      "version": "1643769",
      "xml": [
        {
          "bType": "default",
          "cVersion": "12.1.0",
          "name": "cardCoupon.xml",
          "signature": "f77359ae…"
        }
      ]
    },
    "version": "1643769",
    "xml": [
      {
        "layout": "%3C%3Fxml+version%3D%221.0%22+encoding%3D%22utf-8%22%3F%3E+%3CRootLayout+++++xml…",
        "name": "cardCoupon.xml"
      }
    ]
  },
  "footer": {
    "data": {
      "handler_type": 2,
      "has_post_menu": 1,
      "menus": [
        {
          "actionlog": {
            "act_code": 554,
            "ext": "seqid:1931346883|type:1|t:1|pos:1-31-2|q:OpenAI|srid:19a3e1ec8bb8e49c4ffa8054010…",
            "fid": "100103type=1&q=OpenAI&t=1",
            "lfid": "102803_ctg1_1780_-_ctg1_1780",
            "luicode": "10000512",
            "uicode": "10000003"
          },
          "button_style": "search_expand",
          "is_expand": 1,
          "name": "和当前4275人一起讨论",
          "params": {
            "align": "center",
            "bg_color": "#F4F4F4",
            "bg_color_dark": "#2C2C2C",
            "cleaned": true,
            "desc_blod": true,
            "desc_color": "#636363",
            "desc_color_dark": "#999999",
            "desc_size": 10
          },
          "pic": "https://simg.s.weibo.com/imgtool/20240424_haed.png",
          "pic_dark": "https://simg.s.weibo.com/imgtool/20240424_haed.png",
          "skip_format": 1
        }
      ],
      "type": 2
    },
    "type": "searchResult"
  },
  "globalChannelConfig": {
    "refreshInfo": {
      "refreshType": "pullArrow"
    }
  },
  "items": [
    {
      "category": "group",
      "itemId": null,
      "items": [
        {
          "category": "card",
          "data": {
            "card_type": 3,
            "cleaned": true,
            "display_arrow": 1,
            "display_type": 1,
            "elements": [
              {
                "actionlog": {
                  "act_code": 554,
                  "ext": "seqid:1931346883|type:1|t:1|pos:1-2-0|q:OpenAI|srid:19a3e1ec8bb8e49c4ffa80540102…",
                  "fid": "100103type=1&q=OpenAI&t=1",
                  "lfid": "102803_ctg1_1780_-_ctg1_1780",
                  "luicode": "10000512",
                  "uicode": "10000003"
                },
                "cleaned": true,
                "scheme": "sinaweibo://userinfo?uid=2798511294",
                "uid": "2798511294"
              }
            ],
            "foldable": true,
            "item_style": {
              "background": {
                "color": "#FFFFFF",
                "colorKey": "CommonCardBackground",
                "type": "color"
              },
              "margin": [
                0
              ],
              "padding": [
                12
              ]
            },
            "max_item_count": 5
          },
          "itemExt": {
            "anchorId": "31793691969"
          },
          "style": {
            "background": {
              "color": "#FFFFFF",
              "colorKey": "CommonCardBackground",
              "type": "color"
            },
            "margin": [
              0
            ],
            "padding": [
              12
            ]
          }
        }
      ],
      "style": {
        "background": {
          "color": "#FFFFFF",
          "colorKey": "CommonCardBackground",
          "type": "color"
        },
        "margin": [
          0
        ],
        "padding": [
          0
        ]
      },
      "type": "vertical"
    }
  ],
  "loadedInfo": "{}",
  "moreInfo": {
    "error": "网络加载失败,请稍后尝试",
    "loading": "正在加载更多",
    "moreType": "default",
    "pagingType": "cursor",
    "params": {
      "count": "10",
      "filter_label_word": "全部",
      "interval_ad_video_count": 11,
      "interval_weibo_count": 36,
      "max_id": 0,
      "page": 2,
      "page_refresh_time": 1793691969,
      "search_ssid": "89fd73bcee6d72e21c1d3d8d3c5cb2e0",
      "search_time": "1769242464",
      "search_vsid": "19a3e1ec8bb8e49c4ffa805401028a0c",
      "transparent_background_height": 0,
      "unify_new_bubble_opt": 1
    }
  },
  "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:1931346883|type:1|t:1|pos:1-31-0|q:OpenAI|srid:19a3e1ec8bb8e49c4ffa8054010…",
          "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=1&q=OpenAI&t=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:1931346883|type:1|t:1|pos:1-31-1|q:OpenAI|srid:19a3e1ec8bb8e49c4ffa8054010…",
                "fid": "100103type=1&q=OpenAI&t=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": "{}"
}

Response fields

FieldMeaning
items[].categoryType of the entry. Top-level entries are group and hold nested entries in items[].items[]. Nested entries here are card.
items[].items[].data.card_typeNumeric card type of a result card. Use it to tell user cards from other card kinds.
items[].items[].data.elements[].uidWeibo user ID of an account shown in a user card.
items[].items[].data.elements[].schemeWeibo app deep link for the element. For user cards it has the form sinaweibo://userinfo?uid=....
items[].items[].data.max_item_countMaximum number of elements the card shows before it folds. The card also has foldable set to true.
items[].items[].itemExt.anchorIdAnchor ID attached to the card.
channelInfo.channels[].titleName of a search tab. The values seen are 综合 (the all-results tab), 实时 (real-time) and 图片 (images).
channelInfo.channels[].containeridContainer ID of the tab, such as 100103type=1&q=OpenAI&t=1. It encodes the search type in type and the keyword in q.
channelInfo.channels[].params.search_timeSearch time as a Unix timestamp string.
footer.data.menus[].nameLabel of a footer button. One label shows how many people are discussing the keyword.

Notes

  • Pass the keyword in query. Send page to move through results, starting at 1.
  • The tab containerid values show the type code of each view, for example type=1 for the all-results tab, type=61 for real-time and type=63 for images. The schema does not document how these map to search_type.
  • Take a uid from a user card and call Weibo User Profile Information to get that account's profile.
  • The response also contains layout and tracking data such as dsl, style and actionlog. You can ignore these for data work.

Pricing

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

Mehr entdecken

Verwandte APIs

Alle APIs
APIPreisAntwort
Weibo$0.001 pro AufrufJSON
Weibo$0.001 pro AufrufJSON
Weibo$0.001 pro AufrufJSON
Weibo$0.001 pro AufrufJSON
Weibo$0.001 pro AufrufJSON
Weibo$0.001 pro AufrufJSON

Anleitungen:Best Weibo API in 2026: Pricing Compared

Fragen

FAQ

Wie verwende ich die Weibo Comprehensive Search API?

Senden Sie eine POST-Anfrage an https://api.sandbase.ai/v1/api/weibo/app/search-all mit Ihrem SandBase API-Schlüssel im Authorization-Header (Bearer) und den Parametern als JSON-Body. Sie können das auch ohne Code direkt auf dieser Seite im Playground testen.

Was kostet die Weibo Comprehensive Search API?

$0.001 pro Aufruf, abgerechnet von Ihrem SandBase-Guthaben. Es werden nur die von Ihnen getätigten Aufrufe berechnet; es gibt kein Abo.

Welche Parameter akzeptiert die Weibo Comprehensive Search API?

Erforderlich: query (string). Optional: page (integer) und search_type (integer). Die Parametertabelle und der Playground auf dieser Seite listen jedes Feld auf.

Was gibt die Weibo Comprehensive Search API zurück?

Eine JSON-Antwort, die in derselben HTTP-Anfrage zurückgegeben wird (synchron). Die README auf dieser Seite enthält eine Beispielantwort.

Benötige ich ein Weibo-Entwicklerkonto oder einen API-Schlüssel?

Nein. Weibo Comprehensive Search läuft über SandBase, daher deckt ein SandBase API-Schlüssel diesen Endpunkt und jede andere API sowie jedes Modell im Katalog ab. Sie müssen keinen separaten Zugang für Weibo API beantragen.