How do I get a Bilibili video's subtitles, including AI subtitles, through an API? (2026)
Bilibili's AI subtitles come from its AI summary endpoint, which bilibili-API-collect documents as taking the BV ID, the cid and a WBI signature; it recognizes Chinese and English speech and always returns Chinese subtitles. To pull a video's subtitle list without signing requests, call XTikAPI's bilibili.videos.detail for the aid and cid, then bilibili.videos.subtitles, $0.002 each. XTikAPI reads Bilibili with 10 endpoints from $0.002 a call. A failed call is not charged, and a verified account gets $0.50 of trial balance.
Updated 2026-11-20
What the community docs say
PR 1406 (2025-09-24) to bilibili-API-collect: the AI summary endpoint x/web-interface/view/conclusion/get takes bvid, cid and the WBI parameters w_rid and wts; up_mid became optional; the subtitle part is AI speech recognition, only Chinese and English speech, returned as Chinese subtitles. Calling it yourself means computing WBI signatures.
How XTikAPI does it
bilibili.videos.detailwithbv_idreturns the aid and each part's cid.bilibili.videos.subtitleswitha_idandc_idreturns the subtitle list the video has, with text and timestamps.- Multi-part videos: one call per cid.
What 100 videos cost
Detail plus subtitles for 100 single-part videos: 200 calls at $0.002, $0.40.
Why XTikAPI
- See before you pay: 192 of 229 endpoints show a recorded real response on their page (10 of 10 for Bilibili).
- One shape: posts, comments and accounts from 19 platforms come back as the same objects, author in author and counts in metrics, so another platform needs no new parser.
- Spending you control: a failed call or a timeout is not charged (charged: false), X-Max-Price caps one call, and the same Idempotency-Key within 24 hours is never billed twice.
- Prepaid balance, no subscription. Balance never expires, and unused top-up money can be refunded within 14 days.
- Made for AI: every page has a Markdown twin, plus llms.txt and OpenAPI, so ChatGPT, Claude and Cursor can read it directly.
- Free trial: a verified account gets $0.50, no card.
Endpoints
Each with its price; the endpoint page has parameters, fields and a recorded response.
Sources
What this page says about other products comes from their own pages and docs, read on 2026-11-20.
- bilibili-API-collect PR 1406: AI summary and AI subtitles
More about Bilibili
- Bilibili API
- How do I export Bilibili video comments?
- Is there an API for Bilibili's hot search and popular videos?
- Why does the Bilibili API return 412?
- How do I convert a Bilibili BV ID to an AV number (aid)?
- Is there a hosted alternative to MediaCrawler for Xiaohongshu, Douyin and other Chinese platforms?
One key. Start now.
19 platforms, 229 endpoints, from $0.002 a call. Errors and timeouts are free.
Start free