Bilibili video captions by video id
justoneapi.x.bilibili-get-video-caption-v2Retrieves caption data for a Bilibili video segment identified by BVID, AID, and CID.
- Price
- $0.01476/successAt provider cost
- Success rate
- 100%Last 30 days · 33 calls
- Latency p50
- 1.2 sp95 7.7 s
- Last verified
- Jul 28, 2026Verified working
GEThttps://toolswitch.dev/v1/tools/justoneapi.x.bilibili-get-video-caption-v2?aid=113006243481679&cid=39357713899&bvid=BV1QEgZ6rEGjPreviewTry onlineComing soonProvider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
Parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| Query parameters | ||||
aid | string | Required | Bilibili AID. | 113006243481679 |
cid | string | Required | Bilibili CID. | 39357713899 |
bvid | string | Required | Bilibili Video ID (BVID). | BV1QEgZ6rEGj |
- Query parameters
aidstringRequiredBilibili AID.
Example:
113006243481679cidstringRequiredBilibili CID.
Example:
39357713899bvidstringRequiredBilibili Video ID (BVID).
Example:
BV1QEgZ6rEGj
Code samples
Replace $TOOLSWITCH_KEY with the key you created in the console.
Preview
curl -X GET 'https://toolswitch.dev/v1/tools/justoneapi.x.bilibili-get-video-caption-v2?aid=113006243481679&cid=39357713899&bvid=BV1QEgZ6rEGj' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/justoneapi.x.bilibili-get-video-caption-v2?aid=113006243481679&cid=39357713899&bvid=BV1QEgZ6rEGj",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/justoneapi.x.bilibili-get-video-caption-v2?aid=113006243481679&cid=39357713899&bvid=BV1QEgZ6rEGj", {
method: "GET",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());This gateway API is in preview; its URL and authentication may change. The example parameters are sample data. Calls are billed at $0.01476/success, including the service fee.