Sand AISand AI MAGI-2MAGI-2 est maintenant sur SandBase : vidéo 1080p avec audio natifEssayer maintenant

Weibo Hot Search Rankings

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

Prix
$0.001USD / appel
Méthode
POST
Réponse
JSON
Paramètres
0 obligatoires · 4 facultatifs
100 appels gratuits / jourLes 100 premiers appels par jour sont gratuits (partagés par organisation) · Réinitialisation à 00:00 UTC. Ensuite, paiement à l'appel.

Bac à sable

Entrée
Hot search category
150
Items per page, default 20, max 50 Plage : de 1 à 50.
Page number, starts from 1 (default 1) Minimum : 1.
City name for local hot search, only effective when category=region, default Beijing
SortieExemple
Réponseoutputs · 18.8 KB · 477 lignes
[
  {
    "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",

Exemples

Sélectionnez un exemple pour charger ses entrées et son résultat dans le playground.

README de l'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.

Explorer plus

APIs associées

Toutes les APIs
APIPrixRéponse
Weibo$0.001 par appelJSON
Weibo$0.001 par appelJSON
Weibo$0.001 par appelJSON
Weibo$0.001 par appelJSON
Weibo$0.001 par appelJSON
Weibo$0.001 par appelJSON

Guides :Best Weibo API in 2026: Pricing Compared

Questions

FAQ

Comment utiliser l’API Weibo Hot Search Rankings ?

Envoyez une requête POST à https://api.sandbase.ai/v1/api/weibo/app/hot-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.

Combien coûte l’API Weibo Hot Search Rankings ?

$0.001 par appel. Chaque organisation bénéficie de 100 appels gratuits par jour UTC, partagés entre les API SandBase éligibles, y compris celle-ci ; au-delà, chaque appel est facturé à ce tarif depuis votre solde SandBase. Aucun abonnement.

Quels paramètres l’API Weibo Hot Search Rankings accepte-t-elle ?

Aucun paramètre n’est requis. Facultatif : category (string), count (integer), page (integer) et region_name (string). Le tableau des paramètres et le Playground sur cette page listent tous les champs.

Que renvoie l’API Weibo Hot Search Rankings ?

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.

Ai-je besoin d’un compte développeur ou d’une clé API Weibo ?

Non. Weibo Hot Search Rankings 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.