Bilibili Scraper - Videos, Search, Channels, Trending avatar

Bilibili Scraper - Videos, Search, Channels, Trending

Pricing

from $2.00 / 1,000 results

Go to Apify Store
Bilibili Scraper - Videos, Search, Channels, Trending

Bilibili Scraper - Videos, Search, Channels, Trending

Scrape public Bilibili (B站) data: keyword video search with filters, video details with full stats and tags, channel uploads, trending and ranking boards, channel details, user search, hot searches and danmaku. No login, no proxy setup.

Pricing

from $2.00 / 1,000 results

Rating

0.0

(0)

Developer

Banea Teodor

Banea Teodor

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

6 days ago

Last modified

Categories

Features

Limited permissions

Share

What does Bilibili Scraper do?

Bilibili Scraper exports public data from Bilibili (B站, bilibili.com) — no login, no Bilibili account, no API key and no proxy setup. Pick one mode per run:

ModeYou enterYou get
Video searchkeywords (Chinese or any language), optional sort, length, category and date filtersone row per video in Bilibili's order, with full stats and tags
Video detailsvideo links, BV ids, av numbers or b23.tv short linksone row per video: title, description, duration, date, category, all tags, views, danmaku, comments, favourites, coins, shares, likes, parts, collection, honours, co-creators, uploader
Channel videoschannel links, numbers or exact channel namesevery video of each channel, newest first, read to the very end, with full stats; each row names the channel it was listed from (sourceChannelId)
Trending and ranking boardsthe boards you wantPopular now (up to 500), Ranking (top 100 of a category), Weekly must-watch (每周必看) and All-time must-watch (入站必刷), each row with its board and rank
Channel detailschannel links, numbers or namesone row per channel: name, followers, following, the number of videos the channel shows, total likes, level, verification
Channel searchkeywordschannels matching each keyword, with the same channel details
Hot searchesnothingthe current hot search words with their heat score
Danmaku (bullet comments)videosthe danmaku of each video and part: text, the moment in the video, sent time, display mode and colour

Every row is flat, has the same keys for its type (missing values are null, never left out), uses ISO 8601 UTC dates, integer counters and absolute https URLs. Chinese text is kept exactly as published.

Why use this Actor?

  • Eight modes in one Actor — search, video details, channel uploads, four trending boards, channel details, channel search, hot searches and danmaku.
  • Full stats on every video — views, danmaku, comments, favourites, coins, shares and likes, plus all tags, parts, collection and honours (turn off "Include full video details" for faster, lighter runs).
  • Complete channel listings — channel uploads are paged to the last video and checked against the count the channel shows.
  • Search filters that work — sort by views, newest, danmaku, favourites or comments; length bands; main category; date window.
  • Robust — Bilibili's temporary blocks are retried automatically; one deleted or hidden video never fails the run, it is listed under ERRORS.
  • Privacy-minded — channel rows never include sex, birthday or location; the channel sign line is only kept for verified accounts; danmaku rows carry no sender identifier.

How much does it cost?

The Actor is priced per result: $2.00 per 1,000 rows plus $0.005 per run start. Platform usage is included.

Example runRowsPrice
20 search results with full details (the prefilled input)20$0.045
500 search results for one keyword, with full details500$1.005
300 newest videos of a channel300$0.605
Popular now + Ranking + both must-watch lists~750~$1.505
50 hot search words50$0.105

Videos, channels or queries that do not exist or have no results produce no rows and cost nothing beyond the start fee.

Input

FieldDescriptionExample
modesearch, videoDetails, channelVideos, trending, channelDetails, userSearch, hotSearches or danmaku."search"
searchQueriesKeywords for Video search and Channel search.["原神", "咖啡"]
sortByrelevance, views, newest, danmaku, favorites or comments."views"
durationFilterany, under10, from10to30, from30to60, over60 (minutes)."under10"
categoryMain category filter for search (gaming, music, knowledge, tech, …)."gaming"
maxVideosPerQueryVideos per search query (0 = as many as Bilibili shows, about 1,000).100
videoUrlsVideos for Video details and Danmaku: links, BV ids, av numbers, b23.tv short links.["BV17x411w7KC", "av170001"]
maxDanmakuPerVideoDanmaku per video across its parts (default 100; 0 = all Bilibili shows). Every danmaku line is one billed row, and a long multi-part video can have 10,000 or more.100
channelsChannels: https://space.bilibili.com/546195, 546195, or the exact channel name.["https://space.bilibili.com/2"]
maxVideosPerChannelVideos per channel, newest first (0 = all).100
postedAfter / postedBeforeDate window (UTC) for Video search and Channel videos — a date or a period such as "7 days"."7 days"
trendingBoardsAny of popular, ranking, weekly, mustWatch.["popular", "ranking"]
rankingCategory, rankingTypeCategory of the Ranking board; all, original or newcomers."gaming", "all"
weeklyIssueWeekly must-watch issue number (empty = latest).399
includeVideoDetailsFull stats, tags and extras for every video (on by default).true
maxUsersPerQuery, includeChannelDetailsChannel search: channels per keyword; read each channel's card (on by default).50, true
maxResultsRows per run (0 = unlimited, capped at 10,000).100

Output

One dataset per run; the row type follows the mode. Example rows (fictitious):

