Bilibili Scraper — Videos, Search & Trending, Cheap avatar

Bilibili Scraper — Videos, Search & Trending, Cheap

Pricing

from $3.00 / 1,000 video results

Go to Apify Store
Bilibili Scraper — Videos, Search & Trending, Cheap

Bilibili Scraper — Videos, Search & Trending, Cheap

Bilibili Scraper for public video metadata: search by keyword, scrape video links, uploader pages, popular and ranking lists. Views, likes, coins, favorites, shares, danmaku and comment counts, tags, uploader and dates. No login. Pay per result, no subscription.

Pricing

from $3.00 / 1,000 video results

Rating

0.0

(0)

Developer

Fabrikit

Fabrikit

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Share

Scrape public Bilibili video metadata without a login: keyword search, individual video links, uploader pages, the popular feed and category rankings. Every video comes back as clean JSON with view, like, coin, favorite, share, danmaku and comment counts, tags, uploader, category, duration and publish date. Chinese text is kept exactly as published (UTF-8).

Pay per video saved, nothing else. See How much does it cost to scrape Bilibili? below.

What you get

  • Keyword search with sort order (relevance, most played, newest, most danmaku, most favorited), duration filter, date range and optional category.
  • Direct video links, BV ids or av ids.
  • Uploader pages (space.bilibili.com/mid), best effort.
  • Popular feed and top-100 rankings by category.
  • Full engagement stats and tags, even for search results.

No comments, no danmaku text and no personal data are collected: only the public uploader name and id shown on each video.

Who uses Bilibili data

  • Brands and agencies entering China who need to see which creators and videos drive attention in their category (games, beauty, tech, food).
  • Influencer marketing teams shortlisting uploaders by views, coins and favorites, which on Bilibili signal engagement better than raw views.
  • Game and anime publishers tracking launches, trailers and fan content around a title (the default example searches 原神, Genshin Impact).
  • Analysts and researchers building datasets of Chinese video trends, categories and publishing patterns.
  • AI and recommender projects that need structured video metadata (titles, descriptions, tags, categories and engagement) in Chinese.

Key features

  • Five sources in one actor: keyword search, explicit video links or ids, uploader spaces, the popular feed and the ranking list. Combine them in one run; duplicates are removed by BV id, so a video found twice is saved (and charged) once.
  • Exact stats for search results: Bilibili's search results only carry partial counts. With Full stats on (the default), each video is opened to get likes, coins, shares, favorites and exact view counts.
  • Tags included by default (includeTags).
  • Search filters that map to Bilibili's own: sort order, duration bucket, published-after / published-before dates, and a category id (tid).
  • Category rankings with rankingCategoryId (0 = all, 4 = Games, 3 = Music, 36 = Knowledge, 188 = Tech, 160 = Life, 211 = Food, 217 = Animals).
  • Automatic proxy escalation: the run starts on Apify datacenter proxy and switches to residential IPs for the rest of the run after repeated blocks.
  • Spending limit respected: before saving, the actor trims each batch to what your run's maximum charge allows, and maxItems caps the total across all sources.
  • Run summary: a SUMMARY record in the key-value store lists videos saved per source, skipped videos, errors and the proxy tier used.

Input examples

Search:

{ "searchKeywords": ["原神", "AI绘画"], "searchOrder": "click", "durationFilter": "10to30", "publishedAfter": "2026-09-01", "maxItems": 200 }

Specific videos and an uploader:

{ "videoUrls": ["https://www.bilibili.com/video/BV1VVpo6gEYg"], "uploaderUrls": ["https://space.bilibili.com/546195"], "searchKeywords": [] }

Games ranking:

{ "searchKeywords": [], "mode": "ranking", "rankingCategoryId": 4, "maxItems": 100 }

Popular feed right now (this is the "Bilibili popular videos" example task):

{ "mode": "popular", "searchKeywords": [], "maxItems": 50 }

