Skip to content

Bilibili Video Details API (V2) ​

GET
API health status
Healthy Available Limited Mostly unavailable No data
Loading health status...

Retrieves details for a Bilibili video identified by its BVID. Use it to look up a known video for content review, cataloging, or subsequent engagement analysis.

Parameters ​

NameInTypeRequiredDefaultDescription
tokenquerystringYes-Access token for the API.
bvidquerystringYes-Bilibili Video ID (BVID).

Code Samples ​

bash
curl --max-time 120 -X GET 'https://api.justoneapi.com/api/bilibili/get-video-detail/v2?token=YOUR_API_KEY&bvid=VALUE'
text
I want to use the "Video Details (V2)" API from JustOneAPI.
Base URL: https://api.justoneapi.com.
API Path: /api/bilibili/get-video-detail/v2?token=YOUR_API_KEY&bvid=VALUE
API Endpoint: BASE_URL + /api/bilibili/get-video-detail/v2?token=YOUR_API_KEY&bvid=VALUE
HTTP Method: GET
Authentication: Append the "token" query parameter to the URL.
OpenAPI Definition: https://docs.justoneapi.com/openapi/bilibili/video-details-v2-en.json

Parameters:
- token (query): Access token for the API. (Required)
- bvid (query): Bilibili Video ID (BVID). (Required)

Return format: safely handle JSON or text according to the actual Content-Type.

Response Handling & Error Codes:
1. Business results should be determined by the "code" field in the response body (code 0 means success).
2. Timeout Recommendation: Set the request timeout to 120 seconds. If 120 seconds is too long for your use case, use at least 60 seconds, but a small number of requests may time out before receiving a result.
3. Business Code Reference:
   - 0: Success
   - 100: Invalid or Inactive Token
   - 301: Collection Failed. Please Retry.
   - 302: Rate Limit Exceeded
   - 303: Daily Quota Exceeded
   - 400: Invalid Parameters
   - 500: Internal Server Error
   - 600: Permission Denied
   - 601: Insufficient Balance
   - 602: Token Budget Exceeded
4. Code 601 means the shared account balance is insufficient. Code 602 means the current API token's own cumulative budget limit has been reached. Token budget limits do not transfer funds out of the shared account balance.

Please help me write a script in my preferred programming language to call this API and handle the response.
python
import requests

BASE_URL = "https://api.justoneapi.com"  # Provided by OpenAPI servers

url = BASE_URL + "/api/bilibili/get-video-detail/v2?token=YOUR_API_KEY&bvid=VALUE"
response = requests.get(url, timeout=120)
print(response.status_code)
if response.content:
    content_type = response.headers.get("content-type", "").lower()
    if "json" in content_type:
        try:
            print(response.json())
        except ValueError:
            print(response.text)
    elif content_type.startswith("text/") or "xml" in content_type or content_type.split(";", 1)[0].strip() in {"application/javascript", "application/x-www-form-urlencoded", "application/graphql"}:
        print(response.text)
    else:
        with open("response.bin", "wb") as output:
            output.write(response.content)
        print(f"Saved {len(response.content)} bytes to response.bin")
js
const BASE_URL = "https://api.justoneapi.com"; // Provided by OpenAPI servers
const url = BASE_URL + "/api/bilibili/get-video-detail/v2?token=YOUR_API_KEY&bvid=VALUE";

const response = await fetch(url, {
  method: "GET",
  signal: AbortSignal.timeout(120000)
});
console.log(response.status);
const responseBytes = await response.arrayBuffer();
if (responseBytes.byteLength) {
  const contentType = (response.headers.get("content-type") || "").toLowerCase();
  const mediaType = contentType.split(";", 1)[0].trim();
  const textual = contentType.startsWith("text/") || contentType.includes("json") || contentType.includes("xml") || ["application/javascript", "application/x-www-form-urlencoded", "application/graphql"].includes(mediaType);
  if (textual) {
    const responseText = new TextDecoder().decode(responseBytes);
    let data = responseText;
    if (contentType.includes("json")) {
      try { data = JSON.parse(responseText); } catch { /* Keep the raw body. */ }
    }
    console.log(data);
  } else {
    console.log(`Received ${responseBytes.byteLength} binary bytes`);
  }
}
java
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.time.Duration;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.nio.file.Path;

