Datapika / Social & reviews
Bilibili Scraper
Videos, comments, danmaku and subtitles. Video rows with title, uploader, duration, publish time and views; danmaku rows with the second each line appears; comment threads with replies; subtitle tracks as text.
Apify store response · 2026-10-30. Usage counts do not measure output accuracy.
· Build 1.0.16 · 3 rows reviewed. Previewing 3 below.
Swipe the table to inspect more fields →
| title | author_name | play_count | duration_sec | created_at |
|---|---|---|---|---|
| ATM10sky通关纪念 | Azulsolitan | 36 | 410 | 2026-09-28T03:51:10+00:00 |
| 新手:太刀侠怎么打黄金吗喽?老手:↑ ↓ ↑ → ← → ← → | Azulsolitan | 343 | 111 | 2024-07-30T05:16:14+00:00 |
| 恐怖萌宝强如怪物,xdx与其鏖战数个小时,将其斩于马下,望周知 | Azulsolitan | 244 | 214 | 2024-06-22T09:54:28+00:00 |
Selected public fields from one recorded run. Text may be shortened to 20 words and non-HTTPS links are omitted. Missing values are preserved; this sample does not establish complete source coverage. Downloads contain all reviewed rows and selected fields. CSV text cells are escaped for spreadsheet safety.
Inspect the first JSON record
{
"title": "ATM10sky通关纪念",
"author_name": "Azulsolitan",
"play_count": 36,
"duration_sec": 410,
"created_at": "2026-09-28T03:51:10+00:00",
"url": "https://www.bilibili.com/video/BV1RMaq65EAH",
"item_type": "video"
}02 / Run your own query
From a console, code or agent.
Use Apify's input form, or start a run with your own API token. The small starter input below was checked against build 1.0.16's published input schema on October 28, 2026. Recorded samples can use different inputs or older builds.
curl -X POST \
"https://api.apify.com/v2/acts/openclawai~bilibili-scraper/runs?maxTotalChargeUsd=1" \
-H "Authorization: Bearer $APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{"mode":"user_posts","urls":["https://space.bilibili.com/178360345"],"maxItems":10}'This starts an asynchronous paid run with a $1 total run cap. Use the returned defaultDatasetId to retrieve results after the run succeeds. Never put your API token in public frontend code.
03 / Field reference
Plan your data model.
Selected documented fields from build 1.0.16, reviewed October 28, 2026. Availability varies by mode and source. Missing and null values stay visible in the recorded samples.
| Field | Type | Meaning |
|---|---|---|
| item_type | string | Row type: video, user, comment, danmaku, subtitle, hot_search, live, hint or error. |
| item_id | string | null | BV id for videos; comment or danmaku ID otherwise. |
| url | string | null | Link to the video or space. |
| title | string | null | Video title. |
| author_name | string | null | Uploader name, or the commenter on comment rows. |
| duration_sec | number | null | Video length in seconds. |
| created_at | string | null | Publish or send time in ISO 8601. |
| play_count | number | null | Views on video rows. |
| cover_url | string | null | Cover image URL. |
| comment_text | string | null | Comment or danmaku text. |
| like_count | number | null | Likes on comment rows. |
| comment_count | number | null | Reply count on comment rows. |
| raw | object | null | Full original record; danmaku rows carry time_sec, the second the line appears. |
04 / Know before you run
Coverage, without the guesswork.
Not an official Bilibili API. Only uploader-added subtitles are available, and media URLs expire after a few hours.
What is danmaku and can I export it?
Danmaku are the bullet comments that scroll across a Bilibili video. The danmaku mode returns each line's text, ID and send time, with the second it appears in the video in raw.time_sec, so comments can be lined up with the timeline. A video's full danmaku track usually comes back in seconds.
Can it get Bilibili subtitles?
Yes, when the uploader added them: the subtitles mode returns the full track as text. Bilibili's AI captions need a login and are not included; a video without uploader subtitles returns a free hint row and no charge.
Do I need a Bilibili account?
No. It reads public Bilibili data without an account, cookies or proxy settings. Private or deleted videos return a free hint row that says why.
How is the Bilibili scraper priced?
Pay per event: one charge per video, comment or danmaku line, list entry, single lookup or subtitle track, shown on the live price line above. Hint and error rows are free. On the free Apify plan you get 1 run per day with up to 5 results; comment replies need a paid plan.