Skip to content

Bilibili API Docs & Endpoint Directory

Bilibili video metadata, comments, danmaku, captions, users, and uploads for media analysis and discovery.

Available APIs

EndpointMethodDescription
Video Details (V2)GETRetrieves details for a Bilibili video identified by its BVID. Use it to look up a known video for content review, cataloging, or subsequent engagement analysi…
User Published Videos (V2)GETRetrieves videos published by a Bilibili user identified by UID, with an optional continuation parameter from a prior response. Use it to browse a creator's up…
User Profile (V2)GETRetrieves a Bilibili user profile identified by UID. Use it to look up a known account for creator research, profile review, or subsequent retrieval of that us…
Video Danmaku (V2)GETRetrieves one page of danmaku comments for a Bilibili video segment identified by AID and CID. Use it to review time-synchronized audience reactions or page th…
Video Comments (V2)GETRetrieves comments for a Bilibili video identified by AID, with optional cursor pagination. Use it to review audience discussion, continue through comment page…
Video Search (V2)GETSearches Bilibili videos by keyword with page-based pagination and sorting by general ranking, play count, publish time, danmaku count, or favorites. Use it to…
Share Link Resolution (V1)GETResolve a supported Bilibili short share link that targets a video and return its public redirect URL. Use it to expand video links before subsequent Bilibili…
User Relation Stats (V1)GETRetrieves relation statistics for a Bilibili user identified by WMID. Use it to compare audience relationships across creator accounts or track relation-count…
Video Captions (V2)GETRetrieves caption data for a Bilibili video segment identified by BVID, AID, and CID. Use it to obtain subtitles for transcript extraction, accessibility revie…