# Bilibili API: Get video

> 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.

Unofficial. Not affiliated with or endorsed by Bilibili.

- Page: https://fous.com/methods/bilibili.com/get-video
- Method: `bilibili.com/get_video`, version 1
- Website: bilibili.com
- Returns: title, uploader, views, likes, coins, favorites, danmaku, comments, shares, length, publish time, category, tags, description, cover, link
- Effect: read (it gets data and changes nothing)
- Sign-in: none needed
- Cost: 1 credit per completed run (1¢ with pay as you go); failed runs are free
- Verified: Nov 2, 2026

## Inputs

| Field | Type | Required | In the run below | Description |
|---|---|---|---|---|
| `video` | string | yes | `"BV15NaG63Emz"` | A Bilibili video link, BV number, or video title, for example 《原神》六周年主题曲《风的来信》. |

## Output

From a run on Oct 31, 2026, shortened. Its input:

```json
{
  "video": "BV15NaG63Emz"
}
```

Its output:

```json
{
  "tags": [
    "原神6周年",
    "米哈游",
    "miHoYo"
  ],
  "coins": 10879,
  "likes": 50461,
  "title": "《原神》提瓦特冒险纪念视频：旅行六周年手札",
  "views": 304824,
  "length": "2:08",
  "shares": 1050,
  "danmaku": 2697,
  "category": "手机游戏",
  "comments": 3858,
  "av_number": 117347566426249,
  "bv_number": "BV15NaG63Emz",
  "favorites": 7472,
  "video_link": "https://www.bilibili.com/video/BV15NaG63Emz",
  "description": "从蒙德吹来的微风，到纳塔燃烧的圣火；\n再到月光洒落的北境，我们的旅途已走过六载。\n \n一路走来，我们循着灯塔的光前行，在祈月之夜相聚；\n也曾踏上月球，在一次次相遇与别离中，收获感动与爱。\n \n世界愈发辽阔，新的故事仍在前方等待。\n愿未来的旅程，依旧有你同行。\n \n旅行者，六周年快乐。\n\n《原神》bilibili服下载地址： https://www.biligame.com/detail/?id=103496",
  "uploader_link": "https://space.bilibili.com/401742377",
  "uploader_name": "原神",
  "length_seconds": 128,
  "cover_image_link": "https://i1.hdslb.com/bfs/archive/efd2d37a76ebdec47e535ea80b5e50366e398e73.jpg",
  "publish_date_time": "2026-09-28T18:00:00+08:00"
}
```

## Run it

From code, with a Fous API key in `FOUS_API_KEY`; the answer's `data` holds the output:

```bash
curl https://api.fous.com/v1/runs \
  -H "Authorization: Bearer $FOUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"method":"bilibili.com/get_video","input":{"video":"BV15NaG63Emz"}}'
```

From an AI agent connected to the Fous MCP server: its `run` with the same method and input. To connect one, give it `set up https://fous.com/SKILL.md`.

## Ask your agent

- How many views, likes and coins does BV1GJ411x7h7 have right now?
- Pull the stats and tags for this Bilibili video: https://www.bilibili.com/video/BV1xx411c7mD
- Who uploaded the video titled 【何同学】我拍了一张600万人的合影 and when was it published?
- Get danmaku count, favorites and comment count for the video 《原神》六周年主题曲《风的来信》
- I need the description, cover image and duration of bilibili video BV1uT4y1P7CX

## Input schema

```json
{
  "type": "object",
  "required": [
    "video"
  ],
  "properties": {
    "video": {
      "type": "string",
      "description": "A Bilibili video link, BV number, or video title, for example 《原神》六周年主题曲《风的来信》."
    }
  }
}
```

## Output schema

```json
{
  "type": "object",
  "required": [
    "title",
    "uploader_name",
    "uploader_link",
    "views",
    "likes",
    "coins",
    "favorites",
    "danmaku",
    "comments",
    "shares",
    "length",
    "publish_date_time",
    "category",
    "tags",
    "description",
    "cover_image_link",
    "video_link",
    "bv_number",
    "av_number",
    "length_seconds"
  ],
  "properties": {
    "tags": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "coins": {
      "type": "integer"
    },
    "likes": {
      "type": "integer"
    },
    "title": {
      "type": "string"
    },
    "views": {
      "type": "integer"
    },
    "length": {
      "type": "string"
    },
    "shares": {
      "type": "integer"
    },
    "danmaku": {
      "type": "integer"
    },
    "category": {
      "type": [
        "string",
        "null"
      ]
    },
    "comments": {
      "type": "integer"
    },
    "av_number": {
      "type": "integer",
      "x-fous-developer": true
    },
    "bv_number": {
      "type": "string",
      "x-fous-developer": true
    },
    "favorites": {
      "type": "integer"
    },
    "video_link": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "uploader_link": {
      "type": "string"
    },
    "uploader_name": {
      "type": "string"
    },
    "length_seconds": {
      "type": "integer",
      "x-fous-developer": true
    },
    "cover_image_link": {
      "type": "string"
    },
    "publish_date_time": {
      "type": "string",
      "format": "date-time"
    }
  },
  "additionalProperties": false
}
```

## See more

- [Bilibili API: List popular videos](https://fous.com/methods/bilibili.com/list-popular-videos.md): 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.
- [YouTube API: Get video](https://fous.com/methods/youtube.com/get-video.md): Gets public details and statistics for one YouTube video by link, ID or title. A title selects the top search match.
- [TikTok API: Get video](https://fous.com/methods/tiktok.com/get-video.md): Gets details and engagement statistics for one public TikTok video from its link, including vm.tiktok.com short links: creator, caption, hashtags, posting time, views, likes, comments, shares, length and sound.
- [Vimeo API: Get video details](https://fous.com/methods/vimeo.com/get-video.md): Gets a public Vimeo video's title, creator, play, like and comment counts, length, upload date, description, tags, thumbnail and link from its video link.
- [YouTube API: Get video comments](https://fous.com/methods/youtube.com/get-video-comments.md): Gets public top-level comments on a YouTube video, found by link, video ID or title. Reply text is not included.
- [YouTube API: Get video transcript](https://fous.com/methods/youtube.com/get-video-transcript.md): Returns the spoken captions and timed segments of a YouTube video, given a video link or a title (top search match). Only captions the video has are returned.
- [YouTube API: Get channel](https://fous.com/methods/youtube.com/get-channel.md): Gets a public YouTube channel's profile, links and statistics from its name, @handle or link. Subscriber totals may be rounded as YouTube displays them.
- [SoundCloud API: Get track](https://fous.com/methods/soundcloud.com/get-track.md): Gets a public SoundCloud track and its stats from a title and optional artist, or from a track link. Search picks the artist's matching upload with the most plays; unavailable fields are null.
- [All Bilibili methods](https://fous.com/methods/bilibili.com.md)
