limitintegerจำเป็น
Return number
https://api.sandbase.ai/v1/api/bilibili/web/hot-searchReturns current trending search keywords along with their heat scores from Bilibili. Results are restricted according to the specified count limit.
[
{
"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
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.
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.
| Name | Type | Required | Description |
|---|---|---|---|
limit | integer | Yes | Return number |
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
}
| Field | Meaning |
|---|---|
data.trending.list[].keyword | The trending search term. Use this value as the query text. |
data.trending.list[].show_name | The title shown to users in the hot search list. It can differ from keyword. |
data.trending.list[].heat_score | Provider heat score with unverified formula; not independently measured searches, views or cross-platform heat. |
data.trending.list[].icon | URL 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[].uri | Link target fields for the entry. They are empty strings in this response. |
data.trending.title | Title of the list, for example bilibili热搜. |
data.trending.top_list | List of pinned entries. It is empty in this response. |
data.trending.trackid | Tracking ID string for this list. |
code / message | Status of the call. code is 0 and message is OK on success. |
limit to the number of keywords you want. It is the only parameter and it is required.keyword to Bilibili Web General Search to find content for a trending topic.keyword to Bilibili Video Search to list videos that match it.$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
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.
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.
เริ่มสร้าง
เอ็นด์พอยต์ของ Platform API ที่มีการยืนยันตัวตนและการติดตามการใช้งานแบบรวมศูนย์
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
}'ตั้งค่า SandBase API key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
limitintegerจำเป็นReturn number
บันทึกตัวอย่างการตอบกลับสำหรับ API นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
[
{
"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
}
}
]สำรวจเพิ่มเติม
| API | ราคา | การตอบกลับ |
|---|---|---|
Bilibili Hot SearchesAPI นี้ Bilibili | $0.001 ต่อการเรียก | JSON |
Bilibili | $0.001 ต่อการเรียก | JSON |
Bilibili | $0.001 ต่อการเรียก | JSON |
Bilibili | $0.001 ต่อการเรียก | JSON |
Bilibili | $0.001 ต่อการเรียก | JSON |
Bilibili | $0.001 ต่อการเรียก | JSON |
คำถาม
ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/bilibili/web/hot-search โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
$0.001 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน
ที่ต้องระบุ: limit (integer). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ
ไม่จำเป็น Bilibili Hot Searches ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Bilibili API แยกต่างหาก
ไม่ limit เป็นจำนวนเต็มที่ต้องระบุ ค่า 10 เป็นเพียงตัวอย่างใน schema และตัวเลือกคำขอที่บันทึกไว้ schema ไม่ได้กำหนดค่าเริ่มต้นหรือขอบเขตไว้ ไม่มีพารามิเตอร์ page, keyword หรือ time-window สำหรับ route ที่เลือกนี้
ไม่ heat_score เป็นข้อมูลเฉพาะของผู้ให้บริการ trackid เป็นบริบทการติดตามของบอร์ด และ ttl 1 ไม่ได้ยืนยันเวลารีเฟรช รายการที่บันทึกไว้ไม่มี stable topic ID หรืออันดับผู้ให้บริการที่ชัดเจน สแน็ปช็อตเพียงครั้งเดียวไม่พอสำหรับการเติบโตหรือการเปรียบเทียบข้ามแพลตฟอร์ม
ไม่ใช่ ตรวจสอบรหัสจำนวนเต็มของ Bilibili เป็น 0 และ data.trending.list. แหล่งอ้างอิง Zhihu และ Weibo ที่เลือกใช้รายการตรงคนละแบบ โดยไม่มีโค้ดผู้ให้บริการที่แสดงไว้ รายการที่หายไปต้องไม่กลายเป็นความสำเร็จแบบว่างเปล่า