public class Main {
    public static void main(String[] args) throws Exception {
        final String BASE_URL = "https://api.justoneapi.com"; // Provided by OpenAPI servers
        final String url = BASE_URL + "/api/bilibili/get-video-detail/v2?token=YOUR_API_KEY&bvid=VALUE";

        HttpClient client = HttpClient.newBuilder().connectTimeout(Duration.ofSeconds(120)).build();
        HttpRequest.Builder builder = HttpRequest.newBuilder()
            .uri(URI.create(url))
            .timeout(Duration.ofSeconds(120))
            .method("GET", HttpRequest.BodyPublishers.noBody());

        HttpRequest request = builder.build();

        HttpResponse<byte[]> response = client.send(request, HttpResponse.BodyHandlers.ofByteArray());
        System.out.println(response.statusCode());
        String contentType = response.headers().firstValue("content-type").orElse("").toLowerCase();
        String mediaType = contentType.split(";", 2)[0].trim();
        if (contentType.startsWith("text/") || contentType.contains("json") || contentType.contains("xml") || mediaType.equals("application/javascript") || mediaType.equals("application/x-www-form-urlencoded") || mediaType.equals("application/graphql")) {
            System.out.println(new String(response.body(), StandardCharsets.UTF_8));
        } else {
            Files.write(Path.of("response.bin"), response.body());
            System.out.println("Saved " + response.body().length + " bytes to response.bin");
        }
    }
}
go
package main

import (
	"fmt"
	"io"
	"os"
	"strings"
	"net/http"
	"time"
)

const BASE_URL = "https://api.justoneapi.com" // Provided by OpenAPI servers

func main() {
	client := &http.Client{Timeout: 120 * time.Second}
	url := BASE_URL + "/api/bilibili/get-video-detail/v2?token=YOUR_API_KEY&bvid=VALUE"
	req, _ := http.NewRequest("GET", url, nil)
	resp, _ := client.Do(req)
	defer resp.Body.Close()
	fmt.Println(resp.StatusCode)
	bodyBytes, _ := io.ReadAll(resp.Body)
	contentType := strings.ToLower(resp.Header.Get("Content-Type"))
	mediaType := strings.TrimSpace(strings.SplitN(contentType, ";", 2)[0])
	if strings.HasPrefix(contentType, "text/") || strings.Contains(contentType, "json") || strings.Contains(contentType, "xml") || mediaType == "application/javascript" || mediaType == "application/x-www-form-urlencoded" || mediaType == "application/graphql" {
		fmt.Println(string(bodyBytes))
	} else {
		os.WriteFile("response.bin", bodyBytes, 0600)
		fmt.Printf("Saved %d bytes to response.bin\n", len(bodyBytes))
	}
}
php
<?php
$BASE_URL = 'https://api.justoneapi.com'; // Provided by OpenAPI servers
$url = $BASE_URL . '/api/bilibili/get-video-detail/v2?token=YOUR_API_KEY&bvid=VALUE';

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_TIMEOUT, 120);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "GET");
$response = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
$contentType = strtolower((string) curl_getinfo($ch, CURLINFO_CONTENT_TYPE));
curl_close($ch);
echo $status . PHP_EOL;
$mediaType = trim(explode(';', $contentType, 2)[0]);
if (str_starts_with($contentType, 'text/') || str_contains($contentType, 'json') || str_contains($contentType, 'xml') || in_array($mediaType, ['application/javascript', 'application/x-www-form-urlencoded', 'application/graphql'], true)) {
    echo $response;
} else {
    file_put_contents('response.bin', $response);
    echo 'Saved ' . strlen($response) . ' bytes to response.bin' . PHP_EOL;
}

Response Fields ​

Key fields in a successful response (code = 0).

Video overview19 fields

data.videoData

Details of the requested Bilibili submission.

FieldTypeDescription
bvidstringBilibili video ID (BV ID).
aidintegerNumeric Bilibili submission ID (AV ID).
videosintegerNumber of parts in this submission.
tidintegerNumeric content category ID.
tid_v2integerNumeric content category ID in the second category classification.
tnamestringContent category name.
tname_v2stringContent category name in the second category classification.
picstringVideo cover image URL.
titlestringVideo title.
pubdateintegerPublication time as a Unix timestamp in seconds.
ctimeintegerSubmission creation time as a Unix timestamp in seconds.
descstringPlain-text video description.
desc_v2array | nullStructured description entries when available, or null.
desc_v2[]object-
desc_v2[].raw_textstringText of this description entry.
desc_v2[].typeintegerNumeric type of this description entry.
desc_v2[].biz_idintegerReference ID associated with this description entry.
stateintegerSubmission state code recorded by Bilibili.
durationintegerTotal duration of the submission in seconds, including all parts of a multipart submission.
Video parts and navigation22 fields

data

