Bilibili · Content details
Video subtitles (transcript, timed sentences)
Send video links or BV IDs; get one record per video with the full transcript, timed sentences, language and whether it is machine‑made.
POST/v1/bilibili/subtitles
$0.01per record
- 1,000 records
- ≈ $10.00
- minimum per record fetched
- $0.003
Paid balance onlyOne request, no cursor
Send it
POST with a JSON body, or GET with the same parameters in the query string. Your key goes in the Authorization header.
curl -X POST "https://api.silklinedata.com/v1/bilibili/subtitles" \
-H "Authorization: Bearer $SILKLINE_KEY" \
-H "Content-Type: application/json" \
-d '{"limit":5,"videos":["BV1M1421t7hT"]}'import os, requests
response = requests.post(
"https://api.silklinedata.com/v1/bilibili/subtitles",
headers={"Authorization": "Bearer " + os.environ["SILKLINE_KEY"]},
json={
"limit": 5,
"videos": ["BV1M1421t7hT"],
},
)
answer = response.json()
print(answer["data"], answer["meta"]["charged_usd"])const response = await fetch("https://api.silklinedata.com/v1/bilibili/subtitles", {
method: "POST",
headers: { Authorization: `Bearer ${process.env.SILKLINE_KEY}`, "Content-Type": "application/json" },
body: JSON.stringify({
"limit": 5,
"videos": [
"BV1M1421t7hT"
]
}),
});
const { data, cursor, meta } = await response.json();
console.log(data, meta.charged_usd);What comes back
Records from a real request on 2026-11-09. Names, avatars and profile links of ordinary users show as <masked>; long text is cut here, not in the API.
{
"data": [
{
"type": "subtitle",
"bvid": "BV1M1421t7hT",
"url": "https://www.bilibili.com/video/BV1M14…",
"title": "陈翔六点半:恶语伤人六月寒",
"authorName": "<masked>",
"durationSeconds": 353,
"language": "zh",
"languageName": "中文",
"isAiGenerated": true,
"availableLanguages": [
"ai-zh"
],
"segmentCount": 167,
"text": "我市著名企业爆出一些令人震惊的猥亵事…",
"segments": [
{
"start": 0.04,
"end": 3.14,
"text": "我市著名企业爆出一些令人震惊的猥亵事…"
},
{
"start": 3.14,
"end": 3.72,
"text": "据了解"
},
{
"start": 3.72,
"end": 5.74,
"text": "受害者网络影响平反报案"
}
]
}
],
"cursor": null,
"meta": {
"request_id": "req_01JD8Q…",
"charged_usd": "0.010000",
"balance_usd": "9.875000",
"items": 1
}
}Fields 13
| Field | Type | Example value |
|---|---|---|
| type | string | subtitle |
| bvid | string | BV1M1421t7hT |
| url | string | https://www.bilibili.com/video/BV1M1421t7hT |
| title | string | 陈翔六点半:恶语伤人六月寒 |
| authorName | string | <masked> |
| durationSeconds | number | 353 |
| language | string | zh |
| languageName | string | 中文 |
| isAiGenerated | boolean | true |
| availableLanguages | array | ["ai-zh"] |
| segmentCount | number | 167 |
| text | string | 我市著名企业爆出一些令人震惊的猥亵事件 据了解 受害者网络影响平反报案 这女的穿的就不正经 谁上班 这么穿的指不定就是故… |
| segments | array | [{"start":0.04,"end":3.14,"text":"我市著名企业爆出一些令人震惊的猥亵事件"},{"st… |
Parameters 2
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
| limit | integer | no | How many records to return, 1 to 100. A request never returns more than this. | 5 |
| videos | array | yes | Bilibili video URLs or BV IDs, e.g. https://www.bilibili.com/video/BV1M1421t7hT or BV1M1421t7hT. Short links (https://b23.tv/...) work too. without it you get the first part. | ["BV1M1421t7hT"] |
Paging
This endpoint answers in one request: raise limit (up to 100) for more records. cursor is always null.
Rather not wait? Submit it as a job and collect the records when it is done, at the same price. How jobs work
What a request costs
You pay for the records delivered or the endpoint minimum for each page of each item you ask for (a keyword, a user, a link), whichever is more; an item that is looked up and has nothing there counts as one page, and only timeouts and errors, on our side or the platform side, are not charged.
Here each record is fetched on its own; the minimum is $0.003 for each.
- 1 record: up to $0.01
- 20 records: up to $0.20
- 100 records: up to $1.00
The response's meta says what was charged (charged_usd) and what is left (balance_usd). Errors on our side are not charged.
Questions
What parameters does Video subtitles (transcript, timed sentences) take?
Required: videos. Every request also takes limit (1 to 100).
How many records does one request return?
Up to 100 (limit 1 to 100). A page holds up to 1 records, so 100 records take 100 pages in one request.
Can I page through more results?
No. This endpoint answers in full in one request; the answer's cursor is null.
How much does it cost?
Per record: subtitle $0.01. The minimum is $0.003 for each page of each item you ask for: when the records come to less than the minimums of the pages they fill, you pay those minimums instead. 100 records of one item cost at most $1.00.
What does a request cost when it fails or comes back empty?
You pay for the records delivered or the endpoint minimum for each page of each item you ask for (a keyword, a user, a link), whichever is more; an item that is looked up and has nothing there counts as one page, and only timeouts and errors, on our side or the platform side, are not charged. Each answer's meta says what the request was charged and the balance left.