Sand AISand AI MAGI-2MAGI-2 est maintenant sur SandBase : vidéo 1080p avec audio natifEssayer maintenant

Bilibili App Popular Feed

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

Prix
$0.001USD / appel
Méthode
POST
Réponse
JSON
Paramètres
0 obligatoires · 2 facultatifs

Bac à sable

Entrée
Page index (starting from 1)
Last video ID from previous page (for pagination)
SortieExemple
Réponseoutputs · 7.2 KB · 161 lignes
[
  {
    "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"
    }
  }
]

Exemples

Sélectionnez un exemple pour charger ses entrées et son résultat dans le playground.

README de l'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.

Explorer plus

APIs associées

Toutes les APIs
APIPrixRéponse
Bilibili$0.001 par appelJSON
Bilibili$0.001 par appelJSON
Bilibili$0.001 par appelJSON
Bilibili$0.001 par appelJSON
Bilibili$0.001 par appelJSON
Bilibili$0.001 par appelJSON

Guides :Best Bilibili API in 2026: Pricing Compared

Questions

FAQ

Comment utiliser l’API Bilibili App Popular Feed ?

Envoyez une requête POST à https://api.sandbase.ai/v1/api/bilibili/app/popular-feed avec votre clé API SandBase dans l’en-tête Authorization (Bearer) et les paramètres dans un corps JSON. Vous pouvez aussi l’essayer dans le Playground sur cette page sans écrire de code.

Combien coûte l’API Bilibili App Popular Feed ?

$0.001 par appel, facturé depuis votre solde SandBase. Vous ne payez que les appels que vous effectuez ; aucun abonnement.

Quels paramètres l’API Bilibili App Popular Feed accepte-t-elle ?

Aucun paramètre n’est requis. Facultatif : idx (integer) et last_param (string). Le tableau des paramètres et le Playground sur cette page listent tous les champs.

Que renvoie l’API Bilibili App Popular Feed ?

Une réponse JSON renvoyée dans la même requête HTTP (synchrone). Le README sur cette page inclut un exemple de réponse.

Ai-je besoin d’un compte développeur ou d’une clé API Bilibili ?

Non. Bilibili App Popular Feed fonctionne via SandBase, donc une seule clé API SandBase couvre ce point de terminaison ainsi que toutes les autres API et tous les modèles du catalogue. Vous n’avez pas besoin de demander un accès API Bilibili séparément.