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

Bilibili Hot Searches

API 文件
https://api.sandbase.ai/v1/api/bilibili/web/hot-search

Returns current trending search keywords along with their heat scores from Bilibili. Results are restricted according to the specified count limit.

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

Playground

輸入
Return number
輸出範例
回應outputs · 1.2 KB · 43 行
[
  {
    "data": {
      "code": 0,
      "data": {
        "trending": {
          "list": [
            {
              "goto": "",
              "heat_score": 1629567,
              "icon": "http://i0.hdslb.com/bfs/activity-plat/static/20221213/eaf2dd702d7cc14d8d9511190245d057/lrx9rnKo24.png",
              "keyword": "维斯塔潘续约红牛",
              "show_name": "维斯塔潘续约红牛",
              "uri": ""
            },
            {
              "goto": "",
              "heat_score": 1229218,
              "icon": "",
              "keyword": "黑神话钟馗15分钟实机演示",
              "show_name": "黑神话钟馗15分钟实机演示",
              "uri": ""
            },
            {
              "goto": "",
              "heat_score": 731923,
              "icon": "http://i0.hdslb.com/bfs/activity-plat/static/20221213/eaf2dd702d7cc14d8d9511190245d057/lrx9rnKo24.png",
              "keyword": "第一视角看朱雀三号成功回收",
              "show_name": "第一视角看朱雀三号成功回收",
              "uri": ""
            },
            "… 7 more items in the full response"
          ],
          "title": "bilibili热搜",
          "top_list": [],
          "trackid": "14575015540501177098"
        }
      },
      "message": "OK",
      "ttl": 1
    }
  }
]

範例

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

API README

Bilibili Hot Searches API

Returns a Bilibili search-board sample with supplied heat fields. Send a required integer limit; the example is not a default or guaranteed result length.

Use cases

  • Inspect one returned Bilibili board snapshot; saved examples are historical, not current topics.
  • Preserve provider heat_score fields without converting them into measured interest, reach or a cross-platform score.
  • Review supplied keyword and display-name fields as one source-specific sample.
  • Any repeated collection needs a separate scope and comparable observations; no polling or rank movement was tested here.

Request

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

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

Parameters

NameTypeRequiredDescription
limitintegerYesReturn number

Example response

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

{
  "code": 0,
  "data": {
    "trending": {
      "list": [
        {
          "goto": "",
          "heat_score": 3216045,
          "icon": "https://i0.hdslb.com/bfs/activity-plat/static/20251027/aafcb8031fd171c428daaa9b4…",
          "keyword": "FaZe Falcons",
          "show_name": "FaZe vs Falcons IEM北京",
          "uri": ""
        }
      ],
      "title": "bilibili热搜",
      "top_list": [],
      "trackid": "5327011950951300418"
    }
  },
  "message": "OK",
  "ttl": 1
}

Response fields

FieldMeaning
data.trending.list[].keywordThe trending search term. Use this value as the query text.
data.trending.list[].show_nameThe title shown to users in the hot search list. It can differ from keyword.
data.trending.list[].heat_scoreProvider heat score with unverified formula; not independently measured searches, views or cross-platform heat.
data.trending.list[].iconURL of a badge image shown next to the keyword. It is an empty string when the entry has no badge.
data.trending.list[].goto / data.trending.list[].uriLink target fields for the entry. They are empty strings in this response.
data.trending.titleTitle of the list, for example bilibili热搜.
data.trending.top_listList of pinned entries. It is empty in this response.
data.trending.trackidTracking ID string for this list.
code / messageStatus of the call. code is 0 and message is OK on success.

Notes

  • Set limit to the number of keywords you want. It is the only parameter and it is required.
  • Pass a keyword to Bilibili Web General Search to find content for a trending topic.
  • Pass a keyword to Bilibili Video Search to list videos that match it.

Pricing

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

Inspect one Bilibili search board with an explicit limit

Send required integer limit. The schema gives example 10 but no default or minimum/maximum. The saved teaching request explicitly chose 10; that does not promise every request returns ten rows. No keyword, page, cursor or time-window input is declared.

Require business code as integer 0, then objects data and trending and an array of objects at data.trending.list. A boolean false or string zero is not the documented integer code. A valid empty list is an empty observed board; a missing list is a structural failure.

