GET /v1/bilibili/search/video_v2
Bilibili Video Search API (V2)
stable · 10 credits per success
Search Bilibili videos by keyword with page-based pagination, sorted by overall ranking, play count, publish time, danmaku count or favourites. Use it for content discovery, topic research or ranking-oriented search.
Request parameters
| Name | Type | In | Required | Description | Example |
|---|---|---|---|---|---|
| page | string | query | no | 用于分页的页码。 | 1 |
| order | string | query | no | 搜索结果排序标准。 可用值: - `general`: 综合 - `click`: 最多播放 - `pubdate`: 最新发布 - `dm`: 最多弹幕 - `stow`: 最多收藏 | general |
| keyword | string | query | yes | 搜索关键词。 | 咖啡 |
Response fields
Field dictionary coming soon — the executable panel shows the live shape.
Errors
| code | HTTP | Meaning | Billed |
|---|---|---|---|
| 40001 | 400 | Invalid parameters | no |
| 40102 | 401 | Invalid or revoked API Key | no |
| 40201 | 402 | Insufficient credits | no |
| 40402 | 404 | Resource not found | no |
| 42201 | 422 | Quality gate failed | no |
| 42901 | 429 | Rate limit exceeded | no |
| 50401 | 504 | Upstream timeout | no |
| 50201 | 502 | Upstream error | no |
Billing
Success costs 10 credits. Any failure — including a 200 that fails the quality gate — costs 0.