Bilibili scraper API for video pages
Send a Bilibili video URL — or a b23.tv short link — to the Crawl endpoint and get back a structured card: title, description, publish time, engagement stats, and the danmaku comment feed. Verified for /video/ pages, honest about what is not covered.
Endpoint — bashPOST https://api.search1api.com/crawl{ "url": "https://www.bilibili.com/video/BV1DJYe6AEgP/" }
A dedicated parser extracts the video card — the metadata block Bilibili publishes alongside the player.
The video title, the full uploader-written description, and the publish timestamp.
Views, likes, comments, favorites, and coins in results.metadata.stats.
The bullet-comment feed — timestamped lines appended to the output, counted in metadata.danmaku.
Useful for
Chinese video content monitoring / Uptake analytics per video / RAG over video metadata
What goes in, what comes back
Two real anonymous captures — a video page and a b23.tv short link. Left: the page as Bilibili serves it to logged-out viewers. Right: the complete results.content the API returns, byte for byte.
bilibili.com/video/BV1DJYe6AEgPWhat Bilibili serves

Full app shell — player, danmaku rail, recommendations, comments
What the API returns
markdown# 【英雄联盟公益纪录片】逆风局的623326个英雄时刻过去八年,《英雄联盟》公益累计帮助人数超62w+。 公益回访片中,从大师到王者的小卢等召唤师们,讲述着《英雄联盟》与自己的故事。画面之外,无数个与生活“对线”的我们,也在各自的人生书写着千万个属于自己的“英雄时刻”。 在召唤师峡谷中,《英雄联盟》想告诉大家的不止是赢,更是残血也要守塔,是逆风也要打龙,是明知艰难,依然相信“这波能打”,是不管游戏内外,每个人都能在各自的人生“峡谷”中成为自己的英雄! 谢谢每一位与《英雄联盟》公益同行的召唤师,历尽千帆,仍然坚定。英雄联盟与英雄联盟公益都不会止步于此。下一局,我们继续峡谷见!## 弹幕 (31)- 00:00 以为是阴婷换脸- 00:00 我去,这手跟个斐济杯似的[笑哭]- 00:01 周阴婷?- 00:01 细说连接- 00:01 8分钟前- 00:01 文波?- 00:03 在进来的门口- 00:05 文波- 00:07 阿彌陀佛 阿彌陀佛 阿彌陀佛 阿彌陀佛 阿彌陀佛 阿彌陀佛 阿彌陀佛 阿彌陀佛 阿彌陀佛 阿彌陀佛 阿彌陀佛 阿彌陀佛 阿彌陀佛 阿彌陀佛 阿彌陀佛 阿彌陀佛 阿彌陀佛 阿彌陀佛 阿彌陀佛- 00:07 阿伟- 00:08 英雄联盟把人变成鬼- 00:08 路边一条- 00:58 啊?我吗?手指自己.jpg- 01:24 和我重名了hh- 01:47 加入光荣的进化吧!- 02:05 走路真的太爽了,这段话给我眼睛看红了- 02:29 血肉苦弱,机械飞升!- 02:37 哦哟,我大资中- 02:38 1- 03:31 我老家- 03:48 兰博没绷住- 03:54 兰博哈哈哈- 04:43 真正的奇迹行者- 05:12 这个视频很有意义 这些故事也很精彩 加油- 05:57 当游戏不在只是游戏,才是真正的第九艺术!- 06:10 塔子姐- 07:01 画的真好- 07:20 暖心- 07:55 啊?- 08:22 这种公益很有意义,继续加油- 08:27 守护神!
Title + description + publish time + stats + 31 danmaku — 894 B
b23.tv/BV1PeYe69EWkWhat Bilibili serves

