Bilibili Fetch Video Playurl
2.07 credits/call
ae_bilibili_fetch_video_playurl
Retrieve playback stream data for a video. Supply both the BV identifier (`bv_id`) and the video's content ID (`cid`); both are required. The response contains playback data, whose exact fields and available streams depend on the returned result.
2.07 credits/call
Pricing
2.07 credits/call
| Condition | Charge |
|---|---|
| Each call | 2.07 credits/call |
2.07 credits/call Charges are per query. A successful query is billed even if it returns no results.
Parameters
Optional parameters use the platform defaults when omitted.
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
cid | string | Yes | 作品cid/Video cid | — |
bv_id | string | Yes | 作品id/Video id | — |
Invocation example
Copy the request and explore its response example.
POST
/agent-api/v1/tool/executeX-Api-KeyRequest coderequest.sh
curl --request POST \
--url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_bilibili_fetch_video_playurl' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"bv_id": "BV1uVnJ6ZEWB",
"cid": "42872605561"
}
}'Response exampleresponse.json
{
"code": 200,
"data": {
"code": 0,
"data": {
"accept_description": [
"高清 1080P+"
],
"accept_format": "hdflv2,flv,flv720,flv480,mp4",
"accept_quality": [
112
],
"dash": {
"duration": 50,
"minBufferTime": 1.5,
"min_buffer_time": 1.5,
"video": [
{
"backupUrl": [],
"backup_url": [],
"bandwidth": 838648,
"baseUrl": "https://upos-sz-mirrorcosov.bilivideo.com/upgcxcode/61/55/42872605561/42872605561_qe1-1-30032.m4s?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEqxTEto8BTrNvN0GvT90W5JZMkX_YN0MvXg8gNEV4NC8xNEV4N03eN0B5tZlqNxTEto8BTrNvNeZVuJ10Kj_g2UB02J0mN0B5tZlqNCNEto8BTrNvNC7MTX50",
"id": 32,
"mimeType": "video/mp4"
}
]
},
"format": "flv720",
"result": "suee"
},
"message": "OK",
"ttl": 1
},
"docs": "https://api.tikhub.io/#/Bilibili-Web-API/fetch_one_video_api_v1_bilibili_web_fetch_video_playurl_get",
"message": "Request successful. This request will incur a charge.",
"message_zh": "请求成功,本次请求将被计费。",
"request_id": "6ce97d75-8948-4b05-8562-4873bbd60a62"
}This example shows part of the response. Copied content is valid JSON.