FieldTypeDescription
aidintegerNumeric Bilibili submission ID (AV ID).
bvidstringBilibili video ID (BV ID).
cidintegerContent ID of the selected video part.
pintegerNumber of the selected video part, starting at 1.
cidMapobjectLookup table for video and part IDs. Its keys depend on the requested video.
availableVideoListarrayVideo entries available for navigation on this page. This list can include more than the requested video's parts.
availableVideoList[]object-
availableVideoList[].aidintegerNumeric Bilibili submission ID (AV ID).
availableVideoList[].bvidstringBilibili video ID (BV ID).
availableVideoList[].cidintegerContent ID associated with the listed video.
availableVideoList[].titlestringVideo title.
availableVideoList[].coverstringVideo cover image URL.
availableVideoList[].upidintegerNumeric Bilibili member ID of the uploader.
availableVideoList[].is_lesson_videobooleanWhether Bilibili marks the entry as a lesson video.
availableVideoList[].redirect_urlstringRedirect URL supplied for opening this listed video.
availableVideoList[].listarraySubentries available for navigation within this video entry.
availableVideoList[].list[]object-
availableVideoList[].list[].aidintegerNumeric Bilibili submission ID (AV ID).
availableVideoList[].list[].bvidstringBilibili video ID (BV ID).
availableVideoList[].list[].cidintegerContent ID of this part.
availableVideoList[].list[].pintegerPart number, starting at 1.
availableVideoList[].list[].titlestringDisplay title of this part.
Part details12 fields

data.videoData.pages[]

Individual parts of this submission.

FieldTypeDescription
cidintegerContent ID of this part.
pageintegerPart number, starting at 1.
partstringDisplay title of this part.
durationintegerDuration of this video part in seconds.
first_framestringFirst-frame image URL for this part.
ctimeintegerPart creation time as a Unix timestamp in seconds.
asr_languagestringLanguage code associated with automatic speech recognition for this part.
weblinkstringWeb link associated with this part, when present.
dimensionobjectVideo frame dimensions and rotation.
dimension.widthintegerVideo frame width in pixels.
dimension.heightintegerVideo frame height in pixels.
dimension.rotateintegerVideo frame rotation in degrees.
Engagement statistics11 fields

data.videoData.stat

Engagement statistics for this submission.

FieldTypeDescription
aidintegerNumeric Bilibili submission ID (AV ID).
viewintegerView count returned by Bilibili.
danmakuintegerDanmaku count returned by Bilibili.
replyintegerComment count returned by Bilibili.
favoriteintegerFavorite count returned by Bilibili.
coinintegerCoin count returned by Bilibili.
shareintegerShare count returned by Bilibili.
likeintegerLike count returned by Bilibili.
dislikeintegerDislike count returned by Bilibili.
now_rankintegerCurrent ranking value returned by Bilibili.
his_rankintegerHistorical ranking value returned by Bilibili.
Uploader and collaborators12 fields

data

FieldTypeDescription
staffDataarrayCollaborator list returned by the video page. The list may be empty.
upDataobjectPublic profile information for the uploader.
upData.midstringBilibili member ID represented as text.
upData.namestringUploader display name.
upData.facestringUploader avatar URL.
upData.fansintegerFollower count returned for the uploader.
upData.signstringPublic profile signature.
upData.archiveCountintegerSubmission count returned for the uploader.
upData.is_senior_memberintegerNumeric senior-member flag.
upData.official_verifyobjectUploader verification information.
upData.official_verify.typeintegerNumeric verification type.
upData.official_verify.descstringVerification description shown on the profile.
Submission owner3 fields

data.videoData.owner

Public information for the submission owner.

FieldTypeDescription
midintegerNumeric Bilibili member ID.
namestringUploader display name.
facestringUploader avatar URL.
Copyright and viewing rights28 fields

data.videoData

FieldTypeDescription
copyrightintegerBilibili's numeric copyright classification for this submission.
rightsobjectNumeric viewing and interaction flags supplied by Bilibili.
rights.elecintegerNumeric charging support flag.
rights.downloadintegerNumeric download flag.
rights.movieintegerNumeric movie flag.
rights.payintegerNumeric paid-access flag.
rights.no_reprintintegerNumeric flag for the platform's no-repost setting.
rights.autoplayintegerNumeric autoplay flag.
rights.ugc_payintegerNumeric paid-access flag for creator content.
rights.is_cooperationintegerNumeric joint-submission flag.
rights.ugc_pay_previewintegerNumeric preview flag for paid creator content.
rights.no_backgroundintegerNumeric flag for restricting background playback.
rights.clean_modeintegerNumeric clean-mode flag.
rights.is_stein_gateintegerNumeric interactive-video flag.
rights.is_360integerNumeric 360-degree video flag.
rights.no_shareintegerNumeric flag for restricting sharing.
rights.arc_payintegerNumeric paid-access flag for this submission.
rights.free_watchintegerNumeric free-viewing flag.
argue_infoobjectPlatform notice associated with the video, when provided.
argue_info.argue_msgstringText of the platform notice.
argue_info.argue_typeintegerNumeric type of the platform notice.
argue_info.argue_linkstringLink associated with the platform notice.
is_chargeable_seasonbooleanWhether Bilibili marks the collection as chargeable.
is_upower_exclusivebooleanWhether this video is marked as exclusive to a charging tier.
is_upower_playbooleanWhether the current page context can play the charging-exclusive video.
is_upower_previewbooleanWhether Bilibili marks the video as available for preview in this page context.
is_upower_exclusive_with_qabooleanWhether Bilibili marks this charging-exclusive video as associated with a Q&A.
teenage_modeintegerNumeric youth-mode flag recorded for this video.
Charging and engagement restrictions14 fields

