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회 호출은 무료입니다(조직별 공유) · UTC 00:00에 초기화됩니다. 이후에는 호출당 요금이 부과됩니다.

Playground

입력
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.

더 살펴보기

관련 API

모든 API
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 키를 넣고, 매개변수를 JSON 본문으로 담아 https://api.sandbase.ai/v1/api/bilibili/app/one-video에 POST 요청을 보내세요. 이 페이지의 Playground에서도 코드를 작성하지 않고 직접 테스트할 수 있습니다.

Bilibili App Single Video Details API 비용은 얼마인가요?

호출당 $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 키가 필요한가요?

아니요. Bilibili App Single Video Details은 SandBase를 통해 실행되므로, SandBase API 키 하나로 이 엔드포인트와 카탈로그의 다른 모든 API 및 모델을 사용할 수 있습니다. Bilibili API 액세스를 별도로 신청할 필요는 없습니다.