Bilibili Scraper (Videos, Search, Popular)
Pricing
from $1.80 / 1,000 videos
Bilibili Scraper (Videos, Search, Popular)
Scrape Bilibili (哔哩哔哩) videos by keyword, video URL or the popular list: title, uploader, category, views, likes, coins, favorites, danmaku, comments, duration, tags. No login.
Pricing
from $1.80 / 1,000 videos
Rating
0.0
(0)
Developer
Murat Uzun
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
0
Monthly active users
an hour ago
Last modified
Categories
Features
Share
Bilibili Scraper: what it is
Bilibili Scraper extracts video data from Bilibili (哔哩哔哩), China's largest video platform. Search by keywords (Chinese or English), get the currently popular videos (热门), or look up specific video URLs / BV ids. Each video comes with title, uploader, category, views, likes, coins, favorites, danmaku, comments, shares, duration, publish date, tags and cover image. No login, no browser. $3 per 1,000 videos.
Pay only for the videos you keep: excludeKeywords (e.g. 激活, 广告, giveaway), minViews and a publish-date window drop the noise before a row is saved, and dropped videos are never charged. On a real python tutorial search (28 Nov 2026) views ran from 322 to 871,586 per video; minViews: 10000 keeps only the videos people actually watched.
Use it for trend research on the Chinese market, influencer discovery, competitor and brand monitoring, or building datasets of Bilibili content.
Bilibili Scraper: data fields
| Field | Type | Description |
|---|---|---|
bvid, aid, url | string / number / string | Video id (BV…), numeric id and link |
title, description | string | Title (search highlights removed) and description |
authorName, authorMid | string / number | Uploader name and user id |
category | string | Bilibili category, e.g. 计算机技术 (computer tech) or 手机游戏 (mobile games) |
durationSeconds | number | Length in seconds |
publishedAt | string | Publish time (ISO 8601) |
views, likes, favorites, danmaku, replies | number | Engagement counts |
coins, shares | number | Coins given and shares (popular and video lookups; search results don't include them) |
tags | array | Tags (search results) |
coverUrl | string | Cover image |
source, keyword | string | Where the row came from (popular, search, video) and the keyword |
scrapedAt | string | When the row was scraped |
Bilibili Scraper: how to use
- Enter Search keywords, several separated by
;(e.g.python tutorial; 原神; lofi), and/or Video URLs. - Tick Fetch popular videos to add the current popular list. With no input at all, the Actor returns the popular videos.
- Set Max videos (per keyword, default 30).
- Run it and download the data as JSON, CSV, Excel or HTML, or read it through the API.
Results are deduplicated by video id across all sources.
Bilibili Scraper filters: pay only for the videos you keep
| Filter | What it drops | Charged? |
|---|---|---|
excludeKeywords | Videos whose title, description, tags or uploader name contain a term. Case-insensitive; Latin terms match whole words (py does not drop python), Chinese terms match anywhere (激活 drops 安装激活教程). | No |
minViews | Videos with fewer views than the number you set. | No |
publishedAfter / publishedBefore | Videos published outside the window (YYYY-MM-DD, UTC, both days included). Search sends the window to Bilibili, so it pages through matching videos only. | No |
Filtered videos don't count towards maxVideos: the Actor keeps paging (up to 50 pages, about 1,000 results per keyword, which is Bilibili's own search cap) until it has maxVideos videos that pass. The OUTPUT record shows how many were dropped and why:
{ "videosReturned": 30, "errorCode": null, "zeroResultReason": null,"filteredOut": { "excludedKeyword": 4, "belowMinViews": 17, "outsideDateRange": 0 } }
{"searchKeywords": "python tutorial","excludeKeywords": ["激活", "破解", "giveaway"],"minViews": 10000,"publishedAfter": "2026-01-01","maxVideos": 30}
Bilibili Scraper example input
{"searchKeywords": "python tutorial; 原神","videoUrls": ["https://www.bilibili.com/video/BV1rpWjevEip"],"popular": true,"maxVideos": 40}
Bilibili Scraper example output
{"bvid": "BV1rpWjevEip","url": "https://www.bilibili.com/video/BV1rpWjevEip","title": "【全748集】目前B站最全最细的Python零基础全套教程…","authorName": "Python官方课程","authorMid": 3546597933714079,"category": "计算机技术","durationSeconds": 143894,"publishedAt": "2024-08-22T14:59:18.000Z","views": 20310794,"likes": 555201,"coins": 398299,"favorites": 855835,"danmaku": 131115,"replies": 353946,"shares": 101021,"coverUrl": "https://i2.hdslb.com/bfs/archive/a979056b1a32012cdd00d48fbc3732d253e30620.jpg","source": "video","scrapedAt": "2026-09-28T11:40:00.000Z"}
Bilibili Scraper code examples
JavaScript (apify-client):
import { ApifyClient } from 'apify-client';const client = new ApifyClient({ token: process.env.APIFY_TOKEN });const run = await client.actor('webdatatools/bilibili-scraper').call({"searchKeywords": "python tutorial; 原神","videoUrls": ["https://www.bilibili.com/video/BV1rpWjevEip"],"popular": true,"maxVideos": 40});const { items } = await client.dataset(run.defaultDatasetId).listItems();console.log(items);
Python (apify-client):
import osfrom apify_client import ApifyClientclient = ApifyClient(os.environ["APIFY_TOKEN"])run = client.actor("webdatatools/bilibili-scraper").call(run_input={"searchKeywords": "python tutorial; 原神","videoUrls": ["https://www.bilibili.com/video/BV1rpWjevEip"],"popular": True,"maxVideos": 40})items = client.dataset(run["defaultDatasetId"]).list_items().itemsfor item in items:print(item)
Apify CLI:
$apify call webdatatools/bilibili-scraper --input '{"searchKeywords":"python tutorial; 原神","videoUrls":["https://www.bilibili.com/video/BV1rpWjevEip"],"popular":true,"maxVideos":40}'
Bilibili Scraper input parameters
| Parameter | Type | Default | What it does |
|---|---|---|---|
searchKeywords | string | python tutorial | Keywords to search, separated by ;. Leave all inputs empty to get the currently popular videos. |
keywords | array | [] | The same keywords as a list (merged with searchKeywords). |
videoUrls | array | [] | Bilibili video URLs (https://www.bilibili.com/video/BV...) or BV ids, one per line. |
popular | boolean | false | Also fetch the currently popular videos (热门). Used automatically when nothing else is given. |
maxVideos | integer | 30 | Maximum videos per keyword (and for popular), 1 to 500. |
excludeKeywords | array | [] | Skip videos whose title, description, tags or uploader contain any of these terms. Not charged. |
minViews | integer | none | Skip videos with fewer views. Not charged. |
publishedAfter | string | none | Only videos published on or after this day (YYYY-MM-DD, UTC). |
publishedBefore | string | none | Only videos published on or before this day (YYYY-MM-DD, UTC). |
proxyMode | string | auto | auto: direct first, Residential proxy on block. always: Residential for all requests. never: direct only. |
Bilibili Scraper pricing
Each run also pays the platform start event: $0.00005 per run (apify-actor-start).
Pay per result: $0.003 per video ($3 per 1,000), with volume discounts on paid Apify plans. Keywords or videos that fail are listed in the ERRORS record and cost nothing. Videos dropped by excludeKeywords, minViews or the date window cost nothing either. Set Maximum cost per run to cap spend.
How much does a run cost? 30 videos for one keyword cost 30 × $0.003 = $0.09 plus the $0.00005 start event. With filters you pay for the 30 videos that pass, not for the ones the filters dropped.
Bilibili Scraper results and errors
The OUTPUT record of every run has videosReturned, errorCode and zeroResultReason (null when videos were saved).
errorCode | Run status | Meaning | What to do |
|---|---|---|---|
INVALID_INPUT | Succeeded, no charge | The input is outside the schema (for example a date not in YYYY-MM-DD, or publishedAfter later than publishedBefore). | Fix the input shown in the status message. |
NO_RESULTS | Succeeded | Bilibili has no video for the keyword, or the video ids don't exist. | Try another keyword or check the BV id. |
NO_VIDEOS_MATCH_FILTERS | Succeeded | Videos were found, but every one was dropped by your filters (not charged). | Loosen minViews, the date window or excludeKeywords; see filteredOut. |
CHARGE_LIMIT | Succeeded | The run's maximum cost allows no result. | Raise Maximum cost per run. |
TIMEOUT | Succeeded | The run timeout came before any video was saved. | Raise the run timeout. |
SOURCE_FAILED | Failed | Bilibili blocked or didn't answer every request, so nothing could be read. | Retry later or use proxyMode: always. Details in ERRORS. |
Bilibili Scraper proxy settings
The Actor calls Bilibili's public web API directly. If Bilibili blocks a request (HTTP 412), it waits and retries, then switches to Apify Residential proxy automatically (proxyMode: auto). Use never to stay direct, or always to use Residential from the start.
Bilibili Scraper limitations
- Bilibili's public API returns the stats and tags shown on the video page. Comments and danmaku are counted, not expanded into rows, unless the output schema says otherwise.
- Keywords are matched by Bilibili's own Chinese-text index. Brand names in Latin letters may return fewer videos; the Actor does not translate them.
- A blocked request (HTTP 412) is retried and then moved to Residential proxy. Failed keywords and videos are listed in
ERRORSand are not charged.
Bilibili Scraper vs. alternatives
Public list prices checked on 25 November 2026 (Store pages, READMEs and Store tier data; prices change, check the Store before buying):
| Actor | Price per video or item | Notes |
|---|---|---|
| webdatatools/bilibili-scraper (this Actor) | $3 per 1,000 on the list price; Store tiers $1.80 to $3 per 1,000 on 25 Nov 2026 | Full video stats, tags and category per row; no platform-usage charge. |
| zhorex/bilibili-scraper | $0.02 per item scraped, same for a video row (its README: "charged like a video") | Same unit, higher per-row price; also sells danmaku and comment modes. |
| blueskyscraper/bilibili-scraper | $3 per 1,000 full videos on the Free tier; Store tiers $2.25 to $3 per 1,000 on 25 Nov 2026 | Lower price on the paid tiers; check the fields it returns. |
| lofomachines/bilibili-scraper | $4.50 per result on the Free tier; Store tiers $2 to $4.50 per 1,000 | Charges platform usage on top of the per-result price. |
| atomus/bilibili-scraper | $10 per video on the Free tier; Store tiers $8 to $10 | Higher per-video price on every tier. |
Filters, from each Actor's public input schema on 28 November 2026: all four alternatives offer a publish-date window, and none of them has an exclude-keywords or minimum-views input. The others also sell comments, danmaku, transcripts or creator profiles, which this Actor does not.
Choose this Actor for a single run that returns the full stats, tags and category of each video at the lowest per-video price among the Actors above that charge per video. Blueskyscraper is cheaper on its paid tiers; compare the fields before choosing.
Bilibili Scraper with AI agents and MCP
The Actor is pay-per-event with limited permissions, so AI agents can call it through Apify's MCP server (mcp.apify.com), for example with {"searchKeywords": "AI 绘画", "maxVideos": 20}. It also accepts keywords, keyword, urls and url.
Bilibili Scraper FAQ
Is scraping Bilibili legal? The Actor reads only public video data that Bilibili shows to logged-out visitors. Don't use the data in ways that break Bilibili's terms or privacy law.
Can I get comments or danmaku text? Not yet: the Actor returns counts, not the comments themselves.
Am I charged for videos my filters drop? No. A dropped video is never saved to the dataset, so it is never charged. OUTPUT.filteredOut counts them.
Why is coins empty for search results? Bilibili's search API doesn't return coins or shares. Pass the video URLs to get them.
Bilibili Scraper related Actors
Part of the webdatatools web-intelligence suite — every Actor is pay-per-event, reads public data without a login, and returns one clean row per entity:
Browse the whole suite at webdatatools, or call ten of these Actors straight from Claude, Cursor or Cline with the webdatatools MCP server.
Website & domain intelligence
- Email Extractor — Website Contact & Social Finder — e-mails, phones and social profiles per domain
- Tech Stack Detector — Wappalyzer & BuiltWith Alternative — CMS, e-commerce, analytics, pixels and payments per domain
- Domain DNS & Email Security Checker — SPF, DKIM, DMARC, MX provider, registrar and domain age
- Domain Security Audit (TLS, HTTP headers, redirects, robots) — TLS expiry, security headers, redirect chain, robots and llms.txt
- Subdomain Finder (Certificate Transparency) — every subdomain seen in CT logs, with a live DNS check
- Bulk Core Web Vitals & PageSpeed Audit — Lighthouse scores, LCP, CLS, INP and top fixes per URL
- On-Page SEO Audit — title, meta, headings, links, images and schema issues per page
- Sitemap URL Extractor & Change Monitor — every sitemap URL, or new and removed pages between runs
- Wayback Machine Snapshot & Page Change Tracker — how a page changed over time, or every archived snapshot
- Bulk Domain WHOIS & RDAP Lookup — registrar, dates, status and nameservers per domain
- Web Scraper — CSS Selector & Data Extractor — pull any CSS selector off any page, one row per URL
- Website Screenshot Generator — full-page or viewport PNG/JPEG screenshots of any URL
Content for AI, LLMs and RAG
- AI Web Search & Read: Google results as clean Markdown — a query turned into clean Markdown from the top search results
- Website to Markdown — Content Crawler for LLM & RAG — any site as clean Markdown per page, no browser
- llms.txt Generator (Website to llms.txt & llms-full.txt) — llms.txt and llms-full.txt for any website or docs site
- PDF to Markdown Converter (Text, Headings, Metadata) — PDF files to clean Markdown with headings, metadata and token counts
- RAG Text Chunker (Markdown to Chunks, Token Counts) — heading-aware RAG chunks with exact GPT token counts from any dataset
- Article & News Extractor (clean text, author, date, markdown) — clean article text, author, date and Markdown per URL
- Structured Data & JSON-LD Extractor (Schema.org, Open Graph) — Schema.org and Open Graph data from any page
- Google News Scraper (RSS search by keyword, topic, site) — news results by keyword, topic or site
- Press Release Monitor: PR Newswire, BusinessWire, GlobeNewswire — PR Newswire, Business Wire and GlobeNewswire releases
Search, video and social
- YouTube Shorts Scraper — Shorts from channels, hashtags and searches with view counts
- Pinterest Pins Scraper — latest pins of public Pinterest profiles and boards
- YouTube Transcript Scraper — captions and subtitles as text + timed segments, per video or channel
- Google Search Results Scraper — SERP API — organic SERP results per keyword and country
- YouTube Comments Scraper — Comments & Replies — comments and replies with likes, no API key
- YouTube Channel Latest Videos (RSS, no API key) — the latest 15 videos of any channel from RSS
- YouTube Channel Scraper (videos, shorts, live) — a channel's full video, shorts and stream list
- YouTube Search Results Scraper (videos, channels, no API key) — videos, channels and playlists per query
- YouTube Video Details Scraper (views, likes, description, tags) — views, likes, description, tags and chapters per video
- Apple Podcasts Lookup & Episodes Scraper — podcast metadata and episodes from iTunes and RSS
- Bluesky Post, Search & Profile Scraper — posts, profiles, followers and threads from the AT Protocol API
- X Tweet Scraper (Twitter Posts by URL, No Login) — X (Twitter) posts by URL with likes, replies, author, media and MP4 links
- TikTok Profile Scraper (Followers, Likes, Bio, Video Stats) — TikTok profiles with exact follower and like counts, plus video stats
- Telegram Channel Posts Scraper — posts, views and media flags from any public channel
- Substack Publication & Posts Scraper — archive, authors and paywall status per publication
- Google Play Reviews Scraper — reviews, ratings, replies and app versions per app
- App Store Reviews Scraper — iOS reviews and ratings per app and country
- Trustpilot Reviews Scraper (Ratings, Replies, No Login) — Trustpilot reviews with stars, full text, verification and company replies
- Google Trends Scraper — interest over time, by region, and related queries per keyword
- Google Ads Transparency Scraper — ads any advertiser runs on Google, with format and dates
- Keyword Suggestions Scraper (Google, YouTube, Amazon, Bing) — autocomplete keyword ideas from four search engines
- Mastodon Scraper (Hashtags, Accounts, Trending) — public fediverse posts by hashtag, account or trending
- Meetup Events Scraper (Search by Keyword & City) — upcoming events with RSVPs, fees, venues and groups
- Eventbrite Scraper (Events by Keyword & City) — events by keyword and city with venue, dates and organizer
Leads, jobs and company data
- Career Site Jobs API (Greenhouse, Lever, Ashby, Workday +1) — company domains in, their open jobs out, ATS detected automatically
- Workday Jobs Scraper — jobs with full descriptions from any Workday career site
- Google Maps Scraper — businesses with phone, website, address, rating and coordinates per search
- 2GIS Places Scraper (Phones, Websites, Ratings, Hours) — 2GIS businesses in Russia, Kazakhstan, UAE and more with phones, website, rating and hours
- LinkedIn Jobs Scraper — job titles, companies, locations and full descriptions from LinkedIn job search
- Company 360: full company profile from a domain — one row per domain: contacts, tech, security, hiring and company facts
- Hiring Signals Scraper (Greenhouse, Lever, Ashby, Workable) — open jobs and hiring velocity from 10 public ATS boards
- Y Combinator Companies & Founders Scraper — YC startups by batch, industry and hiring status
- Wikidata Entity & Company Enrichment (facts, IDs, links) — HQ, founders, employees, revenue and social IDs per company
- Email Validator & Verifier — Bulk Email Check — syntax, MX, disposable, role and free-provider checks
- OpenStreetMap POI Extractor (Overpass API: shops, amenities) — shops and amenities by radius, bbox or area
- Stock, Crypto & FX Quotes — one row per symbol from Yahoo, Binance and ECB rates
- Yahoo Finance Scraper (Quotes, Fundamentals, Financials, News) — Yahoo Finance fundamentals, analyst targets, financial statements, ownership, news and history per ticker
- DexScreener Scraper (DEX Pairs, Prices, Liquidity, Boosts) — DEX pairs with price, volume, liquidity, FDV and boosted tokens across chains
- Polymarket Scraper (Prediction Markets, Odds, Volume) — Polymarket markets and events with outcome prices, volume and liquidity
- StockTwits Scraper (Messages, Sentiment, Trending) — StockTwits messages with Bullish/Bearish sentiment and trending symbols
- Economic Calendar Scraper (Forex Events, Impact, Forecasts) — This week's macro events with impact, forecast and previous values
- Crypto Fear & Greed Index — Daily Crypto Fear & Greed Index values with full history
- Remote Jobs Aggregator (RemoteOK, WWR, Hacker News) — one clean row per remote job, de-duplicated across feeds
- Greenhouse Jobs Scraper — jobs with descriptions from any Greenhouse job board
- Lever Jobs Scraper — jobs with descriptions from any Lever careers page
- Ashby Jobs Scraper — jobs, salaries and descriptions from any Ashby job board
- SmartRecruiters Jobs Scraper — jobs with descriptions from any SmartRecruiters company
- Seek Jobs Scraper (Australia & New Zealand) — Seek job ads with salary, work type and location
- Dice Jobs Scraper — US tech jobs from Dice with salary and remote flag
- AutoScout24 Scraper — European car listings with price, mileage and seller
- Rightmove Scraper — UK property for sale or rent with price and agent
- Wellfound Jobs Scraper (AngelList Startup Jobs) — startup jobs with salary and equity ranges, company size and stage
- Yandex Maps Scraper (Places, Ratings, Phones) — businesses in Russia, Türkiye and the CIS with phones, ratings, hours
- Craigslist Scraper (Listings, Prices, Locations) — listings in any area and category with price, date and coordinates
- JobStreet Scraper (Malaysia, Singapore, PH, ID + JobsDB) — JobStreet and JobsDB jobs in 6 Asian countries with parsed salaries
- InfoJobs Scraper (Spain Jobs, Salaries, Companies) — Spanish jobs with salary range, contract type and full description
- StepStone Scraper (Germany, Austria, Belgium Jobs) — StepStone jobs in Germany, Austria and Belgium by keyword and city
- Naukri Jobs Scraper (Salary, Skills, Company Rating) — Naukri.com jobs in India with salary range, experience, skills and company rating
- Zillow Scraper (Homes for Sale, Rent & Sold, Zestimates) — Zillow homes for sale, rent or sold with Zestimates, beds, baths and photos
- Zillow Home Details Scraper (Description, Photos, History) — full Zillow property pages: description, photos, HOA, tax rate, agent
- Redfin Scraper (Homes for Sale, Prices, Details) — US homes for sale or sold from any Redfin search, with price and details
- Kleinanzeigen Scraper (Ads, Prices, Locations) — German classifieds with price, VB flag, ZIP, city and seller type
Developer, app and research data
- npm, PyPI & Crates.io Package Health Checker — releases, downloads, deprecation and a health score
- GitHub Repository Health & Activity Report — stars, commits, contributors and risk flags per repo
- VS Code Marketplace Extension Scraper (installs, ratings) — installs, ratings and versions per extension
- Chrome Web Store Extension Scraper (installs, ratings) — users, rating, version and developer per extension
- Google Play Scraper — apps, ratings, installs, developer contact and reviews
- App Store (iOS) App Metadata, Ratings & Top Charts Lookup — ratings, price, version and charts per app
- CrossRef DOI & Citation Metadata Lookup — papers, authors, journals and citation counts
- FDA Recalls & Adverse Events Monitor (openFDA) — food, drug and device recalls from openFDA
- iCal / ICS Calendar Feed to Events Extractor — any public calendar feed as event rows
- Shopify Store Products Scraper — catalog, prices, variants and stock per store
- Hacker News Search & Front Page Scraper — stories, comments and points by query or front page
- GitHub Trending Repositories Scraper — trending repos and developers by language and period
- Stack Overflow & Stack Exchange Q&A Scraper — questions, answers and scores by query, tag or site
- Bulk Image Downloader — download image URLs to storage with size, dimensions and a ZIP
- Google Flights Scraper (Prices, Airlines, Stops) — flight prices, airlines, times, stops and CO2 by route and date
- Google Hotels Scraper (Prices, Ratings, Reviews) — hotel prices per night, stars, rating and reviews by city and dates
- Booking.com Scraper (Hotel Prices, Ratings, Availability) — Booking.com hotels for any city and dates with prices, scores and deals
- Airbnb Scraper (Listings, Prices, Ratings, Coordinates) — Airbnb stays for any city and dates with prices, ratings and coordinates
- AliExpress Scraper (Search Products & Prices) — AliExpress search results with USD price, discount and rank
- Lazada Scraper (Products, Prices, Sold, Ratings) — Lazada products in 6 countries with price, rating, units sold and seller
- Trendyol Scraper (Turkey Products, Prices, Ratings) — Trendyol products with price, basket discount, rating and promotions
Bilibili Scraper support
Bug reports and feature requests: open an issue on the Actor's Issues tab in the Apify Console. The run log and the ERRORS record show the cause of most failed lookups.
If the Actor saved you time, please leave a short review on its Apify Store page — it helps other buyers find it.