Bilibili Video Downloader avatar

Bilibili Video Downloader

Pricing

from $202.50 / 1,000 video downloads

Go to Apify Store
Bilibili Video Downloader

Bilibili Video Downloader

Download public Bilibili videos as MP4 files, with a separate audio file link. Get the title, uploader, view and like counts, tags, chapters and optional comments for each link. Full links and short b23.tv links both work.

Pricing

from $202.50 / 1,000 video downloads

Rating

0.0

(0)

Developer

Maxime Dupré

Maxime Dupré

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

6 days ago

Last modified

Features

Limited permissions

Share

Bilibili Video Downloader is for creators, researchers, archivists and teams who need Bilibili video files and video details from a list of links. Paste public Bilibili video links and get one result per video. Each result has the MP4 file link, a separate audio file link, the title, uploader, counts, tags, chapters and optional comments.

  • Download a Bilibili video as an MP4 file, with a separate audio file link, from a full link or a short b23.tv link.
  • Check the video versions Bilibili offers, with resolution, frame rate, codec and bitrate.
  • Read view, like, comment, share and favorite counts for each video.
  • Collect the uploader name, profile link, followers and verified status.
  • Save the public comments of each video, with author, likes and date.

🎬 What you get for each video

Each result is one dataset row for one video. It includes the title, description, duration, thumbnail, publication date, category and tags. It also has chapters and the background music title when Bilibili gives them, and the available video and audio versions.

With a quality of low, medium or high, each row also has a link to the MP4 file and a link to the audio file. These links come straight from Bilibili and expire about 2 hours after the run, so save the files soon. Choose "Details only" to get the video information with no file links.

🚀 How to run it

  1. Add your public Bilibili video links to Video links. Use one link per row.
  2. Pick a Download quality. The default is Medium.
  3. Turn on Include comments if you want public comments too.
  4. Start the Actor and open the results in the Bilibili videos table.

A link with ?p=2 reads that part of a video with several parts. A part number that does not exist gives no result for that link.

⚙️ Input

Input fields

FieldTypeWhat it does
videoUrlsarrayRequired. Public Bilibili video links, one per row. Full bilibili.com/video/BV... links, av links and short b23.tv links work. Each link must start with https://.
maxItemsintegerStops after this many videos. Leave it empty or use 0 to process every link. The form has a prefill of 1, but there is no schema default.
qualitystringQuality of the MP4 file. low is the lowest quality a video offers, medium the middle one and high the highest. Most videos offer two qualities, so medium and high often give the same file. none returns details only, with no file links. Default: medium.
includeCommentsbooleanAdds the public comments of each video to its result. Default: false.
maxCommentsintegerMaximum comments per video, where available. Use 0 for all available comments. Used only when includeComments is on. Default: 20.

Example input

{
"videoUrls": [
{
"url": "https://www.bilibili.com/video/BV1xx411c7mD"
}
],
"maxItems": 1,
"quality": "high",
"includeComments": false,
"maxComments": 20
}

🧾 Output

Output fields

FieldTypeWhat it does
videoUrlstringLink to the Bilibili video page.
titlestringTitle of the video.
descriptionstringDescription of the video.
durationintegerLength of the video in seconds.
thumbnailUrlstringLink to the thumbnail image.
publishedAtstringDate and time the video was published, in ISO 8601 format.
categorystringCategory of the video.
tagsarray of stringsTags of the video.
videoFileUrlstringLink to download the MP4 file. Not set when you choose details only.
audioFileUrlstringLink to download the audio file. Not set when you choose details only.
videoVersionsarray of objectsVideo versions Bilibili offers for the video.
videoVersions[].resolutionstringResolution, such as 1920x1080.
videoVersions[].frameRatenumberFrames per second.
videoVersions[].codecstringVideo codec.
videoVersions[].bitrateintegerBitrate in bits per second.
audioVersionsarray of objectsAudio versions Bilibili offers for the video.
audioVersions[].codecstringAudio codec.
audioVersions[].bitrateintegerBitrate in bits per second.
audioTitlestringTitle of the background music, when Bilibili gives it.
chaptersarray of objectsChapters of the video, when Bilibili gives them.
chapters[].titlestringChapter title.
chapters[].startTimenumberChapter start time in seconds.
uploader.namestringName of the uploader.
uploader.profileUrlstringLink to the uploader profile.
uploader.avatarUrlstringLink to the uploader avatar image.
uploader.followerCountintegerNumber of followers of the uploader.
uploader.isVerifiedbooleanWhether Bilibili shows the uploader as verified.
viewCountintegerNumber of views.
likeCountintegerNumber of likes.
commentCountintegerNumber of comments.
shareCountintegerNumber of shares.
favoriteCountintegerNumber of times viewers saved the video.
commentsarray of objectsPublic comments on the video. Only present when you turn on includeComments.
comments[].textstringText of the comment.
comments[].authorstringName of the comment author.
comments[].likeCountintegerNumber of likes on the comment.
comments[].publishedAtstringDate and time of the comment, in ISO 8601 format.

Example row (quality high)