b23.tv/<code> resolves to the canonical /video/ page on its own
What the API returns
markdown# Re:从零开始的异世界学园生活·序怠惰if还是会更新的,额外花了一千多做了些人设图,参考"春物语"的开头剧情做个新系列。 视频纯为爱发电,播放量全仰仗各位观众老爷点赞三连。 跟观众老爷求一波投币,如果有5000投币直接日更下一期且会更8分钟左右的剧情。 视频成本是1秒160积分,1个硬币等于20积分,单稿激励上限10w积分。 置顶评论图片为本期视频提示词。 最后跟观众老爷求波关注,助我拿到b站的限时任务的激励,争取给大家带来更多好作品。 正片传送门:https://www.bilibili.com/bangumi/play/ep307056/?share_source=copy_web 「本期视频由updream制作」updream传送门:https://updream.bilibili.com up的updream的邀请码:mE3PVJcePM,填写充值双方均可获得额外积分## 弹幕 (347)- 00:00 火钳刘明!- 00:00 观众老爷们,多多三连评论,数据好的话会更第一集正片- 00:00 嗯,香香的,好像是焚烧金钱的气息- 00:00 总有一条线是这......不是给我干哪来了?- 00:01 火了踢我- 00:01 !?电电?!- 00:02 哦对的对的- 00:02 看好了硬币之力是这样用的- 00:02 way?!- 00:02 约战幻视- 00:02 这波有手法的,开局一个神罗天征先拉开距离好操作- 00:03 白狐社市值翻了十倍才能做出来的画面- 00:03 直接给弹飞了没绷住- 00:03 现实生活中,谁不想急头白脸,有一个贝蒂妹妹- 00:04 致敬传奇耐杀王- 00:05 好牛逼的画风- 00:05 不是妈妈不是妈妈不是妈妈?- 00:05 约战同款展开- 00:05 你干的好呀- 00:05 虚饰if- 00:06 碧翠丝?- 00:06 不肖是谁啊?- 00:07 太美妙了,斯巴拉斯,阿娜塔,勤勉叠斯!!!- 00:07 虚饰线- 00:07 火钳刘明- 00:08 AI配音- 00:08 不应该一起睡吗- 00:09 ??现在质量这么高了吗- 00:09 什么你的名字- 00:09 约战- 00:10 直接电- 00:10 刚刚一眼看成露娜了- 00:10 美味- 00:11 姐弟吧- 00:12 不错不错,美味的很啊- 00:13 画风有点儿像你的名字一样,好贵的画面儿啊- 00:13 ai就是要这样用啊- 00:14 ai牛逼- 00:14 卡西拉~卡西拉~- 00:14 这么流程- 00:14 虚饰线吗- 00:14 贝蒂跳雷- 00:15 《四百多岁的妹妹》- 00:15 开局五河琴里- 00:18 白毛控的486竟然有其他头发颜色的手办- 00:18 1000+出来- 00:19 怎么后面不摆爱蜜莉雅的手办(bushi)- 00:19 其实我一直觉得贝蒂是母亲定位- 00:21 声音好自然- 00:22 不是 这AI把汉字读错了啊- 00:22 bgm选的好- 00:23 呃呃呃虽然但是菜月读音是natski啊- 00:24 前面的,实际上昴说过在现实世界自己的电脑和手机桌面都会是碧翠丝- 00:24 爸(骡子)妈(艾米莉亚)对吧- 00:26 开局五河琴里- 00:27 原来是妹妹啊,还以为是妈妈- 00:28 碧翠絲當妹妹,贏麻了!!!- 00:28 还有打破第四面墙的环节?- 00:28 贝蒂有点京阿尼感- 00:29 卧槽好牛逼- 00:30 看什么呀,抓紧投币点赞!!!!!!- 00:35 牛逼- 00:35 怎么感觉这里486的爸爸性格像雷德- 00:35 我要看的就是这个口牙!- 00:35 所以碧翠丝应该是收养的外国血统x- 00:36 这特么是AI?- 00:36 尸体暖暖的- 00:37 希望结局能和零之使魔一样,愿意和男主走的回到地球,不然他的父母真的太可怜了- 00:37 好nb的画面- 00:37 这就是幻想吗?- 00:38 像某本里的人渣基友- 00:38 !- 00:38 这么夸张吗?除了有点缓慢外,基本找不到不协调的点- 00:38 我要看的就是这个呀!- 00:39 太对了。- 00:39 我要是没看过原动画,可能真觉得这是官方的了- 00:39 我要看的就是这个哇!- 00:41 这个表情的变化真牛- 00:41 ai得学啊!ai- 00:41 这是ai吗看不出来我去- 00:41 皓哥,啥时候来的- 00:42 有点棒读的感觉- 00:43 nb- 00:43 后面太太发型危险- 00:43 其实昴爸大大咧咧性格确实是和雷德差不多,就是没他那么恶劣- 00:44 某本是啥本?- 00:45 新海诚画风- 00:45 恍惚了- 00:46 nb- 00:46 温馨- 00:48 这不是皓哥,玩梗的找个地方去死去,臭虫- 00:49 简直像是什么超有钱的广告短片- 00:50 虚饰if线- 00:50 怎么有点像五河士道的剧情- 00:51 经费好高- 00:52 呱,token在燃烧口也- 00:53 妹妹不像亲生的- 00:54 碧翠子可爱捏- 00:54 这额头能下棋了- 00:55 一个黑头发和一个棕头发是怎么生出一个金头发的- 00:56 才发现是紫罗兰BGM- 00:56 俩黄种人生出个白种人吗,有意识- 00:59 可爱- 01:00 我要是带贝蒂回家,我家人得乐坏了- 01:00 希望昴真的能过上这样的日常生活吧- 01:00 那这么说来,你妈是艾姬多娜?- 01:02 盲猜贝蒂是领养的,所以可以结婚- 01:02 1.25倍就是正常动漫了- 01:03 卡西拉- 01:04 最昴幻想- 01:04 这个昴的声音好像啊- 01:06 质量好高- 01:08 两个日本人怎么生出一个金发卷毛白人萝莉的- 01:08 真好啊……- 01:09 小动作很丰富哈- 01:09 你到底在向谁说明什么?- 01:10 新海诚味- 01:11 我Chovy,菜给我做好了啊,这是给人吃的吗?- 01:12 祖辈有外国人血脉,还是有可能返祖出外国人的- 01:12 不过这里就有点突兀了,而且如果仔细想的话,其逻辑上也有点不合理。- 01:13 十四点了赞- 01:13 太太的头发有点危险- 01:13 吓哭了,这质量- 01:14 这条线过的太好了建议删除[狗头](纯娱乐)- 01:14 帧率太高了- 01:15 这不全是美乃滋吗!- 01:16 是你,十四!- 01:16 十四狂喜- 01:17 热量爆炸- 01:17 土方十四吗- 01:17 齁死人- 01:17 脂肪超标了啊喂!!- 01:19 十四郎何在- 01:20 感觉肠胃的负担要爆了- 01:20 沙拉酱大餐?- 01:20 十四狂喜- 01:21 蛋黄酱套餐- 01:21 何菜谱- 01:22 胆固醇- 01:22 蛋黄酱仙人- 01:22 土方十四?何时来的- 01:24 超级美乃滋大餐- 01:24 依旧蛋黄酱世家- 01:24 哈哈哈- 01:26 十四?何时来的- 01:26 银桑:狗粮- 01:26 土方!是你- 01:26 热量爆炸啊- 01:27 这个吃法让我想到一个人hhh- 01:27 果然是噩梦的世界嘛,美乃滋地狱- 01:28 蛋黄酱赞助商- 01:28 美乃滋是不是蛋黄酱- 01:29 你们家一定有远房亲戚叫土方14郎- 01:29 紫罗兰永恒花园的BGM- 01:29 太强了- 01:30 热量爆炸式早餐哈哈哈- 01:31 大老师语录- 01:32 这不很明显言叶之庭么hh- 01:32 为什么要学尤利乌斯说话?- 01:33 缪缪的伞,作者小巧思- 01:34 嚯嚯嚯还有缪缪的事- 01:34 ?这是缪缪的伞- 01:34 比企谷老师- 01:34 ?大老师吗- 01:34 兽爷来了- 01:34 还是比企谷八幡- 01:35 比企谷老师,我还想念你~- 01:35 大老师?- 01:35 还有缪缪的伞哎- 01:36 RE0的画风,新海诚的质感- 01:36 486怎么搬家到东京了,不是北海道人吗- 01:36 言叶之庭?- 01:36 ?- 01:37 大老师表示欣慰- 01:37 大老师语录- 01:37 哇还有大老师- 01:38 这对话不对吧- 01:38 我缺的缪缪的伞的超长伞带谁给我补啊- 01:38 这包是言叶之庭- 01:38 比企谷八幡:像是我会说的话- 01:38 还有大老师发言- 01:38 还有大老师的事?- 01:39 这下看懂了- 01:40 666穿墙了- 01:40 大老师?- 01:41 这段室内打伞走路,周围的场景应该是回想- 01:41 这条线的486最没资格说这句话- 01:42 486进屋子还要打伞吗- 01:42 这才是真正的大结局- 01:42 冷知识:大老师声优也是尤里乌斯的声优- 01:42 才听出来bgm是紫罗兰的ed曲- 01:42 学校里撑伞没绷住- 01:42 6666,还会穿墙术- 01:43 屋子里打伞长不高的- 01:43 咋一股大老师的味道- 01:43 学校不许染头发!- 01:44 救命啊,好昂贵啊- 01:44 怎么图书馆还下雨啊- 01:45 寡妇大削弱- 01:45 !?豪豪?!- 01:45 为什么房间在下雨啊2333- 01:46 教室下雨吗- 01:46 这画面,刀剑神域?- 01:46 三姐妹- 01:46 屋里撑伞豪到我了- 01:46 表现手法- 01:46 我们仨- 01:46 王选组- 01:46 安娜好可爱啊- 01:47 bgm是紫罗兰- 01:47 我从零开始的异世界生活果然有问题- 01:47 bgm是紫罗兰薇尔莉特的- 01:48 服了,有没有看过动漫?这是表现角色回忆的一种方法- 01:49 一股大老师味- 01:50 这是回忆穿插吧,实际还是在路上但在回想学校的场景- 01:50 666教学楼漏水- 01:50 486你长不高了,哈哈- 01:51 动画指导:比企谷八幡- 01:51 没绷住- 01:52 打伞应该是486对外界的感受,是艺术表现形式- 01:52 大老师来了- 01:52 室内打伞 逻辑还是有问题- 01:52 这是表现手法吧- 01:52 室内打伞吗?- 01:53 比企谷八幡是吧- 01:53 为什么要在室内打伞?- 01:53 歌是紫罗兰的好评- 01:53 在学校打伞豪到我了()- 01:53 所以是不是要竞选学生会长了- 01:53 室内也要打伞吗- 01:55 学校在漏水啊!- 01:55 怎么没有给给- 01:56 艹,爆炸吧,现充- 01:56 不是,为什么室内也要打伞?- 01:57 豪情在天- 01:58 bgm听哭了〒_〒 花无凋零之日,意无传达之时,爱情恒古不变,紫罗兰永世长存!- 01:58 怎么室内还下雨举伞- 01:58 所以到底为什么要在室内打伞啊- 01:59 哈哈这ai- 01:59 为什么室内会有雨呀?- 01:59 哇,是红色奶龙- 02:00 原来是因为室内也下雨吗- 02:01 因为神都是忧郁的- 02:01 666- 02:01 这楼都在漏水啊- 02:02 比奇谷八幡穿越菜月昂- 02:02 怎么还在打伞- 02:03 室内打伞太艺术了吧- 02:03 这把伞是明日方舟缪缪周边吧- 02:03 魯迪烏絲也是6154是吧(- 02:03 啊?- 02:03 我的异世界生活果然有问题- 02:03 鲁迪?- 02:04 室内打伞长不高的- 02:04 想到个点子,败犬是蕾姆,拉姆这些,486变成温水- 02:04 诶,等等,这是……- 02:04 室内打伞长不高- 02:04 夫妻会面- 02:04 在室内都还打着伞,486也是够加豪的- 02:04 隔壁兄弟来串门了- 02:05 怎么还有鲁迪的事- 02:05 画面都对上春物了- 02:05 还是缪缪的伞- 02:05 甚至是缪尔赛思的伞吗,486你这家伙- 02:05 吓我一跳释放忍术- 02:05 正宫来了- 02:05 室内打伞长不高()- 02:05 室内打伞当嘉豪说是.jpg()- 02:05 鲁迪乌斯- 02:06 为什么老婆会在这里?- 02:06 ?????????- 02:06 ?- 02:06 在室内打伞是什么意思- 02:06 你是哪儿来的?- 02:06 这不帕克吗?(dog)- 02:06 你是?- 02:06 卢迪:哥们咋还打着伞呢- 02:06 谁????- 02:06 鲁迪?- 02:06 正宫来了(迫真)- 02:06 鲁迪哈哈哈- 02:06 不是?你为啥在这?- 02:06 ?夫妻同框- 02:06 室内撑伞嘉豪- 02:06 这是?- 02:07 夫妻俩来了- 02:07 真老婆到了- 02:07 鲁迪是叶山?- 02:07 哦哦哦对的对的- 02:07 66还有联动- 02:07 这台词,大老师- 02:07 这学校不行啊,天花板怎么一直渗水的- 02:07 鲁迪你跑哪去了?- 02:08 就是大老师- 02:08 昴长不高了- 02:08 还有夫妻的事- 02:08 不是哥们,这是谁来了- 02:08 夫妻档- 02:09 ?- 02:09 ?????
Resolved video card — 5.9 KB · stats + 300 of 347 danmaku
Use your own Bilibili link instead
What is covered, by URL pattern
Bilibili support is measured per URL pattern, not claimed per domain. Every row below is verified against the live crawler.
| URL pattern | Status | What you get |
|---|---|---|
bilibili.com/video/BV<id> | Supported | Title, description, publish time, stats — views, likes, comments, favorites, coins — plus the timestamped danmaku feed (up to 300 per video). |
b23.tv/<code> | Supported | Short links resolve to the target video page and return the same structured card — the standard mobile share format. |
bangumi / read / opus / space / live | Not covered | Episodes, column articles, dynamic posts, uploader spaces, and live rooms currently fail content-quality validation — tested and excluded rather than claimed. |
The video card, without the player shell
A Bilibili video page is a heavy application shell — player, danmaku rail, recommendations, comments. Point the Crawl endpoint at a /video/ URL and the dedicated parser returns the metadata card underneath: title, the uploader-written description, publish time, the five engagement counters — and the danmaku feed itself as timestamped lines.
Structured stats, not screen-scraped text
Views, likes, comments, favorites, and coins arrive as numbers in results.metadata.stats — ready for analytics without regex.
Danmaku comes along
The anonymous bullet-comment feed is appended to the output as timestamped lines — up to 300 per video — with the total in metadata.danmaku. For Chinese video monitoring, the danmaku is half the content.
Short links included
b23.tv is how Bilibili links travel on mobile. The crawler follows the redirect and parses the resolved video page.
Verified per URL pattern
Every matrix row is reproduced from a live crawl of a real URL — video and short links are covered, other page types are tested and marked out of scope.
What is a Bilibili scraper API?
A Bilibili scraper API is an HTTP interface that takes a bilibili.com video URL — or a b23.tv short link — and returns the video metadata in a structured, model-ready format. Bilibili is one of the largest video communities in Chinese, but the page is built for playback, not extraction. Search1API’s Crawl endpoint routes these URLs to a dedicated parser that emits the title, description, publish time, and engagement counters as a compact card — plus the anonymous danmaku comment feed as timestamped lines.
Typical workflow
Send a Bilibili video URL — or a b23.tv short link — to the Crawl endpoint and get back a structured card: title, description, publish time, engagement stats, and the danmaku comment feed. Verified for /video/ pages, honest about what is not covered.
POST a bilibili.com/video/BV… URL — or a b23.tv short link — to the Crawl endpoint.
The URL is matched against the pattern rules and routed to the dedicated Bilibili parser.
The video card returns as Markdown plus results.metadata — stats, publish time, and the danmaku section.
Check metadata.danmaku.returned vs total — the feed is capped at 300 timestamped lines per video.
Where teams use it
Monitor video performance — the five engagement counters update on every crawl.
Mine audience reaction — danmaku lines carry timestamps, so sentiment maps to moments in the video.
Feed Chinese video metadata into RAG and recommendation pipelines.
Resolve b23.tv share links from chat exports back to canonical video pages.
FAQ
Which Bilibili URLs are supported?
Video pages — bilibili.com/video/BV<id> — and b23.tv short links that resolve to one. Bangumi episodes, column articles, dynamic posts, spaces, and live rooms were tested and are not covered today.
Does the output include danmaku comments?
Yes — the anonymous bullet-comment feed is appended to the content as timestamped lines, up to 300 per video. metadata.danmaku reports the total and how many were returned. Video audio itself is not transcribed.
What does the danmaku section look like?
A "## 弹幕" section in the Markdown — one line per comment as "mm:ss text", sorted by position in the video. The timestamps let you map reactions to moments.
What happens with a deleted video?
Bilibili serves a "视频去哪了呢?" placeholder page — the parser returns that placeholder text, so validate results before treating output as a real video card.
Do I need a Bilibili account?
No — public video pages and the danmaku feed are served to anonymous viewers, and the parser reads the same endpoints. Login-required content stays out of scope.
Is scraping Bilibili legal?
We only fetch pages and feeds Bilibili serves to anonymous visitors — no login, no session sharing, no circumvention of access controls. Whether a specific use complies with applicable law and platform terms depends on your jurisdiction and use case, so confirm that with your own counsel.