data

FieldTypeDescription
elecFullInfoobjectCharging and support information returned by the video page.
elecFullInfo.show_infoobjectDisplay settings for charging information.
elecFullInfo.show_info.showbooleanWhether the page displays charging information.
elecFullInfo.show_info.stateintegerDisplay state code for charging information.
elecFullInfo.show_info.titlestringTitle displayed for the charging information.
elecFullInfo.show_info.high_levelobjectInformation shown for a charging tier.
elecFullInfo.show_info.high_level.titlestringDisplayed title for the charging tier.
elecFullInfo.show_info.high_level.sub_titlestringDisplayed subtitle for the charging tier.
elecFullInfo.show_info.high_level.introstringIntroduction displayed for the charging tier.
emergencyBanobjectRestrictions on engagement actions for this page context.
emergencyBan.no_likebooleanWhether likes are restricted on this page.
emergencyBan.no_coinbooleanWhether coin contributions are restricted on this page.
emergencyBan.no_favbooleanWhether favorites are restricted on this page.
emergencyBan.no_sharebooleanWhether sharing is restricted on this page.
Submission collection93 fields

data.videoData.ugc_season

Creator collection containing the submission, when available.

FieldTypeDescription
idintegerNumeric collection ID.
titlestringCollection title.
coverstringCollection cover image URL.
midintegerNumeric Bilibili member ID of the uploader.
introstringCollection introduction text.
ep_countintegerEpisode count returned for the collection.
season_typeintegerNumeric collection type.
is_pay_seasonbooleanWhether Bilibili marks this collection as paid.
statobjectEngagement statistics for the collection.
stat.season_idintegerNumeric collection ID.
stat.viewintegerView count returned by Bilibili.
stat.danmakuintegerDanmaku count returned by Bilibili.
stat.replyintegerComment count returned by Bilibili.
stat.favintegerFavorite count returned by Bilibili.
stat.coinintegerCoin count returned by Bilibili.
stat.shareintegerShare count returned by Bilibili.
stat.likeintegerLike count returned by Bilibili.
stat.now_rankintegerCurrent ranking value returned by Bilibili.
stat.his_rankintegerHistorical ranking value returned by Bilibili.
sectionsarraySections in this collection.
sections[]object-
sections[].idintegerNumeric collection section ID.
sections[].titlestringCollection section title.
sections[].season_idintegerNumeric collection ID.
sections[].typeintegerNumeric type of this collection section.
sections[].episodesarrayVideos listed in this section of the collection.
sections[].episodes[]object-
sections[].episodes[].idintegerNumeric collection episode ID.
sections[].episodes[].aidintegerNumeric Bilibili submission ID (AV ID).
sections[].episodes[].bvidstringBilibili video ID (BV ID).
sections[].episodes[].cidintegerContent ID associated with the collection episode.
sections[].episodes[].titlestringCollection episode title.
sections[].episodes[].season_idintegerNumeric collection ID.
sections[].episodes[].section_idintegerNumeric collection section ID.
sections[].episodes[].pageobjectPart metadata attached to the episode.
sections[].episodes[].page.cidintegerContent ID of this part.
sections[].episodes[].page.pageintegerPart number, starting at 1.
sections[].episodes[].page.partstringDisplay title of this part.
sections[].episodes[].page.durationintegerDuration of this video part in seconds.
sections[].episodes[].page.weblinkstringWeb link associated with this part, when present.
sections[].episodes[].page.dimensionobjectVideo frame dimensions and rotation.
sections[].episodes[].page.dimension.widthintegerVideo frame width in pixels.
sections[].episodes[].page.dimension.heightintegerVideo frame height in pixels.
sections[].episodes[].page.dimension.rotateintegerVideo frame rotation in degrees.
sections[].episodes[].pagesarrayParts returned for the episode.
sections[].episodes[].pages[]object-
sections[].episodes[].pages[].cidintegerContent ID of this part.
sections[].episodes[].pages[].pageintegerPart number, starting at 1.
sections[].episodes[].pages[].partstringDisplay title of this part.
sections[].episodes[].pages[].durationintegerDuration of this video part in seconds.
sections[].episodes[].pages[].weblinkstringWeb link associated with this part, when present.
sections[].episodes[].pages[].dimensionobjectVideo frame dimensions and rotation.
sections[].episodes[].pages[].dimension.widthintegerVideo frame width in pixels.
sections[].episodes[].pages[].dimension.heightintegerVideo frame height in pixels.
sections[].episodes[].pages[].dimension.rotateintegerVideo frame rotation in degrees.
sections[].episodes[].arcobjectSubmission summary attached to the episode.
sections[].episodes[].arc.aidintegerNumeric Bilibili submission ID (AV ID).
sections[].episodes[].arc.videosintegerNumber of parts in this submission.
sections[].episodes[].arc.type_idintegerNumeric content category ID.
sections[].episodes[].arc.type_namestringContent category name.
sections[].episodes[].arc.type_id_v2integerNumeric content category ID in the second category classification.
sections[].episodes[].arc.type_name_v2stringContent category name in the second category classification.
sections[].episodes[].arc.copyrightintegerBilibili's numeric copyright classification for this submission.
sections[].episodes[].arc.picstringVideo cover image URL.
sections[].episodes[].arc.titlestringVideo title.
sections[].episodes[].arc.pubdateintegerPublication time as a Unix timestamp in seconds.
sections[].episodes[].arc.ctimeintegerSubmission creation time as a Unix timestamp in seconds.
sections[].episodes[].arc.descstringPlain-text video description.
sections[].episodes[].arc.stateintegerSubmission state code recorded by Bilibili.
sections[].episodes[].arc.durationintegerTotal duration of the submission in seconds, including all parts of a multipart submission.
sections[].episodes[].arc.authorobjectPublic information for the submission owner.
sections[].episodes[].arc.author.midintegerNumeric Bilibili member ID.
sections[].episodes[].arc.author.namestringUploader display name.
sections[].episodes[].arc.author.facestringUploader avatar URL.
sections[].episodes[].arc.statobjectEngagement statistics for this submission.
sections[].episodes[].arc.stat.aidintegerNumeric Bilibili submission ID (AV ID).
sections[].episodes[].arc.stat.viewintegerView count returned by Bilibili.
sections[].episodes[].arc.stat.danmakuintegerDanmaku count returned by Bilibili.
sections[].episodes[].arc.stat.replyintegerComment count returned by Bilibili.
sections[].episodes[].arc.stat.favintegerFavorite count returned by Bilibili.
sections[].episodes[].arc.stat.coinintegerCoin count returned by Bilibili.
sections[].episodes[].arc.stat.shareintegerShare count returned by Bilibili.
sections[].episodes[].arc.stat.likeintegerLike count returned by Bilibili.
sections[].episodes[].arc.stat.dislikeintegerDislike count returned by Bilibili.
sections[].episodes[].arc.stat.now_rankintegerCurrent ranking value returned by Bilibili.
sections[].episodes[].arc.stat.his_rankintegerHistorical ranking value returned by Bilibili.
sections[].episodes[].arc.dimensionobjectVideo frame dimensions and rotation.
sections[].episodes[].arc.dimension.widthintegerVideo frame width in pixels.
sections[].episodes[].arc.dimension.heightintegerVideo frame height in pixels.
sections[].episodes[].arc.dimension.rotateintegerVideo frame rotation in degrees.
sections[].episodes[].arc.is_chargeable_seasonbooleanWhether Bilibili marks the collection as chargeable.
sections[].episodes[].arc.is_blooperbooleanWhether Bilibili marks this video as a blooper or bonus clip.
sections[].episodes[].arc.is_lesson_videointegerNumeric lesson-video flag.
Page collection95 fields

