Export public Bilibili video search results and video metadata by keyword, BVID, or video URL.
Use this Actor when you need repeatable Bilibili video data for creator research, video SEO, trend tracking, competitor monitoring, market research, or media analysis. Results can be downloaded as CSV, JSON, Excel, XML, RSS, or used through the Apify Dataset API.
At a glance
- Search Bilibili by keyword: collect public video results for one or many search terms.
- Fetch direct videos: add BVIDs or Bilibili video URLs when you already know the videos you need.
- Collect engagement signals: save views, likes, coins, favorites, shares, replies, danmaku count, and duration when available.
- Get creator and category data: export author names, uploader IDs, categories, tags, thumbnails, publish dates, and source keywords.
- API-ready output: use the dataset in BI tools, spreadsheets, monitoring jobs, reports, or AI agents.
What can it do?
Bilibili Video Search Scraper turns Bilibili search pages and direct video identifiers into structured video rows.
- Export Bilibili video search data with the keyword, rank, page, title, BVID, video URL, author, thumbnail, and category.
- Collect video performance metrics such as views, likes, coins, favorites, shares, replies, danmaku count, and duration.
- Compare creators and topics using uploader IDs, category labels, tags, publish timestamps, and source keywords.
- Build recurring monitoring by scheduling the Actor with the same keywords and comparing new rows over time.
- Use it as a Bilibili data API alternative when you need public video metadata in a consistent dataset.
Common workflows
- Video SEO research: find titles, keywords, categories, and engagement patterns for a Bilibili topic.
- Competitor tracking: monitor channels, campaigns, launches, and branded keywords on Bilibili.
- Creator discovery: collect public videos and authors around a niche or industry.
- Market research: export video metadata for trend reports, media intelligence, and localization research.
- AI analysis: feed video rows into classification, clustering, summarization, or alerting workflows.
What data can you collect?
Each dataset row represents one public Bilibili video result or direct video lookup.
| Field | Description |
|---|---|
keyword |
Search keyword that produced the result |
rank |
Result rank within the keyword/page where available |
page |
Search result page number |
sort |
Sort mode used for the search |
sourceType |
Whether the row came from keyword search or direct BVID input |
title |
Public video title |
bvid |
Bilibili BVID |
aid |
Numeric Bilibili AID when available |
url |
Public Bilibili video URL |
author |
Public uploader name |
mid |
Public uploader ID |
description |
Video description when available |
publishedAt |
Public publish timestamp in ISO format |
thumbnailUrl |
Public thumbnail image URL |
category |
Bilibili category name |
parentCategory |
Parent category when available |
durationSeconds |
Video duration in seconds |
viewCount |
Public view count |
danmakuCount |
Public danmaku count |
likeCount |
Public like count |
coinCount |
Public coin count |
favoriteCount |
Public favorite count |
shareCount |
Public share count |
replyCount |
Public reply/comment count |
tags |
Public tags when detail collection is enabled |
pages |
Multi-part video page metadata when available |
scrapedAt |
Timestamp when the row was saved |
Example input
{
"keywords": ["AI tools", "game trailer"],
"bvids": ["BV1rpWjevEip"],
"maxItems": 50,
"sort": "totalrank",
"maxPagesPerKeyword": 3,
"includeDetails": true,
"requestDelayMillis": 700
}
Example output
{
"keyword": "AI tools",
"rank": 1,
"page": 1,
"sourceType": "search",
"title": "Example Bilibili video",
"bvid": "BV1rpWjevEip",
"url": "https://www.bilibili.com/video/BV1rpWjevEip",
"author": "Example creator",
"mid": 123456,
"publishedAt": "2026-07-03T10:00:00.000Z",
"thumbnailUrl": "https://i0.hdslb.com/bfs/archive/example.jpg",
"durationSeconds": 180,
"viewCount": 12500,
"likeCount": 820,
"replyCount": 65,
"tags": ["AI", "tools"],
"scrapedAt": "2026-07-03T12:00:00.000Z"
}
Tips for best results
- Start specific: focused keywords usually produce cleaner video datasets than broad one-word searches.
- Use direct BVIDs for known videos: this avoids search noise when you already know the target videos.
- Keep details enabled for analysis:
includeDetails=truegives richer stats and tags. - Increase delay for larger batches: use
requestDelayMillisif you process many keywords. - Schedule monitoring runs: compare new output with previous datasets to track fresh Bilibili videos.
Limits and caveats
- The Actor extracts publicly visible Bilibili data only.
- It does not access private videos, logged-in content, paid content, or account-only analytics.
- Counts can change after scraping and may be rounded or unavailable depending on Bilibili responses.
- Search results can vary by region, language, availability, and Bilibili ranking changes.
API usage
curl -X POST 'https://api.apify.com/v2/acts/fetch_cat~bilibili-video-search-scraper/runs?token=YOUR_APIFY_TOKEN' \
-H 'Content-Type: application/json' \
-d '{"keywords":["AI tools"],"maxItems":25,"includeDetails":true}'
MCP and AI agents
This Actor can be used through the official Apify MCP server at https://mcp.apify.com.
For a focused single-Actor tool setup, use:
https://mcp.apify.com?tools=fetch_cat/bilibili-video-search-scraper
Use the same JSON keys shown in the input configuration table, such as keywords, bvids, maxItems, sort, maxPagesPerKeyword, and includeDetails.
Support
If a run fails, returns no data, or a field looks wrong, open an issue from the Actor page.
Please include the Apify run ID or run URL, input JSON, one example public URL, query, or input item, what you expected, and what the dataset returned. Small reproducible inputs make parsing or site-layout issues much faster to fix.