Skip to main content

GET /v1/bilibili/util/video_caption_v2

Bilibili Video Captions API (V2)

stable · 20 credits per success

Retrieve the caption data of a Bilibili video part identified by BVID, AID and CID. Use it to obtain subtitles for transcript extraction, accessibility review or language-oriented content analysis.

Sign up for 500 credits and run with your own API key. Sign up free

Request

curl
curl -s 'https://api.wellbyte.net/v1/bilibili/util/video_caption_v2?aid=demo&cid=demo&bvid=demo' \
  -H "Authorization: Bearer dg_live_…"

Response

Sample captured 2026-09-23

data{
code:0
data[
0{ 3 items }
1:"…共 2 项"
]
meta{
endpoint:"bilibili.util.video_caption_v2"
cache_hit:false
elapsed_ms:0
request_id:"req_sample"
credits_charged:0
}
message:"ok"
}

No calls yet. Get one green run first, then switch to your own data.

    Request parameters

    NameTypeInRequiredDescriptionExample
    aidstringqueryyes哔哩哔哩 AID。demo
    cidstringqueryyes哔哩哔哩 CID。demo
    bvidstringqueryyes哔哩哔哩 视频 ID (BVID)。demo

    Response fields

    Field dictionary coming soon — the executable panel shows the live shape.

    Errors

    codeHTTPMeaningBilled
    40001400Invalid parametersno
    40102401Invalid or revoked API Keyno
    40201402Insufficient creditsno
    40402404Resource not foundno
    42201422Quality gate failedno
    42901429Rate limit exceededno
    50401504Upstream timeoutno
    50201502Upstream errorno

    Billing

    Success costs 20 credits. Any failure — including a 200 that fails the quality gate — costs 0.

    All Bilibili endpoints →

    Search

    Search endpoints and docs