Bilibili Scraper: Video Search, Comments, Uploads 哔哩哔哩 B站 avatar

Bilibili Scraper: Video Search, Comments, Uploads 哔哩哔哩 B站

Pricing

from $1.00 / 1,000 video from searches

Go to Apify Store
Bilibili Scraper: Video Search, Comments, Uploads 哔哩哔哩 B站

Bilibili Scraper: Video Search, Comments, Uploads 哔哩哔哩 B站

Search Bilibili (B站, 哔哩哔哩) videos by keyword, export a video's comments and list a user's uploads: title, uploader, views, likes, saves, comments, danmaku, length. Pay only for results returned.

Pricing

from $1.00 / 1,000 video from searches

Rating

0.0

(0)

Developer

DataXAPI

DataXAPI

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

a day ago

Last modified

Features

Limited permissions

Share

Search Bilibili (B站, 哔哩哔哩) videos by keyword, export the comments under a video and list what a user uploaded. Paste links, share text or IDs as you have them. No login, no cookie, no QR code.

You pay only for results you get. An input that does not exist, a search that finds nothing and a call that fails cost you nothing. Nothing is charged twice in a run.

You giveYou getPrice
Search keywordsOne video found by a keyword: title, uploader, views, likes, saves, comments, danmaku, length, link.$1.00 per 1,000
Video links or BV numbers to export comments fromOne comment on a video: text, commenter and level, likes, reply count, time posted.$1.00 per 1,000
Space links or user numbersOne video a user uploaded: title, description, views, comments, danmaku, length, time published.$1.00 per 1,000

One result as it comes back, from a recorded Bilibili video search call (IDs, names, text and links masked as "…"):

{
"kind": "video",
"input": "机械键盘",
"id": "…",
"url": "https://example.com/…",
"type": "video",
"title": "…",
"text": null,
"published_at": "2026-09-30T08:55:00.000Z",
"author": {
"id": "…",
"name": "…",
"avatar_url": "https://example.com/…"
},
"metrics": {
"likes": 237,
"comments": 64,
"favorites": 169,
"views": 35706
},
"hashtags": [
"…",
"…"
],
"fetched_at": "2026-10-12T18:47:48.000Z"
}

What it is for

  • Topic and product research: which videos rank for a keyword and how they did.
  • Creator research: an uploader's videos with views, comments and danmaku counts.
  • Comment analysis: export the comments under a video.

Why this Actor

  • Paste what you have. Browser links, the share text the app copies, short links and IDs all work; you do not have to dig an ID out of a link.
  • Several jobs in one run. Fill any of the sections below; each row says which input it came from.
  • No charge for nothing. Not found, private, deleted, an empty search or a failed call: no row and no charge. The same item met twice in a run is charged once.
  • Your spending limit holds. Set a maximum cost per run and the run stops before it, saying so in the log and in OUTPUT.
  • Same field names everywhere. text, author, metrics, published_at (ISO 8601, UTC) mean the same in all our Actors for Chinese platforms, so one pipeline reads them all.
  • Small and fast. Runs in 256 MB; results arrive page by page as they are fetched.

How to use

  1. Fill one or more sections of the input: keywords, links or IDs, one per line.
  2. Set how many results you want per entry.
  3. Click Start. Results appear in the Output tab as they come; export them as JSON, CSV, Excel or HTML, or read them through the Apify API.

Input examples

Search videos

{
"searchQueries": [
"机械键盘"
],
"maxVideosPerQuery": 20
}

Comments

{
"commentVideoUrls": [
"BV1ECeJ65EZS"
],
"maxCommentsPerVideo": 40
}

User uploads

{
"uploaderUrls": [
"8047632"
],
"maxVideosPerUploader": 30
}

Output

One row per result. kind says what the row is and input which of your entries it came from. Each kind has its own table view in the Output tab.

FieldWhat it is
kindWhat the row is
inputThe keyword, link or ID you gave
idThe platform's ID of the item; it works as is in this Actor's ID inputs
urlLink that opens the post
typeContent format
titleTitle
textBody text
published_atWhen it was published
authorAuthor: id, name, avatar_url
metricsEngagement counts: likes, comments, favorites, views
hashtagsHashtags, without the #
aidThe video's other number (its av number); it names the same video as the BV number
danmakuNumber of danmaku (comments shown over the video)
durationLength of the video, in seconds
cover_urlAddress of the cover image
categoryThe section the video is filed under, in the platform's words (数码, 美食制作, say)
post_idID of the post it is under
parent_idID of the comment it replies to directly; null for a top-level comment
root_idID of the top-level comment of its thread; null for a top-level comment
author_levelThe commenter's account level, 0 to 6
fetched_atWhen the data was fetched

A field the platform does not show for an item is null; counts are as of the moment of the run. A run also writes a summary to the OUTPUT record: rows per input, what was charged, and any input that returned nothing and why.

Pricing

Pay per result. Apify shows the same prices on the Pricing tab.

ResultPrice per 1,000Price per result
Video from search$1.00$0.001
Comment$1.00$0.001
Video from an uploader$1.00$0.001

For example, 100 keywords at 20 each is 2,000 results: $2.00.

On Apify's free plan a run is a sample: the first entry, one page, without the extras. Runs on any paid Apify plan have no such limit.

Use it from code or an AI agent

Run it and get the rows in one call:

curl -X POST "https://api.apify.com/v2/acts/dataxapi~bilibili-scraper/run-sync-get-dataset-items?token=$APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{"searchQueries":["机械键盘"],"maxVideosPerQuery":20}'

Python:

from apify_client import ApifyClient
client = ApifyClient("<APIFY_TOKEN>")
run = client.actor("dataxapi/bilibili-scraper").call(run_input={"searchQueries":["机械键盘"],"maxVideosPerQuery":20})
for row in client.dataset(run["defaultDatasetId"]).iterate_items():
print(row)

AI agents (Claude, ChatGPT, Cursor and others) can call it as a tool through the Apify MCP server at https://mcp.apify.com: add the Actor dataxapi/bilibili-scraper. Schedules, webhooks and the Apify integrations (Make, Zapier, n8n, Google Sheets and more) work as with any Actor.

Good to know

  • Only public data is read. Nothing is posted and no account is logged in.
  • Counts (likes, plays, reads) are those at the moment of the run; run it again or on a schedule to follow them.
  • This Actor is not affiliated with Bilibili.

More Chinese platforms from the same developer

中文说明

按关键词搜 B 站视频,导出视频评论,列出一个 UP 主的投稿。链接、App 复制的分享文案、短链接、编号都能直接粘贴。不用登录,不用 Cookie,不用扫码。

**只为拿到的结果付钱。**输入的内容不存在、搜索没结果、调用出错,都不收费;同一次运行里同一条只收一次。可以给每次运行设花费上限,到上限前就停。

你给你拿到价格(每千条)
搜索词B站视频搜索$1.00
要导出评论的视频B站视频评论$1.00
空间链接或 UIDB站用户投稿$1.00

Apify 免费版每次运行只取第一个输入的一页、不带附加数据;任何付费版都没有这个限制。结果可以导出 JSON、CSV、Excel,也可以用 Apify API 或 AI 助手(Apify MCP)调用。