Bilibili App Bangumi Tab
https://api.sandbase.ai/v1/api/bilibili/app/bangumi-tabReturns Bilibili app bangumi tab data, providing curated anime recommendations, feed items, and category listings for mobile clients.
- ราคา
- $0.001USD / คำขอ
- Method
- POST
- การตอบกลับ
- JSON
- พารามิเตอร์
- 0 จำเป็น · 0 ไม่บังคับ
Playground
[
{
"data": {
"code": 0,
"message": "success",
"result": {
"hot": {
"desc": "查看更多",
"items": [],
"title": "热点推荐",
"wid": 0
},
"modules": [
{
"attr": {
"follow": 0,
"header": 0,
"random": 0
},
"headers": [],
"items": [
{
"badge_info": {
"bg_color": "",
"bg_color_night": "",
"text": ""
},
"cover": "http://i0.hdslb.com/bfs/bangumi/image/c030ff67970da5e456dc16af0cb1242880ab8b2c.png",
"episode_id": 424179,
"is_preview": 0,
"item_id": 150352,
"link": "https://www.bilibili.com/bangumi/play/ep424179",
"oid": 424179,
"report": {
"card_type": "banner",
"item_id": "150352",
"module_id": "83",
"module_type": "banner",
"oid": "https://www.bilibili.com/bangumi/play/ep424179"
},
"source_content": {
"card_index": 0,
"client_ip": "164.92.68.108",
"index": 1,
"is_ad_loc": 1,
"request_id": "1786090931954q10a85a138a94q1596",
"resource_id": 3095,
"server_type": 0,
"source_id": 3096
},
"title": "乌冬面,偶尔遇见满月",
"type": "PGC"
},
{
"badge_info": {
"bg_color": "",
"bg_color_night": "",
"text": ""
},
"cover": "http://i0.hdslb.com/bfs/bangumi/image/79ab6c4e73f82ff30036c73cf576d0f17c61b5bb.png",
"episode_id": 424326,
"is_preview": 0,
"item_id": 150312,
"link": "https://www.bilibili.com/bangumi/play/ep424326",
"oid": 424326,
"report": {
"card_type": "banner",
"item_id": "150312",
"module_id": "83",
"module_type": "banner",
"oid": "https://www.bilibili.com/bangumi/play/ep424326"
},
"source_content": {
"card_index": 0,
"client_ip": "164.92.68.108",
"index": 2,
"is_ad_loc": 1,
"request_id": "1786090931954q10a85a138a94q1596",
"resource_id": 3095,
"server_type": 0,
"source_id": 3097
},
"title": "彷徨贤者",
"type": "PGC"
},
{
"badge_info": {
"bg_color": "",
"bg_color_night": "",
"text": ""
},
"cover": "http://i0.hdslb.com/bfs/bangumi/image/d99bd3601d51cb99aaee89a17ad9fedd80e0424e.jpg",
"episode_id": 423888,
"is_preview": 0,
"item_id": 150279,
"link": "https://www.bilibili.com/bangumi/play/ep423888",
"oid": 423888,
"report": {
"card_type": "banner",
"item_id": "150279",
"module_id": "83",
"module_type": "banner",
"oid": "https://www.bilibili.com/bangumi/play/ep423888"
},
"source_content": {
"card_index": 0,
"client_ip": "164.92.68.108",
"index": 3,
"is_ad_loc": 1,
"request_id": "1786090931954q10a85a138a94q1596",
"resource_id": 3095,
"server_type": 0,
"source_id": 3098
},
"title": "萌妻食神",
"type": "PGC"
},
"… 2 more items in the full response"
],
"module_id": 83,
"report": {
"module_id": "83",
"module_type": "banner"
},
"size": 6,
"style": "banner",
"title": "新版banner",
"type": 1,
"wid": [
283
]
},
{
"attr": {
"follow": 0,
"header": 0,
"random": 0
},
"headers": [],
"items": [
{
"badge_info": {
"bg_color": "",
"bg_color_night": "",
"text": ""
},
"cover": "http://i0.hdslb.com/bfs/bangumi/image/91aa81ed845e39c127a76c06e31bbe9d9b8cbfa3.png",
"is_preview": 0,
"item_id": 120629,
"link": "bilibili://pgc/bangumi",
"report": {
"card_type": "function",
"item_id": "120629",
"module_id": "1283",
"module_type": "function",
"oid": "bilibili://pgc/bangumi"
},
"title": "番剧",
"wid": 10394
},
{
"badge_info": {
"bg_color": "",
"bg_color_night": "",
"text": ""
},
"cover": "http://i0.hdslb.com/bfs/bangumi/image/e2b24dcc48b90a5ae095622a1bb48d3f8d8d2316.png",
"is_preview": 0,
"item_id": 120630,
"link": "bilibili://pgc/domestic",
"report": {
"card_type": "function",
"item_id": "120630",
"module_id": "1283",
"module_type": "function",
"oid": "bilibili://pgc/domestic"
},
"title": "国创",
"wid": 10394
},
{
"badge_info": {
"bg_color": "",
"bg_color_night": "",
"text": ""
},
"cover": "http://i0.hdslb.com/bfs/bangumi/image/641c4d638a93b5c2d0c744dbd7a1d57e6d443848.png",
"is_preview": 0,
"item_id": 120631,
"link": "bilibili://pgc/timeline",
"report": {
"card_type": "function",
"item_id": "120631",
"module_id": "1283",
"module_type": "function",
"oid": "bilibili://pgc/timeline"
},
"title": "时间表",
"wid": 10394
},
"… 2 more items in the full response"
],
"module_id": 1283,
"report": {
"module_id": "1283",
"module_type": "function"
},
"size": 5,
"style": "function",
"title": "功能入口",
"type": 1,
"wid": [
10394
]
},
{
"attr": {
"follow": 0,
"header": 0,
"random": 0
},
"headers": [],
"items": [],
"module_id": 170,
"report": {
"module_id": "170",
"module_type": "tip"
},
"size": 1,
"style": "tip",
"title": "付费提示条",
"type": 1,
"wid": []
},
"… 11 more items in the full response"
],
"regions": [
{
"icon": "http://i0.hdslb.com/bfs/bangumi/image/2e6f9066e4eb5f30d75a28c3bcaa7541dad5c95d.png",
"report": {
"card_type": "function",
"item_id": "24386",
"module_id": "241",
"module_type": "function"
},
"title": "全部内容",
"url": "bilibili://pgc/bangumi/index"
},
{
"icon": "http://i0.hdslb.com/bfs/bangumi/image/91aa81ed845e39c127a76c06e31bbe9d9b8cbfa3.png",
"report": {
"card_type": "function",
"item_id": "24383",
"module_id": "241",
"module_type": "function"
},
"title": "番剧",
"url": "bilibili://pgc/partition_page?page_name=bangumi-operation&title=%E7%95%AA%E5%89%A7&select_id=1"
},
{
"icon": "http://i0.hdslb.com/bfs/bangumi/image/e2b24dcc48b90a5ae095622a1bb48d3f8d8d2316.png",
"report": {
"card_type": "function",
"item_id": "24384",
"module_id": "241",
"module_type": "function"
},
"title": "国创",
"url": "bilibili://pgc/partition_page?page_name=gc-operation&title=%E5%9B%BD%E5%88%9B&select_id=1"
},
"… 2 more items in the full response"
]
}
}
}
]ตัวอย่าง
เลือกตัวอย่างเพื่อโหลดอินพุตและผลลัพธ์ลงใน playground
API README
Bilibili App Bangumi Tab API
Returns the layout of the Bilibili app bangumi tab: banner modules, function entry buttons, and region links. The request takes no parameters, so you send an empty JSON object.
Use cases
- Capture the current banner lineup on the bangumi tab and the episode each banner links to.
- Read the
linkandepisode_idof each banner item to find which anime episodes the app is promoting. - List the region shortcuts, such as 番剧 and 国创, with their icons and in-app deep links.
- Compare the module layout of the tab over time by storing
module_id,styleandtitle.
Request
curl -X POST "https://api.sandbase.ai/v1/api/bilibili/app/bangumi-tab" \
-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.
{
"code": 0,
"message": "success",
"result": {
"hot": {
"desc": "查看更多",
"items": [],
"title": "热点推荐",
"wid": 0
},
"modules": [
{
"attr": {
"follow": 0,
"header": 0,
"random": 0
},
"headers": [],
"items": [
{
"badge_info": {
"bg_color": "",
"bg_color_night": "",
"text": ""
},
"cover": "http://i0.hdslb.com/bfs/bangumi/image/c030ff67970da5e456dc16af0cb1242880ab8b2c.p…",
"episode_id": 424179,
"is_preview": 0,
"item_id": 150352,
"link": "https://www.bilibili.com/bangumi/play/ep424179",
"oid": 424179,
"report": {
"card_type": "banner",
"item_id": "150352",
"module_id": "83",
"module_type": "banner",
"oid": "https://www.bilibili.com/bangumi/play/ep424179"
}
}
],
"module_id": 83,
"report": {
"module_id": "83",
"module_type": "banner"
},
"size": 6,
"style": "banner",
"title": "新版banner",
"type": 1,
"wid": [
283
]
}
],
"regions": [
{
"icon": "http://i0.hdslb.com/bfs/bangumi/image/2e6f9066e4eb5f30d75a28c3bcaa7541dad5c95d.p…",
"report": {
"card_type": "function",
"item_id": "24386",
"module_id": "241",
"module_type": "function"
},
"title": "全部内容",
"url": "bilibili://pgc/bangumi/index"
}
]
}
}
Response fields
| Field | Meaning |
|---|---|
code / message | Status of the call. code is 0 and message is success when the request works. |
result.modules[] | List of content blocks on the tab. Each block holds a group of items and has its own layout settings. |
result.modules[].module_id / style / title | ID, layout style and name of the module. Seen styles include banner, function and tip. |
result.modules[].items[].cover | URL of the cover image for the item. |
result.modules[].items[].link | Target of the item. It is a web URL for banner items or a bilibili:// app link for function items. |
result.modules[].items[].episode_id / oid | Episode ID for banner items. In the banner items shown, both fields hold the same value. |
result.modules[].items[].title | Label of a function item, for example 番剧, 国创 or 时间表. Banner items do not carry this field. |
result.regions[].title / icon / url | Name, icon image URL and in-app deep link for each region shortcut on the tab. |
result.hot.title / result.hot.items[] | Title of the hot recommendation section and its items. items was empty in this response. |
Notes
- The endpoint has no request parameters. Send
{}as the body. - Some modules, such as the
tipmodule, can return an emptyitemslist. - Banner
linkvalues point to a play page in the formhttps://www.bilibili.com/bangumi/play/ep<episode_id>. - To look at other app tabs, call Bilibili App Cinema Tab or Bilibili App Home Feed.
Pricing
$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
เริ่มสร้าง
ส่งคำขอแรกของคุณ
เอ็นด์พอยต์ของ Platform API ที่มีการยืนยันตัวตนและการติดตามการใช้งานแบบรวมศูนย์
curl -X POST "https://api.sandbase.ai/v1/api/bilibili/app/bangumi-tab" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'2. การยืนยันตัวตน
ตั้งค่า SandBase API key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
3. พารามิเตอร์
ยังไม่มีการเผยแพร่ schema ของพารามิเตอร์สำหรับ API นี้
4. การตอบกลับ
บันทึกตัวอย่างการตอบกลับสำหรับ API นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
[
{
"data": {
"code": 0,
"message": "success",
"result": {
"hot": {
"desc": "查看更多",
"items": [],
"title": "热点推荐",
"wid": 0
},
"modules": [
{
"attr": {
"follow": 0,
"header": 0,
"random": 0
},
"headers": [],
"items": [
{
"badge_info": {
"bg_color": "",
"bg_color_night": "",
"text": ""
},
"cover": "http://i0.hdslb.com/bfs/bangumi/image/c030ff67970da5e456dc16af0cb1242880ab8b2c.png",
"episode_id": 424179,
"is_preview": 0,
"item_id": 150352,
"link": "https://www.bilibili.com/bangumi/play/ep424179",
"oid": 424179,
"report": {
"card_type": "banner",
"item_id": "150352",
"module_id": "83",
"module_type": "banner",
"oid": "https://www.bilibili.com/bangumi/play/ep424179"
},
"source_content": {
"card_index": 0,
"client_ip": "164.92.68.108",
"index": 1,
"is_ad_loc": 1,
"request_id": "1786090931954q10a85a138a94q1596",
"resource_id": 3095,
"server_type": 0,
"source_id": 3096
},
"title": "乌冬面,偶尔遇见满月",
"type": "PGC"
},
{
"badge_info": {
"bg_color": "",
"bg_color_night": "",
"text": ""
},
"cover": "http://i0.hdslb.com/bfs/bangumi/image/79ab6c4e73f82ff30036c73cf576d0f17c61b5bb.png",
"episode_id": 424326,
"is_preview": 0,
"item_id": 150312,
"link": "https://www.bilibili.com/bangumi/play/ep424326",
"oid": 424326,
"report": {
"card_type": "banner",
"item_id": "150312",
"module_id": "83",
"module_type": "banner",
"oid": "https://www.bilibili.com/bangumi/play/ep424326"
},
"source_content": {
"card_index": 0,
"client_ip": "164.92.68.108",
"index": 2,
"is_ad_loc": 1,
"request_id": "1786090931954q10a85a138a94q1596",
"resource_id": 3095,
"server_type": 0,
"source_id": 3097
},
"title": "彷徨贤者",
"type": "PGC"
},
{
"badge_info": {
"bg_color": "",
"bg_color_night": "",
"text": ""
},
"cover": "http://i0.hdslb.com/bfs/bangumi/image/d99bd3601d51cb99aaee89a17ad9fedd80e0424e.jpg",
"episode_id": 423888,
"is_preview": 0,
"item_id": 150279,
"link": "https://www.bilibili.com/bangumi/play/ep423888",
"oid": 423888,
"report": {
"card_type": "banner",
"item_id": "150279",
"module_id": "83",
"module_type": "banner",
"oid": "https://www.bilibili.com/bangumi/play/ep423888"
},
"source_content": {
"card_index": 0,
"client_ip": "164.92.68.108",
"index": 3,
"is_ad_loc": 1,
"request_id": "1786090931954q10a85a138a94q1596",
"resource_id": 3095,
"server_type": 0,
"source_id": 3098
},
"title": "萌妻食神",
"type": "PGC"
},
"… 2 more items in the full response"
],
"module_id": 83,
"report": {
"module_id": "83",
"module_type": "banner"
},
"size": 6,
"style": "banner",
"title": "新版banner",
"type": 1,
"wid": [
283
]
},
{
"attr": {
"follow": 0,
"header": 0,
"random": 0
},
"headers": [],
"items": [
{
"badge_info": {
"bg_color": "",
"bg_color_night": "",
"text": ""
},
"cover": "http://i0.hdslb.com/bfs/bangumi/image/91aa81ed845e39c127a76c06e31bbe9d9b8cbfa3.png",
"is_preview": 0,
"item_id": 120629,
"link": "bilibili://pgc/bangumi",
"report": {
"card_type": "function",
"item_id": "120629",
"module_id": "1283",
"module_type": "function",
"oid": "bilibili://pgc/bangumi"
},
"title": "番剧",
"wid": 10394
},
{
"badge_info": {
"bg_color": "",
"bg_color_night": "",
"text": ""
},
"cover": "http://i0.hdslb.com/bfs/bangumi/image/e2b24dcc48b90a5ae095622a1bb48d3f8d8d2316.png",
"is_preview": 0,
"item_id": 120630,
"link": "bilibili://pgc/domestic",
"report": {
"card_type": "function",
"item_id": "120630",
"module_id": "1283",
"module_type": "function",
"oid": "bilibili://pgc/domestic"
},
"title": "国创",
"wid": 10394
},
{
"badge_info": {
"bg_color": "",
"bg_color_night": "",
"text": ""
},
"cover": "http://i0.hdslb.com/bfs/bangumi/image/641c4d638a93b5c2d0c744dbd7a1d57e6d443848.png",
"is_preview": 0,
"item_id": 120631,
"link": "bilibili://pgc/timeline",
"report": {
"card_type": "function",
"item_id": "120631",
"module_id": "1283",
"module_type": "function",
"oid": "bilibili://pgc/timeline"
},
"title": "时间表",
"wid": 10394
},
"… 2 more items in the full response"
],
"module_id": 1283,
"report": {
"module_id": "1283",
"module_type": "function"
},
"size": 5,
"style": "function",
"title": "功能入口",
"type": 1,
"wid": [
10394
]
},
{
"attr": {
"follow": 0,
"header": 0,
"random": 0
},
"headers": [],
"items": [],
"module_id": 170,
"report": {
"module_id": "170",
"module_type": "tip"
},
"size": 1,
"style": "tip",
"title": "付费提示条",
"type": 1,
"wid": []
},
"… 11 more items in the full response"
],
"regions": [
{
"icon": "http://i0.hdslb.com/bfs/bangumi/image/2e6f9066e4eb5f30d75a28c3bcaa7541dad5c95d.png",
"report": {
"card_type": "function",
"item_id": "24386",
"module_id": "241",
"module_type": "function"
},
"title": "全部内容",
"url": "bilibili://pgc/bangumi/index"
},
{
"icon": "http://i0.hdslb.com/bfs/bangumi/image/91aa81ed845e39c127a76c06e31bbe9d9b8cbfa3.png",
"report": {
"card_type": "function",
"item_id": "24383",
"module_id": "241",
"module_type": "function"
},
"title": "番剧",
"url": "bilibili://pgc/partition_page?page_name=bangumi-operation&title=%E7%95%AA%E5%89%A7&select_id=1"
},
{
"icon": "http://i0.hdslb.com/bfs/bangumi/image/e2b24dcc48b90a5ae095622a1bb48d3f8d8d2316.png",
"report": {
"card_type": "function",
"item_id": "24384",
"module_id": "241",
"module_type": "function"
},
"title": "国创",
"url": "bilibili://pgc/partition_page?page_name=gc-operation&title=%E5%9B%BD%E5%88%9B&select_id=1"
},
"… 2 more items in the full response"
]
}
}
}
]สำรวจเพิ่มเติม
APIs ที่เกี่ยวข้อง
| API | ราคา | การตอบกลับ |
|---|---|---|
Bilibili App Bangumi TabAPI นี้ Bilibili | $0.001 ต่อการเรียก | JSON |
Bilibili | $0.001 ต่อการเรียก | JSON |
Bilibili | $0.001 ต่อการเรียก | JSON |
Bilibili | $0.001 ต่อการเรียก | JSON |
Bilibili | $0.001 ต่อการเรียก | JSON |
Bilibili | $0.001 ต่อการเรียก | JSON |
คำถาม
คำถามที่พบบ่อย
ฉันจะใช้ Bilibili App Bangumi Tab API ได้อย่างไร?
ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/bilibili/app/bangumi-tab โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
Bilibili App Bangumi Tab API ราคาเท่าไร?
$0.001 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน
Bilibili App Bangumi Tab API รับพารามิเตอร์อะไรบ้าง?
Bilibili App Bangumi Tab ไม่รับพารามิเตอร์อินพุต ส่ง JSON body ว่างเปล่า
Bilibili App Bangumi Tab API ส่งคืนอะไร?
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ
ฉันจำเป็นต้องมีบัญชีนักพัฒนาหรือ API key ของ Bilibili ไหม?
ไม่จำเป็น Bilibili App Bangumi Tab ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Bilibili API แยกต่างหาก
