Silkline Data / Bilibili
Public data only · 16 request types

Bilibili API

Scrape Bilibili (哔哩哔哩, B站): search videos by keyword, get video details, public comments with commenter user ID, avatar and level, danmaku (弹幕), subtitles and UP主 creator stats with recent uploads. No login or cookies needed. Export to JSON, CSV or Excel.

Resultready
JSON
16request types
$0.00736per result, Bronze tier
$0.00005start fee per run
2free trial runs on Apify
At a glance

Bilibili API in one table

Official public API for people outside ChinaNo. This tool collects the publicly visible data instead.
What you sendA keyword, a link or an ID, depending on the request type
What you get backJSON rows with English field names; 16 request types
Login, cookies, Chinese phone numberNone needed
Output formatsJSON, CSV, Excel, or the Apify API
Price$0.00736 per result on the Bronze tier, no subscription
Last verified with a real run2026-11-09
What you can get

16 kinds of Bilibili request

Bilibili (bilibili.com, 哔哩哔哩, often called B站) is a Chinese video-sharing platform with user-uploaded videos on topics such as gaming, anime, technology, education and lifestyle. Its best-known feature is danmaku (弹幕): viewer comments that scroll across the video at the moment they refer to. Video creators on Bilibili are called UP主.

Sample output

A real run, 22 fields per record

Run on 2026-10-26 with input {"mode": "search", "maxResults": 10, "keyword": "原神"}. Personal fields of ordinary users are masked here.

titleauthorNamedescriptionlikescommentsviews
当我和好姐妹一人只能控制半边身体?!大橙橙橙子不要小瞧我和歌歌的羁绊啊!18567425261177
在滑冰开始前先来摇摆吧Nagomi_ANICredits: Models: miHoYo/Stormz67 Scene: miHoYo/Tawan/Fest...59209925165
All 22 fields in one record
  • type video
  • bvid BV1BZn86qEA5
  • aid 117490172561259
  • url https://www.bilibili.com/video/BV1BZn86qEA5
  • title 当我和好姐妹一人只能控制半边身体?!
  • description 不要小瞧我和歌歌的羁绊啊!
  • authorName 大橙橙橙子
  • authorId 1691347
  • authorUrl https://space.bilibili.com/1691347
  • authorAvatar https://i1.hdslb.com/bfs/face/edaf4abc2c6f93f3eb758a07d87...
  • coverUrl https://i0.hdslb.com/bfs/archive/4dfcbb7883228f5c2905baae...
  • durationSeconds 977
  • publishedAt 2026-10-24T00:00:00Z
  • views 261177
  • likes 18567
  • coins
  • favorites 3298
  • shares
  • comments 425
  • danmaku 639
  • category 单机游戏
  • tags
Developers

Call the Bilibili API

Every run is one HTTP call: send the input as JSON, get the rows back. The same works from Make, Zapier or n8n.

Request
Response · 200application/json
Pricing

Pay per result

Bronze tier prices from the tool's listing; higher Apify tiers pay less. Free Apify users get two trial runs with their own input.

Estimated monthly cost
Full price table and worked examples

The Actor uses pay-per-event pricing: a small start fee per run plus a fee per item returned. Subtitles have their own, higher fee per video. Prices are in USD and depend on your Apify plan tier.

Event What it covers Bronze Silver Gold, Platinum, Diamond
Run start charged once per run, when the first request succeeds $0.00005 $0.00005 $0.00005
Result one video, comment, reply, danmaku, creator video, dynamic, trending word, live room, show (season) $0.00736 $0.00664 $0.006
Profile one creator profile $0.0092 $0.0083 $0.0075
Subtitle one video's subtitles (full transcript and timed sentences) $0.01 $0.009022 $0.008152

Worked examples:

  • 100 search results on Bronze cost about $0.74 ($0.00005 start + 100 × $0.00736). On Gold and higher they cost about $0.61 ($0.00005 + 100 × $0.006).
  • A full reply thread of 200 replies on Gold and higher costs about $1.20 ($0.00005 start + 200 × $0.006); one creator's last 24 dynamics about $0.14; the 50-word trending board about $0.30.
  • Subtitles for 10 videos that have them cost about $0.10 on Bronze ($0.00005 start + 10 × $0.01).

On the free Apify plan you get 2 free trial runs of this Actor with your own input, up to 10 results each, and nothing is charged; after that, runs return a stored sample dataset (a real result of the prefilled input). Use any paid Apify plan for full runs.

The run-start fee is charged once, when the first request succeeds, even if that request returns nothing. It is not charged when the run fails from the start or rejects the IDs (for example, when every ID is invalid or not found, or the input is wrong), or when the spending limit cannot cover it. Items are charged only when they are actually returned. Replies (with includeReplies, or in mode replies) are billed like comments. Set a maximum cost per run in the run options and the Actor stops when it is reached.

FAQ

Bilibili API questions

Do I need a Bilibili account or cookies?

No. No login, cookies or proxies are needed.

Is it legal to scrape Bilibili?

The Actor only returns publicly visible information, including the public profile of users who appear in the results (user ID, avatar, gender, level, verification and bio, as published on the platform). Private messages, logins and anything not publicly visible are never collected. Bios are returned as published, including any business contact info the creator put there. You are responsible for using the data in line with applicable laws and Bilibili's terms.

How fresh is the data?

You get what the source returns at the time of your run. To track changes over time, schedule regular runs.

Why are some fields empty?

Some data is not available in every mode, or the platform does not provide it for every account or comment. See "Fields that are often empty" above.

How many results can I get?

Up to 5,000 items per run with `maxResults` on a paid plan. Danmaku are limited to 1,200 per video.

Can I schedule runs or use the API?

Yes. Like any Apify Actor it can be started via API, scheduled, and connected to webhooks and integrations.