Discover/bilibili.com API
live

bilibili.com APIwww.bilibili.com

Fetch trending Bilibili videos with metadata including title, view count, duration, uploader info, and upload date via a single paginated endpoint.

Endpoints
1
Updated
2mo ago
Try it
Page number (starts from 1).
Number of videos per page (1-20, capped at 20).
api.parse.bot/scraper/1ec49d42-c5e3-4f48-bc10-1be2b9a4afbb/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Use it in your codegrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/1ec49d42-c5e3-4f48-bc10-1be2b9a4afbb/get_popular_videos?page=1&page_size=5' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 1 totalclick to expand

Get popular/trending videos from Bilibili with full metadata including title, URL, view count, comments, duration, uploader info, and upload date. Supports pagination.

Input
ParamTypeDescription
pageintegerPage number (starts from 1).
page_sizeintegerNumber of videos per page (1-20, capped at 20).
Response
{
  "type": "object",
  "fields": {
    "page": "integer, current page number",
    "count": "integer, number of videos returned on this page",
    "videos": "array of video objects with keys: aid, bvid, title, description, url, short_url, thumbnail, duration_seconds, duration, upload_date, category, uploader (object with mid, name, avatar), stats (object with views, danmaku, comments, favorites, coins, shares, likes), recommendation_reason",
    "page_size": "integer, number of videos requested per page"
  },
  "sample": {
    "data": {
      "page": 1,
      "count": 5,
      "videos": [
        {
          "aid": 116566670709136,
          "url": "https://www.bilibili.com/video/BV1cX516vEu8",
          "bvid": "BV1cX516vEu8",
          "stats": {
            "coins": 53177,
            "likes": 106043,
            "views": 1171405,
            "shares": 12258,
            "danmaku": 6583,
            "comments": 8694,
            "favorites": 19545
          },
          "title": "《原神》尼可角色PV——「缀口的金弦」",
          "category": "手机游戏",
          "duration": "11:54",
          "uploader": {
            "mid": 401742377,
            "name": "John Doe",
            "avatar": "https://i2.hdslb.com/bfs/face/853c4a846793dfbdafd8f16a40d6d8065bdb7c6f.jpg"
          },
          "short_url": "https://b23.tv/BV1cX516vEu8",
          "thumbnail": "http://i0.hdslb.com/bfs/archive/83d1d5c1d334b7d673f589279894685c96e65f41.jpg",
          "description": "很多很多个日月轮转之前...",
          "upload_date": "2026-05-14 04:00:00",
          "duration_seconds": 714,
          "recommendation_reason": "百万播放"
        }
      ],
      "page_size": 5
    },
    "status": "success"
  }
}

About the bilibili.com API

The Bilibili API provides access to trending video listings from bilibili.com through a single get_popular_videos endpoint, returning up to 20 videos per page with 10 distinct fields per video — including view counts, comment counts, duration, uploader details, and both canonical and short-form URLs. It covers the popular/trending feed and supports pagination to walk through the full rankings list.

What the API Returns

The get_popular_videos endpoint returns the current popular/trending video feed from Bilibili. Each response includes a videos array along with top-level pagination fields: page, page_size, and count. Individual video objects carry both Bilibili identifier formats — aid (the legacy numeric ID) and bvid (the current alphanumeric ID) — so downstream systems can reference videos in whichever format their integration requires.

Video Metadata Fields

Each video object exposes title, description, url, short_url, and thumbnail for content display or deduplication. Timing data is available in two forms: duration_seconds (integer, machine-readable) and duration (human-formatted string). The upload_date field records when the video was published. Uploader information is included within the video object, allowing you to track which creators appear most frequently in the trending feed.

Engagement and Popularity Signals

View count and comment count are returned per video, giving a direct signal of audience engagement for each trending entry. These figures reflect the state of the trending feed at the time of the request. Since Bilibili's popular feed refreshes continuously, polling the endpoint at regular intervals is the standard pattern for monitoring shifts in ranking or detecting newly viral content.

Pagination