The August 20 full saved example contains ten rows. Its first keyword is 维斯塔潘续约红牛 with heat_score 1629567; the undated README shows a different first topic and score. Neither is today's ranking or a repeat measurement of the same topic. keyword is query text and show_name is display text; they can differ.

heat_score is a provider metric, not verified searches, views, unique users or a score comparable to another platform. The reference has no stable per-topic identifier or explicit rank field. If assigning local positions, label them source_index or display_position and preserve original row order; do not call those values provider ranks.

The saved goto and uri fields are empty, and top_list is separately empty. Keep those observations without promising permanent absence. trackid identifies board tracking context, not a topic or observation time. ttl 1 is not a verified refresh interval or authorization to poll every second. Icon/URI fields remain references; no media or keyword-search request follows automatically.

To inspect a different platform, select one Zhihu question board as a separate task with its own string input types and evidence limitations.

Keep platform snapshots separate

Give your agent the setup Skill, Markdown quickstart, exact selected endpoint and output question. Keep SANDBASE_API_KEY locally and make one authenticated POST to /v1/api/. Require completed SandBase status and an object exactly at outputs[0].data, then validate that endpoint's business shape. Do not turn absent or malformed lists into empty success, invent a common provider code, or fetch links automatically.

For comparisons, keep platform, endpoint, request parameters, raw rows and local observed_at together. Local observation time is not upstream refresh time. Bilibili heat_score, Zhihu detail_text and Weibo board num have different meanings and scales. They do not form one global score. Preserve missing, null, empty and zero separately.

Title or keyword equality is only a candidate similarity signal, not a stable cross-platform event identity. Keep a local source_index distinct from provider rank. Weibo's saved board contains advertisements with duplicate ranks and missing realpos; do not merge pinned or promotional rows into a supposedly uniform ranking. One snapshot cannot show rank movement, growth, causality or a topic disappearing from a platform.

The Bilibili and Weibo saved references were captured almost two hours apart; Zhihu supplies only an undated README fragment. They are not a synchronized or current dashboard. No new business, paid, pagination, polling, media or clustering calls were made. See the source-aware board Python guide for the earlier design; use this page's current boundaries for a first request.

November 8 inspection lists each selected route at $0.001, eligible for 100 daily calls shared across eligible organization APIs, reset at 00:00 UTC. Eligibility is not remaining allowance or measured charge. Two deliberately selected calls list at $0.002; including a separately selected Weibo board would total $0.003 before quota effects. This arithmetic does not execute multiple calls.

探索更多

相關 APIs

所有 APIs
API價格回應
Bilibili每次呼叫 $0.001JSON
Bilibili每次呼叫 $0.001JSON
Bilibili每次呼叫 $0.001JSON
Bilibili每次呼叫 $0.001JSON
Bilibili每次呼叫 $0.001JSON
Bilibili每次呼叫 $0.001JSON

指南:Best Bilibili API in 2026: Pricing Compared

問題

常見問題

我要如何使用 Bilibili Hot Searches API?

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

Bilibili Hot Searches API 的費用是多少?

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

Bilibili Hot Searches API 接受哪些參數?

必要:limit (integer)。 本頁的 Parameters 表格與 Playground 會列出每個欄位。

Bilibili Hot Searches API 會回傳什麼?

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

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

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

十是預設限制或保證的回應大小嗎?

不是。limit 是必填整數;10 是 schema 範例與已儲存的請求選擇。schema 未宣告預設值或上下限。這個選定路由沒有頁碼、關鍵字或時間區間參數。

heat_score、trackid 或 ttl 能定義全域趨勢嗎?

不能。heat_score 是供應商特定值,trackid 是看板追蹤上下文,而 ttl 1 無法驗證重新整理時間。已儲存清單沒有穩定的主題 ID 或明確的供應商排名。單一快照不足以用於成長或跨平台比較。

這個看板與知乎和微博使用相同的業務狀態嗎?

否。請驗證 Bilibili 整數代碼 0 與 data.trending.list。所選的 Zhihu 與 Weibo 參考使用的是不同的直接清單,且沒有展示 provider 代碼。缺少的清單不應被變成空的成功結果。