Bilibili Web General Search
https://api.sandbase.ai/v1/api/bilibili/web/general-searchReturns search results from Bilibili based on a search keyword, with sorting options and filters for duration and publication date range.
- Price
- $0.0015USD / callFirst 100 calls per day free (shared per organization)
- Method
- POST
- Response
- JSON
- Parameters
- 4 required · 3 optional
Try the model
Playground
[
{
"data": {
"code": 0,
"data": {
"egg_hit": 0,
"exp_list": {
"5500": true,
"6699": true,
"100010": true
},
"in_black_key": 0,
"in_white_key": 0,
"is_hit_web_inf": false,
"next": 2,
"numPages": 50,
"numResults": 1000,
"page": 1,
"pagesize": 20,
"result": [
{
"aid": 117119849207767,
"arcurl": "http://www.bilibili.com/video/av117119849207767",
"area": 0,
"author": "韭龄厚财经",
"badgepay": false,
"biz_data": null,
"bvid": "BV19z8j61ExE",
"card_status": 0,
"cate_name": "",
"cny_flag": 0,
"corner": "",
"cover": "",
"danmaku": 1,
"desc": "",
"description": "",
"duration": "5:37",
"enable_vt": 0,
"episode_count_text": "",
"favorites": 5,
"hit_columns": [
"title"
],
"id": 117119849207767,
"is_charge_video": 0,
"is_intervene": 0,
"is_live_room_inline": 0,
"is_pay": 0,
"is_union_video": 0,
"like": 19,
"live_status": 0,
"live_time": "",
"mid": 351869170,
"new_rec_tags": [],
"online": 0,
"parent_area_id": 0,
"parent_area_name": "",
"pic": "//i1.hdslb.com/bfs/archive/1f3260372779b35cd7b2b1607022ad05db6b031a.jpg",
"play": 1224,
"pubdate": 1787107352,
"rank_index": 1,
"rank_offset": 1,
"rec_reason": "",
"rec_tags": null,
"release_status": 0,
"review": 1,
"roomid": 0,
"senddate": 1787107392,
"short_id": 0,
"spread_id": 0,
"style": 0,
"subtitle": "",
"tag": "AI,人工智能,CPU,硬件,美债,AI芯片,Intel,芯片,刀子,GPU",
"tags": "",
"title": "昨晚AI突然被血洗:真正可怕的不是美债,而是<em class=\"keyword\">OpenAI</em>盘后又递的刀子",
"type": "video",
"typeid": "231",
"typename": "计算机技术",
"uface": "",
"uid": 0,
"uname": "",
"upic": "https://i1.hdslb.com/bfs/face/e017d72e838a04d8143056efddf2194255951cd1.jpg",
"url": "",
"user_cover": "",
"video_review": 1,
"view_type": "",
"vt": 0,
"vt_display": "",
"watched_show": null
},
{
"aid": 117119630969063,
"arcurl": "http://www.bilibili.com/video/av117119630969063",
"area": 0,
"author": "橘鸦Juya",
"badgepay": false,
"biz_data": null,
"bvid": "BV1SW876yE91",
"card_status": 0,
"cate_name": "",
"cny_flag": 0,
"corner": "",
"cover": "",
"danmaku": 40,
"desc": "",
"description": "",
"duration": "5:30",
"enable_vt": 0,
"episode_count_text": "",
"favorites": 150,
"hit_columns": [
"title"
],
"id": 117119630969063,
"is_charge_video": 0,
"is_intervene": 0,
"is_live_room_inline": 0,
"is_pay": 0,
"is_union_video": 1,
"like": 1155,
"live_status": 0,
"live_time": "",
"mid": 285286947,
"new_rec_tags": [],
"online": 0,
"parent_area_id": 0,
"parent_area_name": "",
"pic": "//i0.hdslb.com/bfs/archive/6b76a11d9952c450b10d3d410b030c3ef1ea5e29.jpg",
"play": 46987,
"pubdate": 1787104277,
"rank_index": 2,
"rank_offset": 2,
"rec_reason": "",
"rec_tags": null,
"release_status": 0,
"review": 825,
"roomid": 0,
"senddate": 1787104279,
"short_id": 0,
"spread_id": 0,
"style": 0,
"subtitle": "",
"tag": "AI,人工智能,AI IN ALL!,LLM,大模型",
"tags": "",
"title": "<em class=\"keyword\">OpenAI</em> 宣布放缓前沿模型训练;GLM-5.3 上线 API;Claude Code 周限提升50%活动延长【AI 早报 2026-08-19】",
"type": "video",
"typeid": "231",
"typename": "计算机技术",
"uface": "",
"uid": 0,
"uname": "",
"upic": "https://i0.hdslb.com/bfs/face/afa12816f678f482a7333289d82437208b8d8cbf.jpg",
"url": "",
"user_cover": "",
"video_review": 40,
"view_type": "",
"vt": 0,
"vt_display": "",
"watched_show": null
},
{
"aid": 117117533887369,
"arcurl": "http://www.bilibili.com/video/av117117533887369",
"area": 0,
"author": "进化中的阿陈",
"badgepay": false,
"biz_data": null,
"bvid": "BV1Qo8V6iEmp",
"card_status": 0,
"cate_name": "",
"cny_flag": 0,
"corner": "",
"cover": "",
"danmaku": 1,
"desc": "",
"description": "本周 AI 圈真的连台大戏停不下来!Anthropic 服务器刚宕机,OpenAI 官方就密集爆料下代旗舰大模型“Astra”(代号 GPT-6),最快本月底前就可能直接亮相,同时 Codex 解锁 100 万超长上下文!另外 Cursor 突然上线代码托管平台直接偷家 GitHub,DeepSeek V5 与阿里千问 Qwen 3.8 27B 开源小钢炮也有重磅新动作!信息量彻底拉满,带大家一期全看懂!",
"duration": "5:27",
"enable_vt": 0,
"episode_count_text": "",
"favorites": 5,
"hit_columns": [
"title",
"description",
"tag"
],
"id": 117117533887369,
"is_charge_video": 0,
"is_intervene": 0,
"is_live_room_inline": 0,
"is_pay": 0,
"is_union_video": 0,
"like": 14,
"live_status": 0,
"live_time": "",
"mid": 2070038273,
"new_rec_tags": [],
"online": 0,
"parent_area_id": 0,
"parent_area_name": "",
"pic": "//i1.hdslb.com/bfs/archive/a4f1c2ed4f2928456a9776c15b32394818897e12.jpg",
"play": 3000,
"pubdate": 1787071907,
"rank_index": 3,
"rank_offset": 3,
"rec_reason": "",
"rec_tags": null,
"release_status": 0,
"review": 6,
"roomid": 0,
"senddate": 1787071908,
"short_id": 0,
"spread_id": 0,
"style": 0,
"subtitle": "",
"tag": "AI,人工智能,评测,模型,B站AI创造公开赛,ai资讯,claude,OpenAI,资讯",
"tags": "",
"title": "<em class=\"keyword\">OpenAI</em>这波连下代大招都端出来了?GPT-6 Astra突击曝光,本期AI资讯大放送!",
"type": "video",
"typeid": "230",
"typename": "软件应用",
"uface": "",
"uid": 0,
"uname": "",
"upic": "https://i2.hdslb.com/bfs/face/c50f4823f9ebe0e137ff478414f383c8e733216d.jpg",
"url": "",
"user_cover": "",
"video_review": 1,
"view_type": "",
"vt": 0,
"vt_display": "",
"watched_show": null
},
{
"aid": 117121593972914,
"arcurl": "http://www.bilibili.com/video/av117121593972914",
"area": 0,
"author": "infinite灵感港",
"badgepay": false,
"biz_data": null,
"bvid": "BV1Ar876PEkX",
"card_status": 0,
"cate_name": "",
"cny_flag": 0,
"corner": "",
"cover": "",
"danmaku": 14,
"desc": "",
"description": "今日内容:\n1·智谱GLM5.3正式开放API服务[00:03] \n2·OpenAI为巩固安全,暂停模型训练[00:20] \n3·Claude Code延长优惠活动至8月31日[00:46] \n4·网传Deepseek V4 Pro思考风格变化[01:25]",
"duration": "2:0",
"enable_vt": 0,
"episode_count_text": "",
"favorites": 37,
"hit_columns": [
"title",
"description",
"tag"
],
"id": 117121593972914,
"is_charge_video": 0,
"is_intervene": 0,
"is_live_room_inline": 0,
"is_pay": 0,
"is_union_video": 0,
"like": 265,
"live_status": 0,
"live_time": "",
"mid": 3493082576193678,
"new_rec_tags": [],
"online": 0,
"parent_area_id": 0,
"parent_area_name": "",
"pic": "//i2.hdslb.com/bfs/archive/1e8ff7d8b81df06957b8705df5d34461971a3fd9.jpg",
"play": 11136,
"pubdate": 1787133923,
"rank_index": 4,
"rank_offset": 4,
"rec_reason": "",
"rec_tags": null,
"release_status": 0,
"review": 116,
"roomid": 0,
"senddate": 1787133931,
"short_id": 0,
"spread_id": 0,
"style": 0,
"subtitle": "",
"tag": "Deepseek,AI IN ALL!,claude,GLM,GPT,OpenAI,深度学习,AI,人工智能,模型",
"tags": "",
"title": "智谱正式开放GLM5.3模型,<em class=\"keyword\">OpenAI</em>推迟新模型训练 | 8月19日AI日报第492期",
"type": "video",
"typeid": "231",
"typename": "计算机技术",
"uface": "",
"uid": 0,
"uname": "",
"upic": "https://i0.hdslb.com/bfs/face/c25d5a4eaf5b80e2163db6764b1e29a3ca8c6bef.jpg",
"url": "",
"user_cover": "",
"video_review": 14,
"view_type": "",Examples
Select an example to load its inputs and result into the playground.
Model card
Specifications
Pricing
- Base price
- $0.0015 / run
- Daily free calls
- First 100 calls per day free (shared per organization)
Request & response
- Method
- POST
- Request body
- application/json
- Response
- application/json
- Execution
- sync
Parameters
- keyword
- string · required
- order
- string · required
- page
- integer · required
- page_size
- integer · required
- duration
- integer · optional
- pubtime_begin_s
- integer · optional
- pubtime_end_s
- integer · optional
Access
- Provider
- Bilibili
- API
- Platform API
- Base URL
- https://api.sandbase.ai
- Endpoint
- /v1/api/bilibili/web/general-search
- Authentication
- Bearer API key
API README
Bilibili Web General Search API
Query video search results across Bilibili by specifying a keyword along with pagination and sorting criteria.
Use cases
- Search for videos matching specific query terms across Bilibili.
- Filter search results by video duration and publication date timestamps.
- Sort keyword search listings by criteria such as overall ranking.
Request
curl -X POST "https://api.sandbase.ai/v1/api/bilibili/web/general-search" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"keyword": "OpenAI", "order": "totalrank", "page": 1, "page_size": 20}'
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
page | integer | Yes | Page number |
order | string | Yes | Order method |
keyword | string | Yes | Search keyword |
page_size | integer | Yes | Number per page |
duration | integer | No | Duration filter |
pubtime_end_s | integer | No | End date, 10-digit timestamp, must be greater than start date |
pubtime_begin_s | integer | No | Start date, 10-digit timestamp, must be less than end date |
Example response
Real response for the request above, trimmed to the main fields. User names and long IDs are masked.
{
"data": {
"result": [
{
"author": "AI大圆镜",
"card_status": 0,
"description": "9月22号,越狱圈名人老普林尼把GPT-6 Sol Codex全套系统提示词传上GitHub,超29万字符,连禁AI味都写进了家规。",
"duration": "1:0",
"id": 117385952495187,
"like": 399,
"live_status": 0,
"parent_area_id": 0,
"pubdate": 1791167590,
"rank_index": 1
}
]
}
}
Notes
pubtime_begin_sandpubtime_end_saccept 10-digit timestamps, where the start date must be earlier than the end date.- Results can be paginated using
pageandpage_size.
Related APIs
- Bilibili Streaming Areas: Returns the complete list of streaming broadcast areas and categories on Bilibili.
- Bilibili BV to AID Converter: Converts a Bilibili BV identifier to its corresponding numeric AID value.
- Bilibili User Collection Folders: Returns the collection folders owned by a specific Bilibili user.
Start building
Send your first request
Platform API endpoint with unified authentication and usage tracking.
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
-X POST "https://api.sandbase.ai/v1/api/bilibili/web/general-search" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'SANDBASE_JSON'
{
"page": 1,
"order": "totalrank",
"keyword": "OpenAI",
"duration": 0,
"page_size": 20,
"pubtime_end_s": 0,
"pubtime_begin_s": 0
}
SANDBASE_JSON
)
printf '%s\n' "$result"Explore more
Related APIs
| API | Price | Response | Released |
|---|---|---|---|
Bilibili Web General SearchThis API Bilibili | $0.0015 per call | JSON | Jul 31, 2026 |
Bilibili | $0.0015 per call | JSON | Jul 31, 2026 |
Bilibili | $0.0015 per call | JSON | Jul 31, 2026 |
Bilibili | $0.0015 per call | JSON | Jul 31, 2026 |
Bilibili | $0.0015 per call | JSON | Jul 31, 2026 |
Bilibili | $0.0015 per call | JSON | Jul 31, 2026 |
Questions
FAQ
How do I use the Bilibili Web General Search API?
Send a POST request to https://api.sandbase.ai/v1/api/bilibili/web/general-search with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.
How much does the Bilibili Web General Search API cost?
$0.0015 per call. Every organization gets 100 free calls per UTC day, shared across eligible SandBase APIs including this one; after that each call is billed at this price from your SandBase balance. There is no subscription.
What parameters does the Bilibili Web General Search API accept?
Required: keyword (string), order (string), page (integer) and page_size (integer). Optional: duration (integer), pubtime_begin_s (integer) and pubtime_end_s (integer). The Parameters table and the Playground on this page list every field.
What does the Bilibili Web General Search API return?
A JSON response returned in the same HTTP request (synchronous). The README on this page includes a sample response.
Do I need a Bilibili developer account or API key?
No. Bilibili Web General Search runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for Bilibili API access separately.
