Video data

Bilibili Scraper: video stats, danmaku, comments and uploaders

Collect Bilibili data from video URLs, keywords, uploader spaces or trending lists. Get views, likes, coins, favorites, shares and danmaku counts, uploader profiles with followers and all their videos, timestamped danmaku bullet comments and top comments with replies, exported to JSON, CSV or Excel.

★ 5.0 rating · 4 reviews14 users100.0% successful runs (30 days)

What data you get

titleVideo title
viewsView count
likes / coins / favorites / sharesEngagement counters of the video
danmakuCount / commentCountNumber of danmaku and comments
tags / durationVideo tags and length
uploaderUploader (UP主) with followers
danmakuBullet comments with their timestamps
commentsTop comments with replies
trendingVideos from Bilibili trending lists

How it works

  1. Open the scraper on Apify and sign up (free).
  2. Enter routes, dates and options in the form.
  3. Click Start and download results as JSON, CSV or Excel, or call the API.

Pricing

$0.02 per 1,000 rows

Pay per event: videos, search results, uploaders, danmaku comments, comments and transcript minutes are separate events, each charged per item delivered.

Apify gives $5 free credits every month — enough to test this scraper at no cost.

Example tasks

Ready-made inputs. Copy one into the scraper form or send it through the API.

Scrape Bilibili video stats by URL

Views, likes, coins, favorites, shares and danmaku for two videos.

{
  "mode": "videos",
  "videoUrls": [
    "https://www.bilibili.com/video/BV1es411D7sW",
    "https://www.bilibili.com/video/BV1xx411c7mD"
  ]
}
Run this task →

Download danmaku bullet comments of a Bilibili video

Up to 2,000 danmaku with timestamps.

{
  "mode": "danmaku",
  "videoUrls": [
    "BV1es411D7sW"
  ],
  "maxResultsPerInput": 2000
}
Run this task →

Bilibili uploader profile with most-viewed videos

One UP主 and their videos sorted by views.

{
  "mode": "users",
  "userUrls": [
    "https://space.bilibili.com/546195"
  ],
  "videoOrder": "click"
}
Run this task →

Bilibili trending tech videos

Top 100 videos from the tech trending list.

{
  "mode": "trending",
  "trendingList": "tech",
  "maxResultsPerInput": 100
}
Run this task →

Use cases

FAQ

Do I need a Bilibili account or cookies?

No. The scraper works without login, cookies or an API key. You only need a free Apify account.

What is danmaku?

Danmaku are the bullet comments that fly across a Bilibili video. The scraper returns each one with its timestamp in the video.

Which inputs does it accept?

Video URLs or BV/AV IDs, keywords, uploader space URLs or UIDs, any bilibili.com link, or a trending list by category.

Is it legal to scrape Bilibili?

The scraper collects only publicly visible video, comment and uploader data without logging in. Make sure your use complies with local law (including GDPR where it applies) and Bilibili's terms, and avoid collecting or misusing personal data.

How do I get the data into my app or spreadsheet?

Export JSON, CSV or Excel, or call the Actor through the Apify API with the Python or JavaScript client. Ready-made integrations connect it to Make, n8n, Zapier and Google Sheets.

More scrapers

Start scraping Bilibili in a minute

Run on Apify — free trial