Sand AISand AI MAGI-2MAGI-2 现已上线 SandBase:支持原生音频的 1080p 视频立即试用

Bilibili App Popular Feed

API 文档
https://api.sandbase.ai/v1/api/bilibili/app/popular-feed

Retrieves popular video feed items from the Bilibili app. Supports pagination through page index and previous video identifiers.

价格
$0.001美元 / 次调用
方法
POST
响应
JSON
参数
0 个必填 · 2 个可选

Playground

输入
Page index (starting from 1)
Last video ID from previous page (for pagination)
输出示例
响应outputs · 7.2 KB · 161 行
[
  {
    "data": {
      "code": 0,
      "config": {
        "bottom_text": "已经到达热门的尽头惹,<em class=\"keyword\">关于热门</em>",
        "bottom_text_cover": "https://i0.hdslb.com/bfs/archive/10814950191d33ba6eb6f29439e27399c3eeee37.png",
        "bottom_text_url": "https://www.bilibili.com/blackboard/activity-RKWxGjjMb.html",
        "head_image": "https://i0.hdslb.com/bfs/legacy/1e7a9273bba1e3c20fecd7e69274278affd52e0f.png",
        "item_title": "当前热门",
        "share_info": {
          "current_title": "全部热门",
          "current_top_photo": "https://i0.hdslb.com/bfs/legacy/1e7a9273bba1e3c20fecd7e69274278affd52e0f.png",
          "share_desc": "",
          "share_icon": "https://i0.hdslb.com/bfs/activity-plat/static/20190424/df3e2ff90b315fca2f8d24a29cb68a47/FBbBDzA5y.png",
          "share_sub_title": "全站最热的视频都在这儿,你最喜欢哪一个?",
          "share_title": "哔哩哔哩热门"
        },
        "top_items": [
          {
            "entrance_id": 4,
            "icon": "http://i0.hdslb.com/bfs/archive/a3f11218aaf4521b4967db2ae164ecd3052586b9.png",
            "module_id": "rank",
            "title": "排行榜",
            "uri": "bilibili://rank?type=all"
          },
          {
            "entrance_id": 9,
            "icon": "http://i0.hdslb.com/bfs/archive/f7a062d5e6721af0555c0a9d72544d46c4571983.png",
            "module_id": "hot-channel",
            "title": "美食",
            "top_photo": "https://i0.hdslb.com/bfs/legacy/9e7e685b28ff67181bb62f3d68750b73df5c4d9f.png",
            "uri": "http://www.bilibili.com/h5/popular/9?navhide=1"
          },
          {
            "bubble": {
              "bubble_content": "有更新",
              "stime": 1779445372,
              "version": 381
            },
            "entrance_id": 5,
            "icon": "http://i0.hdslb.com/bfs/archive/552ebe8c4794aeef30ebd1568b59ad35f15e21ad.png",
            "module_id": "weekly-selected",
            "title": "每周必看",
            "uri": "https://www.bilibili.com/h5/weekly-recommend?navhide=1"
          }
        ]
      },
      "data": [
        {
          "args": {},
          "bvid": "BV1BJao6BE71",
          "card_goto": "av",
          "card_type": "small_cover_v5",
          "cover": "http://i1.hdslb.com/bfs/archive/05fb3469983c0edc80614fb730cb559c1178bd57.jpg",
          "cover_right_text_1": "23:59",
          "from_type": "recommend",
          "goto": "av",
          "idx": 2,
          "is_popular": true,
          "param": "117359712997385",
          "rcmd_reason_style": {
            "bg_style": 2,
            "border_color": "#FFFB9E60",
            "border_color_night": "#BC7A4F",
            "text": "百万播放",
            "text_color": "#FFFB9E60",
            "text_color_night": "#BC7A4F"
          },
          "right_desc_1": "小潮院长 等联合创作",
          "right_desc_2": "223.2万观看 · 昨天 12:00",
          "three_point": {
            "watch_later": 1
          },
          "three_point_v2": [
            {
              "title": "添加至稍后再看",
              "type": "watch_later"
            }
          ],
          "title": "惊惊惊惊惊惊惊惊了",
          "track_id": "hot_0.router-main-2479592-6qndn.1791290355564.53",
          "uri": "bilibili://video/117359712997385?cid=42337698667&player_height=2160&player_preload=%7B%22expire_time%22%3A1791293955%2C%22cid%22%3A42337698667%2C%22support_quality%22%3A%5B116%2C80%2C64%2C32%2C16%5D%2C%22support_formats%22%3A%5B%22flv_p60%22%2C%22flv%22%2C%22flv720%22%2C%22flv480%22%2C%22mp4%22%5D%2C%22support_description%22%3A%5B%22%E9%AB%98%E6%B8%85%201080P60%22%2C%22%E9%AB%98%E6%B8%85%201080P%22%2C%22%E9%AB%98%E6%B8%85%20720P%22%2C%22%E6%B8%85%E6%99%B0%20480P%22%2C%22%E6%B5%81%E7%95%85%20360P%22%5D%2C%22quality%22%3A32%2C%22file_info%22%3A%7B%2216%22%3A%7B%22infos%22%3A%5B%7B%22filesize%22%…"
        },
        {
          "args": {},
          "bvid": "BV1MSHY6eEq9",
          "card_goto": "av",
          "card_type": "small_cover_v5",
          "cover": "http://i1.hdslb.com/bfs/archive/49f32d6e1667d9fd604666db302a6e1a66d97f76.jpg",
          "cover_right_text_1": "1:35",
          "from_type": "recommend",
          "goto": "av",
          "idx": 3,
          "is_popular": true,
          "param": "117375131191999",
          "rcmd_reason_style": {
            "bg_style": 2,
            "border_color": "#FFFB9E60",
            "border_color_night": "#BC7A4F",
            "text": "百万播放",
            "text_color": "#FFFB9E60",
            "text_color_night": "#BC7A4F"
          },
          "right_desc_1": "咪克菌",
          "right_desc_2": "247.4万观看 · 3天前",
          "three_point": {
            "watch_later": 1
          },
          "three_point_v2": [
            {
              "title": "添加至稍后再看",
              "type": "watch_later"
            }
          ],
          "title": "你管这叫留守老人?",
          "track_id": "hot_0.router-main-2479592-6qndn.1791290355564.53",
          "uri": "bilibili://video/117375131191999?cid=42417522439&player_height=1080&player_preload=%7B%22expire_time%22%3A1791293955%2C%22cid%22%3A42417522439%2C%22support_quality%22%3A%5B112%2C80%2C64%2C32%2C16%5D%2C%22support_formats%22%3A%5B%22hdflv2%22%2C%22flv%22%2C%22flv720%22%2C%22flv480%22%2C%22mp4%22%5D%2C%22support_description%22%3A%5B%22%E9%AB%98%E6%B8%85%201080P%2B%22%2C%22%E9%AB%98%E6%B8%85%201080P%22%2C%22%E9%AB%98%E6%B8%85%20720P%22%2C%22%E6%B8%85%E6%99%B0%20480P%22%2C%22%E6%B5%81%E7%95%85%20360P%22%5D%2C%22quality%22%3A32%2C%22file_info%22%3A%7B%2216%22%3A%7B%22infos%22%3A%5B%7B%22filesize%22%…"
        },
        {
          "args": {},
          "bvid": "BV1hQHW63EMc",
          "card_goto": "av",
          "card_type": "small_cover_v5",
          "cover": "http://i1.hdslb.com/bfs/archive/f91f129d21c0201cce94f4753714e758b231ad5f.jpg",
          "cover_right_text_1": "45:16",
          "from_type": "recommend",
          "goto": "av",
          "idx": 4,
          "is_popular": true,
          "param": "117387462448602",
          "rcmd_reason_style": {
            "bg_style": 2,
            "border_color": "#FFFB9E60",
            "border_color_night": "#BC7A4F",
            "text": "6万点赞",
            "text_color": "#FFFB9E60",
            "text_color_night": "#BC7A4F"
          },
          "right_desc_1": "央视新闻",
          "right_desc_2": "100.6万观看 · 昨天 18:15",
          "three_point": {
            "watch_later": 1
          },
          "three_point_v2": [
            {
              "title": "添加至稍后再看",
              "type": "watch_later"
            }
          ],
          "title": "【完整版】纪录片《缅北电诈覆灭纪实》第一集《利剑出鞘》",
          "track_id": "hot_0.router-main-2479592-6qndn.1791290355564.53",
          "uri": "bilibili://video/117387462448602?cid=42481486830&player_height=1080&player_preload=%7B%22expire_time%22%3A1791293955%2C%22cid%22%3A42481486830%2C%22support_quality%22%3A%5B112%2C80%2C64%2C32%2C16%5D%2C%22support_formats%22%3A%5B%22hdflv2%22%2C%22flv%22%2C%22flv720%22%2C%22flv480%22%2C%22mp4%22%5D%2C%22support_description%22%3A%5B%22%E9%AB%98%E6%B8%85%201080P%2B%22%2C%22%E9%AB%98%E6%B8%85%201080P%22%2C%22%E9%AB%98%E6%B8%85%20720P%22%2C%22%E6%B8%85%E6%99%B0%20480P%22%2C%22%E6%B5%81%E7%95%85%20360P%22%5D%2C%22quality%22%3A32%2C%22file_info%22%3A%7B%2216%22%3A%7B%22infos%22%3A%5B%7B%22filesize%22%…"
        },
        "… 7 more items in the full response"
      ],
      "message": "OK",
      "ver": "1791290355"
    }
  }
]

