Bilibili Transcript: Subtitles and AI Translation
Pricing
from $120.00 / 1,000 video transcribeds
Bilibili Transcript: Subtitles and AI Translation
Get the transcript of public Bilibili videos by speech recognition. Input: video URLs, BV or av ids, b23.tv links. Output: one row per video with title, uploader, stats, text, timed lines, SRT and VTT, plus an optional AI translation with the same timestamps. No login.
Pricing
from $120.00 / 1,000 video transcribeds
Rating
0.0
(0)
Developer
Istmobot
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
2 days ago
Last modified
Categories
Features
Share
Get the transcript of any public Bilibili (哔哩哔哩) video, with timed lines and ready-to-use SRT and VTT subtitles, plus an optional AI translation that keeps the same lines and the same timestamps. Paste video URLs, BV ids, av ids or b23.tv short links. No login, no cookies, no API key.
What is Bilibili Transcript?
It turns the speech of Bilibili videos into text. Most Bilibili videos have no subtitles that a logged-out visitor can read, so this Actor does not depend on them: it reads the public audio track of the video and recognizes the speech inside the run.
Who uses it:
- Researchers and analysts who need to search, quote or code what is said in Chinese videos.
- Language learners and teachers who want the Chinese text and a translation side by side.
- Creators and localization teams who need a first draft of subtitles in SRT or VTT.
- Brands and agencies who want to know what reviewers say about a product in China.
- AI and data teams who feed transcripts into search, RAG, summaries or classification.
What it does:
- Accepts every usual form of a video link:
bilibili.com/video/BV..., mobile links, BV ids, av ids,b23.tvshort links, and?p=3links to one part. - Handles multi-part videos (分P): the part in the link, one part, a range of parts, or all of them.
- Recognizes Mandarin, Cantonese, English, Japanese and Korean, and tells you which language it found.
- Returns video data in the same row: title, uploader, views, likes, coins, favorites, danmaku count, publication date.
- Translates with AI into 21 languages when you ask for it. The number of lines and every timestamp are checked in code; a translation that does not line up is dropped and not charged.
- Never transcribes more than your run's maximum cost pays for.
What it does not do:
- It does not read films, series or anime episodes (
bangumilinks witheporssids), live streams, paid courses or members-only videos. - It does not recognize other languages. A video whose speech is clearly in another language (Spanish, Russian, Thai and so on) comes back as a free
UNSUPPORTED_LANGUAGErow. The check is automatic and can miss a mixed or noisy recording. - It does not identify who is speaking.
- It does not download the video file.
What data can I get?
One row per video, or one row per part of a multi-part video.
| Field | Meaning |
|---|---|
input | The link or id you sent |
url, bvid, aid, cid | The video's address and Bilibili's ids for the video and the part |
title | Title of the video |
part, partTitle, partsTotal | Number and name of the part, and how many parts the video has |
uploader.mid, uploader.name | Who uploaded the video |
stats | views, likes, coins, favorites, shares, danmaku, comments at the time of the run |
publishedAt | Publication date, UTC |
category, description, thumbnail | More about the video; category is null when Bilibili does not give it |
videoDurationSeconds | Length of the video or part |
transcribedSeconds | Seconds of audio that were read |
truncated, truncatedReason | Whether the transcript stops before the end of the video, and why |
language | Language found: zh, en, ja or ko (Cantonese counts as zh) |
source | How the text was obtained: speech-recognition |
segmentCount | Number of timed lines |
text | The whole transcript with punctuation |
segments | Timed lines: start and end in seconds, and text |
srt, vtt | Subtitles as text, ready to be saved to a file |
translationLanguage | Language code of the translation, or null when there is none |
translatedText, translatedSegments, translatedSrt, translatedVtt | The translation, with the same lines and timestamps as the transcript |
translationError | Why a requested translation is missing, or null |
scrapedAt | When the row was made, UTC |
The translation fields appear only when translateTo is set. segments, srt and vtt can be switched on and off.
How much does it cost?
You pay per delivered result. Prices below are the base prices; higher Apify plans get a discount.
| Event | Price | When it is charged |
|---|---|---|
| Actor start | $0.0025 per GB of memory, so $0.005 per run at the default 2 GB | Once per run |
video-transcribed | $0.15 | Per video (or part) returned with its transcript; the first 15 minutes are included |
extra-minute | $0.012 | Per started minute after the first 15 |
translation | $0.07 | Per started 15 minutes of transcript translated |
Examples:
| Job | Cost |
|---|---|
| 1 video of 4 minutes | $0.15 |
| 1 video of 4 minutes, translated to English | $0.22 |
| 1 video of 25 minutes | $0.15 + 10 × $0.012 = $0.27 |
| 1 video of 25 minutes, translated | $0.27 + 2 × $0.07 = $0.41 |
| 100 videos of up to 15 minutes | $15.00 |
| 1,000 videos of up to 15 minutes | $150.00 |
Plus $0.005 per run. Error rows are free: deleted videos, wrong links, videos without speech and failed downloads cost nothing. A failed translation is not charged; its transcript still is, because you receive it.
How to keep the cost under control:
- Set Maximum cost per run. Before each video the Actor works out how many minutes the rest of the budget pays for, and transcribes no more than that.
- Set
maxMinutesPerVideoto 15 to pay only the base price, however long the video is. - Set
maxTranscriptswhen you usepart: "all": some courses have hundreds of parts.
How to use Bilibili Transcript
- Open the Actor and press Try for free.
- Paste one or more Bilibili links into Bilibili videos. The field comes with a working example.
- Choose a language in Translate to if you want a translation. This needs a paid Apify plan.
- Press Start. The example takes well under a minute.
- Open the Output tab, or export the rows as JSON, CSV or Excel. To get a subtitle file, save the
srtorvttfield of a row asname.srtorname.vtt.
Through the API, one call returns the rows when the run ends:
curl -X POST "https://api.apify.com/v2/acts/istmobot~bilibili-transcript/run-sync-get-dataset-items" \-H "Authorization: Bearer <YOUR_API_TOKEN>" \-H "Content-Type: application/json" \-d '{"videoUrls": ["https://www.bilibili.com/video/BV1sZ421z7xT"], "translateTo": "en"}'
This synchronous endpoint waits at most 5 minutes. For long videos or long lists start a normal run and read its dataset when it ends.
Monitor a channel
A good recurring use is to transcribe every new video of an uploader. Schedule Bilibili Scraper in user mode to list the newest uploads, and send the new BV ids to this Actor with a webhook or an n8n, Make or Zapier scenario. Keep the BV ids you have already sent, so that no video is paid twice: this Actor keeps no memory between runs.
⬇️ Input
{"videoUrls": ["https://www.bilibili.com/video/BV1sZ421z7xT","BV1Y94y1s7rY","https://www.bilibili.com/video/BV1Kx41127hK?p=2"],"part": "","translateTo": "en","maxMinutesPerVideo": 15,"maxTranscripts": 20,"includeSegments": true,"includeSrt": true,"includeVtt": false}
| Field | Type | Default | Description |
|---|---|---|---|
videoUrls | list of strings, required | Up to 500 video URLs, BV ids, av ids or b23.tv links. Repeated entries are read once. | |
part | string | empty | For multi-part videos. Empty: the part in the link's ?p=, or the first one. all: every part. 3: part 3. 2-5: parts 2 to 5. |
translateTo | string | empty | en, es, pt, fr, de, it, nl, pl, ru, uk, tr, ar, hi, id, ms, vi, th, ja, ko, zh or zh-TW. Empty: no translation. |
maxMinutesPerVideo | integer, 1 to 120 | 60 | Stop each video or part after this many minutes. |
maxTranscripts | integer, 1 to 500 | 20 | Stop the run after this many transcripts. |
includeSegments | boolean | true | Add the timed lines. |
includeSrt | boolean | true | Add SRT text. |
includeVtt | boolean | false | Add WebVTT text. |
Every part of a course, five minutes of each:
{ "videoUrls": ["https://www.bilibili.com/video/BV17p4y1B77x"], "part": "all", "maxMinutesPerVideo": 5, "maxTranscripts": 30 }
⬆️ Output
A real row, with the long lists and texts cut short:
{"input": "https://b23.tv/BV1sZ421z7xT","url": "https://www.bilibili.com/video/BV1sZ421z7xT","bvid": "BV1sZ421z7xT","aid": 1150206458,"cid": 1429780105,"title": "快过年了不会打麻将?一分钟教会你,在聚会上嘎嘎乱杀!","part": 1,"partTitle": "快过年了不会打麻将?一分钟教会你,在聚会上嘎嘎乱杀!","partsTotal": 1,"uploader": {"mid": 1581616848,"name": "小聪明张建国"},"stats": {"views": 10046397,"likes": 166780,"coins": 28661,"favorites": 397293,"shares": 6838,"danmaku": 746,"comments": 1252},"publishedAt": "2024-02-06T10:00:00.000Z","category": null,"description": "","thumbnail": "https://i1.hdslb.com/bfs/archive/4080fb08cf51ccf87273abbee7741c1118e9d1cd.jpg","videoDurationSeconds": 75,"language": "zh","source": "speech-recognition","transcribedSeconds": 74.63,"truncated": false,"truncatedReason": null,"segmentCount": 23,"text": "99%的人都不知道,我得玩麻将,过年的乐趣笑一大半。这天建国手把手教你别再说你学不会了。麻将的本质就是拿到一张,打出去一张,一直保证自己面前有13张牌,在来回摸牌的过程中,和自己手里杂乱无序的牌行,变成规则有序的牌行,想…","segments": [{"start": 0.12,"end": 3.83,"text": "99%的人都不知道,我得玩麻将,过年的乐趣笑一大半。"},{"start": 3.83,"end": 6.79,"text": "这天建国手把手教你别再说你学不会了。"},{"start": 6.79,"end": 9.62,"text": "麻将的本质就是拿到一张,打出去一张,"}],"srt": "1\n00:00:00,120 --> 00:00:03,830\n99%的人都不知道,我得玩麻将,过年的乐趣笑一大半。\n\n2\n00:00:03,830 --> 00:00:06,790\n这天建国手把手教你别再说你学不会了。\n…","translationLanguage": "en","translatedText": "99% of people don't know that I play mahjong, and the fun of the New Year is more than half of it. Today Jiang…","translatedSegments": [{"start": 0.12,"end": 3.83,"text": "99% of people don't know that I play mahjong, and the fun of the New Year is more than half of it."},{"start": 3.83,"end": 6.79,"text": "Today Jianguo will teach you step by step, so stop saying you can't learn it."},{"start": 6.79,"end": 9.62,"text": "The essence of mahjong is to take one tile and discard one tile,"}],"translatedSrt": "1\n00:00:00,120 --> 00:00:03,830\n99% of people don't know that I play mahjong, and the fun of the New Year is more than half of it.\n\n2\n00:00:03,830 --> 00:00:06,790\nToday Jianguo will teach you step by step, so stop saying you can't learn it.\n…","translationError": null,"scrapedAt": "2026-11-23T03:32:25.462Z"}
Notes:
textis the transcript as recognized.segmentsholds the same words cut into lines of subtitle length.- How exact are the times? The audio is first cut at pauses into blocks of up to 20 seconds, and the start and end of every block are measured. Inside a block, the time is divided among the lines by their length, so a line can be off by a second or two. Where a line ends at a pause, its time is exact.
truncatedis true when the transcript stops before the video does.truncatedReasonismaxMinutesPerVideo,maximum cost per run, orthe audio track is shorter than the video.- Stats are the public counters at the time of the run.
How good is the text?
Clear speech in Mandarin or English usually gives a transcript that reads well. Expect mistakes in names, brands, homophones, very fast speech, dialects, and where music covers the voice. Sung words are unreliable. The Actor does not correct the text, so use it as a draft when every word matters.
The translation is made from that text. The AI sees neighbouring lines, so it can often work around a misheard word, but a wrong transcript can still lead to a wrong translation.
Error items
Anything that cannot be transcribed becomes a row with errorType and error, and is not charged:
{"input": "https://b23.tv/zzzzzzzz9","errorType": "NOT_FOUND","error": "This short link does not lead to a Bilibili video","scrapedAt": "2026-11-23T03:36:52.107Z"}
errorType | Meaning |
|---|---|
INVALID_VIDEO | Not a Bilibili BV id, av id, video URL or b23.tv link |
NOT_FOUND | The video or short link does not exist, is private, or is not shown to logged-out visitors |
PART_NOT_FOUND | The video does not have the part you asked for |
NOT_PUBLIC | Bilibili serves only a short preview without login |
NO_AUDIO | The video has no usable audio track |
UNSUPPORTED_LANGUAGE | The speech is in a language the Actor does not recognize |
NO_SPEECH | The audio has no recognizable speech, for example music only |
RISK_CONTROL | Bilibili refused the request after all retries; try again later |
API_ERROR | Bilibili answered with another error, whose code and message are in error |
FETCH_FAILED | The network or the audio server failed after all retries |
TRANSCRIPTION_FAILED | The audio could not be read to the end |
A row whose transcript is fine but whose translation is missing is not an error row: it has translationError with the reason.
If the input itself is wrong (no videos, an unknown language code, a bad part), the run fails at once with a message that says what to change.
Integrations & API
Python (pip install apify-client), saving one subtitle file per video:
from apify_client import ApifyClientclient = ApifyClient("<YOUR_API_TOKEN>")run = client.actor("istmobot/bilibili-transcript").call(run_input={"videoUrls": ["BV1sZ421z7xT", "BV1Y94y1s7rY"],"translateTo": "en",})for row in client.dataset(run["defaultDatasetId"]).iterate_items():if row.get("error"):print(row["input"], row["errorType"], row["error"])continuewith open(f"{row['bvid']}-p{row['part']}.srt", "w", encoding="utf-8") as f:f.write(row.get("translatedSrt") or row["srt"])
Node.js (npm install apify-client):
import { ApifyClient } from 'apify-client';const client = new ApifyClient({ token: '<YOUR_API_TOKEN>' });const run = await client.actor('istmobot/bilibili-transcript').call({ videoUrls: ['https://www.bilibili.com/video/BV1sZ421z7xT'], maxMinutesPerVideo: 15 },{ maxTotalChargeUsd: 1 },);const { items } = await client.dataset(run.defaultDatasetId).listItems();for (const row of items) console.log(row.title, row.text ?? row.error);
curl, reading only a few fields of a finished run:
curl -H "Authorization: Bearer <YOUR_API_TOKEN>" \"https://api.apify.com/v2/datasets/<DATASET_ID>/items?fields=bvid,title,text,translatedText"
- Make, Zapier, n8n: use the Apify app or node, choose this Actor, and send rows to Google Sheets, Notion, Airtable, Slack or a database.
- Webhooks: call your own endpoint when a run succeeds, and read the dataset from there.
- Schedules: run a fixed list, or a list prepared by another Actor, every day or every week.
- RAG and search: index
text, or indexsegmentsand link each hit to the moment in the video with?t=<seconds>.
🤖 Use with AI agents (MCP)
Claude, ChatGPT and other MCP clients can call this Actor through the Apify MCP server:
https://mcp.apify.com?tools=istmobot/bilibili-transcript
Example prompts:
- "Get the transcript of https://www.bilibili.com/video/BV1sZ421z7xT in English and explain the rules it teaches."
- "Transcribe the first 10 minutes of these five Bilibili reviews and list what each one says about battery life, with timestamps."
Want other data from Bilibili?
- Bilibili Scraper: search, rankings, popular videos, channels, tags and top comments. Use it to find the videos to transcribe.
More transcripts and media:
- YouTube Transcript Scraper: captions of YouTube videos.
- Bulk Text Translator: translate texts or whole datasets.
- AI Data Enricher: add AI columns to the transcripts, for example topic, sentiment or a summary.
❓ FAQ
Do I need a Bilibili account or cookies? No. The Actor reads what Bilibili shows to anonymous visitors, and nothing else.
Why not use Bilibili's own subtitles? Because Bilibili shows them only to logged-in users in almost all cases. On the sample of 18 videos checked while building this Actor, none had subtitles that could be read without login. Speech recognition works for every public video with speech.
Which languages can be recognized?
Mandarin, Cantonese, English, Japanese and Korean. The language is detected on its own. A video in several of these languages also works; language then tells the main one.
What about videos dubbed by AI? The Actor reads the audio track that Bilibili serves by default, which is normally the original.
How long does it take? At the default 2 GB, about a quarter of the audio's length: a 4-minute video takes about a minute, a 15-minute video about four. Videos are processed one after the other. A run has a timeout of one hour by default, which fits about 2 to 3 hours of audio. The Actor stops cleanly before a video that would not fit; raise the timeout for longer jobs.
Does more memory make it faster? A little: up to 4096 MB gives a full processor core. The price per video is the same; only the start fee grows with memory.
Can I transcribe films, series or anime?
No. Those bangumi pages are licensed content with their own rules, and many are for members only.
Are there limits on translation?
AI translation needs a paid Apify plan. The cost of each block of 15 minutes is capped, which is enough for fast speakers. In the rare case that it is not, or that the lines do not line up after a retry, the translation is dropped, translationError says so and you do not pay for it. If the speech is already in the language you asked for, no translation is made and nothing is charged.
Which AI and speech models are used? Speech recognition is SenseVoice Small (sherpa-onnx int8 export), by the FunASR / FunAudioLLM team at Alibaba, used under the FunASR Model Open Source License. The spoken language is checked with OpenAI's Whisper tiny (MIT). Voice detection is Silero VAD (MIT). Both run inside the Actor with sherpa-onnx (Apache-2.0), so the audio is not sent to a speech service. Translation uses Anthropic's Claude Haiku, which receives the text of the transcript.
What happens if the run is restarted? It goes on after the rows it has already saved and does not charge them again.
Is it legal? The Actor reads public pages and public audio only, with no login. The speech and the text made from it can still be protected by copyright, and uploader names are personal data. Use transcripts for purposes you have a right to, such as research, quotation, accessibility or your own videos, and ask the rights holder before you publish a full transcript or subtitles of someone else's video.
Which export formats are there?
JSON, CSV, Excel, XML and more from the dataset, and SRT or WebVTT inside each row. For CSV, switch includeSegments off to keep the table narrow.
I need help with a run. Open an issue with the run's link. Error rows already say what went wrong in most cases.
Your feedback
Found a bad transcript, or need another field or language? Open an issue in the Issues tab with the BV id and, if you can, the minute where it goes wrong.
This is an unofficial tool. It is not affiliated with, endorsed by or sponsored by Bilibili Inc. (哔哩哔哩).