amagi
  1. bilibili
amagi
  • douyin
    • 获取单个作品数据【视频、图集】
      GET
    • 获取用户合辑作品数据
      GET
    • 获取单个作品评论数据
      GET
    • 获取博主主页信息数据
      GET
    • 获取指定博主主页已发布的视频列表数据
      GET
    • 获取热点词数据
      GET
    • 获取指定内容的搜索数据
      GET
    • 获取抖音表情数据
      GET
    • 获取互动表情数据
      GET
    • 获取音乐(BGM)数据
      GET
    • 获取指定博主的直播间数据
      GET
    • 获取指定视频的评论回复数据
      GET
  • bilibili
    • 登录相关
      • 申请二维码
      • 二维码状态
      • 登录基本信息
    • 获取单个视频稿件详情信息
      GET
    • 获取视频流地址
      GET
    • 获取指定稿件评论列表
      GET
    • 获取番剧基本信息
      GET
    • 获取番剧视频流地址
      GET
    • 获取指定用户的动态列表
      GET
    • 获取指定动态详情
      GET
    • 获取指定动态卡片数据
      GET
    • 获取指定用户的信息
      GET
    • 获取平台emoji表情数据
      GET
    • 获取指定直播间信息
      GET
    • 获取直播间初始化信息
      GET
    • 通过bv号获得视频aid(av)号
      GET
    • 通过av号获得视频bvid(bv)号
      GET
    • 获取指定UP主的总播放量
      GET
  • kuaishou
    • 获取单个视频作品详情信息
    • 获取单个作品评论数据
    • 获取快手表情数据
  1. bilibili

获取单个视频稿件详情信息

开发环境
http://localhost:4567/api
开发环境
http://localhost:4567/api
GET
http://localhost:4567/api
/bilibili/fetch_one_video
最后修改时间:2025-01-06 18:48:55

请求参数

Query 参数
bvid
string 
稿件BV号
必需
示例值:
BV1tW42197za

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://localhost:4567/api/bilibili/fetch_one_video?bvid=BV1tW42197za'

返回响应

🟢200成功
application/json
Body
code
integer 
必需
message
string 
必需
ttl
integer 
必需
data
object 
必需
bvid
string 
必需
aid
integer 
必需
videos
integer 
必需
tid
integer 
必需
tid_v2
integer 
必需
tname
string 
必需
tname_v2
string 
必需
copyright
integer 
必需
pic
string 
必需
title
string 
必需
pubdate
integer 
必需
ctime
integer 
必需
desc
string 
必需
desc_v2
array [object {3}] 
必需
state
integer 
必需
duration
integer 
必需
rights
object 
必需
owner
object 
必需
stat
object 
必需
argue_info
object 
必需
dynamic
string 
必需
cid
integer 
必需
dimension
object 
必需
premiere
null 
必需
teenage_mode
integer 
必需
is_chargeable_season
boolean 
必需
is_story
boolean 
必需
is_upower_exclusive
boolean 
必需
is_upower_play
boolean 
必需
is_upower_preview
boolean 
必需
enable_vt
integer 
必需
vt_display
string 
必需
no_cache
boolean 
必需
pages
array [object {9}] 
必需
subtitle
object 
必需
is_season_display
boolean 
必需
user_garb
object 
必需
honor_reply
object 
必需
like_icon
string 
必需
need_jump_bv
boolean 
必需
disable_show_up_info
boolean 
必需
is_story_play
integer 
必需
is_view_self
boolean 
必需
示例
{
    "code": 0,
    "message": "0",
    "ttl": 1,
    "data": {
        "bvid": "BV1tW42197za",
        "aid": 1856395884,
        "videos": 1,
        "tid": 231,
        "tid_v2": 2099,
        "tname": "计算机技术",
        "tname_v2": "电脑",
        "copyright": 1,
        "pic": "http://i2.hdslb.com/bfs/archive/1888ba7d5e9bd55ad5a497a14c5537c1065542bc.jpg",
        "title": "超详细的WSL教程:Windows上的Linux子系统",
        "pubdate": 1722169595,
        "ctime": 1722169595,
        "desc": "Windows终端秒变Ubuntu,在Windows 里运行Linux命令,在Linux里又能使用Windows软件。Docker,显卡直通这些功能当然也不在话下。 以上这些神奇操作都来自Windows自带的功能WSL (Windows Subsystem for Linux) ,也就是运行在 windows 上的Linux 子系统。本期我们就来看看这个能让windows 与 Linux二合一的强大工具。",
        "desc_v2": [
            {
                "raw_text": "Windows终端秒变Ubuntu,在Windows 里运行Linux命令,在Linux里又能使用Windows软件。Docker,显卡直通这些功能当然也不在话下。 以上这些神奇操作都来自Windows自带的功能WSL (Windows Subsystem for Linux) ,也就是运行在 windows 上的Linux 子系统。本期我们就来看看这个能让windows 与 Linux二合一的强大工具。",
                "type": 1,
                "biz_id": 0
            }
        ],
        "state": 0,
        "duration": 877,
        "rights": {
            "bp": 0,
            "elec": 0,
            "download": 1,
            "movie": 0,
            "pay": 0,
            "hd5": 0,
            "no_reprint": 1,
            "autoplay": 1,
            "ugc_pay": 0,
            "is_cooperation": 0,
            "ugc_pay_preview": 0,
            "no_background": 0,
            "clean_mode": 0,
            "is_stein_gate": 0,
            "is_360": 0,
            "no_share": 0,
            "arc_pay": 0,
            "free_watch": 0
        },
        "owner": {
            "mid": 316183842,
            "name": "技术爬爬虾",
            "face": "https://i0.hdslb.com/bfs/face/a67a0cabfdd8b1c9f4d4ef75e1a3d06a1d1c550e.jpg"
        },
        "stat": {
            "aid": 1856395884,
            "view": 187685,
            "danmaku": 236,
            "reply": 902,
            "favorite": 11945,
            "coin": 2740,
            "share": 1299,
            "now_rank": 0,
            "his_rank": 0,
            "like": 7135,
            "dislike": 0,
            "evaluation": "",
            "vt": 0
        },
        "argue_info": {
            "argue_msg": "",
            "argue_type": 0,
            "argue_link": ""
        },
        "dynamic": "",
        "cid": 1630340704,
        "dimension": {
            "width": 3840,
            "height": 2160,
            "rotate": 0
        },
        "premiere": null,
        "teenage_mode": 0,
        "is_chargeable_season": false,
        "is_story": false,
        "is_upower_exclusive": false,
        "is_upower_play": false,
        "is_upower_preview": false,
        "enable_vt": 0,
        "vt_display": "",
        "no_cache": false,
        "pages": [
            {
                "cid": 1630340704,
                "page": 1,
                "from": "vupload",
                "part": "超详细的WSL教程:Windows上的Linux子系统",
                "duration": 877,
                "vid": "",
                "weblink": "",
                "dimension": {
                    "width": 3840,
                    "height": 2160,
                    "rotate": 0
                },
                "first_frame": "http://i0.hdslb.com/bfs/storyff/n240728sa2m65a6kt8xzpb1fwiyhrpph_firsti.jpg"
            }
        ],
        "subtitle": {
            "allow_submit": false,
            "list": []
        },
        "is_season_display": false,
        "user_garb": {
            "url_image_ani_cut": ""
        },
        "honor_reply": {},
        "like_icon": "",
        "need_jump_bv": false,
        "disable_show_up_info": false,
        "is_story_play": 1,
        "is_view_self": false
    }
}
修改于 2025-01-06 18:48:55
上一页
登录基本信息
下一页
获取视频流地址
Built with