data

FieldTypeDescription
sectionsInfoobjectCollection information provided by the video page, when available.
sectionsInfo.idintegerNumeric collection ID.
sectionsInfo.titlestringCollection title.
sectionsInfo.coverstringCollection cover image URL.
sectionsInfo.midintegerNumeric Bilibili member ID of the uploader.
sectionsInfo.introstringCollection introduction text.
sectionsInfo.ep_countintegerEpisode count returned for the collection.
sectionsInfo.season_typeintegerNumeric collection type.
sectionsInfo.is_pay_seasonbooleanWhether Bilibili marks this collection as paid.
sectionsInfo.statobjectEngagement statistics for the collection.
sectionsInfo.stat.season_idintegerNumeric collection ID.
sectionsInfo.stat.viewintegerView count returned by Bilibili.
sectionsInfo.stat.danmakuintegerDanmaku count returned by Bilibili.
sectionsInfo.stat.replyintegerComment count returned by Bilibili.
sectionsInfo.stat.favintegerFavorite count returned by Bilibili.
sectionsInfo.stat.coinintegerCoin count returned by Bilibili.
sectionsInfo.stat.shareintegerShare count returned by Bilibili.
sectionsInfo.stat.likeintegerLike count returned by Bilibili.
sectionsInfo.stat.now_rankintegerCurrent ranking value returned by Bilibili.
sectionsInfo.stat.his_rankintegerHistorical ranking value returned by Bilibili.
sectionsInfo.sectionsarraySections in this collection.
sectionsInfo.sections[]object-
sectionsInfo.sections[].idintegerNumeric collection section ID.
sectionsInfo.sections[].titlestringCollection section title.
sectionsInfo.sections[].season_idintegerNumeric collection ID.
sectionsInfo.sections[].typeintegerNumeric type of this collection section.
sectionsInfo.sections[].episodesarrayVideos listed in this section of the collection.
sectionsInfo.sections[].episodes[]object-
sectionsInfo.sections[].episodes[].idintegerNumeric collection episode ID.
sectionsInfo.sections[].episodes[].aidintegerNumeric Bilibili submission ID (AV ID).
sectionsInfo.sections[].episodes[].bvidstringBilibili video ID (BV ID).
sectionsInfo.sections[].episodes[].cidintegerContent ID associated with the collection episode.
sectionsInfo.sections[].episodes[].titlestringCollection episode title.
sectionsInfo.sections[].episodes[].season_idintegerNumeric collection ID.
sectionsInfo.sections[].episodes[].section_idintegerNumeric collection section ID.
sectionsInfo.sections[].episodes[].pageobjectPart metadata attached to the episode.
sectionsInfo.sections[].episodes[].page.cidintegerContent ID of this part.
sectionsInfo.sections[].episodes[].page.pageintegerPart number, starting at 1.
sectionsInfo.sections[].episodes[].page.partstringDisplay title of this part.
sectionsInfo.sections[].episodes[].page.durationintegerDuration of this video part in seconds.
sectionsInfo.sections[].episodes[].page.weblinkstringWeb link associated with this part, when present.
sectionsInfo.sections[].episodes[].page.dimensionobjectVideo frame dimensions and rotation.
sectionsInfo.sections[].episodes[].page.dimension.widthintegerVideo frame width in pixels.
sectionsInfo.sections[].episodes[].page.dimension.heightintegerVideo frame height in pixels.
sectionsInfo.sections[].episodes[].page.dimension.rotateintegerVideo frame rotation in degrees.
sectionsInfo.sections[].episodes[].pagesarrayParts returned for the episode.
sectionsInfo.sections[].episodes[].pages[]object-
sectionsInfo.sections[].episodes[].pages[].cidintegerContent ID of this part.
sectionsInfo.sections[].episodes[].pages[].pageintegerPart number, starting at 1.
sectionsInfo.sections[].episodes[].pages[].partstringDisplay title of this part.
sectionsInfo.sections[].episodes[].pages[].durationintegerDuration of this video part in seconds.
sectionsInfo.sections[].episodes[].pages[].weblinkstringWeb link associated with this part, when present.
sectionsInfo.sections[].episodes[].pages[].dimensionobjectVideo frame dimensions and rotation.
sectionsInfo.sections[].episodes[].pages[].dimension.widthintegerVideo frame width in pixels.
sectionsInfo.sections[].episodes[].pages[].dimension.heightintegerVideo frame height in pixels.
sectionsInfo.sections[].episodes[].pages[].dimension.rotateintegerVideo frame rotation in degrees.
sectionsInfo.sections[].episodes[].arcobjectSubmission summary attached to the episode.
sectionsInfo.sections[].episodes[].arc.aidintegerNumeric Bilibili submission ID (AV ID).
sectionsInfo.sections[].episodes[].arc.videosintegerNumber of parts in this submission.
sectionsInfo.sections[].episodes[].arc.type_idintegerNumeric content category ID.
sectionsInfo.sections[].episodes[].arc.type_namestringContent category name.
sectionsInfo.sections[].episodes[].arc.type_id_v2integerNumeric content category ID in the second category classification.
sectionsInfo.sections[].episodes[].arc.type_name_v2stringContent category name in the second category classification.
sectionsInfo.sections[].episodes[].arc.copyrightintegerBilibili's numeric copyright classification for this submission.
sectionsInfo.sections[].episodes[].arc.picstringVideo cover image URL.
sectionsInfo.sections[].episodes[].arc.titlestringVideo title.
sectionsInfo.sections[].episodes[].arc.pubdateintegerPublication time as a Unix timestamp in seconds.
sectionsInfo.sections[].episodes[].arc.ctimeintegerSubmission creation time as a Unix timestamp in seconds.
sectionsInfo.sections[].episodes[].arc.descstringPlain-text video description.
sectionsInfo.sections[].episodes[].arc.stateintegerSubmission state code recorded by Bilibili.
sectionsInfo.sections[].episodes[].arc.durationintegerTotal duration of the submission in seconds, including all parts of a multipart submission.
sectionsInfo.sections[].episodes[].arc.authorobjectPublic information for the submission owner.
sectionsInfo.sections[].episodes[].arc.author.midintegerNumeric Bilibili member ID.
sectionsInfo.sections[].episodes[].arc.author.namestringUploader display name.
sectionsInfo.sections[].episodes[].arc.author.facestringUploader avatar URL.
sectionsInfo.sections[].episodes[].arc.statobjectEngagement statistics for this submission.
sectionsInfo.sections[].episodes[].arc.stat.aidintegerNumeric Bilibili submission ID (AV ID).
sectionsInfo.sections[].episodes[].arc.stat.viewintegerView count returned by Bilibili.
sectionsInfo.sections[].episodes[].arc.stat.danmakuintegerDanmaku count returned by Bilibili.
sectionsInfo.sections[].episodes[].arc.stat.replyintegerComment count returned by Bilibili.
sectionsInfo.sections[].episodes[].arc.stat.favintegerFavorite count returned by Bilibili.
sectionsInfo.sections[].episodes[].arc.stat.coinintegerCoin count returned by Bilibili.
sectionsInfo.sections[].episodes[].arc.stat.shareintegerShare count returned by Bilibili.
sectionsInfo.sections[].episodes[].arc.stat.likeintegerLike count returned by Bilibili.
sectionsInfo.sections[].episodes[].arc.stat.dislikeintegerDislike count returned by Bilibili.
sectionsInfo.sections[].episodes[].arc.stat.now_rankintegerCurrent ranking value returned by Bilibili.
sectionsInfo.sections[].episodes[].arc.stat.his_rankintegerHistorical ranking value returned by Bilibili.
sectionsInfo.sections[].episodes[].arc.dimensionobjectVideo frame dimensions and rotation.
sectionsInfo.sections[].episodes[].arc.dimension.widthintegerVideo frame width in pixels.
sectionsInfo.sections[].episodes[].arc.dimension.heightintegerVideo frame height in pixels.
sectionsInfo.sections[].episodes[].arc.dimension.rotateintegerVideo frame rotation in degrees.
sectionsInfo.sections[].episodes[].arc.is_chargeable_seasonbooleanWhether Bilibili marks the collection as chargeable.
sectionsInfo.sections[].episodes[].arc.is_blooperbooleanWhether Bilibili marks this video as a blooper or bonus clip.
sectionsInfo.sections[].episodes[].arc.is_lesson_videointegerNumeric lesson-video flag.
sectionsFavStatebooleanWhether the collection is shown as favorited in this page context.
Tags and related videos27 fields

