# Bilibili API on SandBase

> Read public Bilibili video data for creator and content workflows, including video metadata and engagement-oriented public information.

Source: https://www.sandbase.ai/apis/bilibili

- Endpoints: 46
- Call: `POST https://api.sandbase.ai/v1/api/{vendor}/{endpoint}` with `Authorization: Bearer $SANDBASE_API_KEY` and the parameters as a JSON body
- Billing: pay per call from one SandBase balance; no provider account or subscription needed

## Guides

- [Best Bilibili API in 2026: Pricing Compared](https://blog.sandbase.ai/best-bilibili-api-2026/)

## Endpoints

- [Bilibili App Bangumi Tab](https://www.sandbase.ai/apis/bilibili/app/bangumi-tab.md): $0.001 per call
  Returns Bilibili app bangumi tab data, providing curated anime recommendations, feed items, and category listings for mobile clients.
- [Bilibili App Cinema Tab](https://www.sandbase.ai/apis/bilibili/app/cinema-tab.md): $0.001 per call
  Returns cinema tab content from the Bilibili app, featuring curated movies, TV shows, and entertainment recommendations without requiring additional query parameters.
- [Bilibili App Home Feed](https://www.sandbase.ai/apis/bilibili/app/home-feed.md): $0.001 per call
  Returns recommended video items from the Bilibili app home feed. Supports pagination via timestamp index and pull-to-refresh controls.
- [Bilibili App Popular Feed](https://www.sandbase.ai/apis/bilibili/app/popular-feed.md): $0.001 per call
  Retrieves popular video feed items from the Bilibili app. Supports pagination through page index and previous video identifiers.
- [Bilibili App Search All](https://www.sandbase.ai/apis/bilibili/app/search-all.md): $0.001 per call
  Returns comprehensive search results across Bilibili content via the mobile app interface. Filters results by search keyword, sorting order, and pagination parameters.
- [Bilibili App Single Video Details](https://www.sandbase.ai/apis/bilibili/app/one-video.md): $0.001 per call
  Returns detailed video metadata for a specific Bilibili video. Looks up video information using either an AV ID or a BV ID.
- [Bilibili App User Info](https://www.sandbase.ai/apis/bilibili/app/user-info.md): $0.001 per call
  Returns account profile details and uploaded video archives for a specified Bilibili creator using their unique user identifier.
- [Bilibili BV to AID Converter](https://www.sandbase.ai/apis/bilibili/web/bv-to-aid.md): $0.001 per call
  Converts a Bilibili BV identifier to its corresponding numeric AID value. Input the target video BV string to return the legacy video identifier.
- [Bilibili Comment Replies](https://www.sandbase.ai/apis/bilibili/web/comment-reply.md): $0.001 per call
  Returns replies to a specific comment on a Bilibili video by video ID and comment ID. Supports pagination to browse threaded discussion replies.
- [Bilibili Comprehensive Popular Videos](https://www.sandbase.ai/apis/bilibili/web/com-popular.md): $0.001 per call
  Returns a comprehensive list of trending videos on Bilibili, including video metadata, author details, and engagement statistics across pages.
- [Bilibili Creator View and Like Statistics](https://www.sandbase.ai/apis/bilibili/web/user-up-stat.md): $0.001 per call
  Returns total video view and like counts for a specified Bilibili creator account. Lookup requires the user unique identifier.
- [Bilibili Dynamic Detail](https://www.sandbase.ai/apis/bilibili/web/dynamic-detail.md): $0.001 per call
  Returns detailed information for a specified Bilibili dynamic post, such as image, text, or article dynamics, using its unique dynamic ID.
- [Bilibili Dynamic Details (V2)](https://www.sandbase.ai/apis/bilibili/web/dynamic-detail-v2.md): $0.001 per call
  Returns detailed data for a specific Bilibili dynamic post using its dynamic ID. Designed for video dynamics, providing author modules and engagement metrics such as comments, shares, and likes.
- [Bilibili Hot Searches](https://www.sandbase.ai/apis/bilibili/web/hot-search.md): $0.001 per call
  Returns current trending search keywords along with their heat scores from Bilibili. Results are restricted according to the specified count limit.
- [Bilibili Live Room Details](https://www.sandbase.ai/apis/bilibili/web/live-room-detail.md): $0.001 per call
  Returns detailed metadata and status information for a specified Bilibili live broadcast room based on the provided room identifier.
- [Bilibili Room Stream Data](https://www.sandbase.ai/apis/bilibili/web/live-videos.md): $0.001 per call
  Returns stream URLs and playback connection details for a specific Bilibili broadcast room. Filter using the unique room identifier.
- [Bilibili Search by Type](https://www.sandbase.ai/apis/bilibili/app/search-by-type.md): $0.001 per call
  Returns categorized search results from Bilibili based on a target query string. Supports filtering by search type, adjusting sort order, and cursor-based pagination.
- [Bilibili Single Video Details](https://www.sandbase.ai/apis/bilibili/web/one-video-v3.md): $0.001 per call
  Returns detailed metadata for a single Bilibili video, including season information, episode titles, duration, and post timestamps via its URL.
- [Bilibili Single Video Play Info](https://www.sandbase.ai/apis/bilibili/web/video-play-info.md): $0.001 per call
  Returns playback stream information, including video stream URLs, MIME types, and frame rates, for a single Bilibili video URL.
- [Bilibili Streaming Areas](https://www.sandbase.ai/apis/bilibili/web/all-live-areas.md): $0.001 per call
  Returns the complete list of streaming broadcast areas and categories on Bilibili. This endpoint provides category identifiers and partition structures without requiring any parameters.
- [Bilibili User Collection Folder Videos](https://www.sandbase.ai/apis/bilibili/web/user-collection-videos.md): $0.001 per call
  Returns video data stored within a specified collection folder on Bilibili. Supports pagination to browse through items in the folder.
- [Bilibili User Collection Folders](https://www.sandbase.ai/apis/bilibili/web/collect-folders.md): $0.001 per call
  Returns the collection folders owned by a specific Bilibili user. Supply the user identifier via `uid` to inspect their public collection folders.
- [Bilibili User Dynamics](https://www.sandbase.ai/apis/bilibili/web/user-dynamic.md): $0.001 per call
  Retrieves dynamic feed posts and timeline updates for a specified Bilibili user by UID, with optional offset-based pagination.
- [Bilibili User homepage video data V2](https://www.sandbase.ai/apis/bilibili/web/user-post-videos-v2.md): $0.001 per call
  Get user homepage video data V2 on Bilibili. Returns the platform data as structured JSON.
- [Bilibili User ID Extraction](https://www.sandbase.ai/apis/bilibili/web/get-user-id.md): $0.001 per call
  Extracts and returns a Bilibili user ID from a provided space share link. Takes a user profile URL and resolves the numeric account identifier.
- [Bilibili User Post Videos](https://www.sandbase.ai/apis/bilibili/web/user-post-videos.md): $0.001 per call
  Returns videos posted on a Bilibili user's homepage. Query by user identifier with options to control sorting order and page number.
- [Bilibili User Profile](https://www.sandbase.ai/apis/bilibili/web/user-profile.md): $0.001 per call
  Returns profile details and charging sponsor information for a specified Bilibili account based on the provided user UID.
- [Bilibili User Profile](https://www.sandbase.ai/apis/bilibili/user-detail.md): $0.014286 per call
  Get 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 user's videos.
- [Bilibili User Published Videos](https://www.sandbase.ai/apis/bilibili/user-video-list.md): $0.014286 per call
  Get 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 uploads or continue through their video list.
- [Bilibili User Relation Statistics](https://www.sandbase.ai/apis/bilibili/web/user-relation-stat.md): $0.001 per call
  Returns relationship statistics, including following and follower counts, for a specified Bilibili account using their user ID.
- [Bilibili User Videos](https://www.sandbase.ai/apis/bilibili/app/user-videos.md): $0.001 per call
  Returns uploaded video listings for a specified Bilibili creator account. Supports pagination controls and filtering by post types such as archives or seasons.
- [Bilibili Video Captions](https://www.sandbase.ai/apis/bilibili/video-caption.md): $0.014286 per call
  Get caption data for a Bilibili video segment identified by BVID, AID, and CID. Use it to obtain subtitles for transcript extraction, accessibility review, or language-focused content analysis.
- [Bilibili Video Comments](https://www.sandbase.ai/apis/bilibili/video-comment.md): $0.014286 per call
  Get comments for a Bilibili video identified by AID, with optional cursor pagination. Use it to review audience discussion, continue through comment pages, or support comment moderation and analysis.
- [Bilibili Video Comments (App)](https://www.sandbase.ai/apis/bilibili/app/video-comments.md): $0.001 per call
  Returns user comments for a specified Bilibili video by AV or BV identifier. Supports sorting comments by popularity or post time, with cursor-based pagination.
- [Bilibili Video Comments (Web)](https://www.sandbase.ai/apis/bilibili/web/video-comments.md): $0.001 per call
  Returns comment threads and reply metadata for a specific Bilibili video. Query by video ID with optional page numbering.
- [Bilibili Video Danmaku](https://www.sandbase.ai/apis/bilibili/web/video-danmaku.md): $0.001 per call
  Returns timed on-screen danmaku comments for a specified Bilibili video in XML format using the video content identifier (cid).
- [Bilibili Video Danmaku](https://www.sandbase.ai/apis/bilibili/video-danmu.md): $0.014286 per call
  Get 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 through danmaku for a known video.
- [Bilibili Video Details](https://www.sandbase.ai/apis/bilibili/web/one-video.md): $0.001 per call
  Returns detailed metadata and honor tags for a single Bilibili video based on its unique BV identifier, including recommendation status.
- [Bilibili Video Details](https://www.sandbase.ai/apis/bilibili/video-detail.md): $0.014286 per call
  Get 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.
- [Bilibili Video Details (V2)](https://www.sandbase.ai/apis/bilibili/web/one-video-v2.md): $0.002 per call
  Returns detailed metadata and playback information for a specific Bilibili video using its unique video and CID identifiers.
- [Bilibili Video Parts](https://www.sandbase.ai/apis/bilibili/web/video-parts.md): $0.001 per call
  Returns video part details for a specified Bilibili video using its video ID. The response includes the duration and creation timestamp for each segment.
- [Bilibili Video Playback URL](https://www.sandbase.ai/apis/bilibili/web/video-playurl.md): $0.001 per call
  Returns video playback stream URLs and DASH metadata for a specified Bilibili video. Requires both the video identifier and the content identifier.
- [Bilibili Video Search](https://www.sandbase.ai/apis/bilibili/search-video.md): $0.014286 per call
  Search Bilibili videos by keyword with page-based pagination and sorting by general ranking, play count, publish time, danmaku count, or favorites.
- [Bilibili Video Subtitle Details](https://www.sandbase.ai/apis/bilibili/web/video-subtitle.md): $0.001 per call
  Returns subtitle data for a specified Bilibili video based on its video ID and CID. Helps retrieve available caption tracks and related metadata.
- [Bilibili Web General Search](https://www.sandbase.ai/apis/bilibili/web/general-search.md): $0.001 per call
  Returns search results from Bilibili based on a search keyword, with sorting options and filters for duration and publication date range.
- [Bilibili Web Video Details](https://www.sandbase.ai/apis/bilibili/web/video-detail.md): $0.001 per call
  Returns detailed metadata, season sections, and episode listings for a specific Bilibili video using its unique video identifier.

## Use it through SandBase

- Base URL: `https://api.sandbase.ai/v1`, with `Authorization: Bearer $SANDBASE_API_KEY`.
- Language models use the OpenAI-compatible `POST /v1/chat/completions`; media models use `POST /v1/run`; data APIs use `POST /v1/api/{vendor}/{endpoint}`.
- AI agents can connect through the SandBase MCP server or CLI: https://www.sandbase.ai/skill.md
- Every model and API page has a Markdown twin at the same URL plus `.md`. Full index: https://www.sandbase.ai/llms.txt
