Sand AISand AI MAGI-2MAGI-2 現已登上 SandBase:支援原生音訊的 1080p 影片立即試用

Weibo Social Ranking

API 文件
https://api.sandbase.ai/v1/api/weibo/web-v2/social-ranking

Returns Weibo social ranking data covering current affairs, social hotspots, and livelihood topics. Call this endpoint to track top-trending public interest discussions.

價格
$0.001美元/次呼叫
方法
POST
回應
JSON
參數
0 個必填 · 0 個選填

Playground

輸入
沒有可用的輸入結構
輸出範例
回應outputs · 2.5 KB · 88 行
[
  {
    "data": {
      "band_list": [
        {
          "emoticon": "",
          "flag": 2,
          "icon": "https://simg.s.weibo.com/moter/flags/2_0.png",
          "icon_desc": "热",
          "icon_desc_color": "#ff9406",
          "icon_height": 24,
          "icon_url": "https://simg.s.weibo.com/moter/flags/2_0.png",
          "icon_width": 24,
          "is_hot": 1,
          "loc_page": 3,
          "m_category": "民生新闻",
          "note": "许家印被曝奢靡日常",
          "num": 3157580,
          "rank": 0,
          "realpos": 1,
          "small_icon_desc": "热",
          "small_icon_desc_color": "#ff9406",
          "subject_querys": {},
          "topic_flag": 0,
          "word": "许家印被曝奢靡日常",
          "word_scheme": "许家印被曝奢靡日常"
        },
        {
          "emoticon": "",
          "flag": 2,
          "icon": "https://simg.s.weibo.com/moter/flags/2_0.png",
          "icon_desc": "热",
          "icon_desc_color": "#ff9406",
          "icon_height": 24,
          "icon_url": "https://simg.s.weibo.com/moter/flags/2_0.png",
          "icon_width": 24,
          "is_hot": 1,
          "loc_page": 4,
          "m_category": "辟谣/通报,作品衍生",
          "note": "警方通报时代峰峻楼下聚集事件",
          "num": 2466208,
          "rank": 1,
          "realpos": 2,
          "small_icon_desc": "热",
          "small_icon_desc_color": "#ff9406",
          "subject_querys": {
            "警方通报时代峰峻楼下聚集事件": {
              "subject_trend": "tf家族五代下班被anti",
              "subject_type": "event"
            }
          },
          "topic_flag": 1,
          "word": "警方通报时代峰峻楼下聚集事件",
          "word_scheme": "#警方通报时代峰峻楼下聚集事件#"
        },
        {
          "emoticon": "",
          "flag": 1,
          "icon": "https://simg.s.weibo.com/moter/flags/1_0.png",
          "icon_desc": "新",
          "icon_desc_color": "#ff3852",
          "icon_height": 24,
          "icon_url": "https://simg.s.weibo.com/moter/flags/1_0.png",
          "icon_width": 24,
          "is_new": 1,
          "loc_page": 4,
          "m_category": "民生新闻",
          "note": "青岛涉事女游客多次致歉求饶",
          "num": 1701148,
          "rank": 2,
          "realpos": 3,
          "small_icon_desc": "新",
          "small_icon_desc_color": "#ff3852",
          "subject_querys": {
            "青岛男子辱骂女游客": {
              "subject_trend": "青岛男子辱骂女游客",
              "subject_type": "event"
            }
          },
          "topic_flag": 1,
          "word": "青岛涉事女游客多次致歉求饶",
          "word_scheme": "#青岛涉事女游客多次致歉求饶#"
        },
        "… 47 more items in the full response"
      ]
    }
  }
]

範例

選擇一個範例,將其輸入與結果載入 playground。

API README

Weibo Social Ranking API

Returns the current Weibo social ranking list, which covers current affairs, social hotspots and livelihood topics. The API takes no input. Each entry has a topic title, a heat number, a category and a rank.

Use cases

  • Show the top Weibo public affairs topics on a news dashboard.
  • Log hot_num for each topic over time to see which stories grow fastest.
  • Filter entries by category to collect livelihood news or official clarification notices.
  • Collect the word_scheme hashtags to use as keywords in a post search.

Request

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

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

Example response

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

{
  "band_list": [
    {
      "category": "民生新闻",
      "emoticon": "",
      "flag": 2,
      "hot_num": 2173490,
      "icon": "https://simg.s.weibo.com/moter/flags/2_0.png",
      "icon_desc": "热",
      "icon_desc_color": "#ff9406",
      "icon_height": 24,
      "icon_url": "https://simg.s.weibo.com/moter/flags/2_0.png",
      "icon_width": 24,
      "is_hot": 1,
      "loc_page": 4
    }
  ]
}

Response fields

FieldMeaning
band_list[]One ranked topic in the social ranking list.
band_list[].word / noteThe topic title. Both fields hold the same text in the sample.
band_list[].word_schemeThe topic written as a Weibo hashtag, such as #警方通报九寨沟景区游客冲突事件#. Some entries have no # marks.
band_list[].hot_num / numThe heat value of the topic. Higher numbers rank higher.
band_list[].rank / realposThe position in the list. rank starts at 0 and realpos starts at 1.
band_list[].category / m_categoryThe topic category, for example 民生新闻 (livelihood news) or 辟谣/通报 (rumor refutation or official notice).
band_list[].icon_descThe short label shown on the topic, such as 热, 新 or 沸. The flags is_hot, is_new and is_fei match these labels.
band_list[].flagNumeric code for the label type. The sample shows 1 with 新, 2 with 热 and 16 with 沸.
band_list[].subject_querysRelated event names keyed by query text. Each value has subject_trend (a trend title) and subject_type.
band_list[].icon_urlURL of the label image for the topic.

Notes

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.001JSON
Weibo每次呼叫 $0.001JSON
Weibo每次呼叫 $0.001JSON
Weibo每次呼叫 $0.001JSON
Weibo每次呼叫 $0.001JSON
Weibo每次呼叫 $0.001JSON

指南:Best Weibo API in 2026: Pricing Compared

問題

常見問題

我要如何使用 Weibo Social Ranking API?

使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/weibo/web-v2/social-ranking。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。

Weibo Social Ranking API 的費用是多少?

每次 $0.001,並從您的 SandBase 餘額中扣款。您只會為實際發出的呼叫付費;沒有訂閱方案。

Weibo Social Ranking API 接受哪些參數?

Weibo Social Ranking 不接受任何輸入參數;請送出空的 JSON 主體。

Weibo Social Ranking API 會回傳什麼?

在同一個 HTTP 請求中回傳的 JSON 回應(同步)。 本頁的 README 包含範例回應。

我需要 Weibo 開發者帳號或 API 金鑰嗎?

不需要。Weibo Social Ranking 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 Weibo API 存取權。