Skip to content
Scrappa Get API key
Bilibili API 1 credit/request

Bilibili Video API Documentation

GET https://scrappa.co/api/bilibili/video

Bilibili Video API returns the full public record of one Bilibili video: the BV id, aid, cid, title, thumbnail, duration, description, publish date, category, copyright, the uploader profile (mid, name), video statistics (views, danmaku, replies, favorites, coins, shares, likes) and the list of parts/pages for multi-part videos.

Bilibili Video API Documentation 1 credit/request

Endpoint

Request preview
GET
https://scrappa.co/api/bilibili/video
Auth header
x-api-key
Cost
1 credit/request
bvid = example
Response preview
200 OK
{
    "meta": {
        "endpoint_family": "video"
    },
    "video": {
        "aid": 113006243481679,
        "cid": 36010133667,
        "pic": "https://i2.hdslb.com/bfs/archive/abc123.jpg",
        "tid": 17,
        "bvid": "BV1rpWjevEip",
        "desc": "Complete Python course for beginners.",
        "stat": {
            "coin": 18662,
            "like": 112004,
...

Parameters

Start with the required fields, then add optional filters only when your use case needs them.

Runnable path

1 required parameter needed before sending a request.

1 optional filter available.

bvid string Required

BV video identifier. Example: BV1rpWjevEip. Required unless aid is provided.

Example value example
aid integer Optional

Video aid. Alternative to bvid.

Example value 10

Response Schema

Example response fields are illustrative; inspect the JSON before integrating.

Example response fields

Scan these fields before integrating.

meta video
JSON Response
200 OK
{
    "meta": {
        "endpoint_family": "video"
    },
    "video": {
        "aid": 113006243481679,
        "cid": 36010133667,
        "pic": "https://i2.hdslb.com/bfs/archive/abc123.jpg",
        "tid": 17,
        "bvid": "BV1rpWjevEip",
        "desc": "Complete Python course for beginners.",
        "stat": {
            "coin": 18662,
            "like": 112004,
            "view": 20709188,
            "reply": 2457,
            "share": 5231,
            "danmaku": 132790,
            "favorite": 69881
        },
        "owner": {
            "mid": 3546597933714079,
            "name": "Python Official"
        },
        "pages": [
            {
                "cid": 36010133667,
                "page": 1,
                "part": "Course Introduction",
                "duration": 299
            }
        ],
        "title": "Python tutorial course - full series",
        "pubdate": 1660000000,
        "duration": 2398,
        "copyright": 1
    }
}

Generate Code with AI

Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.

Try It Live

Test this endpoint in our interactive playground with real data.