{
"videoUrl": "https://www.bilibili.com/video/BV1xx411c7mD",
"title": "字幕君交流场所",
"duration": 2055,
"publishedAt": "2009-09-09T01:09:09.000Z",
"viewCount": 5627747,
"likeCount": 278851,
"commentCount": 89750,
"shareCount": 29296,
"favoriteCount": 128609,
"description": "www",
"thumbnailUrl": "https://i0.hdslb.com/bfs/archive/transparent.png",
"category": "音乐综合",
"uploader": {
"name": "碧诗",
"profileUrl": "https://space.bilibili.com/2",
"avatarUrl": "https://i2.hdslb.com/bfs/face/ef0457addb24141e15dfac6fbf45293ccf1e32ab.jpg",
"followerCount": 1439371,
"isVerified": true
},
"videoVersions": [
{
"resolution": "512x384",
"frameRate": 15,
"codec": "hev1.1.6.L120.90",
"bitrate": 69367
},
{
"resolution": "512x384",
"frameRate": 14.925,
"codec": "avc1.64001E",
"bitrate": 155817
},
{
"resolution": "512x384",
"frameRate": 15.009,
"codec": "av01.0.01M.08.0.110.01.01.01.0",
"bitrate": 206531
},
{
"resolution": "480x360",
"frameRate": 15,
"codec": "hev1.1.6.L120.90",
"bitrate": 64231
},
{
"resolution": "480x360",
"frameRate": 14.925,
"codec": "avc1.64001E",
"bitrate": 155622
},
{
"resolution": "480x360",
"frameRate": 15.009,
"codec": "av01.0.01M.08.0.110.01.01.01.0",
"bitrate": 206445
}
],
"audioVersions": [
{
"codec": "mp4a.40.2",
"bitrate": 68646
},
{
"codec": "mp4a.40.2",
"bitrate": 134695
}
],
"videoFileUrl": "https://upos-hz-mirrorakam.akamaized.net/upgcxcode/31/21/62131/62131-1-48.mp4?e=ig8euxZM2rNcNbRVhwdVhwdlhWdVhwdVhoNvNC8BqJIzNbfqXBvEqxTEto8BTrNvN0GvT90W5JZMkX_YN0MvXg8gNEV4NC8xNEV4N03eN0B5tZlqNxTEto8BTrNvNeZVuJ10Kj_g2UB02J0mN0B5tZlqNCNEto8BTrNvNC7MTX502C8f2jmMQJ6mqF2fka1mqx6gqj0eN0B599M=&uipk=5&oi=3304526551&platform=pc&gen=playurlv3&os=akam&og=hw&trid=622f778b294e4c7f9ad64628cb7d6ccu&nbs=1&mid=0&deadline=1795076060&upsig=1299d806b895b0dd8e985c05c0bcb7ea&uparams=e,uipk,oi,platform,gen,os,og,trid,nbs,mid,deadline&hdnts=exp=1795076060~hmac=7ee1d40ae6e5f54a0c90987324d804488de96c45cba31300dccaaa6e0dc12e42&bvc=vod&nettype=0&bw=382538&lrs=0&V=v3.1.2&agrr=1&buvid=&build=0&dl=0&f=u_0_0&qn_dyeid=d74f40824ca72c5a0002b08f6afe93bc&orderid=1,2",
"audioFileUrl": "https://upos-hz-mirrorakam.akamaized.net/upgcxcode/31/21/62131/62131_da3-1-30232.m4s?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEqxTEto8BTrNvN0GvT90W5JZMkX_YN0MvXg8gNEV4NC8xNEV4N03eN0B5tZlqNxTEto8BTrNvNeZVuJ10Kj_g2UB02J0mN0B5tZlqNCNEto8BTrNvNC7MTX502C8f2jmMQJ6mqF2fka1mqx6gqj0eN0B599M=&platform=pc&oi=3304526551&mid=0&nbs=1&uipk=5&os=akam&trid=e8bef34f1b43457e81defec40338ea7u&deadline=1795076059&gen=playurlv3&og=cos&upsig=37d0814150ddbe6ab3f09a88404164e9&uparams=e,platform,oi,mid,nbs,uipk,os,trid,deadline,gen,og&hdnts=exp=1795076059~hmac=05b4cc80cc84b51cc74a11e44357c7402cbe0b22e44f59e126245c2dcd4c9782&bvc=vod&nettype=0&bw=134737&lrs=0&V=v3.1.2&f=u_0_0&qn_dyeid=22f95324685e87e80058b2936afe93bc&agrr=1&buvid=&build=0&dl=0&orderid=1,2"
}

💳 Pricing

This Actor uses pay per event pricing. You pay for each event below, plus a small run start charge of $0.005. Prices fall on higher Apify plans. The amounts below are for the Free plan.

EventPriceWhen it is charged
Video download$0.27One video with its details and links to an MP4 file and an audio file.
Video details$0.099One video with its details and no file links, when you choose "Details only".
Comment$0.002One public comment with its text, author, like count and date.

Comments are charged one by one, so set maxComments to control the cost.

🔌 Integrations

Run this Actor from the Apify API, schedule it, or connect it to other tools with Apify integrations.

❓ FAQ

Can I download a Bilibili video without a login?

Yes. The Actor reads public videos and needs no Bilibili account or cookie.

Do I get the audio too?

Yes. Each result has a separate link to the audio file. The audio is not merged into the MP4 file.

Which quality should I choose?

Low gives the lowest quality a video offers, and high gives the highest. Most videos offer two qualities, so medium and high often give the same file. Check videoVersions for what Bilibili offers for a video.

The links expire about 2 hours after the run. Download the files soon after the run ends.

What if I only want the video information?

Set quality to none. You get the details, counts, tags and versions with no file links, charged as Video details.

Can I download one part of a video with several parts?

Yes. Add ?p= and the part number to the link. The part number must be a positive whole number. If that part does not exist, you get no result for that link.

Can I get the comments of a video?

Yes. Turn on includeComments and set maxComments. Use 0 to get all available comments. Each comment is charged.

Yes. Short b23.tv links work, and so do full bilibili.com/video links.

📝 Changelog

v0.0 (19-11-2026)

  • Initial release.

🆘 Support

For issues, questions, or feature requests, file a ticket and I'll fix or implement it in less than 24h 🫡

Made with ❤️ by Maxime Dupré