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

Bilibili Comprehensive Popular Videos

Docs API
https://api.sandbase.ai/v1/api/bilibili/web/com-popular

Returns a comprehensive list of trending videos on Bilibili, including video metadata, author details, and engagement statistics across pages.

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

Bac à sable

Entrée
Page number
SortieExemple
Réponseoutputs · 7.9 KB · 259 lignes
[
  {
    "data": {
      "code": 0,
      "data": {
        "list": [
          {
            "ai_rcmd": null,
            "aid": 117393753899831,
            "attribute_v3": 5,
            "bvid": "BV1Uppw6yEMr",
            "cid": 42513074607,
            "copyright": 1,
            "cover43": "http://i0.hdslb.com/bfs/archive/229838b5c05e9b28f35eb29cf90a02ab0c0225c4.jpg",
            "ctime": 1791286688,
            "current_state": 0,
            "desc": "嘻嘻嘻嘻我就是想看你这个表情啊嘻嘻嘻嘻我就是想看你这个表情啊嘻嘻嘻嘻我就是想看你这个表情啊嘻嘻嘻嘻我就是想看你这个表情啊嘻嘻嘻嘻我就是想看你这嘻嘻嘻嘻我就是想看你这个表情啊嘻嘻嘻嘻我就是想看你这个表情啊2026年七月新番完结吐槽嘻嘻嘻嘻我就是想看你这个表情啊嘻嘻嘻嘻我就是想看你这个表情啊嘻嘻嘻嘻我就是2026年7月新番完结吐槽想看你这个表情啊嘻嘻嘻嘻我就是想看你这个表情啊",
            "dimension": {
              "height": 1080,
              "rotate": 0,
              "width": 1920
            },
            "duration": 962,
            "dynamic": "泛式队长,完结吐槽!",
            "enable_vt": 0,
            "first_frame": "http://i0.hdslb.com/bfs/storyff/_00002j1xqhmyb6ypx29o0pvqz9bq0hb_firsti.jpg",
            "global_state": 0,
            "is_ogv": false,
            "ogv_info": null,
            "owner": {
              "face": "https://i0.hdslb.com/bfs/face/2608aaa45309c77ac88fbfaa40e160b8c7892985.jpg",
              "mid": 63231,
              "name": "泛式"
            },
            "pic": "http://i2.hdslb.com/bfs/archive/41d3e001cdd357a5ba03d1db1ea863c8a529551c.jpg",
            "pid_name_v2": "二次元",
            "pid_v2": 1005,
            "pub_location": "上海",
            "pubdate": 1791286688,
            "rcmd_reason": {
              "content": "",
              "corner_mark": 0
            },
            "rights": {
              "arc_pay": 0,
              "autoplay": 1,
              "bp": 0,
              "download": 0,
              "elec": 0,
              "hd5": 0,
              "is_cooperation": 0,
              "movie": 0,
              "no_background": 0,
              "no_reprint": 1,
              "pay": 0,
              "pay_free_watch": 0,
              "ugc_pay": 0,
              "ugc_pay_preview": 0
            },
            "season_id": 19833,
            "season_type": 0,
            "short_link_v2": "https://b23.tv/BV1Uppw6yEMr",
            "stat": {
              "aid": 117393753899831,
              "coin": 27696,
              "danmaku": 2387,
              "dislike": 0,
              "fav_g": 6,
              "favorite": 10423,
              "his_rank": 0,
              "like": 31112,
              "like_g": 0,
              "now_rank": 0,
              "reply": 2082,
              "share": 2615,
              "view": 180230,
              "vt": 0,
              "vv": 180230
            },
            "state": 0,
            "tid": 253,
            "tidv2": 2042,
            "title": "啊啊7月新番你到底给我下了什么药啊!!【泛式】",
            "tname": "动漫杂谈",
            "tnamev2": "动漫评论",
            "videos": 1
          },
          {
            "ai_rcmd": null,
            "aid": 117393636526517,
            "attribute_v3": 4,
            "bvid": "BV13Lpw6nEsv",
            "cid": 42512548651,
            "copyright": 1,
            "cover43": "",
            "ctime": 1791285330,
            "current_state": 0,
            "desc": "回应视频",
            "dimension": {
              "height": 1440,
              "rotate": 0,
              "width": 2560
            },
            "duration": 569,
            "dynamic": "回应视频",
            "enable_vt": 0,
            "first_frame": "http://i0.hdslb.com/bfs/storyff/_00001zxu0yrhcx93y229ao9ivl0fqyb_firsti.jpg",
            "global_state": 0,
            "is_ogv": false,
            "ogv_info": null,
            "owner": {
              "face": "https://i1.hdslb.com/bfs/face/ab4e057142209e966ae69e2bf6b549df229b131f.jpg",
              "mid": 79453258,
              "name": "拉杰l"
            },
            "pic": "http://i1.hdslb.com/bfs/archive/7c7154849a397c616a7edae77b82cc0260a73896.jpg",
            "pid_name_v2": "游戏",
            "pid_v2": 1008,
            "pub_location": "湖南",
            "pubdate": 1791285330,
            "rcmd_reason": {
              "content": "",
              "corner_mark": 0
            },
            "rights": {
              "arc_pay": 0,
              "autoplay": 1,
              "bp": 0,
              "download": 0,
              "elec": 0,
              "hd5": 0,
              "is_cooperation": 0,
              "movie": 0,
              "no_background": 0,
              "no_reprint": 0,
              "pay": 0,
              "pay_free_watch": 0,
              "ugc_pay": 0,
              "ugc_pay_preview": 0
            },
            "season_type": 0,
            "short_link_v2": "https://b23.tv/BV13Lpw6nEsv",
            "stat": {
              "aid": 117393636526517,
              "coin": 11204,
              "danmaku": 1340,
              "dislike": 0,
              "fav_g": 0,
              "favorite": 4635,
              "his_rank": 0,
              "like": 21724,
              "like_g": 0,
              "now_rank": 0,
              "reply": 9447,
              "share": 1316,
              "view": 123137,
              "vt": 0,
              "vv": 123137
            },
            "state": 0,
            "tid": 21,
            "tidv2": 2073,
            "title": "回应视频",
            "tname": "日常",
            "tnamev2": "动作竞技游戏",
            "up_from_v2": 16,
            "videos": 1
          },
          {
            "ai_rcmd": null,
            "aid": 117393586128724,
            "attribute_v3": 4,
            "bvid": "BV1SJpw62E5y",
            "cid": 42512289196,
            "copyright": 3,
            "cover43": "http://i1.hdslb.com/bfs/archive/6371f48a27e55cc3383f6210f5691bc00357a694.jpg",
            "ctime": 1791284631,
            "current_state": 0,
            "desc": "-",
            "dimension": {
              "height": 3840,
              "rotate": 0,
              "width": 2160
            },
            "duration": 304,
            "dynamic": "",
            "enable_vt": 0,
            "first_frame": "http://i0.hdslb.com/bfs/storyff/_00002irpdhgsbwlbg2o910rxcqgvrwb_firsti.jpg",
            "global_state": 0,
            "is_ogv": false,
            "mission_id": 4069921,
            "ogv_info": null,
            "owner": {
              "face": "https://i1.hdslb.com/bfs/face/1367615bfd41b079eae1ac1225dbefcc260acbbb.jpg",
              "mid": 373388923,
              "name": "脱缰凯Kk"
            },
            "pic": "http://i2.hdslb.com/bfs/archive/1fb6967bf1a3c9dd55b9fcf379b63bd46d2d65fb.jpg",
            "pid_name_v2": "小剧场",
            "pid_v2": 1021,
            "pub_location": "辽宁",
            "pubdate": 1791284631,
            "rcmd_reason": {
              "content": "",
              "corner_mark": 0
            },
            "rights": {
              "arc_pay": 0,
              "autoplay": 1,
              "bp": 0,
              "download": 0,
              "elec": 0,
              "hd5": 0,
              "is_cooperation": 0,
              "movie": 0,
              "no_background": 0,
              "no_reprint": 0,
              "pay": 0,
              "pay_free_watch": 0,
              "ugc_pay": 0,
              "ugc_pay_preview": 0
            },
            "season_type": 0,
            "short_link_v2": "https://b23.tv/BV1SJpw62E5y",
            "stat": {
              "aid": 117393586128724,
              "coin": 1127,
              "danmaku": 2389,
              "dislike": 0,
              "fav_g": 28,
              "favorite": 2427,
              "his_rank": 0,
              "like": 17890,
              "like_g": 11,
              "now_rank": 0,
              "reply": 722,
              "share": 164,
              "view": 150480,
              "vt": 0,
              "vv": 150480
            },
            "state": 0,
            "tid": 85,
            "tidv2": 2154,
            "title": "破案",
            "tname": "小剧场",
            "tnamev2": "剧情演绎",
            "up_from_v2": 36,
            "videos": 1
          },
          "… 17 more items in the full response"
        ],
        "no_more": false
      },
      "message": "OK",
      "ttl": 1
    }
  }
]