{
"rowType": "video",
"bvid": "BV1Ab4y1C7dE",
"aid": 115000000000001,
"url": "https://www.bilibili.com/video/BV1Ab4y1C7dE",
"title": "示例视频:手冲咖啡入门",
"description": "这是一个示例视频简介。",
"durationSec": 412,
"publishedAt": "2026-11-12T08:30:00Z",
"category": "美食制作",
"categoryId": 76,
"tags": ["咖啡", "教程"],
"viewsCount": 125000,
"danmakuCount": 860,
"commentsCount": 412,
"favoritesCount": 5300,
"coinsCount": 2100,
"sharesCount": 340,
"likesCount": 9800,
"ownerId": 100000001,
"ownerName": "示例频道 Example Channel",
"ownerUrl": "https://space.bilibili.com/100000001",
"coverUrl": "https://i0.hdslb.com/bfs/archive/example.jpg",
"partsCount": 1,
"isOriginal": true,
"isChargeOnly": false,
"pubLocation": null,
"honors": ["全站排行榜最高第40名"],
"collectionTitle": "示例合集",
"coAuthors": [],
"hasFullDetails": true,
"searchQuery": "咖啡",
"searchPosition": 1,
"board": null,
"rank": null,
"boardNote": null,
"sourceInput": null,
"sourceChannelId": null,
"scrapedAt": "2026-11-19T10:00:00.000Z"
}
{
"rowType": "channel",
"channelId": 100000001,
"name": "示例频道 Example Channel",
"url": "https://space.bilibili.com/100000001",
"followersCount": 250000,
"followingCount": 120,
"videosCount": 350,
"likesCount": 4100000,
"level": 6,
"isVerified": true,
"verifiedType": "organization",
"verifiedReason": "示例机构官方账号",
"avatarUrl": "https://i0.hdslb.com/bfs/face/example.jpg",
"description": "示例机构的官方频道",
"isLive": null,
"hasFullDetails": true,
"searchQuery": null,
"searchPosition": null,
"sourceInput": "https://space.bilibili.com/100000001",
"scrapedAt": "2026-11-19T10:00:00.000Z"
}
{ "rowType": "hotSearch", "rank": 1, "keyword": "示例热搜词", "displayName": "示例热搜词", "heatScore": 3057945, "searchUrl": "https://search.bilibili.com/all?keyword=%E7%A4%BA%E4%BE%8B", "scrapedAt": "2026-11-19T10:00:00.000Z" }
{ "rowType": "danmaku", "danmakuId": "2245151313816830976", "bvid": "BV1Ab4y1C7dE", "videoUrl": "https://www.bilibili.com/video/BV1Ab4y1C7dE", "partNumber": 1, "partTitle": null, "text": "前排!", "videoTimeSec": 122.885, "sentAt": "2026-11-12T09:15:00Z", "displayMode": "scroll", "fontSize": 25, "color": "#ffffff", "sourceInput": "BV1Ab4y1C7dE", "scrapedAt": "2026-11-19T10:00:00.000Z" }

Videos, channels and queries that could not be read are listed in the run's key-value store under ERRORS, each with the input you gave and a plain reason (not found, not visible, no results).

Tips and tricks

  • Search shows about 1,000 videos per keyword. That is Bilibili's own limit. To go further, split the work: several more specific keywords, a sort order, length bands, a category, or a date window per run.
  • Complete vs. sample. Channel videos give a complete listing of a channel (the run log compares it with the count the channel shows; videos hidden from logged-out visitors are missing). Search, Popular now and the boards are discovery surfaces — a ranked sample, not an archive.
  • Faster, lighter runs: turn off "Include full video details". Search rows then keep views, danmaku, comments, favourites, likes and tags but not coins, shares, parts or honours; channel rows keep full stats but not tags.
  • Danmaku: every danmaku line is one billed row. The default is 100 per video; a long multi-part video can have 10,000 or more, so raise the limit deliberately. Logged-out visitors see up to about 1,000-1,200 of the most recent danmaku per part; multi-part videos are read part by part.
  • Comments are not included: Bilibili shows comments to logged-out visitors only partly (a few per video), so this Actor does not offer them.
  • Category names are Bilibili's Chinese names; categoryId is the numeric id. A few newer category ids have no name yet (category is then null).
  • Original vs. re-upload: isOriginal is often null — Bilibili does not state it clearly to logged-out visitors, and the Actor never guesses.
  • Channel video counts: videosCount is the number of videos the channel shows on its page (articles, audio and other uploads are not counted); null when Bilibili does not give it.
  • Co-created videos: in Channel videos, a joint video can belong to another uploader (ownerId); sourceChannelId is the channel you asked for.
  • Maximum charge per run: when the limit you set in Run options is reached, the run stops cleanly, keeps the rows delivered and says so in its status.
  • Duplicates: two entries that name the same video or channel (an av number and its BV id, a name and its number) are read once; the final status says how many.
  • BV ids are case-sensitive: copy them exactly; an all-lower-case id is listed under ERRORS instead of being read as a different video.

Scheduling

The Actor keeps no memory between runs. For a daily or weekly feed, schedule it with Posted after set to the schedule interval (for example "1 day" for a daily run, or a bit more to overlap) in Video search or Channel videos, and de-duplicate downstream by bvid. Trending boards and hot searches are snapshots: schedule them as often as you want a new snapshot.

Integrations

Results are a standard Apify dataset: download JSON, CSV or Excel from the run page, read them with the Apify API, or send them to Google Sheets, Zapier, Make, Slack or a webhook with Apify integrations.