bv_idstring필수
Video id
https://api.sandbase.ai/v1/api/bilibili/web/one-videoReturns detailed metadata and honor tags for a single Bilibili video based on its unique BV identifier, including recommendation status.
[
{
"data": {
"code": 0,
"data": {
"aid": 117098391016567,
"argue_info": {
"argue_link": "",
"argue_msg": "个人观点,仅供参考",
"argue_type": 0
},
"bvid": "BV1dVbC6WE6p",
"cid": 40931491951,
"copyright": 1,
"ctime": 1786780245,
"desc": "视频素材来源:部分从《欢迎来龙餐馆》官方预告片中取得~\n事件来源:\n新华网《外媒:美军战争已结束 集装箱还未开》2012年04月14日\n中国日报《驻伊美军享受星级待遇 品地道咖啡尝空运草莓》2004年03月31日\n玉渊潭天《“9·11”20年:美国的政策为什么全错了?》2021年9月11日",
"desc_v2": [
{
"biz_id": 0,
"raw_text": "视频素材来源:部分从《欢迎来龙餐馆》官方预告片中取得~\n事件来源:\n新华网《外媒:美军战争已结束 集装箱还未开》2012年04月14日\n中国日报《驻伊美军享受星级待遇 品地道咖啡尝空运草莓》2004年03月31日\n玉渊潭天《“9·11”20年:美国的政策为什么全错了?》2021年9月11日",
"type": 1
}
],
"dimension": {
"height": 1080,
"rotate": 0,
"width": 1920
},
"disable_show_up_info": false,
"duration": 941,
"dynamic": "正如龙餐馆的结尾,解救了孩子们的叙利亚国防军,十多年之后也将被美国扶持的极端组织所摧毁一样,伊拉克战争就是一个坏人胜利的故事,无论美国、伊拉克、还是其他周边国家,其实谁都没赢,只有以切尼为代表的团伙赢了。对于世界,我们应该抱有无限的希望,但一定不能心存任何幻想,你是好人,并不代表你会赢:",
"enable_vt": 0,
"honor_reply": {
"honor": [
{
"aid": 117098391016567,
"desc": "热门收录",
"type": 7,
"weekly_recommend_num": 0
}
]
},
"is_chargeable_season": false,
"is_hua_sheng": false,
"is_season_display": true,
"is_story": false,
"is_story_play": 1,
"is_upower_exclusive": false,
"is_upower_exclusive_with_qa": false,
"is_upower_play": false,
"is_upower_preview": false,
"is_view_self": false,
"like_icon": "",
"mission_id": 4066831,
"need_jump_bv": false,
"no_cache": false,
"owner": {
"face": "https://i1.hdslb.com/bfs/face/c8bf8a7330a37588f7f0332a8f3cc8365b9907a5.jpg",
"mid": 476967268,
"name": "TomCat团座"
},
"pages": [
{
"cid": 40931491951,
"ctime": 1786780245,
"dimension": {
"height": 1080,
"rotate": 0,
"width": 1920
},
"duration": 941,
"first_frame": "http://i2.hdslb.com/bfs/storyff/_00000cfc7w6fndsfx2gq0a2c6q252xb_firsti.jpg",
"from": "vupload",
"page": 1,
"part": "史密斯专员太多,中餐馆太香?伊拉克美军吃饭往事",
"vid": "",
"weblink": ""
}
],
"pic": "http://i0.hdslb.com/bfs/archive/19c4d092f6808b73852688416a3a724a3ef4a735.jpg",
"premiere": null,
"pubdate": 1786788300,
"rights": {
"arc_pay": 0,
"autoplay": 1,
"bp": 0,
"clean_mode": 0,
"download": 1,
"elec": 0,
"free_watch": 0,
"hd5": 0,
"is_360": 0,
"is_cooperation": 0,
"is_stein_gate": 0,
"movie": 0,
"no_background": 0,
"no_reprint": 1,
"no_share": 0,
"pay": 0,
"ugc_pay": 0,
"ugc_pay_preview": 0
},
"season_id": 1483582,
"stat": {
"aid": 117098391016567,
"coin": 7746,
"danmaku": 6137,
"dislike": 0,
"evaluation": "",
"favorite": 11834,
"his_rank": 0,
"like": 63015,
"now_rank": 0,
"reply": 5921,
"share": 2145,
"view": 1058293,
"vt": 0
},
"state": 0,
"subtitle": {
"allow_submit": false,
"list": []
},
"teenage_mode": 1,
"tid": 228,
"tid_v2": 2089,
"title": "史密斯专员太多,龙餐馆太香?伊拉克美军吃饭往事",
"tname": "",
"tname_v2": "",
"ugc_season": {
"attribute": 140,
"cover": "https://archive.biliimg.com/bfs/archive/880348d78c8fda6dc9a6ca720b44030083790a81.jpg",
"enable_vt": 0,
"ep_count": 124,
"id": 1483582,
"intro": "怎么,俺就不配键政?(手动狗头)",
"is_pay_season": false,
"mid": 476967268,
"season_type": 1,
"sections": [
{
"episodes": [
{
"aid": 117098391016567,
"arc": {
"aid": 117098391016567,
"author": {
"face": "https://i1.hdslb.com/bfs/face/c8bf8a7330a37588f7f0332a8f3cc8365b9907a5.jpg",
"mid": 476967268,
"name": "TomCat团座"
},
"copyright": 0,
"ctime": 1786788300,
"desc": "",
"desc_v2": null,
"dimension": {
"height": 0,
"rotate": 0,
"width": 0
},
"duration": 941,
"dynamic": "",
"enable_vt": 0,
"is_blooper": false,
"is_chargeable_season": false,
"is_lesson_video": 0,
"pic": "http://i0.hdslb.com/bfs/archive/19c4d092f6808b73852688416a3a724a3ef4a735.jpg",
"pubdate": 1786788300,
"rights": {
"arc_pay": 0,
"autoplay": 0,
"bp": 0,
"download": 0,
"elec": 0,
"free_watch": 0,
"hd5": 0,
"is_cooperation": 0,
"movie": 0,
"no_reprint": 0,
"pay": 0,
"ugc_pay": 0,
"ugc_pay_preview": 0
},
"stat": {
"aid": 117098391016567,
"argue_msg": "",
"coin": 7746,
"danmaku": 6137,
"dislike": 0,
"evaluation": "",
"fav": 11834,
"his_rank": 0,
"like": 63015,
"now_rank": 0,
"reply": 5921,
"share": 2145,
"view": 1058293,
"vt": 0,
"vv": 1058293
},
"state": 0,
"title": "史密斯专员太多,中餐馆太香?伊拉克美军吃饭往事",
"type_id": 0,
"type_id_v2": 0,
"type_name": "",
"type_name_v2": "",
"videos": 0,
"vt_display": ""
},
"attribute": 0,
"bvid": "BV1dVbC6WE6p",
"cid": 40931491951,
"id": 216337265,
"page": {
"cid": 40931491951,
"dimension": {
"height": 1080,
"rotate": 0,
"width": 1920
},
"duration": 941,
"from": "vupload",
"page": 1,
"part": "史密斯专员太多,中餐馆太香?伊拉克美军吃饭往事",
"vid": "",
"weblink": ""
},
"pages": [
{
"cid": 40931491951,
"dimension": {
"height": 1080,
"rotate": 0,
"width": 1920
},
"duration": 941,
"from": "vupload",
"page": 1,
"part": "史密斯专员太多,中餐馆太香?伊拉克美军吃饭往事",
"vid": "",
"weblink": ""
}
],
"season_id": 1483582,
"section_id": 1704803,
"title": "史密斯专员太多,中餐馆太香?伊拉克美军吃饭往事"
},
{
"aid": 117036634085481,
"arc": {
"aid": 117036634085481,
"author": {
"face": "https://i1.hdslb.com/bfs/face/c8bf8a7330a37588f7f0332a8f3cc8365b9907a5.jpg",
"mid": 476967268,
"name": "TomCat团座"
},
"copyright": 0,
"ctime": 1785838074,
"desc": "",
"desc_v2": null,
"dimension": {
"height": 0,
"rotate": 0,
"width": 0
},
"duration": 1073,
"dynamic": "",
"enable_vt": 0,
"is_blooper": false,
"is_chargeable_season": false,
"is_lesson_video": 0,
"pic": "http://i2.hdslb.com/bfs/archive/5719630dcc16d8df4a5642e1e060daa702f86864.jpg",
"pubdate": 1785838074,
"rights": {
"arc_pay": 0,
"autoplay": 0,
"bp": 0,
"download": 0,
"elec": 0,
"free_watch": 0,
"hd5": 0,
"is_cooperation": 0,
"movie": 0,
"no_reprint": 0,
"pay": 0,
"ugc_pay": 0,
"ugc_pay_preview": 0
},
"stat": {
"aid": 117036634085481,
"argue_msg": "",
"coin": 2825,
"danmaku": 2731,
"dislike": 0,
"evaluation": "",
"fav": 5514,
"his_rank": 0,
"like": 36127,
"now_rank": 0,
"reply": 2431,예시를 선택하면 입력값과 결과가 플레이그라운드에 로드됩니다.
Returns metadata for one Bilibili video, including its stats, owner, pages, rights flags and honor tags such as 热门. It needs one input: the video's BV id in bv_id.
honor_reply.honor to see whether a video carries a popular or weekly recommendation tag.mid and name of a video to credit or look up its creator.curl -X POST "https://api.sandbase.ai/v1/api/bilibili/web/one-video" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"bv_id": "BV1M1421t7hT"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
bv_id | string | Yes | Video id |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"code": 0,
"data": {
"aid": 1556386640,
"argue_info": {
"argue_link": "",
"argue_msg": "",
"argue_type": 0
},
"bvid": "BV1M1421t7hT",
"cid": 1645628975,
"copyright": 1,
"ctime": 1723355942,
"desc": "",
"desc_v2": null,
"dimension": {
"height": 1080,
"rotate": 0,
"width": 1920
},
"disable_show_up_info": false,
"duration": 353,
"dynamic": ""
},
"message": "OK",
"ttl": 1
}
| Field | Meaning |
|---|---|
data.bvid / data.aid / data.cid | The video's BV id, its numeric AID and the CID of its first part. |
data.owner.mid / data.owner.name / data.owner.face | ID, display name and avatar URL of the user who posted the video. |
data.stat.view / data.stat.like / data.stat.coin / data.stat.favorite / data.stat.share | View, like, coin, favorite and share counts for the video. |
data.stat.danmaku / data.stat.reply | Count of danmaku (on-screen comments) and count of replies. |
data.honor_reply.honor[].desc | Name of an honor tag on the video, for example 热门 or 热门收录. |
data.honor_reply.honor[].type / data.honor_reply.honor[].weekly_recommend_num | Numeric code of the honor tag, and the weekly recommendation number tied to it. |
data.pubdate / data.ctime | Unix timestamps in seconds for the publish time and the creation time of the video. |
data.duration / data.dimension.width / data.dimension.height | Video length and frame size. The duration of 353 matches the single page's duration. |
data.pages[].part / data.pages[].page / data.pages[].cid | Title, page number and CID of each part of the video. |
data.pic | URL of the video's cover image. |
bv_id looks like BV1M1421t7hT. It is the id in a Bilibili video URL.$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Use Video Details when you have a public Bilibili video URL and need its metadata. Copy the BV identifier from the video URL into bv_id; this variant requires a BV id, not an AV id, creator id or CID. The example BV id is illustrative input, not a promise of current availability.
The reference shows provider-shaped metadata. Counts, owner information and video parts may be absent; a missing count is not zero. A CID identifies a video part and is different from the video's BV id. Do not start an automatic danmaku or model-analysis chain from this first request.
For audience discussion instead, use Video Comments (App) with the same BV identifier. One page of comments is a sample, not every viewer's opinion.
Already have a key? Keep SANDBASE_API_KEY in your local environment, open the API tab and use its POST /v1/api/ route with Bearer authentication. Already connected your agent? Give it this endpoint and one public video identifier. For a new project, share the setup Skill, Markdown quickstart and your task. Ask for one request and a saved response before adding a larger workflow.
Pricing checked on 2026-11-08: both selected endpoints list $0.001 per call and eligibility for the organization's 100 daily free data API calls, shared across eligible APIs and reset at 00:00 UTC. Eligibility does not tell you the remaining allowance. Inspect current pricing and quota before running. No new business request was made for this guide update.
Read outputs[0].data only from a completed SandBase response, then inspect the Bilibili code and data inside that payload. HTTP 200 or a completed gateway call alone does not establish a successful provider result. Preserve missing values as unknown, not zero. The Bilibili Python integration guide includes a bounded first request and separately dated historical response evidence.
빌드를 시작하세요
통합 인증 및 사용량 추적이 있는 플랫폼 API 엔드포인트입니다.
curl -X POST "https://api.sandbase.ai/v1/api/bilibili/web/one-video" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"bv_id": "BV1dVbC6WE6p"
}'서버 환경에 SandBase API 키를 설정하세요. 요청에는 Bearer 인증이 사용됩니다.
export SANDBASE_API_KEY="YOUR_API_KEY"키는 서버에 보관하세요. 브라우저 코드에 노출하지 마세요.
bv_idstring필수Video id
이 API의 저장된 예시 응답입니다. 확인할 때 라이브 요청은 실행되지 않습니다.
[
{
"data": {
"code": 0,
"data": {
"aid": 117098391016567,
"argue_info": {
"argue_link": "",
"argue_msg": "个人观点,仅供参考",
"argue_type": 0
},
"bvid": "BV1dVbC6WE6p",
"cid": 40931491951,
"copyright": 1,
"ctime": 1786780245,
"desc": "视频素材来源:部分从《欢迎来龙餐馆》官方预告片中取得~\n事件来源:\n新华网《外媒:美军战争已结束 集装箱还未开》2012年04月14日\n中国日报《驻伊美军享受星级待遇 品地道咖啡尝空运草莓》2004年03月31日\n玉渊潭天《“9·11”20年:美国的政策为什么全错了?》2021年9月11日",
"desc_v2": [
{
"biz_id": 0,
"raw_text": "视频素材来源:部分从《欢迎来龙餐馆》官方预告片中取得~\n事件来源:\n新华网《外媒:美军战争已结束 集装箱还未开》2012年04月14日\n中国日报《驻伊美军享受星级待遇 品地道咖啡尝空运草莓》2004年03月31日\n玉渊潭天《“9·11”20年:美国的政策为什么全错了?》2021年9月11日",
"type": 1
}
],
"dimension": {
"height": 1080,
"rotate": 0,
"width": 1920
},
"disable_show_up_info": false,
"duration": 941,
"dynamic": "正如龙餐馆的结尾,解救了孩子们的叙利亚国防军,十多年之后也将被美国扶持的极端组织所摧毁一样,伊拉克战争就是一个坏人胜利的故事,无论美国、伊拉克、还是其他周边国家,其实谁都没赢,只有以切尼为代表的团伙赢了。对于世界,我们应该抱有无限的希望,但一定不能心存任何幻想,你是好人,并不代表你会赢:",
"enable_vt": 0,
"honor_reply": {
"honor": [
{
"aid": 117098391016567,
"desc": "热门收录",
"type": 7,
"weekly_recommend_num": 0
}
]
},
"is_chargeable_season": false,
"is_hua_sheng": false,
"is_season_display": true,
"is_story": false,
"is_story_play": 1,
"is_upower_exclusive": false,
"is_upower_exclusive_with_qa": false,
"is_upower_play": false,
"is_upower_preview": false,
"is_view_self": false,
"like_icon": "",
"mission_id": 4066831,
"need_jump_bv": false,
"no_cache": false,
"owner": {
"face": "https://i1.hdslb.com/bfs/face/c8bf8a7330a37588f7f0332a8f3cc8365b9907a5.jpg",
"mid": 476967268,
"name": "TomCat团座"
},
"pages": [
{
"cid": 40931491951,
"ctime": 1786780245,
"dimension": {
"height": 1080,
"rotate": 0,
"width": 1920
},
"duration": 941,
"first_frame": "http://i2.hdslb.com/bfs/storyff/_00000cfc7w6fndsfx2gq0a2c6q252xb_firsti.jpg",
"from": "vupload",
"page": 1,
"part": "史密斯专员太多,中餐馆太香?伊拉克美军吃饭往事",
"vid": "",
"weblink": ""
}
],
"pic": "http://i0.hdslb.com/bfs/archive/19c4d092f6808b73852688416a3a724a3ef4a735.jpg",
"premiere": null,
"pubdate": 1786788300,
"rights": {
"arc_pay": 0,
"autoplay": 1,
"bp": 0,
"clean_mode": 0,
"download": 1,
"elec": 0,
"free_watch": 0,
"hd5": 0,
"is_360": 0,
"is_cooperation": 0,
"is_stein_gate": 0,
"movie": 0,
"no_background": 0,
"no_reprint": 1,
"no_share": 0,
"pay": 0,
"ugc_pay": 0,
"ugc_pay_preview": 0
},
"season_id": 1483582,
"stat": {
"aid": 117098391016567,
"coin": 7746,
"danmaku": 6137,
"dislike": 0,
"evaluation": "",
"favorite": 11834,
"his_rank": 0,
"like": 63015,
"now_rank": 0,
"reply": 5921,
"share": 2145,
"view": 1058293,
"vt": 0
},
"state": 0,
"subtitle": {
"allow_submit": false,
"list": []
},
"teenage_mode": 1,
"tid": 228,
"tid_v2": 2089,
"title": "史密斯专员太多,龙餐馆太香?伊拉克美军吃饭往事",
"tname": "",
"tname_v2": "",
"ugc_season": {
"attribute": 140,
"cover": "https://archive.biliimg.com/bfs/archive/880348d78c8fda6dc9a6ca720b44030083790a81.jpg",
"enable_vt": 0,
"ep_count": 124,
"id": 1483582,
"intro": "怎么,俺就不配键政?(手动狗头)",
"is_pay_season": false,
"mid": 476967268,
"season_type": 1,
"sections": [
{
"episodes": [
{
"aid": 117098391016567,
"arc": {
"aid": 117098391016567,
"author": {
"face": "https://i1.hdslb.com/bfs/face/c8bf8a7330a37588f7f0332a8f3cc8365b9907a5.jpg",
"mid": 476967268,
"name": "TomCat团座"
},
"copyright": 0,
"ctime": 1786788300,
"desc": "",
"desc_v2": null,
"dimension": {
"height": 0,
"rotate": 0,
"width": 0
},
"duration": 941,
"dynamic": "",
"enable_vt": 0,
"is_blooper": false,
"is_chargeable_season": false,
"is_lesson_video": 0,
"pic": "http://i0.hdslb.com/bfs/archive/19c4d092f6808b73852688416a3a724a3ef4a735.jpg",
"pubdate": 1786788300,
"rights": {
"arc_pay": 0,
"autoplay": 0,
"bp": 0,
"download": 0,
"elec": 0,
"free_watch": 0,
"hd5": 0,
"is_cooperation": 0,
"movie": 0,
"no_reprint": 0,
"pay": 0,
"ugc_pay": 0,
"ugc_pay_preview": 0
},
"stat": {
"aid": 117098391016567,
"argue_msg": "",
"coin": 7746,
"danmaku": 6137,
"dislike": 0,
"evaluation": "",
"fav": 11834,
"his_rank": 0,
"like": 63015,
"now_rank": 0,
"reply": 5921,
"share": 2145,
"view": 1058293,
"vt": 0,
"vv": 1058293
},
"state": 0,
"title": "史密斯专员太多,中餐馆太香?伊拉克美军吃饭往事",
"type_id": 0,
"type_id_v2": 0,
"type_name": "",
"type_name_v2": "",
"videos": 0,
"vt_display": ""
},
"attribute": 0,
"bvid": "BV1dVbC6WE6p",
"cid": 40931491951,
"id": 216337265,
"page": {
"cid": 40931491951,
"dimension": {
"height": 1080,
"rotate": 0,
"width": 1920
},
"duration": 941,
"from": "vupload",
"page": 1,
"part": "史密斯专员太多,中餐馆太香?伊拉克美军吃饭往事",
"vid": "",
"weblink": ""
},
"pages": [
{
"cid": 40931491951,
"dimension": {
"height": 1080,
"rotate": 0,
"width": 1920
},
"duration": 941,
"from": "vupload",
"page": 1,
"part": "史密斯专员太多,中餐馆太香?伊拉克美军吃饭往事",
"vid": "",
"weblink": ""
}
],
"season_id": 1483582,
"section_id": 1704803,
"title": "史密斯专员太多,中餐馆太香?伊拉克美军吃饭往事"
},
{
"aid": 117036634085481,
"arc": {
"aid": 117036634085481,
"author": {
"face": "https://i1.hdslb.com/bfs/face/c8bf8a7330a37588f7f0332a8f3cc8365b9907a5.jpg",
"mid": 476967268,
"name": "TomCat团座"
},
"copyright": 0,
"ctime": 1785838074,
"desc": "",
"desc_v2": null,
"dimension": {
"height": 0,
"rotate": 0,
"width": 0
},
"duration": 1073,
"dynamic": "",
"enable_vt": 0,
"is_blooper": false,
"is_chargeable_season": false,
"is_lesson_video": 0,
"pic": "http://i2.hdslb.com/bfs/archive/5719630dcc16d8df4a5642e1e060daa702f86864.jpg",
"pubdate": 1785838074,
"rights": {
"arc_pay": 0,
"autoplay": 0,
"bp": 0,
"download": 0,
"elec": 0,
"free_watch": 0,
"hd5": 0,
"is_cooperation": 0,
"movie": 0,
"no_reprint": 0,
"pay": 0,
"ugc_pay": 0,
"ugc_pay_preview": 0
},
"stat": {
"aid": 117036634085481,
"argue_msg": "",
"coin": 2825,
"danmaku": 2731,
"dislike": 0,
"evaluation": "",
"fav": 5514,
"his_rank": 0,
"like": 36127,
"now_rank": 0,
"reply": 2431,
"share": 557,
"view": 821013,
"vt": 0,
"vv": 821013
},
"state": 0,
"title": "零和赢学新高度:日本6000米深海…玩稀土泥巴?",
"type_id": 0,
"type_id_v2": 0,
"type_name": "",
"type_name_v2": "",
"videos": 0,
"vt_display": ""
},
"attribute": 0,
"bvid": "BV1qLuc6WEnQ",
"cid": 40589264645,
"id": 213730769,
"page": {
"cid": 40589264645,
"dimension": {
"height": 1440,
"rotate": 0,
"width": 2560
},
"duration": 1073,
"from": "vupload",
"page": 1,
"part": "零和赢学新高度:日本6000米深海…玩稀土泥巴?",
"vid": "",
"weblink": ""
},
"pages": [
{
"cid": 40589264645,
"dimension": {
"height": 1440,
"rotate": 0,
"width": 2560
},
"duration": 1073,
"from": "vupload",
"page": 1,
"part": "零和赢学新高度:日本6000米深海…玩稀土泥巴?",
"vid": "",
"weblink": ""
}
],
"season_id": 1483582,
"section_id": 1704803,
"title": "零和赢学新高度:日本6000米深海…玩稀土泥巴?"
},
{
"aid": 116990899394366,
"arc": {
"aid": 116990899394366,
"author": {
"face": "https://i1.hdslb.com/bfs/face/c8bf8a7330a37588f7f0332a8f3cc8365b9907a5.jpg",
"mid": 476967268,
"name": "TomCat团座"
},
"copyright": 0,
"ctime": 1785146700,
"desc": "",
"desc_v2": null,
"dimension": {
"height": 0,
"rotate": 0,
"width": 0
},
"duration": 868,
"dynamic": "",
"enable_vt": 0,
"is_blooper": false,
"is_chargeable_season": false,
"is_lesson_video": 0,
"pic": "http://i0.hdslb.com/bfs/archive/5298a3ba7d06def88b23f6c5479c9fdb42fa7260.jpg",
"pubdate": 1785146700,
"rights": {
"arc_pay": 0,
"autoplay": 0,
"bp": 0,
"download": 0,
"elec": 0,
"free_watch": 0,
"hd5": 0,
"is_cooperation": 0,
"movie": 0,
"no_reprint": 0,
"pay": 0,
"ugc_pay": 0,
"ugc_pay_preview": 0
},
"stat": {
"aid": 116990899394366,
"argue_msg": "",
"coin": 3670,
"danmaku": 1239,
"dislike": 0,
"evaluation": "",
"fav": 5112,
"his_rank": 0,
"like": 24799,
"now_rank": 0,
"reply": 1724,
"share": 491,
"view": 505370,
"vt": 0,
"vv": 505370
},
"state": 0,
"title": "何时冻手?菲律宾海警南海闹事,全靠日本出钱支持?",
"type_id": 0,
"type_id_v2": 0,
"type_name": "",
"type_name_v2": "",
"videos": 0,
"vt_display": ""
},
"attribute": 0,
"bvid": "BV1CB3F6iEf3",
"cid": 40341602795,
"id": 211790150,
"page": {
"cid": 40341602795,
"dimension": {
"height": 1080,
"rotate": 0,
"width": 1920
},
"duration": 868,
"from": "vupload",
"page": 1,
"part": "何时冻手?菲律宾海警南海闹事,全靠日本出钱支持?",
"vid": "",
"weblink": ""
},
"pages": [
{
"cid": 40341602795,
"dimension": {
"height": 1080,
"rotate": 0,
"width": 1920
},
"duration": 868,
"from": "vupload",
"page": 1,
"part": "何时冻手?菲律宾海警南海闹事,全靠日本出钱支持?",
"vid": "",
"weblink": ""
}
],
"season_id": 1483582,
"section_id": 1704803,
"title": "何时冻手?菲律宾海警南海闹事,全靠日本出钱支持?"
},
"… 121 more items in the full response"
],
"id": 1704803,
"season_id": 1483582,
"title": "正片",
"type": 1
}
],
"sign_state": 0,
"stat": {
"coin": 695724,
"danmaku": 366288,
"fav": 686731,
"his_rank": 0,
"like": 3831200,
"now_rank": 0,
"reply": 300193,
"season_id": 1483582,
"share": 137333,
"view": 84116063,
"vt": 0,
"vv": 0
},
"title": "热点的本质"
},
"user_garb": {
"url_image_ani_cut": ""
},
"videos": 1,
"vt_display": ""
},
"message": "OK",
"ttl": 1
}
}
]더 살펴보기
| 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 |
질문
Authorization 헤더(Bearer)에 SandBase API 키를 넣고, 매개변수를 JSON 본문으로 담아 https://api.sandbase.ai/v1/api/bilibili/web/one-video에 POST 요청을 보내세요. 이 페이지의 Playground에서도 코드를 작성하지 않고 직접 테스트할 수 있습니다.
호출당 $0.001, SandBase 잔액에서 청구됩니다. 사용한 호출에 대해서만 요금이 부과되며, 구독은 없습니다.
필수: bv_id (string). 이 페이지의 Parameters 표와 Playground에 모든 필드가 나와 있습니다.
같은 HTTP 요청에서 반환되는 JSON 응답입니다(동기식). 이 페이지의 README에 샘플 응답이 포함되어 있습니다.
아니요. Bilibili Video Details은 SandBase를 통해 실행되므로, SandBase API 키 하나로 이 엔드포인트와 카탈로그의 다른 모든 API 및 모델을 사용할 수 있습니다. Bilibili API 액세스를 별도로 신청할 필요는 없습니다.
공개 Bilibili 동영상 URL의 BV 식별자를 bv_id로 사용하세요. 이 web/one-video 변형은 해당 문자열을 필요로 합니다. AV id, creator id, CID는 같은 입력이 아닙니다. 특정 동영상의 사용 가능 여부는 보장되지 않습니다.
아니요. 완료된 응답에서 outputs[0].data를 읽은 뒤 제공업체 코드와 페이로드를 검증하세요. stat 필드가 누락되었거나 null이면 여전히 미확인 상태입니다. 과거 또는 참조 샘플이 모든 응답의 모든 필드를 보장하지는 않습니다.
선택한 스키마는 Bilibili 쿠키 필드 없이 동영상 식별자와 SandBase Bearer 인증을 사용합니다. agent에게 설정 Skill과 이 정확한 엔드포인트를 제공하고, SandBase 키는 로컬 환경 변수에 보관한 뒤, 한 번 요청하기 전에 현재 가격을 확인하세요. 이 설정만으로 비공개 콘텐츠나 계정 연동 콘텐츠에 대한 접근 권한이 생기지는 않습니다.