Sand AISand AI MAGI-2MAGI-2 अब SandBase पर है: 1080p वीडियो, नेटीव ऑडियो के साथअभी आज़माएँ

Bilibili App Single Video Details

API दस्तावेज़
https://api.sandbase.ai/v1/api/bilibili/app/one-video

Returns detailed video metadata for a specific Bilibili video. Looks up video information using either an AV ID or a BV ID.

मूल्य
$0.001USD / कॉल
मेथड
POST
प्रतिक्रिया
JSON
पैरामीटर
0 आवश्यक · 2 वैकल्पिक
100 निःशुल्क कॉल / दिनपहली 100 कॉल प्रति दिन निःशुल्क (organization के लिए साझा) · 00:00 UTC पर रीसेट होता है। उसके बाद प्रति कॉल भुगतान करें।

प्लेग्राउंड

इनपुट
AV ID (choose one of av_id or bv_id)
BV ID (choose one of av_id or bv_id)
आउटपुटउदाहरण
प्रतिक्रियाoutputs · 32.1 KB · 997 पंक्तियाँ
[
  {
    "data": {
      "DagwUser": {},
      "DataCenterInfo": "",
      "ElecReply": null,
      "InteractLabel": "",
      "LiveOrderText": "",
      "PlayToast": null,
      "QueryUpSet": null,
      "RejectPage": null,
      "TabModule": null,
      "activity_url": "https://www.bilibili.com/blackboard/era/v1TG8FjAL3GTdZrN.html",
      "aid": 117098391016567,
      "attribute_v3": 4,
      "bvid": "BV1dVbC6WE6p",
      "cid": 40931491951,
      "cm_config": {
        "ads_control": {
          "has_danmu": 0,
          "has_live_booking_ad": false,
          "under_player_scroller_seconds": 20
        }
      },
      "config": {
        "autoplay_countdown": 6,
        "feed_has_next": false,
        "feed_style": "",
        "has_guide": false,
        "is_absolute_time": false,
        "local_play": 0,
        "rec_three_point_style": 0,
        "relates_title": "相关推荐",
        "share_style": 1,
        "valid_show_m": 0,
        "valid_show_n": 0
      },
      "copyright": 1,
      "cover43": "http://i1.hdslb.com/bfs/archive/f03ce90e8037c3e2fa7a1ba63b9411a89a696f70.jpg",
      "ctime": 1786780245,
      "desc": "视频素材来源:部分从《欢迎来龙餐馆》官方预告片中取得~\n事件来源:\n新华网《外媒:美军战争已结束 集装箱还未开》2012年04月14日\n中国日报《驻伊美军享受星级待遇 品地道咖啡尝空运草莓》2004年03月31日\n玉渊潭天《“9·11”20年:美国的政策为什么全错了?》2021年9月11日",
      "desc_tag": [
        {
          "attribute": 0,
          "cover": "",
          "hated": 0,
          "hates": 0,
          "is_activity": 0,
          "liked": 0,
          "likes": 0,
          "tag_id": 290206,
          "tag_name": "中餐",
          "tag_type": "common",
          "uri": "bilibili://search?keyword=%E4%B8%AD%E9%A4%90"
        },
        {
          "attribute": 0,
          "cover": "",
          "hated": 0,
          "hates": 0,
          "is_activity": 0,
          "liked": 0,
          "likes": 0,
          "tag_id": 5794,
          "tag_name": "美国",
          "tag_type": "common",
          "uri": "bilibili://search?keyword=%E7%BE%8E%E5%9B%BD"
        },
        {
          "attribute": 0,
          "cover": "",
          "hated": 0,
          "hates": 0,
          "is_activity": 0,
          "liked": 0,
          "likes": 0,
          "tag_id": 81892089,
          "tag_name": "龙餐馆",
          "tag_type": "common",
          "uri": "bilibili://search?keyword=%E9%BE%99%E9%A4%90%E9%A6%86"
        },
        "… 6 more items in the full response"
      ],
      "dimension": {
        "height": 1080,
        "rotate": 0,
        "width": 1920
      },
      "dislike_reasons": [
        {
          "reason_id": 5,
          "reason_name": "标题党/封面党"
        },
        {
          "reason_id": 6,
          "reason_name": "内容质量差"
        },
        {
          "reason_id": 7,
          "reason_name": "内容/封面令人不适"
        },
        "… 1 more items in the full response"
      ],
      "dislike_reasons_v2": {
        "reasons": [
          {
            "id": 4,
            "mid": 476967268,
            "name": "UP主:TomCat团座"
          },
          {
            "id": 3,
            "name": "频道:中餐",
            "tag_id": 290206
          },
          {
            "id": 3,
            "name": "频道:美国",
            "tag_id": 5794
          },
          "… 1 more items in the full response"
        ],
        "title": "选择不想看的原因,减少相似内容推荐"
      },
      "dm_seg": 1,
      "duration": 941,
      "dynamic": "正如龙餐馆的结尾,解救了孩子们的叙利亚国防军,十多年之后也将被美国扶持的极端组织所摧毁一样,伊拉克战争就是一个坏人胜利的故事,无论美国、伊拉克、还是其他周边国家,其实谁都没赢,只有以切尼为代表的团伙赢了。对于世界,我们应该抱有无限的希望,但一定不能心存任何幻想,你是好人,并不代表你会赢:",
      "elec": {
        "count": 512,
        "elec_num": 0,
        "elec_set": {
          "battery_item_desc": "",
          "elec_list": [
            {
              "bp_num": "2",
              "bp_num_fen": 200,
              "elec_num": 20,
              "is_customize": 0,
              "is_default": 1,
              "max_bp": "0",
              "min_bp": "0",
              "title": "2 B币"
            },
            {
              "bp_num": "6",
              "bp_num_fen": 600,
              "elec_num": 60,
              "is_customize": 0,
              "max_bp": "0",
              "min_bp": "0",
              "title": "6 B币"
            },
            {
              "bp_num": "18",
              "bp_num_fen": 1800,
              "elec_num": 180,
              "is_customize": 0,
              "max_bp": "0",
              "min_bp": "0",
              "title": "18 B币"
            },
            "… 5 more items in the full response"
          ],
          "elec_theme": 0,
          "integrity_rate": 1,
          "rmb_rate": 1,
          "round_mode": 0
        },
        "list": [
          {
            "avatar": "https://i2.hdslb.com/bfs/face/b7c2f8289a6f896adbdd26c2daf5b90a40b47b1d.jpg",
            "message": "",
            "mid": 476967268,
            "pay_mid": 39022211,
            "rank": 1,
            "trend_type": 0,
            "uname": "我叫在家",
            "vip_info": null
          },
          {
            "avatar": "https://i2.hdslb.com/bfs/face/6ccd1ef8ce0718cfe0cce0734887e7aba08d3af2.jpg",
            "message": "",
            "mid": 476967268,
            "pay_mid": 20419262,
            "rank": 2,
            "trend_type": 0,
            "uname": "绕shoe三匝",
            "vip_info": null
          },
          {
            "avatar": "https://i0.hdslb.com/bfs/face/member/noface.jpg",
            "message": "",
            "mid": 476967268,
            "pay_mid": 412939888,
            "rank": 3,
            "trend_type": 0,
            "uname": "天津卫脸不圆",
            "vip_info": null
          },
          "… 21 more items in the full response"
        ],
        "show": true,
        "state": 3,
        "total": 2457,
        "upower_icon_url": "https://i0.hdslb.com/bfs/garb/item/33e2e72d9a0c855f036b4cb55448f44af67a0635.png",
        "upower_jump_show_type": 1,
        "upower_jump_url": "https://www.bilibili.com/h5/upower/index?mid=476967268&navhide=1&prePage=video",
        "upower_title": "充电"
      },
      "elec_rank": {
        "count": 512,
        "list": [
          {
            "avatar": "https://i2.hdslb.com/bfs/face/b7c2f8289a6f896adbdd26c2daf5b90a40b47b1d.jpg",
            "mid": 39022211,
            "nickname": "我叫在家"
          },
          {
            "avatar": "https://i2.hdslb.com/bfs/face/6ccd1ef8ce0718cfe0cce0734887e7aba08d3af2.jpg",
            "mid": 20419262,
            "nickname": "绕shoe三匝"
          },
          {
            "avatar": "https://i0.hdslb.com/bfs/face/member/noface.jpg",
            "mid": 412939888,
            "nickname": "天津卫脸不圆"
          },
          "… 21 more items in the full response"
        ],
        "text": "人为TA充电"
      },
      "first_frame": "http://i2.hdslb.com/bfs/storyff/_00000cfc7w6fndsfx2gq0a2c6q252xb_firsti.jpg",
      "label": {
        "icon": "https://i0.hdslb.com/bfs/app/3a3b65264096cfa00c43d15b54c95c8daf5648a6.png",
        "icon_height": 60,
        "icon_night": "https://i0.hdslb.com/bfs/app/e59be1d30f6d4798dbbedf14a6fdb6413f8d7347.png",
        "icon_width": 120,
        "type": 2,
        "uri": "https://www.bilibili.com/blackboard/era/v1TG8FjAL3GTdZrN.html"
      },
      "like_custom": {
        "full_to_half_progress": 30,
        "non_full_progress": 80,
        "update_count": 5
      },
      "mission_id": 4066831,
      "owner": {
        "face": "https://i1.hdslb.com/bfs/face/c8bf8a7330a37588f7f0332a8f3cc8365b9907a5.jpg",
        "mid": 476967268,
        "name": "TomCat团座"
      },
      "owner_ext": {
        "NameRender": null,
        "arc_count": "333视频",
        "assists": [
          1331855291
        ],
        "fans": 1020790,
        "nft_face_icon": null,
        "official_verify": {
          "desc": "bilibili 知名UP主",
          "type": 0
        },
        "vip": {
          "accessStatus": 0,
          "dueRemark": "",
          "label": {
            "bg_color": "#FB7299",
            "bg_style": 1,
            "border_color": "",
            "img_label_uri_hans": "https://i0.hdslb.com/bfs/activity-plat/static/20220608/e369244d0b14644f5e1a06431e22a4d5/0DFy9BHgwE.gif",
            "img_label_uri_hans_static": "https://i0.hdslb.com/bfs/vip/8d7e624d13d3e134251e4174a7318c19a8edbd71.png",
            "img_label_uri_hant": "",
            "img_label_uri_hant_static": "https://i0.hdslb.com/bfs/activity-plat/static/20220614/e369244d0b14644f5e1a06431e22a4d5/uckjAv3Npy.png",
            "img_label_uri_i18n": "",
            "img_label_uri_i18n_static": "",
            "label_goto": {
              "mobile": "https://big.bilibili.com/mobile/index?navhide=1&from_spmid=vipicon",
              "pc_web": "https://account.bilibili.com/big?from_spmid=vipicon"
            },
            "label_id": -22,
            "label_theme": "annual_vip",
            "label_type": 2,
            "path": "http://i0.hdslb.com/bfs/vip/label_annual.png",
            "text": "年度大会员",
            "text_color": "#FFFFFF",
            "use_img_label": true
          },
          "themeType": 0,
          "vipDueDate": 1824566400000,
          "vipStatus": 1,
          "vipStatusWarn": "",
          "vipType": 2
        }
      },
      "pages": [
        {
          "cid": 40931491951,
          "ctime": 1786780245,
          "dimension": {

उदाहरण

प्लेग्राउंड में इसके इनपुट और परिणाम लोड करने के लिए कोई उदाहरण चुनें।

API README

Bilibili App Single Video Details API

Returns metadata for one Bilibili video, including title-level details, uploader info, cover images, page list, and charging (elec) data. It needs a video ID, passed as either av_id or bv_id.

Use cases

  • Pull the uploader name, mid and follower count for a video to build a creator profile.
  • Read the video's duration, dimension and pages[] list to check length, resolution and number of parts.
  • Collect the top charging supporters and total charge count for a video to track fan support.
  • Fetch the cover image, description and tags of a video to fill a content catalog.

Request

curl -X POST "https://api.sandbase.ai/v1/api/bilibili/app/one-video" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"av_id": "115568241811221", "bv_id": "BV18SCrBGE9E"}'

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

Parameters

NameTypeRequiredDescription
av_idstringNoAV ID (choose one of av_id or bv_id)
bv_idstringNoBV ID (choose one of av_id or bv_id)

Example response

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

{
  "DagwUser": {
    "entry_room": {
      "list": {
        "203680252": {
          "area_id": 89,
          "area_name": "CS2",
          "cover": "https://i0.hdslb.com/bfs/live/new_room_cover/8dbb387f14b91e20ba184f71c3409390811…",
          "is_room_feed": 1,
          "jump_url": {
            "ugc_video_close": "https://live.bilibili.com/25255343?accept_quality=%5B10000%2C400%2C250%5D&all_sp…",
            "ugc_video_detail": "https://live.bilibili.com/25255343?accept_quality=%5B10000%2C400%2C250%5D&all_sp…"
          },
          "keyframe": "https://i0.hdslb.com/bfs/live-key-frame/keyframe11031525000025255343q2a1no.jpg",
          "live_id": 746048077177118127,
          "live_info": {
            "build": 10489,
            "live_model": 0,
            "live_platform": "pc_link",
            "remote_ip": "180.213.90.90",
            "voice_background": ""
          }
        }
      }
    }
  },
  "DataCenterInfo": "",
  "ElecReply": null,
  "InteractLabel": "",
  "LiveOrderText": "",
  "PlayToast": null,
  "QueryUpSet": null,
  "RejectPage": null,
  "TabModule": null,
  "aid": 115568241811221,
  "attribute_v3": 4,
  "bvid": "BV18SCrBGE9E"
}

Response fields

FieldMeaning
aid / bvid / cidThe video's numeric AV ID, its BV ID, and the ID of the first part (cid). Use cid to look up danmaku or subtitles for that part.
descThe video description text written by the uploader.
desc_tag[].tag_nameName of each tag attached to the video. tag_id gives the tag's ID.
durationVideo length. For this sample it is 1586, and the single page has the same duration.
ctimePublish time as a Unix timestamp in seconds.
pic / cover43 / first_frameURLs of the cover image, a 4:3 cover, and the first video frame.
dimension.width / dimension.heightVideo resolution in pixels. rotate shows the rotation flag.
owner.mid / owner.name / owner.faceUploader's user ID, display name and avatar URL.
owner_ext.fans / owner_ext.arc_count / owner_ext.official_verify.descUploader's follower count, video count as a text label, and verification description.
pages[].page / pages[].part / pages[].cid / pages[].durationEach part of the video: part number, part title, part cid and part length. dmlink is the danmaku XML link for that part.
elec.total / elec.count / elec.list[].unameCharging (elec) totals and the ranked supporters. Each supporter has uname, avatar, rank and mid.
pid_name_v2 / pid_v2Name and ID of the video's category, here 游戏 and 1008.

Notes

  • Send either av_id or bv_id. The sample request sent both, and both pointed to the same video.
  • bvid values look like BV18SCrBGE9E. aid is a long number.
  • The response has no view, like or comment counts, so use Bilibili Video Details if you need engagement stats.
  • Pass owner.mid to Bilibili App User Info to get the uploader's profile.

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

प्रश्न

FAQ

Bilibili App Single Video Details API का उपयोग कैसे करें?

https://api.sandbase.ai/v1/api/bilibili/app/one-video पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।

Bilibili App Single Video Details API की लागत कितनी है?

$0.001 प्रति call। हर organization को प्रति UTC day 100 निःशुल्क calls मिलती हैं, जो इस सहित योग्य SandBase APIs के बीच साझा होती हैं; उसके बाद हर call का बिल आपकी SandBase balance से इस कीमत पर लिया जाता है। कोई subscription नहीं है।

Bilibili App Single Video Details API कौन-से parameters स्वीकार करती है?

कोई parameters आवश्यक नहीं हैं। वैकल्पिक: av_id (string) और bv_id (string)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।

Bilibili App Single Video Details API क्या लौटाती है?

एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।

क्या मुझे एक Bilibili developer account या API key चाहिए?

नहीं। Bilibili App Single Video Details SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से Bilibili API access के लिए आवेदन करने की आवश्यकता नहीं है।