Bilibili Scraper avatar

Bilibili Scraper

Pricing

Pay per event

Go to Apify Store
Bilibili Scraper

Bilibili Scraper

Scrape Bilibili (哔哩哔哩, B站) without login: video search, video details and stats, comments, danmaku (弹幕), creator profiles and uploads, and the ranking board. Fast, no browser, pay per record.

Pricing

Pay per event

Rating

0.0

(0)

Developer

Fieldwright Data

Fieldwright Data

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

6 days ago

Last modified

Features

Limited permissions

Share

Collect public data from Bilibili (哔哩哔哩, B站), China's largest video community: search results, video details and statistics, comments, danmaku (弹幕, the comments that scroll across the video), creator profiles and uploads, and the site-wide ranking board.

No login, no cookies, and no browser. Runs on plain datacenter proxies, so it is fast and cheap to run.

What you can collect

InputYou get
Search keywordsVideos matching each keyword, sorted the way you choose
Video URLs or BV IDsFull details and statistics for each video
Creator IDs or space URLsThe creator's profile and their latest uploads
Ranking boardThe current top 100 videos on Bilibili
Comments (optional)Top-level comments for every video in the run
Danmaku (optional)Every danmaku line of each video, with its position on the timeline

You can combine inputs in one run. For example: search a brand name, and collect comments and danmaku for every video found.

Typical uses

  • Brand and product monitoring in China. Search your brand, then read what viewers say in comments and danmaku.
  • Creator research. Follower counts, total likes, upload cadence and per-video performance for any creator.
  • Trend tracking. Schedule the ranking board or a keyword search and compare runs over time.
  • Datasets for analysis and AI. Chinese-language comments and danmaku with timestamps.

Input example

{
"searchQueries": ["新能源汽车", "Nike"],
"searchOrder": "click",
"maxResultsPerQuery": 60,
"maxCommentsPerVideo": 40,
"includeDanmaku": true
}

Tips:

  • Chinese keywords find far more than English ones. Search 耐克 as well as Nike.
  • Bilibili itself returns at most about 1,000 videos per keyword.
  • A creator ID is the number in https://space.bilibili.com/208259.

Output

Every record has a type: video, creator, comment or danmaku.

Video

{
"type": "video",
"source": "search",
"query": "iPhone 评测",
"bvid": "BV1eRaN6XEHT",
"url": "https://www.bilibili.com/video/BV1eRaN6XEHT",
"title": "九月份全价位iPhone红黑榜选购指南!",
"description": "本期涵盖所有iPhone,一期告诉你哪些值得买,哪些不推荐!",
"coverUrl": "https://i1.hdslb.com/bfs/archive/708fac2eb20592915d18b2cae710d5a673082429.jpg",
"durationSeconds": 914,
"publishedAt": "2026-10-01T10:30:00.000Z",
"category": "数码",
"tags": ["手机", "Apple", "iPhone"],
"author": { "id": 627040687, "name": "荐机行事", "url": "https://space.bilibili.com/627040687" },
"stats": { "views": 141488, "likes": 1130, "favorites": 2051, "comments": 80, "danmaku": 7 }
}

Videos requested by URL and ranking videos also include coins, shares, isOriginal and, for the ranking board, rank.

Creator

{
"type": "creator",
"id": 208259,
"url": "https://space.bilibili.com/208259",
"name": "陈睿",
"bio": "喜欢的话就坚持吧",
"level": 6,
"verified": true,
"verifiedTitle": "bilibili董事长兼CEO",
"followers": 2298702,
"following": 550,
"videoCount": 17,
"totalLikes": 6328219
}

Comment

{
"type": "comment",
"videoBvid": "BV1eRaN6XEHT",
"videoUrl": "https://www.bilibili.com/video/BV1eRaN6XEHT",
"commentId": "320527950016",
"text": "转转一说出来,我就不用想了",
"likes": 40,
"replyCount": 0,
"postedAt": "2026-10-12T18:28:39.000Z",
"author": { "id": 1312368514, "name": "悍匪强森", "level": 5 }
}

Danmaku

One record per video. atSeconds is where the line appears on the video timeline.

{
"type": "danmaku",
"videoBvid": "BV1eRaN6XEHT",
"count": 7,
"items": [
{ "atSeconds": 384.967, "text": "手持4年了", "sentAt": "2026-10-03T09:17:23.000Z", "mode": 1, "color": "#ffffff" }
]
}

Limits to know about

  • Comments are top-level only. Replies under a comment are not collected yet; replyCount tells you how many there are.
  • Comments are sorted by popularity, as Bilibili shows them to visitors.
  • Subtitles are not included. Bilibili only serves them to logged-in users.
  • Danmaku is the set Bilibili serves for the video's first part, up to several thousand lines for popular videos.

Speed and cost

A run that collected 120 videos, 4,566 comments and 120 danmaku records finished in under five minutes. You pay per record collected; set a maximum cost per run in the run options and the Actor stops when it is reached.

The Actor reads only data that Bilibili shows publicly to visitors who are not logged in. Comments and danmaku can contain personal data, so make sure your use has a lawful basis under the rules that apply to you (for example GDPR or PIPL).

Feedback

Found a bug or need a field that is missing? Open an issue on the Issues tab and it will be looked at quickly.