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.
  • 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

One key. Start now.

19 platforms, 229 endpoints, from $0.002 a call. Errors and timeouts are free.

Start free