Sand AISand AI MAGI-2MAGI-2 kini tersedia di SandBase: video 1080p dengan audio nativeCoba sekarang

Bilibili App Popular Feed

Dokumentasi 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.

Harga
$0.001USD / panggilan
Metode
POST
Respons
JSON
Parameter
0 wajib · 2 opsional

Playground

Input
Page index (starting from 1)
Last video ID from previous page (for pagination)
OutputContoh
Responsoutputs · 7.2 KB · 161 baris
[
  {
    "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"
    }
  }
]

Contoh

Pilih contoh untuk memuat input dan hasilnya ke playground.

README API

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.

Jelajahi lebih lanjut

API Terkait

Semua APIs
APIHargaRespons
Bilibili$0.001 per panggilanJSON
Bilibili$0.001 per panggilanJSON
Bilibili$0.001 per panggilanJSON
Bilibili$0.001 per panggilanJSON
Bilibili$0.001 per panggilanJSON
Bilibili$0.001 per panggilanJSON

Panduan:Best Bilibili API in 2026: Pricing Compared

Pertanyaan

FAQ

Bagaimana cara menggunakan API Bilibili App Popular Feed?

Kirim permintaan POST ke https://api.sandbase.ai/v1/api/bilibili/app/popular-feed dengan kunci API SandBase Anda di header Authorization (Bearer) dan parameter sebagai body JSON. Anda juga dapat mencobanya di Playground di halaman ini tanpa menulis kode.

Berapa biaya API Bilibili App Popular Feed?

$0.001 per panggilan, ditagihkan dari saldo SandBase Anda. Anda hanya dikenai biaya untuk panggilan yang Anda lakukan; tidak ada langganan.

Parameter apa yang diterima API Bilibili App Popular Feed?

Tidak ada parameter yang wajib. Opsional: idx (integer) dan last_param (string). Tabel Parameters dan Playground di halaman ini mencantumkan setiap field.

Apa yang dikembalikan API Bilibili App Popular Feed?

Respons JSON yang dikembalikan dalam permintaan HTTP yang sama (sinkron). README di halaman ini menyertakan contoh respons.

Apakah saya memerlukan akun developer atau kunci API Bilibili?

Tidak. Bilibili App Popular Feed berjalan melalui SandBase, jadi satu kunci API SandBase mencakup endpoint ini dan setiap API serta model lain di katalog. Anda tidak perlu mendaftar akses API Bilibili secara terpisah.