Bilibili Video Scraper — Search & Trending (哔哩哔哩) avatar

Bilibili Video Scraper — Search & Trending (哔哩哔哩)

Pricing

$2.00 / 1,000 videos

Go to Apify Store
Bilibili Video Scraper — Search & Trending (哔哩哔哩)

Bilibili Video Scraper — Search & Trending (哔哩哔哩)

Scrape Bilibili (哔哩哔哩) videos by keyword or from the trending (热门) list: title, views, likes, coins, favorites, danmaku, comments, shares, duration, tags, category, author and publish date. No login. $2 per 1,000 videos.

Pricing

$2.00 / 1,000 videos

Rating

0.0

(0)

Developer

Technical Dost Solutions

Technical Dost Solutions

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

a day ago

Last modified

Share

Bilibili Video Scraper collects public video data from Bilibili (哔哩哔哩, B站), China's largest video platform for young audiences, without an account, cookies or login. Search by keyword (Chinese or English) and sort by views, newest, danmaku or favorites, or pull the live trending (热门) list. Every video comes with views, likes, favorites, danmaku (bullet comments), comments, duration, tags, category, author and publish date; trending videos also include coins and shares.

What you get

  • Keyword search with up to 1,000 videos per keyword, sorted by relevance, most viewed, newest, most danmaku or most favorited.
  • Duration filter: under 10 minutes, 10–30, 30–60 or over 60 minutes.
  • Trending (热门) videos with full stats: views, likes, coins, favorites, shares, danmaku and comments.
  • Tags, category, author name and ID, cover image, description and exact publish time (UTC).
  • Works in Chinese and English; titles are cleaned of search highlighting.
  • Duplicates across keywords are removed, and you pay only for videos you get: $2 per 1,000.

How to use Bilibili Video Scraper

  1. Enter Keywords such as python 教程, 原神 or iphone 17 评测, or leave them empty to get trending videos.
  2. Choose Sort by and, optionally, a Duration filter and how many videos per keyword.
  3. Tick Include trending to add the current 热门 list.
  4. Run the Actor and export the dataset to Excel, CSV or JSON, or schedule it daily.

Input example

{
"keywords": [
"python 教程"
],
"sortBy": "most_viewed",
"maxVideosPerKeyword": 50,
"includeTrending": true,
"maxTrendingVideos": 20
}

All fields are described in the Input tab.

Output example

{
"bvid": "BV1wD4y1o7AS",
"aid": 712020469,
"title": "花了2万多买的Python教程全套,现在分享给大家,入门到精通(Python全栈开发教程)",
"description": "【视频授权发布】最新版Python小白教程,从0开始…",
"author": "Python_子木",
"authorId": 612593877,
"views": 35587428,
"likes": 1098450,
"coins": null,
"favorites": 2570354,
"danmaku": 250851,
"comments": 23846,
"shares": null,
"durationSeconds": 88861,
"category": "计算机技术",
"tags": [
"Python",
"编程开发",
"计算机技术"
],
"publishedAt": "2020-09-07T10:00:00.000Z",
"coverUrl": "https://i1.hdslb.com/bfs/archive/example.jpg",
"url": "https://www.bilibili.com/video/BV1wD4y1o7AS",
"source": "search",
"searchKeyword": "python 教程",
"scrapedAt": "2026-10-22T12:00:00.000Z"
}

Output fields

FieldDescription
bvidBilibili video ID (BV…).
aidNumeric video ID (av).
titleVideo title.
descriptionVideo description.
authorUploader (UP主) name.
authorIdUploader ID (mid).
viewsPlay count.
likesLikes.
coinsCoins given (trending only).
favoritesTimes added to favorites.
danmakuBullet comments (弹幕).
commentsComments.
sharesShares (trending only).
durationSecondsLength in seconds.
categoryBilibili category (分区).
tagsVideo tags.
publishedAtPublish time, ISO 8601 UTC.
coverUrlCover image URL.
urlVideo page URL.
sourcesearch or trending.
searchKeywordKeyword that found the video.
scrapedAtWhen the row was scraped.

Export results as JSON, CSV, Excel, XML or HTML, or read them with the API.

Use cases

  • Brands and agencies: find the Bilibili creators (UP主) who rank for your product category before outreach.
  • Market research: measure interest in games, gadgets, anime or courses in China by views and danmaku.
  • Trend monitoring: save the trending list daily to track what goes viral on Bilibili.
  • Content strategy: study titles, lengths and tags of the most viewed videos in a niche.
  • Datasets for research and AI: Chinese video titles, descriptions, tags and engagement.

How much does Bilibili Video Scraper cost?

This Actor uses pay-per-event pricing: $0.002 per video ($2 per 1,000). Platform usage is included. Searches with no results cost nothing.

Set Maximum cost per run in the run options to cap your spend; the Actor stops when the limit is reached.

Use Bilibili Video Scraper with AI agents (MCP)

Give Claude, ChatGPT, Cursor or any MCP client this Actor as a tool through the hosted Apify MCP server:

$claude mcp add --transport http apify "https://mcp.apify.com/?tools=technicaldost/bilibili-video-scraper-search-trending" --header "Authorization: Bearer YOUR_APIFY_TOKEN"

Or in a JSON MCP config:

{
"mcpServers": {
"apify": {
"url": "https://mcp.apify.com/?tools=technicaldost/bilibili-video-scraper-search-trending",
"headers": { "Authorization": "Bearer YOUR_APIFY_TOKEN" }
}
}
}

The tool is named technicaldost--bilibili-video-scraper-search-trending. Ask your agent, for example, to "run Bilibili Video Scraper with {"keywords": ["python 教程"], "sortBy": "most_viewed", "maxVideosPerKeyword": 50, "includeTrending": true, "maxTrendingVideos": 20}".

Run Bilibili Video Scraper via API

curl -X POST "https://api.apify.com/v2/acts/technicaldost~bilibili-video-scraper-search-trending/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{"keywords": ["python 教程"], "sortBy": "most_viewed", "maxVideosPerKeyword": 50, "includeTrending": true, "maxTrendingVideos": 20}'
from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("technicaldost/bilibili-video-scraper-search-trending").call(run_input={"keywords": ["python 教程"], "sortBy": "most_viewed", "maxVideosPerKeyword": 50, "includeTrending": True, "maxTrendingVideos": 20})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(item)
import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });
const run = await client.actor('technicaldost/bilibili-video-scraper-search-trending').call({"keywords": ["python 教程"], "sortBy": "most_viewed", "maxVideosPerKeyword": 50, "includeTrending": true, "maxTrendingVideos": 20});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);

Integrations

Schedule runs (daily, hourly) in Apify Console and send results to Google Sheets, Slack, Make, Zapier, n8n, Airbyte or your own webhook.

FAQ

Do I need a Bilibili account or Chinese phone number?

No. The Actor uses Bilibili's public web search and trending pages as a logged-out visitor.

How many videos can I get per keyword?

Bilibili's search returns up to 1,000 videos (50 pages of 20) per keyword and sort order. Use several keywords or sort orders to cover more.

Why are coins and shares empty for search results?

Bilibili's search results do not include coins and shares. Trending videos include every stat.

Can I scrape a specific uploader's videos or comments?

Not in this version. Bilibili protects uploader pages with risk control; search for the uploader's name or topic instead.

Does it download videos?

No. It returns video data and links, not video files.

The Actor collects publicly available information only and does not log in or bypass access controls. Use the data in line with the website's terms and the laws that apply to you, especially when processing personal data.