The page parameter accepts an integer starting from 1, and page_size accepts values between 1 and 20 (capped at 20). Use these to page through the full popular list. The count field in each response confirms how many videos were returned for the current page, which is useful for detecting the end of the feed.

Common use cases
  • Track which video categories and topics dominate Bilibili's trending feed over time using title and description fields.
  • Monitor emerging creators by watching for new uploaders appearing in trending results via the uploader info fields.
  • Build a Bilibili trend dashboard that polls the popular feed and stores view_count and comment_count time series per bvid.
  • Seed a content recommendation engine with the current top 20 trending videos using thumbnail, title, and url.
  • Detect viral content early by comparing upload_date against ranking position for recently uploaded videos.
  • Aggregate trending video metadata for research into platform popularity patterns across different time windows.
  • Cross-reference bvid identifiers with external datasets to enrich Bilibili trending data with additional signals.
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000250 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does Bilibili have an official developer API?+
Bilibili does not publish a general-purpose public developer API for third-party use. There is no official API portal or documented REST API available to external developers.
What does `get_popular_videos` return beyond basic titles and URLs?+
Each video object includes aid and bvid identifiers, title, description, url, short_url, thumbnail, duration_seconds, duration, upload_date, uploader info, view count, and comment count. The dual-identifier format means you can reference videos using either the legacy numeric ID or the current alphanumeric BV ID.
Does the API cover Bilibili category feeds, search results, or individual channel pages?+
Not currently. The API covers only the platform-wide popular/trending feed. You can fork it on Parse and revise it to add endpoints for category-specific rankings, search results, or individual uploader channel pages.
How fresh is the data returned by `get_popular_videos`?+
The endpoint reflects the state of Bilibili's popular feed at the time of each request. Bilibili updates its trending rankings continuously, so data freshness is tied to when you call the endpoint. For time-series analysis, storing responses with timestamps on your end is the right approach.
Can I retrieve video analytics beyond view count and comment count, such as likes, shares, or coin counts?+
Not currently. The API exposes view count and comment count as the available engagement metrics. You can fork it on Parse and revise it to include additional engagement fields such as like counts, shares, or Bilibili's coin metric if those fields become useful for your use case.
Page content last updated . Spec covers 1 endpoint from www.bilibili.com.
Related APIs in Streaming VideoSee all →
metacritic.com API
Search for games, movies, and TV shows, then retrieve detailed metadata, critic and user reviews, and ranked lists from Metacritic. Access comprehensive rating information and review data to discover top-rated entertainment content across all media types.
app.channelcrawler.com API
Search and discover YouTube channels across a database of 22M+ channels to find creators, communities, and content in your areas of interest. Get detailed channel information including stats and metadata to research creators and understand their audience.
library.tiktok.com API
Search TikTok's Commercial Content Library to discover ads by company name or keyword, then view detailed information like creative format, scheduling dates, audience targeting, and video thumbnails. Monitor competitor advertising strategies and track ad campaigns across supported regions.
omegascans.org API
Browse and search thousands of comics and novels, view chapters and series details, and stay updated with the latest announcements and releases from Omega Scans. Discover new content through the homepage, search specific series, and access chapter-by-chapter reading with real-time updates on what's newly published.
toutiao.com API
Browse personalized news feeds, discover trending articles and hot topics, search content across categories, view detailed articles with comments, and explore author profiles on Toutiao. Access video feeds and stay updated with the latest news and trending stories all in one place.
tokscript.com API
Fetch timestamped transcripts of TikTok videos along with video metadata, author information, and engagement statistics to analyze content and search by spoken words. Get accurate speech-to-text conversions with precise timing for every segment in a video.
sattvinfo.net API
Access satellite TV information including channels, transponders, BISS keys, and packages organized by satellite, country, and HD/Ultra HD availability. Search and browse satellite positions, filter content by region, and find specific TV packages to discover available broadcasting options.
radioparadise.com API
Access live and historical music data from Radio Paradise, including current song information, channel details, playlists, and stream links. Search music tracks, browse channel listings, read song comments, and discover what's playing in real-time across all Radio Paradise stations.