Sand AISand AI MAGI-2MAGI-2 artık SandBase'de: yerel sesli 1080p videoŞimdi deneyin

Weibo Hot Search Rankings

API dokümanları
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.

Fiyat
$0.001USD / çağrı
Yöntem
POST
Yanıt
JSON
Parametreler
0 gerekli · 4 isteğe bağlı
Günde 100 ücretsiz çağrıHer gün ilk 100 çağrı ücretsizdir (kurum genelinde paylaşılır) · UTC 00:00'da sıfırlanır. Sonrasında çağrı başına ücretlendirilir.

Oynatma Alanı

Girdi
Hot search category
150
Items per page, default 20, max 50 Aralık: 1 ile 50 arasında.
Page number, starts from 1 (default 1) Minimum: 1.
City name for local hot search, only effective when category=region, default Beijing
ÇıktıÖrnek
Yanıtoutputs · 18.8 KB · 477 satır
[
  {
    "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",

Örnekler

Bir örnek seçerek girdilerini ve sonucunu playground'a yükleyin.

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.

Daha fazlasını keşfedin

İlgili APIs

Tüm APIs
APIFiyatYanıt
Weibo$0.001 çağrı başınaJSON
Weibo$0.001 çağrı başınaJSON
Weibo$0.001 çağrı başınaJSON
Weibo$0.001 çağrı başınaJSON
Weibo$0.001 çağrı başınaJSON
Weibo$0.001 çağrı başınaJSON

Kılavuzlar:Best Weibo API in 2026: Pricing Compared

Sorular

SSS

Weibo Hot Search Rankings API'sini nasıl kullanırım?

SandBase API anahtarınızı Authorization başlığında (Bearer) ve parametreleri JSON gövdesi olarak ile https://api.sandbase.ai/v1/api/weibo/app/hot-search adresine bir POST isteği gönderin. Ayrıca bu sayfadaki Playground’da kod yazmadan da deneyebilirsiniz.

Weibo Hot Search Rankings API'sinin fiyatı nedir?

çağrı başına $0.001. Her kuruluş, UTC günü başına 100 ücretsiz çağrı alır; bu hak, bu API dahil uygun SandBase API'leri arasında ortaktır. Sonrasında her çağrı, SandBase bakiyenizden bu fiyat üzerinden ücretlendirilir. Abonelik yoktur.

Weibo Hot Search Rankings API'si hangi parametreleri kabul eder?

Gerekli parametre yoktur. İsteğe bağlı: category (string), count (integer), page (integer) ve region_name (string). Parametreler tablosu ve bu sayfadaki Playground, tüm alanları listeler.

Weibo Hot Search Rankings API'si ne döndürür?

Aynı HTTP isteğinde döndürülen bir JSON yanıtı (senkron). Bu sayfadaki README'de örnek bir yanıt yer alır.

Bir Weibo geliştirici hesabına veya API anahtarına ihtiyacım var mı?

Hayır. Weibo Hot Search Rankings, SandBase üzerinden çalışır; bu nedenle tek bir SandBase API anahtarı bu uç noktayı ve katalogdaki diğer tüm API'leri ve modelleri kapsar. Weibo API erişimi için ayrıca başvuru yapmanız gerekmez.