Bilibili · Content details
Live room status (title, viewers, live or not)
Send room IDs or links; get one record per live room with live status, title, viewers, followers, category and start time.
POST/v1/bilibili/liveRoom
$0.00736per record
- 1,000 records
- ≈ $7.36
- minimum per record fetched
- $0.00125
Paid balance onlyOne request, no cursor
Send it
POST with a JSON body, or GET with the same parameters in the query string. Your key goes in the Authorization header.
curl -X POST "https://api.silklinedata.com/v1/bilibili/liveRoom" \
-H "Authorization: Bearer $SILKLINE_KEY" \
-H "Content-Type: application/json" \
-d '{"limit":5,"liveRooms":["6"]}'import os, requests
response = requests.post(
"https://api.silklinedata.com/v1/bilibili/liveRoom",
headers={"Authorization": "Bearer " + os.environ["SILKLINE_KEY"]},
json={
"limit": 5,
"liveRooms": ["6"],
},
)
answer = response.json()
print(answer["data"], answer["meta"]["charged_usd"])const response = await fetch("https://api.silklinedata.com/v1/bilibili/liveRoom", {
method: "POST",
headers: { Authorization: `Bearer ${process.env.SILKLINE_KEY}`, "Content-Type": "application/json" },
body: JSON.stringify({
"limit": 5,
"liveRooms": [
"6"
]
}),
});
const { data, cursor, meta } = await response.json();
console.log(data, meta.charged_usd);What comes back
Records from a real request on 2026-11-21. Names, avatars and profile links of ordinary users show as <masked>; long text is cut here, not in the API.
{
"data": [
{
"type": "liveRoom",
"roomId": 7734200,
"shortId": 6,
"url": "https://live.bilibili.com/7734200",
"title": "恭喜BLG获得2026英雄联盟全球总决赛冠军",
"description": null,
"streamerId": "<masked>",
"status": "live",
"isLive": true,
"liveStartedAt": "2026-11-14T02:25:51Z",
"viewers": 384733,
"followers": 18200723,
"areaName": "游戏赛事",
"parentAreaName": "赛事",
"tags": [
"LPL",
"英雄联盟",
"全球总决赛"
],
"coverUrl": "https://i0.hdslb.com/bfs/live/7aa4b74…",
"keyframeUrl": "https://i0.hdslb.com/bfs/live-key-fra…"
}
],
"cursor": null,
"meta": {
"request_id": "req_01JD8Q…",
"charged_usd": "0.007360",
"balance_usd": "9.875000",
"items": 1
}
}Fields 17
| Field | Type | Example value |
|---|---|---|
| type | string | liveRoom |
| roomId | number | 7734200 |
| shortId | number | 6 |
| url | string | https://live.bilibili.com/7734200 |
| title | string | 恭喜BLG获得2026英雄联盟全球总决赛冠军 |
| description | null | null |
| streamerId | string | <masked> |
| status | string | live |
| isLive | boolean | true |
| liveStartedAt | string | 2026-11-14T02:25:51Z |
| viewers | number | 384733 |
| followers | number | 18200723 |
| areaName | string | 游戏赛事 |
| parentAreaName | string | 赛事 |
| tags | array | ["LPL","英雄联盟","全球总决赛"] |
| coverUrl | string | https://i0.hdslb.com/bfs/live/7aa4b74b472f74b34fc601e7aa90d1… |
| keyframeUrl | string | https://i0.hdslb.com/bfs/live-key-frame/keyframe112111200000… |
Parameters 2
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
| limit | integer | no | How many records to return, 1 to 100. A request never returns more than this. | 5 |
| liveRooms | array | yes | Live room IDs or URLs, e.g. 6 or https://live.bilibili.com/6. One record per room: whether it is live, title, viewers, followers, category. | ["6"] |
Paging
This endpoint answers in one request: raise limit (up to 100) for more records. cursor is always null.
What a request costs
You pay per record; when a request returns few records or none, it is charged at most the endpoint minimum for each page it reads, possibly less, and errors or timeouts on our side are not charged.
Here each record is fetched on its own; the minimum is $0.00125 for each.
- 1 record: up to $0.00736
- 20 records: up to $0.1472
- 100 records: up to $0.736
The response's meta says what was charged (charged_usd) and what is left (balance_usd). Errors on our side are not charged.
Questions
What parameters does Live room status (title, viewers, live or not) take?
Required: liveRooms. Every request also takes limit (1 to 100).
How many records does one request return?
Up to 100 (limit 1 to 100). A page holds up to 1 records, so 100 records take 100 pages in one request.
Can I page through more results?
No. This endpoint answers in full in one request; the answer's cursor is null.
How much does it cost?
Per record: record $0.00736. The minimum is $0.00125 per page: with few records or none, a request pays at most that for each page it reads, possibly less. 100 records cost at most $0.736.
What does a request cost when it fails or comes back empty?
You pay per record; when a request returns few records or none, it is charged at most the endpoint minimum for each page it reads, possibly less, and errors or timeouts on our side are not charged. Each answer's meta says what the request was charged and the balance left.