Bilibili Search, Comments, Danmaku & Trending
search_bilibiliBilibili (China) without login: search videos or users by keyword (date range, length, sort, Chinese brand names added automatically), all videos of a channel with its profile, full stats of a video with its top comments and their replies, every danmaku (bullet comment) with the second it appears at, a danmaku profile of how viewers reacted along the video, trending now and the ranking of 20 categories, and Chinese sentiment on comments. Clean English fields. Use for Bilibili videos and users; for Douyin use get_douyin_data. Returns {items: [...]} with one object per result, for example: {"type":"video","source":"search","query":"minecraft","rank":1,"bvid":"BV1izyiztEqo","url":"https://www.bilibili.com/video/BV1izyiztEqo","title":"...","author":"...","views":39302,"likes":970,"comments":246,"durationSec":69,"publishedAt":"2026-11-25T01:53:12Z","matchedIn":["title","tag"],"status":"ok"} Cost: pay per result with an Apify token (prices on apify.com/pomlabs), or US$ 0.05 per call with x402 (up to 100 results of 1 query). Read-only: it only reads public data.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"q": "<q>"
},
"name": "search_bilibili"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | Keyword, channel link or uid:<id>, video link or BV id, or popular. Comma-separate several (max 3). | |
| max | No | Results per query (1-200, default 40; 1-10 when comments or danmaku are asked). | |
| sort | No | Video search order (default relevance). | |
| type | No | What keywords search: videos (default) or users. | |
| after | No | Only videos published after this date (2026-11-01) or within a period (7 days, 3 months). Search and channel. | |
| before | No | Only videos published before this date (2026-11-20). | |
| aliases | No | Other names searched together with the keyword (comma-separated), e.g. the Chinese name of a brand. | |
| danmaku | No | Danmaku profile per video: count, unique senders, per-minute timeline, peak minute, repeated phrases and a sample. | |
| end_sec | No | Danmaku rows: up to this second of the video. | |
| replies | No | Comments: also return the replies of each top comment (first 20). | |
| category | No | For q=popular: the ranking of this category instead of the popular list. | |
| comments | No | Also return the top comments of each video. | |
| duration | No | Video length filter (minutes). | |
| localize | No | Also search the Chinese name of a known Latin brand (nike -> 耐克). Default true. | |
| sentiment | No | Chinese sentiment (-1 to 1, positive/neutral/negative) on titles, comments and the danmaku profile. | |
| start_sec | No | Danmaku rows: from this second of the video. | |
| subtitles | No | Transcript of each video from its subtitles (the uploader's and Bilibili's AI ones: Chinese speech and an AI English translation on most videos), with each line's start and end second. | |
| max_danmaku | No | Danmaku rows per video (1-2000, default 500). | |
| comment_sort | No | Comments: popular (default), newest first, by likes, or both lists merged. | |
| danmaku_rows | No | Every danmaku (bullet comment) as a row: text, second in the video, color, mode, send time, sender hash. | |
| max_comments | No | Comments per video (1-200, default 20), paged through the popular or newest list. | |
| profile_only | No | For channel queries: only the channel profile, no videos. | |
| subtitle_lang | No | Transcript: only these languages (comma-separated: zh, en, ja...). | |
| channel_keyword | No | For channel queries: only videos matching this keyword. | |
| danmaku_keywords | No | Danmaku rows: only those containing one of these words (comma-separated). |