# Is there an API for Bilibili's hot search and popular videos? (2026)

Bilibili has three lists people usually mean: hot search words, the popular videos feed and the ranking. The newsnow project reads them from `s.search.bilibili.com/main/hotword`, `x/web-interface/popular` and `x/web-interface/ranking/v2`. XTikAPI's `bilibili.trends.hot` returns the hot search list and `bilibili.videos.trending` the popular videos, $0.002 a call. XTikAPI reads Bilibili with 10 endpoints from $0.002 a call. A failed call is not charged, and a verified account gets $0.50 of trial balance.

Updated 2026-11-20

## The three lists

| List | Endpoint newsnow reads | XTikAPI |
| Hot search words | `s.search.bilibili.com/main/hotword?limit=30` | `bilibili.trends.hot` (`limit`) |
| Popular videos | `api.bilibili.com/x/web-interface/popular` | `bilibili.videos.trending` (`pn` pages) |
| Ranking | `api.bilibili.com/x/web-interface/ranking/v2` | Use popular videos, then `bilibili.videos.detail` |

These are unofficial web endpoints; Bilibili does not document them and can change them.

## What keeping history costs

Hot search and popular videos every hour: 2 × 24 × 30 = 1,440 calls at $0.002, $2.88 a month.

## Why XTikAPI

- See before you pay: 192 of 229 endpoints show a recorded real response on their page (10 of 10 for Bilibili).
- One shape: posts, comments and accounts from 19 platforms come back as the same objects, author in author and counts in metrics, so another platform needs no new parser.
- Spending you control: a failed call or a timeout is not charged (charged: false), X-Max-Price caps one call, and the same Idempotency-Key within 24 hours is never billed twice.
- Prepaid balance, no subscription. Balance never expires, and unused top-up money can be refunded within 14 days.
- Made for AI: every page has a Markdown twin, plus llms.txt and OpenAPI, so ChatGPT, Claude and Cursor can read it directly.

## Endpoints

- [Bilibili hot searches API](https://xtikapi.com/apis/bilibili/trends/hot) ($0.002 a call): Bilibili hot searches.
- [Bilibili popular videos API](https://xtikapi.com/apis/bilibili/videos/trending) ($0.002 a call): Bilibili popular videos right now.
- [Bilibili video details API](https://xtikapi.com/apis/bilibili/videos/detail) ($0.002 a call): Get single video data

## More about Bilibili

- [Bilibili API](https://xtikapi.com/apis/bilibili)
- [How do I get a Bilibili video's subtitles, including AI subtitles, through an API?](https://xtikapi.com/answers/bilibili-ai-subtitles-api)
- [How do I export Bilibili video comments?](https://xtikapi.com/answers/bilibili-comments-export)
- [Why does the Bilibili API return 412?](https://xtikapi.com/answers/bilibili-412-error)
- [How do I convert a Bilibili BV ID to an AV number (aid)?](https://xtikapi.com/answers/bilibili-bv-to-aid)
- [Is there a hosted alternative to MediaCrawler for Xiaohongshu, Douyin and other Chinese platforms?](https://xtikapi.com/answers/mediacrawler-alternative)

## Sources

What this page says about other products comes from their own pages and docs, read on 2026-11-20.

- newsnow: Bilibili source

---

XTikAPI: one API key for public social media data, prepaid per call. [HTML version](https://xtikapi.com/answers/bilibili-hot-ranking-api) · [llms.txt](https://xtikapi.com/llms.txt) · [OpenAPI](https://xtikapi.com/openapi.json)