data

FieldTypeDescription
tagsarrayTags shown on the video page.
tags[]object-
tags[].tag_idintegerNumeric tag ID.
tags[].tag_namestringTag name shown by Bilibili.
tags[].tag_typestringTag type label.
tags[].music_idstringMusic ID associated with the tag, when provided.
tags[].jump_urlstringNavigation URL associated with the tag.
tags[].showDetailbooleanWhether the tag is marked to show details.
tags[].showReportbooleanWhether the tag is marked to offer reporting.
relatedarrayRelated videos returned with this page.
related[]object-
related[].aidintegerNumeric Bilibili submission ID (AV ID).
related[].cidintegerContent ID associated with the related video.
related[].bvidstringBilibili video ID (BV ID).
related[].durationintegerDuration of the related video in seconds.
related[].picstringVideo cover image URL.
related[].titlestringVideo title.
related[].ownerobjectPublic information for the submission owner.
related[].owner.midintegerNumeric Bilibili member ID.
related[].owner.namestringUploader display name.
related[].statobjectEngagement statistics for the related video.
related[].stat.viewintegerView count returned by Bilibili.
related[].stat.danmakuintegerDanmaku count returned by Bilibili.
related[].season_idintegerCollection ID associated with the submission.
related[].season_typeintegerNumeric collection type.
related[].redirect_urlstringRedirect URL supplied for opening this related video.
related[].redirected_urlstringResolved navigation URL supplied for this related video.
Playback formats and duration52 fields

