Sand AISand AI MAGI-2MAGI-2 jest teraz na SandBase: wideo 1080p z natywnym dźwiękiemWypróbuj teraz

Weibo Hot Search Rankings

Dokumentacja 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.

Cena
$0.001USD / wywołanie
Metoda
POST
Odpowiedź
JSON
Parametry
0 wymaganych · 4 opcjonalnych
100 darmowych wywołań / dzieńPierwsze 100 wywołań dziennie za darmo (współdzielone w ramach organizacji) · Reset o 00:00 UTC. Później płatność za każde wywołanie.

Playground

Wejście
Hot search category
150
Items per page, default 20, max 50 Zakres: od 1 do 50.
Page number, starts from 1 (default 1) Minimum: 1.
City name for local hot search, only effective when category=region, default Beijing
WyjściePrzykład
Odpowiedźoutputs · 18.8 KB · 477 wierszy
[
  {
    "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",

Przykłady

Wybierz przykład, aby wczytać jego dane wejściowe i wynik do playgroundu.

README API

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.

Odkryj więcej

Powiązane APIs

Wszystkie APIs
APICenaOdpowiedź
Weibo$0.001 za wywołanieJSON
Weibo$0.001 za wywołanieJSON
Weibo$0.001 za wywołanieJSON
Weibo$0.001 za wywołanieJSON
Weibo$0.001 za wywołanieJSON
Weibo$0.001 za wywołanieJSON

Przewodniki:Best Weibo API in 2026: Pricing Compared

Pytania

FAQ

Jak używać API Weibo Hot Search Rankings?

Wyślij żądanie POST do https://api.sandbase.ai/v1/api/weibo/app/hot-search z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.

Ile kosztuje API Weibo Hot Search Rankings?

$0.001 za wywołanie. Każda organizacja otrzymuje 100 bezpłatnych wywołań na dzień UTC, współdzielonych między kwalifikującymi się API SandBase, w tym to; potem każde wywołanie jest rozliczane według tej stawki z salda SandBase. Nie ma subskrypcji.

Jakie parametry przyjmuje API Weibo Hot Search Rankings?

Nie są wymagane żadne parametry. Opcjonalne: category (string), count (integer), page (integer) i region_name (string). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.

Co zwraca API Weibo Hot Search Rankings?

Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie). README na tej stronie zawiera przykładową odpowiedź.

Czy potrzebuję konta deweloperskiego Weibo lub klucza API?

Nie. Weibo Hot Search Rankings działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API Weibo.