Bilibili API Docs & Endpoint Directory
Bilibili video metadata, comments, danmaku, captions, users, and uploads for media analysis and discovery.
Available APIs
| Endpoint | Method | Description |
|---|---|---|
| Video Details (V2) | GET | 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 analysi… |
| User Published Videos (V2) | GET | Retrieves 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) | GET | Retrieves 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) | GET | Retrieves 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) | GET | Retrieves 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) | GET | Searches 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) | GET | Resolve 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) | GET | Retrieves 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) | GET | Retrieves caption data for a Bilibili video segment identified by BVID, AID, and CID. Use it to obtain subtitles for transcript extraction, accessibility revie… |