data.dash_info

Playback metadata for the selected part. Access restrictions can leave this object without DASH streams.

FieldTypeDescription
qualityintegerNumeric quality code for the returned playback metadata.
formatstringPlayback format identifier returned for the selected part.
timelengthintegerPlayback duration for the selected part in milliseconds.
accept_formatstringPlayback format identifiers accepted by the player, provided as text.
accept_descriptionarrayDisplay labels for quality options accepted by the player.
accept_qualityarrayNumeric quality options accepted by the player.
video_codecidintegerNumeric codec ID for video playback.
support_formatsarrayDetails of the available playback quality and format options.
support_formats[]object-
support_formats[].qualityintegerNumeric quality code for this playback option.
support_formats[].formatstringFormat identifier for this playback option.
support_formats[].new_descriptionstringDescription displayed for this playback option.
support_formats[].display_descstringShort display label for this playback option.
support_formats[].superscriptstringSupplemental display label for this playback option.
support_formats[].codecsarray | nullCodec identifiers for this format, or null when no list is supplied.
support_formats[].can_watch_qn_reasonintegerPlatform reason code for availability of this quality option.
support_formats[].limit_watch_reasonintegerPlatform reason code for a restriction on this quality option.
dashobjectDASH stream metadata when it is included in the response.
dash.durationintegerDASH duration for the selected part in seconds.
dash.minBufferTimenumberMinimum buffering time declared by DASH, in seconds.
dash.min_buffer_timenumberMinimum buffering time declared by DASH, in seconds.
dash.videoarrayVideo representations in the DASH manifest.
dash.video[]object-
dash.video[].idintegerNumeric ID of this media representation.
dash.video[].bandwidthintegerBandwidth declared for this media representation, in bits per second.
dash.video[].mimeTypestringMedia MIME type.
dash.video[].mime_typestringMedia MIME type.
dash.video[].codecsstringCodec identifier for this media representation.
dash.video[].codecidintegerNumeric codec ID for this media representation.
dash.video[].widthintegerVideo frame width in pixels.
dash.video[].heightintegerVideo frame height in pixels.
dash.video[].frameRatestringFrame rate as expressed in the DASH representation.
dash.video[].frame_ratestringFrame rate as expressed in the DASH representation.
dash.video[].sarstringSample aspect ratio for the video representation.
dash.audioarrayAudio representations in the DASH manifest.
dash.audio[]object-
dash.audio[].idintegerNumeric ID of this media representation.
dash.audio[].bandwidthintegerBandwidth declared for this media representation, in bits per second.
dash.audio[].mimeTypestringMedia MIME type.
dash.audio[].mime_typestringMedia MIME type.
dash.audio[].codecsstringCodec identifier for this media representation.
dash.audio[].codecidintegerNumeric codec ID for this media representation.
dash.audio[].widthintegerVideo frame width in pixels.
dash.audio[].heightintegerVideo frame height in pixels.
dash.audio[].frameRatestringFrame rate as expressed in the DASH representation.
dash.audio[].frame_ratestringFrame rate as expressed in the DASH representation.
dash.audio[].sarstringSample aspect ratio for the video representation.
durlarraySegments listed by the playback response when present.
durl[]object-
durl[].orderintegerOrder of this playback segment.
durl[].lengthintegerDuration value returned for this playback segment.
durl[].sizeintegerSize value returned for this playback segment.
Other fields22 fields
Field pathTypeDescription
data.videoData.dynamicstringText associated with the video's Bilibili feed post.
data.videoData.cidintegerContent ID of the selected video part.
data.videoData.dimensionobjectVideo frame dimensions and rotation.
data.videoData.dimension.widthintegerVideo frame width in pixels.
data.videoData.dimension.heightintegerVideo frame height in pixels.
data.videoData.dimension.rotateintegerVideo frame rotation in degrees.
data.videoData.season_idintegerCollection ID associated with the submission.
data.videoData.is_season_displaybooleanWhether the page indicates that the collection is shown.
data.videoData.is_storybooleanWhether Bilibili marks this submission as a Story video.
data.videoData.is_story_playintegerNumeric Story playback flag.
data.videoData.disable_show_up_infobooleanWhether the page hides uploader information.
data.videoData.is_view_selfbooleanWhether this video is shown in an uploader's own viewing context.
data.videoData.subtitleobjectSubtitle information provided by the video page.
data.videoData.subtitle.allow_submitbooleanWhether subtitle submission is allowed in this page context.
data.videoData.subtitle.listarraySubtitle entries returned for the submission. The list may be empty.
data.videoData.honor_replyobjectRecognition or honors displayed for the video.
data.videoData.honor_reply.honorarrayList of recognition or honor entries.
data.videoData.honor_reply.honor[]object-
data.videoData.honor_reply.honor[].aidintegerNumeric Bilibili submission ID (AV ID).
data.videoData.honor_reply.honor[].typeintegerNumeric type of the honor.
data.videoData.honor_reply.honor[].descstringDescription of the honor shown by Bilibili.
data.errorobjectVideo page error information. It may be an empty object.

Response Example ​

Loading the response example...