# 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

1. `bilibili.videos.detail` with `bv_id` returns the aid and each part's cid.
2. `bilibili.videos.subtitles` with `a_id` and `c_id` returns the subtitle list the video has, with text and timestamps.
3. 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.

## Endpoints

- [Bilibili video subtitles API](https://xtikapi.com/apis/bilibili/videos/subtitles) ($0.002 a call): Subtitle tracks of a Bilibili video, by aid and cid.
- [Bilibili video details API](https://xtikapi.com/apis/bilibili/videos/detail) ($0.002 a call): Get single video data

## More about Bilibili

- [Bilibili API](https://xtikapi.com/apis/bilibili)
- [How do I export Bilibili video comments?](https://xtikapi.com/answers/bilibili-comments-export)
- [Is there an API for Bilibili's hot search and popular videos?](https://xtikapi.com/answers/bilibili-hot-ranking-api)
- [Why does the Bilibili API return 412?](https://xtikapi.com/answers/bilibili-412-error)
- [How do I convert a Bilibili BV ID to an AV number (aid)?](https://xtikapi.com/answers/bilibili-bv-to-aid)
- [Is there a hosted alternative to MediaCrawler for Xiaohongshu, Douyin and other Chinese platforms?](https://xtikapi.com/answers/mediacrawler-alternative)

## 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

---

XTikAPI: one API key for public social media data, prepaid per call. [HTML version](https://xtikapi.com/answers/bilibili-ai-subtitles-api) · [llms.txt](https://xtikapi.com/llms.txt) · [OpenAPI](https://xtikapi.com/openapi.json)