Exemples

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

README de l'API

Bilibili Comprehensive Popular Videos API

Returns one page of trending videos on Bilibili. Each item has video metadata, author details, category names and engagement counts. The only input is the optional page number pn, which defaults to 1.

Use cases

  • Build a daily snapshot of which videos are trending on Bilibili and track how stat.his_rank changes.
  • Compare stat.like, stat.coin and stat.favorite across trending videos to see which content earns the most engagement.
  • Group trending videos by pid_name_v2 or tnamev2 to see which categories dominate the list.
  • Collect creator owner.mid values from trending videos to find authors worth tracking.

Request

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

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

Parameters

NameTypeRequiredDescription
pnintegerNoPage number

Example response

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

{
  "code": 0,
  "data": {
    "list": [
      {
        "ai_rcmd": null,
        "aid": 117547651307164,
        "attribute_v3": 4,
        "bvid": "BV19b4A6PECX",
        "cid": 43272309199,
        "copyright": 1,
        "cover43": "http://i0.hdslb.com/bfs/archive/9f5f456a7fb8b8ab9a3517ff21edbec7d4c3ca67.jpg",
        "ctime": 1793635087,
        "current_state": 0,
        "desc": "与能源相关的实验都存在一定的危险性,所以工作人员需要时刻保持谨慎的态度。\n不妨多问问自己:有日程可控的预期吗?有数据稳定的可能吗?有提前完成的风险吗?\n\n中文C…",
        "dimension": {
          "height": 1080,
          "rotate": 0,
          "width": 2560
        },
        "duration": 681
      }
    ],
    "no_more": false
  },
  "message": "OK",
  "ttl": 1
}

