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 回まで無料1日あたり最初の 100 回は無料です(組織内で共有)· 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 はどのように使いますか?

Authorization ヘッダー(Bearer)に SandBase API key を指定し、パラメータを JSON ボディで送信して https://api.sandbase.ai/v1/api/bilibili/app/one-video に POST リクエストを送ります。このページの Playground で、コードを書かずに試すこともできます。

Bilibili App Single Video Details API の料金はいくらですか?

1回あたり $0.001。各組織には UTC 日ごとに 100 回の無料呼び出しが付与され、この API を含む対象の SandBase API 全体で共有されます。それ以降は、各呼び出しが SandBase 残高からこの料金で課金されます。サブスクリプションはありません。

Bilibili App Single Video Details API はどのパラメータを受け付けますか?

必須パラメータはありません。 任意: av_id (string) と bv_id (string)。 このページの Parameters テーブルと Playground に、すべてのフィールドが一覧表示されています。

Bilibili App Single Video Details API は何を返しますか?

同じ HTTP リクエスト内で返される JSON レスポンスです(同期)。 このページの README にサンプルレスポンスがあります。

Bilibili の開発者アカウントまたは API key は必要ですか?

いいえ。Bilibili App Single Video Details は SandBase 経由で動作するため、SandBase の API key 1つでこのエンドポイントと、カタログ内の他のすべての API とモデルを利用できます。Bilibili の API アクセスを別途申請する必要はありません。