示例

选择一个示例,将其输入和结果加载到 playground 中。

API README

Bilibili App Popular Feed API

Returns a page of popular video cards from the Bilibili app popular feed. Each card has a title, BV ID, cover, duration, creator text and view text. The request needs no input, and you can pass idx and last_param to page through the feed.

Use cases

  • Build a daily snapshot of the videos shown on the Bilibili popular feed.
  • Collect bvid values from popular cards and send them to a video detail API.
  • Compare which creators and topics appear on the popular feed over time.
  • Show the current popular titles and covers in an external dashboard.

Request

curl -X POST "https://api.sandbase.ai/v1/api/bilibili/app/popular-feed" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'

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

Parameters

NameTypeRequiredDescription
idxintegerNoPage index (starting from 1)
last_paramstringNoLast video ID from previous page (for pagination)

Example response

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

{
  "code": 0,
  "config": {
    "bottom_text": "已经到达热门的尽头惹,<em class=\"keyword\">关于热门</em>",
    "bottom_text_cover": "https://i0.hdslb.com/bfs/archive/10814950191d33ba6eb6f29439e27399c3eeee37.png",
    "bottom_text_url": "https://www.bilibili.com/blackboard/activity-RKWxGjjMb.html",
    "head_image": "https://i0.hdslb.com/bfs/legacy/1e7a9273bba1e3c20fecd7e69274278affd52e0f.png",
    "item_title": "当前热门",
    "share_info": {
      "current_title": "全部热门",
      "current_top_photo": "https://i0.hdslb.com/bfs/legacy/1e7a9273bba1e3c20fecd7e69274278affd52e0f.png",
      "share_desc": "",
      "share_icon": "https://i0.hdslb.com/bfs/activity-plat/static/20190424/df3e2ff90b315fca2f8d24a29…",
      "share_sub_title": "全站最热的视频都在这儿,你最喜欢哪一个?",
      "share_title": "哔哩哔哩热门"
    },
    "top_items": [
      {
        "entrance_id": 4,
        "icon": "http://i0.hdslb.com/bfs/archive/a3f11218aaf4521b4967db2ae164ecd3052586b9.png",
        "module_id": "rank",
        "title": "排行榜",
        "uri": "bilibili://rank?type=all"
      }
    ]
  },
  "data": [
    {
      "args": {},
      "bvid": "BV19P4w6aEk3",
      "card_goto": "av",
      "card_type": "small_cover_v5",
      "cover": "http://i0.hdslb.com/bfs/archive/0721196fe0577d7c60837786d44e9130da985544.jpg",
      "cover_right_text_1": "20:33",
      "from_type": "recommend",
      "goto": "av",
      "idx": 2,
      "is_popular": true,
      "param": "117546359521318",
      "rcmd_reason_style": {
        "bg_style": 2,
        "border_color": "#FFFB9E60",
        "border_color_night": "#BC7A4F",
        "text": "2万分享",
        "text_color": "#FFFB9E60",
        "text_color_night": "#BC7A4F"
      }
    }
  ],
  "message": "OK",
  "ver": "1793690839"
}

