# Bilibili API

> 2 public methods for Bilibili (bilibili.com), each 1 credit per completed run.

Unofficial. Not affiliated with or endorsed by Bilibili.

- Page: https://fous.com/methods/bilibili.com

## Methods

### [List popular videos](https://fous.com/methods/bilibili.com/list-popular-videos.md)

`bilibili.com/list_popular_videos`, read. Lists the current Bilibili ranking overall or in a selected category, in rank order. The Movies ranking does not provide uploader, likes, length or BV numbers.

Returns: rank, title, uploader, views, likes, danmaku, length, cover image, video link, BV number

### [Get video](https://fous.com/methods/bilibili.com/get-video.md)

`bilibili.com/get_video`, read. Gets public statistics and details for a Bilibili video from its link, BV number or title. A title selects the top video search match. Category may be missing when Bilibili does not show a label.

Returns: title, uploader, views, likes, coins, favorites, danmaku, comments, shares, length, publish time, category, tags, description, cover, link