Note: searchKeywords defaults to ["原神"]. If you only want videos, uploaders, the popular feed or a ranking, pass "searchKeywords": [] as in the examples above.

Input fields

FieldWhat it does
searchKeywordsKeywords to search. Chinese works best. Up to 1,000 results per keyword (Bilibili's limit).
searchOrdertotalrank (relevance), click (most played), pubdate (newest), dm (most danmaku), stow (most favorited).
durationFilterany, under10, 10to30, 30to60, over60 minutes. Keyword search only.
publishedAfter / publishedBeforeDates (YYYY-MM-DD), inclusive. Keyword search only.
searchCategoryIdOptional Bilibili category id (tid) to restrict keyword search.
videoUrlsVideo links, BV ids or av ids.
uploaderUrlsUploader space links or numeric mids. Best effort.
modenone, popular (popular feed) or ranking (top 100).
rankingCategoryIdCategory for ranking mode; 0 = all.
maxItemsTotal videos to save across all sources (default 50).
includeTagsAdd the video's tags (default on).
fetchFullStatsOpen each search/uploader result for exact stats (default on). Slower, same price.
proxyConfigurationApify Proxy by default; residential is used automatically when needed.

Output example

{
"bvid": "BV1VVpo6gEYg",
"aid": 117427861985029,
"url": "https://www.bilibili.com/video/BV1VVpo6gEYg",
"title": "【A2O】A2O LITE 'NEON' Official Video",
"description": "A2O LITE Debut Digital Single 'NEON' ...",
"uploaderName": "A2O_WORLD",
"uploaderMid": 670061998,
"uploaderUrl": "https://space.bilibili.com/670061998",
"publishedAt": "2026-10-10T09:30:00.000Z",
"durationSeconds": 223,
"category": "MV",
"tags": ["A2O", "MV"],
"viewCount": 973696,
"likeCount": 56384,
"coinCount": 29159,
"favoriteCount": 18898,
"shareCount": 15967,
"danmakuCount": 7455,
"commentCount": 8192,
"thumbnail": "https://i0.hdslb.com/bfs/archive/....jpg",
"searchKeyword": null,
"source": "url"
}

Output fields

FieldTypeDescription
bvidstringBilibili video id (BV…). Used to de-duplicate.
aidnumberLegacy numeric av id.
urlstringVideo page URL.
titlestringVideo title, as published.
descriptionstringVideo description.
uploaderNamestringPublic name of the uploader.
uploaderMidnumberUploader's numeric id (mid).
uploaderUrlstringUploader space URL.
publishedAtstringPublish time, ISO 8601 (UTC).
durationSecondsnumberVideo length in seconds.
categorystringBilibili category name.
tagsarrayVideo tags (when includeTags is on).
viewCountnumberViews (plays).
likeCountnumberLikes.
coinCountnumberCoins given by viewers.
favoriteCountnumberTimes added to favorites.
shareCountnumberShares.
danmakuCountnumberNumber of danmaku (bullet comments).
commentCountnumberNumber of comments.
thumbnailstringCover image URL.
searchKeywordstringThe keyword that found the video, or null.
sourcestringsearch, url, uploader, popular or ranking.

Counts are null when Bilibili does not return them for that source (for example, coins and shares in search results when Full stats is off).

How much does it cost to scrape Bilibili?

EventWhen it is charged
Actor startOnce per run (a fraction of a cent)
Video resultPer video saved to the dataset

From 30 October 2026, 1,000 videos cost US$10 on the Apify Free plan; paid Apify plans pay less per video — see the Pricing tab for the rate on your plan. Full stats and tags do not cost extra.

You only pay for videos actually saved; maxItems and your spending limit are always respected.

Proxy

The Actor starts on Apify datacenter proxy and switches automatically to residential IPs for the rest of the run if Bilibili blocks it. Keyword search returns at most 1,000 results per keyword (Bilibili limit); use several keywords, date ranges or categories to go deeper.

FAQ

Do I need a Bilibili account? No. Can it scrape comments or danmaku? No, by design. Why are some counts lower in search? Turn on "Full stats" (default) and each video is opened for exact numbers. Uploader pages fail sometimes? Bilibili risk-controls that endpoint; the run keeps the other sources and reports the error in the SUMMARY record.

How do I get more than 1,000 videos for one keyword? Bilibili stops at 1,000 results per keyword. Split the search: run the same keyword with different publishedAfter / publishedBefore windows, duration buckets or category ids, or add related keywords. Duplicates across those searches are removed automatically.

Can I search in English? Yes, but most Bilibili content is titled in Chinese, so Chinese keywords return far more relevant results.

What happens if nothing is found? If a run saves zero videos, it ends as failed with the reason (for example, no results or blocked requests), so you are not charged for result events and a scheduled run's failure is visible.

How fast is it? Ranking runs take seconds. Search with Full stats opens every video, so expect roughly a minute per few dozen videos when residential proxy is needed. Turn off fetchFullStats and includeTags for the fastest runs.

Can I monitor a creator or a keyword over time? Yes. Save the input as a task and schedule it daily or weekly; each run's dataset is a snapshot of views, likes and coins you can compare.

Use cases

Trend and creator research, competitor and brand monitoring, anime/game/tech content analytics, influencer discovery, datasets for AI and recommender research.

This actor only collects video metadata that Bilibili shows publicly to any visitor, without logging in, and it does not collect comments, danmaku text or private account data. Some fields, such as uploader names and ids, can still count as personal data, so laws like the EU GDPR, Chile's Ley 21.719, China's PIPL or the California CCPA may apply to how you store and use them; you are responsible for having a lawful purpose and keeping only what you need. You should also respect Bilibili's terms of service and avoid republishing content you do not have rights to. This is general information, not legal advice.

Integrations

Run the Bilibili Scraper from the Apify API or the JavaScript and Python clients, trigger other systems with webhooks when a run finishes, or schedule it (hourly, daily, weekly) in Apify Console. It works with n8n, Make and Zapier, and with LangChain and LlamaIndex through their Apify integrations. AI agents in Claude, ChatGPT, Cursor and other MCP clients can find and run it through Apify's MCP server. Download results as JSON, CSV or Excel, or read them from the dataset API.

Use with AI agents

Use this actor when you need public Bilibili video metadata (titles, uploaders, categories, tags and view/like/coin/favorite/share/danmaku/comment counts) for a keyword, a list of videos, an uploader, the popular feed or a category ranking.

{ "searchKeywords": ["人工智能"], "searchOrder": "click", "maxItems": 20 }

Main output fields: title, url, bvid, uploaderName, publishedAt, category, tags, viewCount, likeCount, coinCount, favoriteCount, commentCount. It is pay-per-event: an agent pays a small start fee plus a fixed price per video saved, not for compute time.

Ready-made examples

Changelog

  • 2026-10-16 — README expanded: input field reference, output field table, more FAQ, legal notes, integrations and example tasks.
  • 2026-10-15 — Build 0.1.6: README included in the build; published on the Apify Store. Tiered pricing announced, effective 2026-10-30 (lower per-video price on paid Apify plans).
  • 2026-10-13 — Builds 0.1.1–0.1.5: initial release with keyword search, video links, uploader pages, popular feed and rankings; fallback to the legacy ranking list when the current one is blocked; automatic switch to residential proxy after repeated blocks.

En español

Scraper de metadatos públicos de videos de Bilibili: búsqueda por palabra clave, enlaces de video, páginas de uploader, populares y rankings. Entrega vistas, likes, monedas, favoritos, compartidos, danmaku, comentarios (solo conteos), etiquetas, categoría, duración y fecha. Sin inicio de sesión. Se cobra por video guardado; el precio vigente para tu plan está en la pestaña Pricing.