Sand AISand AI MAGI-2MAGI-2 现已上线 SandBase:支持原生音频的 1080p 视频立即试用

Weibo Hot Search Rankings

API 文档
https://api.sandbase.ai/v1/api/weibo/app/hot-search

Returns current Weibo hot search rankings across various categories. Supports filtering by category such as realtime trends or by city name for regional topics.

价格
$0.001美元 / 次调用
方法
POST
响应
JSON
参数
0 个必填 · 4 个可选
每天 100 次免费调用每天前 100 次调用免费(按组织共享)· UTC 00:00 重置。之后按次计费。

Playground

输入
Hot search category
150
Items per page, default 20, max 50 范围:1 到 50。
Page number, starts from 1 (default 1) 最小值:1。
City name for local hot search, only effective when category=region, default Beijing
输出示例
响应outputs · 18.8 KB · 477 行
[
  {
    "data": {
      "channelInfo": {
        "channelConfig": {
          "auto_refresh_config": {
            "106003_-_type:25_-_filter_type:mineband": {
              "page_resume_expire_sec": 80000,
              "tab_and_background_expire_min": 1
            },
            "106003type=25&t=3&disable_hot=1&filter_type=fun": {
              "page_resume_expire_sec": 80000,
              "tab_and_background_expire_min": 1
            },
            "106003type=25&t=3&disable_hot=1&filter_type=gamenav": {
              "page_resume_expire_sec": 80000,
              "tab_and_background_expire_min": 1
            },
            "106003type=25&t=3&disable_hot=1&filter_type=lifenav": {
              "page_resume_expire_sec": 80000,
              "tab_and_background_expire_min": 1
            },
            "106003type=25&t=3&disable_hot=1&filter_type=realtimehot": {
              "page_resume_expire_sec": 80000,
              "tab_and_background_expire_min": 1
            },
            "106003type=25&t=3&disable_hot=1&filter_type=region": {
              "page_resume_expire_sec": 80000,
              "tab_and_background_expire_min": 1
            },
            "106003type=25&t=3&disable_hot=1&filter_type=social": {
              "page_resume_expire_sec": 80000,
              "tab_and_background_expire_min": 1
            },
            "106003type=25&t=3&disable_hot=1&filter_type=sportnav": {
              "page_resume_expire_sec": 80000,
              "tab_and_background_expire_min": 1
            },
            "106003type=25&t=3&disable_hot=1&filter_type=technologynav": {
              "page_resume_expire_sec": 80000,
              "tab_and_background_expire_min": 1
            },
            "nyw7f7uo9f": {
              "page_resume_expire_sec": 80000,
              "tab_and_background_expire_min": 1
            }
          },
          "refresh_configs": {
            "106003_-_type:25_-_filter_type:mineband": 1,
            "106003type=25&t=3&disable_hot=1&filter_type=fun": 1,
            "106003type=25&t=3&disable_hot=1&filter_type=gamenav": 1,
            "106003type=25&t=3&disable_hot=1&filter_type=lifenav": 1,
            "106003type=25&t=3&disable_hot=1&filter_type=realtimehot": 1,
            "106003type=25&t=3&disable_hot=1&filter_type=region": 1,
            "106003type=25&t=3&disable_hot=1&filter_type=social": 1,
            "106003type=25&t=3&disable_hot=1&filter_type=sportnav": 1,
            "106003type=25&t=3&disable_hot=1&filter_type=technologynav": 1,
            "nyw7f7uo9f": 1
          },
          "selectInfo": {
            "flowId": "106003type=25&t=3&disable_hot=1&filter_type=realtimehot",
            "pageDataType": "flow",
            "tabKey": "commonPage"
          }
        },
        "channels": [
          {
            "actionlog": {
              "act_code": 554,
              "act_type": 1,
              "ext": "seqid:17872186803400105419531|srid:08ffb0d8784da8fa4d650aea5ae155ba|lcate:1001|cate:5092|t:31|nav_tab:mineband|qtime:1787218680|c_type:31|page:1|type:25|dgr:0",
              "fid": "106003type=25&t=3&disable_hot=1&filter_type=realtimehot",
              "lfid": "102803_ctg1_1780_-_ctg1_1780",
              "luicode": "10000512",
              "uicode": "10000011"
            },
            "apiPath": "flowpage",
            "containerid": "106003_-_type:25_-_filter_type:mineband",
            "flowId": "106003_-_type:25_-_filter_type:mineband",
            "pageDataType": "flow",
            "params": {
              "is_container": 1,
              "transType": "pageinfo"
            },
            "scheme": "sinaweibo://pageinfo?containerid=106003_-_type:25_-_filter_type:mineband&title=热搜榜&extparam=",
            "style": {
              "flowType": "flow",
              "padding": [
                0,
                0,
                0,
                "… 1 more items in the full response"
              ]
            },
            "title": "我的",
            "titleInfo": {
              "icon": "",
              "iconDark": "",
              "style": {
                "backgroundDarkIcon": "",
                "backgroundIcon": "",
                "font": "",
                "fontSize": 15,
                "iconHeight": 24,
                "iconWidth": 24,
                "padding": [
                  0,
                  10,
                  2,
                  "… 1 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": "#AAAAAA"
              },
              "subTitle": ""
            }
          },
          {
            "actionlog": {
              "act_code": 554,
              "act_type": 1,
              "ext": "seqid:17872186803400105419531|srid:08ffb0d8784da8fa4d650aea5ae155ba|lcate:1001|cate:5092|t:31|nav_tab:realtimehot|qtime:1787218680|c_type:31|page:1|type:25|dgr:0",
              "fid": "106003type=25&t=3&disable_hot=1&filter_type=realtimehot",
              "lfid": "102803_ctg1_1780_-_ctg1_1780",
              "luicode": "10000512",
              "uicode": "10000011"
            },
            "apiPath": "flowpage",
            "containerid": "106003type=25&t=3&disable_hot=1&filter_type=realtimehot",
            "flowId": "106003type=25&t=3&disable_hot=1&filter_type=realtimehot",
            "pageDataType": "flow",
            "params": {
              "is_container": 1,
              "transType": "pageinfo"
            },
            "scheme": "sinaweibo://pageinfo?containerid=106003type=25&t=3&disable_hot=1&filter_type=realtimehot&title=热搜榜&extparam=",
            "style": {
              "flowType": "flow",
              "padding": [
                0,
                0,
                0,
                "… 1 more items in the full response"
              ]
            },
            "title": "热搜",
            "titleInfo": {
              "icon": "",
              "iconDark": "",
              "style": {
                "backgroundDarkIcon": "",
                "backgroundIcon": "",
                "font": "",
                "fontSize": 15,
                "iconHeight": 24,
                "iconWidth": 24,
                "padding": [
                  2,
                  10,
                  2,
                  "… 1 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": "#AAAAAA"
              },
              "subTitle": ""
            }
          },
          {
            "actionlog": {
              "act_code": 554,
              "act_type": 1,
              "ext": "seqid:17872186803400105419531|srid:08ffb0d8784da8fa4d650aea5ae155ba|lcate:1001|cate:5092|t:31|nav_tab:fun|qtime:1787218680|c_type:31|page:1|type:25|dgr:0",
              "fid": "106003type=25&t=3&disable_hot=1&filter_type=realtimehot",
              "lfid": "102803_ctg1_1780_-_ctg1_1780",
              "luicode": "10000512",
              "uicode": "10000011"
            },
            "apiPath": "flowpage",
            "containerid": "106003type=25&t=3&disable_hot=1&filter_type=fun",
            "flowId": "106003type=25&t=3&disable_hot=1&filter_type=fun",
            "pageDataType": "flow",
            "params": {
              "is_container": 1,
              "transType": "pageinfo"
            },
            "scheme": "sinaweibo://pageinfo?containerid=106003type=25&t=3&disable_hot=1&filter_type=fun&title=热搜榜&extparam=",
            "style": {
              "flowType": "flow",
              "padding": [
                0,
                0,
                0,
                "… 1 more items in the full response"
              ]
            },
            "title": "文娱",
            "titleInfo": {
              "icon": "",
              "iconDark": "",
              "style": {
                "backgroundDarkIcon": "",
                "backgroundIcon": "",
                "font": "",
                "fontSize": 15,
                "iconHeight": 24,
                "iconWidth": 24,
                "padding": [
                  2,
                  10,
                  2,
                  "… 1 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": "#AAAAAA"
              },
              "subTitle": ""
            }
          },
          "… 7 more items in the full response"
        ]
      },
      "config": "{}",
      "items": [
        {
          "category": "cell",
          "text": {
            "content": "实时热点,每分钟更新一次",
            "style": {
              "ellipsize": "end",
              "margin": [
                12,
                5.5,
                12,
                "… 1 more items in the full response"
              ],
              "maxLines": 1,
              "textColor": "#939393",
              "textColorKey": "CommonGray93",
              "textSize": 12
            }
          },
          "type": "text"
        },
        {
          "category": "group",
          "itemId": "hotword",
          "items": [
            {
              "category": "card",
              "data": {
                "actionlog": {
                  "act_code": 554,
                  "act_type": 1,
                  "ext": "seqid:17872186803400105419531|srid:08ffb0d8784da8fa4d650aea5ae155ba|lcate:1001|cate:5000|t:51|key:#总书记指引宣传思想文化工作#|qtime:1787218680|pos:0_0|c_type:51|page:1|type:25|dgr:0",
                  "fid": "106003type=25&t=3&disable_hot=1&filter_type=realtimehot",
                  "lfid": "102803_ctg1_1780_-_ctg1_1780",
                  "luicode": "10000512",

示例

选择一个示例,将其输入和结果加载到 playground 中。

API README

Weibo Hot Search Rankings API

Returns the current Weibo hot search ranking as a list of topic cards, plus the tab list for the other ranking categories. All inputs are optional: category picks the ranking, region_name picks a city, and page and count control paging.

Use cases

  • Pull the top realtime Weibo topics and store the ranked list with each topic's heat number.
  • Check which topics carry a rank flag icon to see how Weibo marks them.
  • Request a city ranking with category set to region and a region_name value to follow local topics.
  • Read the channelInfo.channels[].title tabs to see which ranking tabs Weibo shows.

Request

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

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

Parameters

NameTypeRequiredDescription
categorystringNoHot search category
countintegerNoItems per page, default 20, max 50
pageintegerNoPage number, starts from 1 (default 1)
region_namestringNoCity name for local hot search, only effective when category=region, default Beijing

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "channelInfo": {
    "channelConfig": {
      "auto_refresh_config": {
        "106003_-_type:25_-_filter_type:mineband": {
          "page_resume_expire_sec": 80000,
          "tab_and_background_expire_min": 1
        },
        "106003type=25&t=3&disable_hot=1&filter_type=fun": {
          "page_resume_expire_sec": 80000,
          "tab_and_background_expire_min": 1
        },
        "106003type=25&t=3&disable_hot=1&filter_type=gamenav": {
          "page_resume_expire_sec": 80000,
          "tab_and_background_expire_min": 1
        },
        "106003type=25&t=3&disable_hot=1&filter_type=lifenav": {
          "page_resume_expire_sec": 80000,
          "tab_and_background_expire_min": 1
        },
        "106003type=25&t=3&disable_hot=1&filter_type=realtimehot": {
          "page_resume_expire_sec": 80000,
          "tab_and_background_expire_min": 1
        },
        "106003type=25&t=3&disable_hot=1&filter_type=region": {
          "page_resume_expire_sec": 80000,
          "tab_and_background_expire_min": 1
        },
        "106003type=25&t=3&disable_hot=1&filter_type=social": {
          "page_resume_expire_sec": 80000,
          "tab_and_background_expire_min": 1
        },
        "106003type=25&t=3&disable_hot=1&filter_type=sportnav": {
          "page_resume_expire_sec": 80000,
          "tab_and_background_expire_min": 1
        }
      },
      "refresh_configs": {
        "106003_-_type:25_-_filter_type:mineband": 1,
        "106003type=25&t=3&disable_hot=1&filter_type=fun": 1,
        "106003type=25&t=3&disable_hot=1&filter_type=gamenav": 1,
        "106003type=25&t=3&disable_hot=1&filter_type=lifenav": 1,
        "106003type=25&t=3&disable_hot=1&filter_type=realtimehot": 1,
        "106003type=25&t=3&disable_hot=1&filter_type=region": 1,
        "106003type=25&t=3&disable_hot=1&filter_type=social": 1,
        "106003type=25&t=3&disable_hot=1&filter_type=sportnav": 1
      },
      "selectInfo": {
        "flowId": "106003type=25&t=3&disable_hot=1&filter_type=realtimehot",
        "pageDataType": "flow",
        "tabKey": "commonPage"
      }
    },
    "channels": [
      {
        "actionlog": {
          "act_code": 554,
          "act_type": 1,
          "ext": "seqid:17936919682050238243232|srid:56d365cce1fd9aab4fdf0021b89f242d|lcate:1001|t…",
          "fid": "106003type=25&t=3&disable_hot=1&filter_type=realtimehot",
          "lfid": "102803_ctg1_1780_-_ctg1_1780",
          "luicode": "10000512",
          "uicode": "10000011"
        },
        "apiPath": "flowpage",
        "containerid": "106003_-_type:25_-_filter_type:mineband",
        "flowId": "106003_-_type:25_-_filter_type:mineband",
        "pageDataType": "flow",
        "params": {
          "is_container": 1,
          "transType": "pageinfo"
        },
        "scheme": "sinaweibo://pageinfo?containerid=106003_-_type:25_-_filter_type:mineband&title=热…",
        "style": {
          "flowType": "flow",
          "padding": [
            0
          ]
        },
        "title": "我的",
        "titleInfo": {
          "icon": "",
          "iconDark": "",
          "style": {
            "backgroundDarkIcon": "",
            "backgroundIcon": "",
            "font": "",
            "fontSize": 15,
            "iconHeight": 24,
            "iconWidth": 24,
            "padding": [
              0
            ],
            "selectBackgroundDarkIcon": ""
          },
          "subTitle": ""
        }
      }
    ]
  },
  "config": "{}",
  "items": [
    {
      "category": "cell",
      "text": {
        "content": "实时热点,每分钟更新一次",
        "style": {
          "ellipsize": "end",
          "margin": [
            12
          ],
          "maxLines": 1,
          "textColor": "#939393",
          "textColorKey": "CommonGray93",
          "textSize": 12
        }
      },
      "type": "text"
    }
  ],
  "loadedInfo": "{}",
  "pageData": "{}",
  "pageHeader": "{}",
  "pageRefresh": "{}",
  "pageTabBar": "{}",
  "pageTitle": "{}",
  "refreshInfo": "{}"
}

Response fields

FieldMeaning
items[].items[].data.descText of the hot search topic, without the surrounding # marks.
items[].items[].data.desc_extrNumber shown next to the topic, such as 2173490. It looks like a heat or popularity count. Some cards, such as the first pinned one, do not have it.
items[].items[].data.iconURL of the small flag image shown beside the topic. The file name changes between topics (for example 2_0.png and 1_0.png).
items[].items[].data.actionlog.extTracking string with key: (the topic with # marks), pos: and realpos: (position in the list) and cate: (category code).
items[].items[].data.itemid / items[].items[].itemExt.anchorIdInternal ID strings for the card. They repeat the position and topic key.
items[].itemIdName of the group of cards. The topic list sits in the group with itemId set to hotword.
items[].text.contentLabel text between card groups, such as the notice that the list updates every minute.
channelInfo.channels[].titleName of each ranking tab, such as 热搜 (hot search) and 文娱 (entertainment).
channelInfo.channels[].containeridID of the tab. Its filter_type= part names the ranking, such as realtimehot or fun.

Notes

  • Read topics from the items entry whose itemId is hotword. Other entries in items are text labels.
  • The first card in the example has no desc_extr. Check that it exists before you read it.
  • The filter_type values in channelInfo.channelConfig.refresh_configs include realtimehot, fun, gamenav, lifenav, region, social and sportnav. To list the categories, call Weibo Hot Search Categories.
  • region_name only takes effect when category is region.

Pricing

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

探索更多

相关 APIs

全部 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

指南:Best Weibo API in 2026: Pricing Compared

问题

常见问题

如何使用 Weibo Hot Search Rankings API?

向 https://api.sandbase.ai/v1/api/weibo/app/hot-search 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 Playground 中试用,无需编写代码。

Weibo Hot Search Rankings API 的价格是多少?

每次调用 $0.001。每个组织在每个 UTC 日可获得 100 次免费调用,适用于包括此接口在内的所有符合条件的 SandBase APIs;超过后,每次调用将按此价格从您的 SandBase 余额中扣费。无需订阅。

Weibo Hot Search Rankings API 接受哪些参数?

无需参数。 可选:category (string), count (integer), page (integer) 和 region_name (string)。 Parameters 表和本页的 Playground 列出了每个字段。

Weibo Hot Search Rankings API 返回什么?

在同一个 HTTP 请求中返回的 JSON 响应(同步)。 本页的 README 包含一个示例响应。

我需要 Weibo 开发者账户或 API key 吗?

不需要。Weibo Hot Search Rankings 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 Weibo API 访问权限。