Response fields

FieldMeaning
data[].titleVideo title shown on the card.
data[].bvidBV ID of the video. Use it to look up the video elsewhere.
data[].paramNumeric video ID as a string. This is the same number that appears in the uri value.
data[].coverCover image URL of the video.
data[].cover_right_text_1Video duration shown on the cover, for example 20:33.
data[].right_desc_1Creator line shown on the card. It can be one name or a joint creation label such as 摸鱼事务所 等联合创作.
data[].right_desc_2Display text with the view count and the time since publishing, for example 32万观看 · 4小时前. It is a text label, not a number.
data[].rcmd_reason_style.textShort reason label shown on some cards, for example 2万分享. Many cards do not have this field.
data[].idxPosition number of the card in the feed.
data[].uriIn-app deep link for the video. It includes the cid as a query value.
config.top_items[].title / config.top_items[].uriTitle and link of the entrance tiles at the top of the popular page, such as the ranking list.

Notes

  • idx is the page index and starts at 1. Pass the param value of the last card on the previous page as last_param to get the next page.
  • Take bvid from data[] and pass it to Bilibili Video Details for more data on one video.
  • To read the comments on a video, call Bilibili Video Comments (App).

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价格响应
Bilibili$0.001 每次调用JSON
Bilibili$0.001 每次调用JSON
Bilibili$0.001 每次调用JSON
Bilibili$0.001 每次调用JSON
Bilibili$0.001 每次调用JSON
Bilibili$0.001 每次调用JSON

指南:Best Bilibili API in 2026: Pricing Compared

问题

常见问题

如何使用 Bilibili App Popular Feed API?

向 https://api.sandbase.ai/v1/api/bilibili/app/popular-feed 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 Playground 中试用,无需编写代码。

Bilibili App Popular Feed API 的价格是多少?

每次调用 $0.001,从您的 SandBase 余额中扣费。您只需为实际调用付费;无需订阅。

Bilibili App Popular Feed API 接受哪些参数?

无需参数。 可选:idx (integer) 和 last_param (string)。 Parameters 表和本页的 Playground 列出了每个字段。

Bilibili App Popular Feed API 返回什么?

在同一个 HTTP 请求中返回的 JSON 响应(同步)。 本页的 README 包含一个示例响应。

我需要 Bilibili 开发者账户或 API key 吗?

不需要。Bilibili App Popular Feed 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 Bilibili API 访问权限。