Bilibili video API
One video: title, description, cover, length, uploader, plays, likes, coins, favorites, danmaku and comments.
| Item | Value |
|---|---|
| Endpoint | GET https://api.feedmcp.com/v1/bilibili/videos/get |
| ID | bilibili.videos.get |
| Price | $0.002 / call |
| Returns | One Post object |
| Auth | Authorization: Bearer $FEEDMCP_API_KEY |
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
id |
string | yes | BV ID |
Every endpoint also takes view=full to include the platform's raw data as raw, at the same price.
Returned fields
data.item is one Post object, with the same fields on every platform:
| Field | Type | Description |
|---|---|---|
id |
string | The platform ID, which the platform's detail endpoint takes: TikTok or Douyin video ID, YouTube video ID, Instagram or Threads code, X post ID, Telegram "channel/number", Reddit short ID, LinkedIn activity number, Pinterest pin number, Kuaishou 3x… video ID, WeChat Channels object ID, Zhihu answer, question or article ID, Xiaohongshu note ID, BV ID, Weibo ID or article ID |
platform |
string | Platform: tiktok, youtube, instagram, x, threads, telegram, reddit, linkedin, facebook, pinterest, xiaohongshu, douyin, kuaishou, wechat_mp, wechat_channels, weibo, zhihu or bilibili |
type |
string | video, note, article, post (Weibo, X, Threads, Telegram, Reddit, LinkedIn, Facebook, Pinterest, Instagram photos), question or answer (Zhihu) |
url |
string | Link to the original |
title |
string | null | Title (YouTube, Reddit, Pinterest, Bilibili, Xiaohongshu and WeChat; for a Zhihu answer, its question; null elsewhere) |
text |
string | null | Body text or caption |
created_at |
string | null | Published at, ISO 8601, UTC |
author.id |
string | null | Author ID; pass it straight to that platform's account endpoints |
author.name |
string | null | Author name |
metrics.views |
number | null | Views or plays (null when the platform hides it) |
metrics.likes |
number | null | Likes (score on Reddit, total reactions on Facebook) |
metrics.comments |
number | null | Comments |
metrics.shares |
number | null | Shares or reposts (reposts on X) |
metrics.quotes |
number | null | Quotes (X and Threads) |
metrics.reactions |
number | null | Total reactions (Telegram only) |
metrics.answers |
number | null | Answers (Zhihu questions only) |
metrics.upvote_ratio |
number | null | Upvote ratio from 0 to 1 (Reddit only) |
metrics.repins |
number | null | Repins (Pinterest only) |
metrics.favorites |
number | null | Saves (bookmarks on X, saves on Pinterest) |
cover |
string | null | Cover image URL |
duration_seconds |
number | null | Video length in seconds |
tags |
string[] | Hashtags (the flair on Reddit) |
community |
string | null | Subreddit (Reddit only) |
link |
string | null | The page a pin links to (Pinterest only) |
When you are charged
$0.002 per call that returns data. Not found, no data, bad parameters, platform errors and timeouts are free.
Each answer carries meta.billing: what this call cost and the balance left.
Request
cURL
curl "https://api.feedmcp.com/v1/bilibili/videos/get?id=BV1GJ411x7h7" \
-H "Authorization: Bearer $FEEDMCP_API_KEY"
Python
import os, requests
r = requests.get(
"https://api.feedmcp.com/v1/bilibili/videos/get",
params={"id": "BV1GJ411x7h7"},
headers={"Authorization": f"Bearer {os.environ['FEEDMCP_API_KEY']}"},
timeout=30,
)
print(r.json())
JavaScript
const res = await fetch("https://api.feedmcp.com/v1/bilibili/videos/get?id=BV1GJ411x7h7", {
headers: { Authorization: `Bearer ${process.env.FEEDMCP_API_KEY}` },
});
console.log(await res.json());
MCP
From an AI with FeedMCP installed, the call tool:
{
"endpoint": "bilibili.videos.get",
"params": {
"id": "BV1GJ411x7h7"
},
"max_price": "0.002"
}
Response
The data below is made up; the shape is the real one.
{
"code": "ok",
"request_id": "req_7Qm2kXb9TzLp",
"data": {
"item": {
"id": "BV1GJ411x7h1",
"platform": "bilibili",
"type": "video",
"url": "https://www.bilibili.com/video/BV1GJ411x7h1",
"title": "露营vlog 第 1 期",
"text": "带上全套装备去山里住两晚",
"created_at": "2025-11-17T21:06:40.000Z",
"author": {
"id": "546195",
"name": "山里的阿木",
"avatar": "https://i0.hdslb.com/face.jpg"
},
"metrics": {
"views": 120000,
"likes": 8800,
"comments": 640,
"shares": 210,
"favorites": 3300,
"coins": 1500,
"danmaku": 900
},
"cover": "https://i0.hdslb.com/cover.jpg",
"duration_seconds": 754
}
},
"page": null,
"warnings": [],
"meta": {
"endpoint": "bilibili.videos.get",
"platform": "bilibili",
"fetched_at": "2026-11-19T08:00:00.000Z",
"source": "FeedMCP",
"catalog_revision": "d09a736bd39e8b3f",
"billing": {
"charged": true,
"amount": "0.002",
"currency": "USD",
"balance": "9.98"
}
}
}
Errors are described in Errors: each says whether you were charged (charged) and whether to retry (retry).
Other Bilibili endpoints
- Bilibili video comments:$0.002
- Bilibili uploader profile:$0.002
- Bilibili uploader videos:$0.002
- Bilibili video search:$0.003
- Bilibili trending searches:$0.002
- Bilibili comment replies:$0.002
- Bilibili account search:$0.002
Questions
How much does the Bilibili video endpoint cost?
$0.002 per call that returns data. Not found, no data, bad parameters, platform errors and timeouts are free.
Do I need a platform account?
No. Only public data is read.
Where do I find the ID or link?
Videos take the BV ID; users take the UID after space.bilibili.com/.
How do I use it from an AI?
Install the MCP server and ask; your AI calls bilibili.videos.get.