flushinteger
Flush flag (0=normal load, 1=refresh)
Mặc định: 0
https://api.sandbase.ai/v1/api/bilibili/app/home-feedReturns recommended video items from the Bilibili app home feed. Supports pagination via timestamp index and pull-to-refresh controls.
[
{
"data": {
"code": 0,
"data": {
"config": {
"auto_refresh_time": 1200,
"auto_refresh_time_by_active": 1200,
"auto_refresh_time_by_appear": 1200,
"autoplay_card": 2,
"card_density_exp": 1,
"column": 2,
"enable_rcmd_guide": true,
"feed_clean_abtest": 0,
"home_transfer_test": 0,
"inline_sound": 2,
"is_back_to_homepage": true,
"pegasus_code": -1200,
"rcmd_label_mng_entrance": 0,
"show_inline_danmaku": 1,
"small_cover_wh_ratio": 1.33,
"space_enlarge_exp": 1,
"toast": {},
"visible_area": 80
},
"interest_choose": null,
"items": [
{
"args": {
"aid": 117378520259290,
"tid": 68,
"tname": "鬼畜",
"up_id": 632887,
"up_name": "伢伢gagako"
},
"can_play": 1,
"card_goto": "av",
"card_type": "small_cover_v2",
"cover": "http://i2.hdslb.com/bfs/archive/bc86edae71763e450b07709de96d7f5af3eaa13b.jpg",
"cover_info_priority": 123,
"cover_left_1_content_description": "609.7万观看",
"cover_left_2_content_description": "1149弹幕",
"cover_left_icon_1": 1,
"cover_left_icon_2": 3,
"cover_left_text_1": "609.7万",
"cover_left_text_2": "1149",
"cover_right_content_description": "1分钟15秒",
"cover_right_text": "1:15",
"desc_button": {
"event": "nickname",
"text": "伢伢gagako",
"type": 1,
"uri": "bilibili://space/632887"
},
"goto": "av",
"goto_icon": {
"icon_height": 16,
"icon_night_url": "https://i0.hdslb.com/bfs/activity-plat/static/20230227/0977767b2e79d8ad0a36a731068a83d7/ldbCXtkoK2.png",
"icon_url": "https://i0.hdslb.com/bfs/activity-plat/static/20230227/0977767b2e79d8ad0a36a731068a83d7/077GOeHOfO.png",
"icon_width": 16
},
"idx": 1791290317,
"official_icon": 16,
"param": "117378520259290",
"player_args": {
"aid": 117378520259290,
"cid": 42438298118,
"duration": 75,
"type": "av"
},
"report_flow_data": "{\"flow_card_type\":\"av\"}",
"talk_back": "视频,⚡️ 疯 狂 闪 身 步 ⚡️,609.7万观看,1149弹幕,时长1分钟15秒,UP主伢伢gagako,",
"three_point": {
"dislike_reasons": [
{
"id": 4,
"name": "UP主:伢伢gagako",
"toast": "将减少相似内容推荐"
},
{
"id": 3,
"name": "频道:鬼畜",
"toast": "将减少相似内容推荐"
},
{
"id": 12,
"name": "此类内容过多",
"toast": "将减少相似内容推荐"
},
"… 2 more items in the full response"
],
"feedbacks": [
{
"id": 1,
"name": "恐怖血腥",
"toast": "将优化首页此类内容"
},
{
"id": 2,
"name": "色情低俗",
"toast": "将优化首页此类内容"
},
{
"id": 3,
"name": "封面恶心",
"toast": "将优化首页此类内容"
},
"… 1 more items in the full response"
],
"watch_later": 1
},
"three_point_v": "v2",
"three_point_v2": [
{
"icon": "https://i0.hdslb.com/bfs/activity-plat/static/ce06d65bc0a8d8aa2a463747ce2a4752/NyPAqcn0QF.png",
"title": "添加至稍后再看",
"type": "watch_later"
},
{
"reasons": [
{
"id": 1,
"name": "恐怖血腥",
"toast": "将优化首页此类内容"
},
{
"id": 2,
"name": "色情低俗",
"toast": "将优化首页此类内容"
},
{
"id": 3,
"name": "封面恶心",
"toast": "将优化首页此类内容"
},
"… 1 more items in the full response"
],
"subtitle": "(选择后将优化首页此类内容)",
"title": "反馈",
"type": "feedback"
},
{
"reasons": [
{
"id": 4,
"name": "UP主:伢伢gagako",
"toast": "将减少相似内容推荐"
},
{
"id": 3,
"name": "频道:鬼畜",
"toast": "将减少相似内容推荐"
},
{
"id": 12,
"name": "此类内容过多",
"toast": "将减少相似内容推荐"
},
"… 2 more items in the full response"
],
"subtitle": "(选择后将减少相似内容推荐)",
"title": "不感兴趣",
"type": "dislike"
}
],
"title": "⚡️ 疯 狂 闪 身 步 ⚡️",
"track_id": "gateway_fb_58993830fd2d7e6e1896d167226ac4eb",
"uri": "bilibili://video/117378520259290?cid=42438298118&player_height=2160&player_preload=%7B%22expire_time%22%3A1791293912%2C%22cid%22%3A42438298118%2C%22quality%22%3A32%2C%22file_info%22%3A%7B%2216%22%3A%7B%22infos%22%3A%5B%7B%22filesize%22%3A2161250%2C%22timelength%22%3A74666%7D%5D%7D%2C%2232%22%3A%7B%22infos%22%3A%5B%7B%22filesize%22%3A3192395%2C%22timelength%22%3A74666%7D%5D%7D%2C%2264%22%3A%7B%22infos%22%3A%5B%7B%22filesize%22%3A5590781%2C%22timelength%22%3A74666%7D%5D%7D%2C%2280%22%3A%7B%22infos%22%3A%5B%7B%22filesize%22%3A11507978%2C%22timelength%22%3A74666%7D%5D%7D%7D%2C%22video_codecid%22%3…"
},
{
"args": {
"aid": 117355585737986,
"tid": 1615271,
"tname": "米哈游",
"up_id": 401742377,
"up_name": "原神"
},
"can_play": 1,
"card_goto": "av",
"card_type": "small_cover_v2",
"cover": "http://i0.hdslb.com/bfs/archive/29039a908967d67804af8bc1702def8e00f79374.jpg",
"cover_info_priority": 123,
"cover_left_1_content_description": "137.1万观看",
"cover_left_2_content_description": "4135弹幕",
"cover_left_icon_1": 1,
"cover_left_icon_2": 3,
"cover_left_text_1": "137.1万",
"cover_left_text_2": "4135",
"cover_right_content_description": "12分钟14秒",
"cover_right_text": "12:14",
"desc_button": {
"event": "nickname",
"text": "原神",
"type": 1,
"uri": "bilibili://space/401742377"
},
"goto": "av",
"goto_icon": {
"icon_height": 16,
"icon_night_url": "https://i0.hdslb.com/bfs/activity-plat/static/20230227/0977767b2e79d8ad0a36a731068a83d7/ldbCXtkoK2.png",
"icon_url": "https://i0.hdslb.com/bfs/activity-plat/static/20230227/0977767b2e79d8ad0a36a731068a83d7/077GOeHOfO.png",
"icon_width": 16
},
"idx": 1791290316,
"official_icon": 17,
"param": "117355585737986",
"player_args": {
"aid": 117355585737986,
"cid": 42317909895,
"duration": 734,
"type": "av"
},
"report_flow_data": "{\"flow_card_type\":\"av\"}",
"talk_back": "视频,《原神》剧情PV-「燕归来」,137.1万观看,4135弹幕,时长12分钟14秒,UP主原神,",
"three_point": {
"dislike_reasons": [
{
"id": 4,
"name": "UP主:原神",
"toast": "将减少相似内容推荐"
},
{
"id": 3,
"name": "频道:米哈游",
"toast": "将减少相似内容推荐"
},
{
"id": 12,
"name": "此类内容过多",
"toast": "将减少相似内容推荐"
},
"… 2 more items in the full response"
],
"feedbacks": [
{
"id": 1,
"name": "恐怖血腥",
"toast": "将优化首页此类内容"
},
{
"id": 2,
"name": "色情低俗",
"toast": "将优化首页此类内容"
},
{
"id": 3,
"name": "封面恶心",
"toast": "将优化首页此类内容"
},
"… 1 more items in the full response"
],
"watch_later": 1
},
"three_point_v": "v2",
"three_point_v2": [
{
"icon": "https://i0.hdslb.com/bfs/activity-plat/static/ce06d65bc0a8d8aa2a463747ce2a4752/NyPAqcn0QF.png",
"title": "添加至稍后再看",
"type": "watch_later"
},
{
"reasons": [
{
"id": 1,
"name": "恐怖血腥",
"toast": "将优化首页此类内容"
},
{
"id": 2,
"name": "色情低俗",
"toast": "将优化首页此类内容"
},
{
"id": 3,
"name": "封面恶心",
"toast": "将优化首页此类内容"
},
"… 1 more items in the full response"
],
"subtitle": "(选择后将优化首页此类内容)",
"title": "反馈",
"type": "feedback"
},
{
"reasons": [
{
"id": 4,
"name": "UP主:原神",
"toast": "将减少相似内容推荐"
},
{
"id": 3,
"name": "频道:米哈游",
"toast": "将减少相似内容推荐"
},
{
"id": 12,
"name": "此类内容过多",
"toast": "将减少相似内容推荐"
},Chọn một ví dụ để nạp đầu vào và kết quả của nó vào playground.
Returns a page of recommended video cards from the Bilibili app home feed. Each card has the title, cover, creator, view and danmaku text, and duration. All inputs are optional, so an empty request returns a first page.
up_name, tname) that appear in the feed.args.aid values into a video detail call to get full metadata for each recommended video.curl -X POST "https://api.sandbase.ai/v1/api/bilibili/app/home-feed" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
flush | integer | No | Flush flag (0=normal load, 1=refresh) |
idx | integer | No | Page index, defaults to current timestamp |
pull | boolean | No | Pull to refresh |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"code": 0,
"data": {
"config": {
"auto_refresh_time": 1200,
"auto_refresh_time_by_active": 1800,
"auto_refresh_time_by_appear": 1800,
"autoplay_card": 2,
"card_density_exp": 1,
"close_small_window": 1,
"column": 2,
"enable_rcmd_guide": true,
"exposure_duration_end_ratio": 0.800000011920929,
"exposure_duration_min_ms": 1,
"exposure_duration_start_ratio": 0.800000011920929,
"feed_clean_abtest": 0
},
"interest_choose": null,
"items": [
{
"ad_info": {
"card_index": 1,
"client_ip": "146.190.39.116",
"index": 1,
"is_ad_loc": true,
"request_id": "1793690837234q10a90a18a61q4499",
"resource": 1897,
"source": 1898
},
"args": {
"aid": 117522066114493,
"tid": 19822077,
"tname": "#悬疑推理",
"up_id": 281188808,
"up_name": "听风的蚕基地"
},
"can_play": 1,
"card_goto": "av",
"card_type": "small_cover_v2",
"cover": "http://i1.hdslb.com/bfs/archive/87c3fe6006d435225f498f2960d0f72ec970d5fa.jpg",
"cover_info_priority": 123,
"cover_left_1_content_description": "2491观看",
"cover_left_2_content_description": "-弹幕",
"cover_left_icon_1": 1,
"cover_left_icon_2": 3,
"cover_left_text_1": "2491"
}
]
},
"message": "OK",
"ttl": 1
}
| Field | Meaning |
|---|---|
data.items[].title | Title of the recommended video. |
data.items[].args.aid | Numeric ID of the video. It matches param and player_args.aid. |
data.items[].args.up_id / data.items[].args.up_name | ID and display name of the creator who uploaded the video. |
data.items[].args.tid / data.items[].args.tname | ID and name of the channel or tag attached to the video, for example #悬疑推理. |
data.items[].cover | URL of the cover image. |
data.items[].cover_left_text_1 / data.items[].cover_left_text_2 | View count and danmaku count as display text, for example 1.7万. A - means no count is shown. |
data.items[].cover_right_text / data.items[].player_args.duration | Video length as display text such as 13:01, and as a number 781, which equals 13 minutes 1 second. |
data.items[].player_args.cid | ID of the video part (cid) used by the player. |
data.items[].uri | App deep link that opens the video in the Bilibili app. |
data.items[].idx | Index value of the card. It looks like a Unix timestamp in seconds and counts down by one from card to card. |
{} to get the first page. idx defaults to the current timestamp.idx as the idx parameter. Use flush set to 1 for a refresh load.ad_info object. Items without it are normal video cards.args.aid to Bilibili App Single Video Details.$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Bắt đầu xây dựng
Endpoint API của nền tảng với xác thực và theo dõi mức sử dụng thống nhất.
curl -X POST "https://api.sandbase.ai/v1/api/bilibili/app/home-feed" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"pull": true,
"flush": 0
}'Đặt SandBase API key của bạn trong môi trường máy chủ. Các request sử dụng xác thực Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Giữ key của bạn trên máy chủ. Không hiển thị trong mã chạy trên trình duyệt.
flushintegerFlush flag (0=normal load, 1=refresh)
Mặc định: 0
idxintegerPage index, defaults to current timestamp
pullbooleanPull to refresh
Mặc định: true
Đây là phản hồi ví dụ đã lưu cho API này; không có request thực nào được gửi khi xem mục này.
[
{
"data": {
"code": 0,
"data": {
"config": {
"auto_refresh_time": 1200,
"auto_refresh_time_by_active": 1200,
"auto_refresh_time_by_appear": 1200,
"autoplay_card": 2,
"card_density_exp": 1,
"column": 2,
"enable_rcmd_guide": true,
"feed_clean_abtest": 0,
"home_transfer_test": 0,
"inline_sound": 2,
"is_back_to_homepage": true,
"pegasus_code": -1200,
"rcmd_label_mng_entrance": 0,
"show_inline_danmaku": 1,
"small_cover_wh_ratio": 1.33,
"space_enlarge_exp": 1,
"toast": {},
"visible_area": 80
},
"interest_choose": null,
"items": [
{
"args": {
"aid": 117378520259290,
"tid": 68,
"tname": "鬼畜",
"up_id": 632887,
"up_name": "伢伢gagako"
},
"can_play": 1,
"card_goto": "av",
"card_type": "small_cover_v2",
"cover": "http://i2.hdslb.com/bfs/archive/bc86edae71763e450b07709de96d7f5af3eaa13b.jpg",
"cover_info_priority": 123,
"cover_left_1_content_description": "609.7万观看",
"cover_left_2_content_description": "1149弹幕",
"cover_left_icon_1": 1,
"cover_left_icon_2": 3,
"cover_left_text_1": "609.7万",
"cover_left_text_2": "1149",
"cover_right_content_description": "1分钟15秒",
"cover_right_text": "1:15",
"desc_button": {
"event": "nickname",
"text": "伢伢gagako",
"type": 1,
"uri": "bilibili://space/632887"
},
"goto": "av",
"goto_icon": {
"icon_height": 16,
"icon_night_url": "https://i0.hdslb.com/bfs/activity-plat/static/20230227/0977767b2e79d8ad0a36a731068a83d7/ldbCXtkoK2.png",
"icon_url": "https://i0.hdslb.com/bfs/activity-plat/static/20230227/0977767b2e79d8ad0a36a731068a83d7/077GOeHOfO.png",
"icon_width": 16
},
"idx": 1791290317,
"official_icon": 16,
"param": "117378520259290",
"player_args": {
"aid": 117378520259290,
"cid": 42438298118,
"duration": 75,
"type": "av"
},
"report_flow_data": "{\"flow_card_type\":\"av\"}",
"talk_back": "视频,⚡️ 疯 狂 闪 身 步 ⚡️,609.7万观看,1149弹幕,时长1分钟15秒,UP主伢伢gagako,",
"three_point": {
"dislike_reasons": [
{
"id": 4,
"name": "UP主:伢伢gagako",
"toast": "将减少相似内容推荐"
},
{
"id": 3,
"name": "频道:鬼畜",
"toast": "将减少相似内容推荐"
},
{
"id": 12,
"name": "此类内容过多",
"toast": "将减少相似内容推荐"
},
"… 2 more items in the full response"
],
"feedbacks": [
{
"id": 1,
"name": "恐怖血腥",
"toast": "将优化首页此类内容"
},
{
"id": 2,
"name": "色情低俗",
"toast": "将优化首页此类内容"
},
{
"id": 3,
"name": "封面恶心",
"toast": "将优化首页此类内容"
},
"… 1 more items in the full response"
],
"watch_later": 1
},
"three_point_v": "v2",
"three_point_v2": [
{
"icon": "https://i0.hdslb.com/bfs/activity-plat/static/ce06d65bc0a8d8aa2a463747ce2a4752/NyPAqcn0QF.png",
"title": "添加至稍后再看",
"type": "watch_later"
},
{
"reasons": [
{
"id": 1,
"name": "恐怖血腥",
"toast": "将优化首页此类内容"
},
{
"id": 2,
"name": "色情低俗",
"toast": "将优化首页此类内容"
},
{
"id": 3,
"name": "封面恶心",
"toast": "将优化首页此类内容"
},
"… 1 more items in the full response"
],
"subtitle": "(选择后将优化首页此类内容)",
"title": "反馈",
"type": "feedback"
},
{
"reasons": [
{
"id": 4,
"name": "UP主:伢伢gagako",
"toast": "将减少相似内容推荐"
},
{
"id": 3,
"name": "频道:鬼畜",
"toast": "将减少相似内容推荐"
},
{
"id": 12,
"name": "此类内容过多",
"toast": "将减少相似内容推荐"
},
"… 2 more items in the full response"
],
"subtitle": "(选择后将减少相似内容推荐)",
"title": "不感兴趣",
"type": "dislike"
}
],
"title": "⚡️ 疯 狂 闪 身 步 ⚡️",
"track_id": "gateway_fb_58993830fd2d7e6e1896d167226ac4eb",
"uri": "bilibili://video/117378520259290?cid=42438298118&player_height=2160&player_preload=%7B%22expire_time%22%3A1791293912%2C%22cid%22%3A42438298118%2C%22quality%22%3A32%2C%22file_info%22%3A%7B%2216%22%3A%7B%22infos%22%3A%5B%7B%22filesize%22%3A2161250%2C%22timelength%22%3A74666%7D%5D%7D%2C%2232%22%3A%7B%22infos%22%3A%5B%7B%22filesize%22%3A3192395%2C%22timelength%22%3A74666%7D%5D%7D%2C%2264%22%3A%7B%22infos%22%3A%5B%7B%22filesize%22%3A5590781%2C%22timelength%22%3A74666%7D%5D%7D%2C%2280%22%3A%7B%22infos%22%3A%5B%7B%22filesize%22%3A11507978%2C%22timelength%22%3A74666%7D%5D%7D%7D%2C%22video_codecid%22%3…"
},
{
"args": {
"aid": 117355585737986,
"tid": 1615271,
"tname": "米哈游",
"up_id": 401742377,
"up_name": "原神"
},
"can_play": 1,
"card_goto": "av",
"card_type": "small_cover_v2",
"cover": "http://i0.hdslb.com/bfs/archive/29039a908967d67804af8bc1702def8e00f79374.jpg",
"cover_info_priority": 123,
"cover_left_1_content_description": "137.1万观看",
"cover_left_2_content_description": "4135弹幕",
"cover_left_icon_1": 1,
"cover_left_icon_2": 3,
"cover_left_text_1": "137.1万",
"cover_left_text_2": "4135",
"cover_right_content_description": "12分钟14秒",
"cover_right_text": "12:14",
"desc_button": {
"event": "nickname",
"text": "原神",
"type": 1,
"uri": "bilibili://space/401742377"
},
"goto": "av",
"goto_icon": {
"icon_height": 16,
"icon_night_url": "https://i0.hdslb.com/bfs/activity-plat/static/20230227/0977767b2e79d8ad0a36a731068a83d7/ldbCXtkoK2.png",
"icon_url": "https://i0.hdslb.com/bfs/activity-plat/static/20230227/0977767b2e79d8ad0a36a731068a83d7/077GOeHOfO.png",
"icon_width": 16
},
"idx": 1791290316,
"official_icon": 17,
"param": "117355585737986",
"player_args": {
"aid": 117355585737986,
"cid": 42317909895,
"duration": 734,
"type": "av"
},
"report_flow_data": "{\"flow_card_type\":\"av\"}",
"talk_back": "视频,《原神》剧情PV-「燕归来」,137.1万观看,4135弹幕,时长12分钟14秒,UP主原神,",
"three_point": {
"dislike_reasons": [
{
"id": 4,
"name": "UP主:原神",
"toast": "将减少相似内容推荐"
},
{
"id": 3,
"name": "频道:米哈游",
"toast": "将减少相似内容推荐"
},
{
"id": 12,
"name": "此类内容过多",
"toast": "将减少相似内容推荐"
},
"… 2 more items in the full response"
],
"feedbacks": [
{
"id": 1,
"name": "恐怖血腥",
"toast": "将优化首页此类内容"
},
{
"id": 2,
"name": "色情低俗",
"toast": "将优化首页此类内容"
},
{
"id": 3,
"name": "封面恶心",
"toast": "将优化首页此类内容"
},
"… 1 more items in the full response"
],
"watch_later": 1
},
"three_point_v": "v2",
"three_point_v2": [
{
"icon": "https://i0.hdslb.com/bfs/activity-plat/static/ce06d65bc0a8d8aa2a463747ce2a4752/NyPAqcn0QF.png",
"title": "添加至稍后再看",
"type": "watch_later"
},
{
"reasons": [
{
"id": 1,
"name": "恐怖血腥",
"toast": "将优化首页此类内容"
},
{
"id": 2,
"name": "色情低俗",
"toast": "将优化首页此类内容"
},
{
"id": 3,
"name": "封面恶心",
"toast": "将优化首页此类内容"
},
"… 1 more items in the full response"
],
"subtitle": "(选择后将优化首页此类内容)",
"title": "反馈",
"type": "feedback"
},
{
"reasons": [
{
"id": 4,
"name": "UP主:原神",
"toast": "将减少相似内容推荐"
},
{
"id": 3,
"name": "频道:米哈游",
"toast": "将减少相似内容推荐"
},
{
"id": 12,
"name": "此类内容过多",
"toast": "将减少相似内容推荐"
},
"… 2 more items in the full response"
],
"subtitle": "(选择后将减少相似内容推荐)",
"title": "不感兴趣",
"type": "dislike"
}
],
"title": "《原神》剧情PV-「燕归来」",
"track_id": "gateway_fb_58993830fd2d7e6e1896d167226ac4eb",
"uri": "bilibili://video/117355585737986?cid=42317909895&player_height=1080&player_preload=%7B%22expire_time%22%3A1791293912%2C%22cid%22%3A42317909895%2C%22quality%22%3A32%2C%22file_info%22%3A%7B%2216%22%3A%7B%22infos%22%3A%5B%7B%22filesize%22%3A6132424%2C%22timelength%22%3A181933%7D%5D%7D%2C%2232%22%3A%7B%22infos%22%3A%5B%7B%22filesize%22%3A8810297%2C%22timelength%22%3A181933%7D%5D%7D%2C%2264%22%3A%7B%22infos%22%3A%5B%7B%22filesize%22%3A17173849%2C%22timelength%22%3A181933%7D%5D%7D%2C%2280%22%3A%7B%22infos%22%3A%5B%7B%22filesize%22%3A39451355%2C%22timelength%22%3A181933%7D%5D%7D%7D%2C%22video_codecid…"
},
{
"args": {
"aid": 117369594708971,
"tid": 10071,
"tname": "植物大战僵尸",
"up_id": 1833034220,
"up_name": "小易EXS"
},
"can_play": 1,
"card_goto": "av",
"card_type": "small_cover_v2",
"cover": "http://i1.hdslb.com/bfs/archive/c36f45ffa1f710553a833e438db412929312057d.jpg",
"cover_info_priority": 123,
"cover_left_1_content_description": "261.7万观看",
"cover_left_2_content_description": "982弹幕",
"cover_left_icon_1": 1,
"cover_left_icon_2": 3,
"cover_left_text_1": "261.7万",
"cover_left_text_2": "982",
"cover_right_content_description": "3分钟48秒",
"cover_right_text": "3:48",
"desc_button": {
"event": "nickname",
"text": "小易EXS",
"type": 1,
"uri": "bilibili://space/1833034220"
},
"goto": "av",
"goto_icon": {
"icon_height": 16,
"icon_night_url": "https://i0.hdslb.com/bfs/activity-plat/static/20230227/0977767b2e79d8ad0a36a731068a83d7/ldbCXtkoK2.png",
"icon_url": "https://i0.hdslb.com/bfs/activity-plat/static/20230227/0977767b2e79d8ad0a36a731068a83d7/077GOeHOfO.png",
"icon_width": 16
},
"idx": 1791290315,
"param": "117369594708971",
"player_args": {
"aid": 117369594708971,
"cid": 42388621893,
"duration": 228,
"type": "av"
},
"report_flow_data": "{\"flow_card_type\":\"av\"}",
"talk_back": "视频,有用版新僵尸:盲人撑杆,261.7万观看,982弹幕,时长3分钟48秒,UP主小易EXS,",
"three_point": {
"dislike_reasons": [
{
"id": 4,
"name": "UP主:小易EXS",
"toast": "将减少相似内容推荐"
},
{
"id": 3,
"name": "频道:植物大战僵尸",
"toast": "将减少相似内容推荐"
},
{
"id": 12,
"name": "此类内容过多",
"toast": "将减少相似内容推荐"
},
"… 2 more items in the full response"
],
"feedbacks": [
{
"id": 1,
"name": "恐怖血腥",
"toast": "将优化首页此类内容"
},
{
"id": 2,
"name": "色情低俗",
"toast": "将优化首页此类内容"
},
{
"id": 3,
"name": "封面恶心",
"toast": "将优化首页此类内容"
},
"… 1 more items in the full response"
],
"watch_later": 1
},
"three_point_v": "v2",
"three_point_v2": [
{
"icon": "https://i0.hdslb.com/bfs/activity-plat/static/ce06d65bc0a8d8aa2a463747ce2a4752/NyPAqcn0QF.png",
"title": "添加至稍后再看",
"type": "watch_later"
},
{
"reasons": [
{
"id": 1,
"name": "恐怖血腥",
"toast": "将优化首页此类内容"
},
{
"id": 2,
"name": "色情低俗",
"toast": "将优化首页此类内容"
},
{
"id": 3,
"name": "封面恶心",
"toast": "将优化首页此类内容"
},
"… 1 more items in the full response"
],
"subtitle": "(选择后将优化首页此类内容)",
"title": "反馈",
"type": "feedback"
},
{
"reasons": [
{
"id": 4,
"name": "UP主:小易EXS",
"toast": "将减少相似内容推荐"
},
{
"id": 3,
"name": "频道:植物大战僵尸",
"toast": "将减少相似内容推荐"
},
{
"id": 12,
"name": "此类内容过多",
"toast": "将减少相似内容推荐"
},
"… 2 more items in the full response"
],
"subtitle": "(选择后将减少相似内容推荐)",
"title": "不感兴趣",
"type": "dislike"
}
],
"title": "有用版新僵尸:盲人撑杆",
"track_id": "gateway_fb_58993830fd2d7e6e1896d167226ac4eb",
"uri": "bilibili://video/117369594708971?cid=42388621893&player_height=1080&player_preload=%7B%22expire_time%22%3A1791293912%2C%22cid%22%3A42388621893%2C%22quality%22%3A32%2C%22file_info%22%3A%7B%2216%22%3A%7B%22infos%22%3A%5B%7B%22filesize%22%3A10824812%2C%22timelength%22%3A227232%7D%5D%7D%2C%2232%22%3A%7B%22infos%22%3A%5B%7B%22filesize%22%3A16335813%2C%22timelength%22%3A227232%7D%5D%7D%2C%2264%22%3A%7B%22infos%22%3A%5B%7B%22filesize%22%3A25188756%2C%22timelength%22%3A227232%7D%5D%7D%2C%2280%22%3A%7B%22infos%22%3A%5B%7B%22filesize%22%3A48448140%2C%22timelength%22%3A227232%7D%5D%7D%7D%2C%22video_codec…"
},
"… 3 more items in the full response"
]
},
"message": "OK",
"ttl": 1
}
}
]Khám phá thêm
| API | Giá | Phản hồi |
|---|---|---|
Bilibili App Home FeedAPI này Bilibili | $0.001 mỗi lần gọi | JSON |
Bilibili | $0.001 mỗi lần gọi | JSON |
Bilibili | $0.001 mỗi lần gọi | JSON |
Bilibili | $0.001 mỗi lần gọi | JSON |
Bilibili | $0.001 mỗi lần gọi | JSON |
Bilibili | $0.001 mỗi lần gọi | JSON |
Câu hỏi
Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/bilibili/app/home-feed với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.
$0.001 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.
Không có tham số bắt buộc. Tùy chọn: flush (integer), idx (integer) và pull (boolean). Bảng Parameters và Playground trên trang này liệt kê mọi trường.
Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.
Không. Bilibili App Home Feed chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của Bilibili.