Response fields

FieldMeaning
data.list[].bvid / data.list[].aidThe video's BV ID and its numeric AID. Both identify the same video.
data.list[].title / data.list[].descThe video title and its description text. Long descriptions are cut in this sample.
data.list[].owner.mid / data.list[].owner.name / data.list[].owner.faceThe author's numeric ID, display name and avatar image URL.
data.list[].stat.like / data.list[].stat.coin / data.list[].stat.favorite / data.list[].stat.danmakuEngagement counts for the video: likes, coins, favorites and danmaku (on-screen comments).
data.list[].stat.his_rankA rank value for the video. It is 0 for videos without a rank.
data.list[].pid_name_v2 / data.list[].tnamev2The top-level category name and the finer sub-category name of the video.
data.list[].pubdate / data.list[].ctimeUnix timestamps in seconds. pubdate is the publish time and ctime is the creation time.
data.list[].duration / data.list[].dimension.width / data.list[].dimension.heightThe video length (in the value's own unit, seconds by the sample values) and the frame width and height in pixels.
data.list[].rcmd_reason.contentA short recommendation label such as a like count badge. It is an empty string when there is none.
data.list[].short_link_v2A short b23.tv link to the video page.
data.no_moreA boolean that shows whether more pages remain. false means more pages may be available.

Notes

  • Set pn to request later pages. Start at 1 and increase by one while data.no_more is false.
  • Video IDs come as bvid (a string starting with BV) and aid (a number). Use Bilibili BV to AID Converter to convert a BV ID to an AID.
  • Pass a bvid from this list to Bilibili Video Details to get details for one video.

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 Comprehensive Popular Videos ?

Envoyez une requête POST à https://api.sandbase.ai/v1/api/bilibili/web/com-popular 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 Comprehensive Popular Videos ?

$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 Comprehensive Popular Videos accepte-t-elle ?

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

Que renvoie l’API Bilibili Comprehensive Popular Videos ?

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 Comprehensive Popular Videos 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.