Bilibili Fetch Search All
Search across content categories with a required keyword. Optionally specify the number of results per request and sort order; order 0 means comprehensive sorting. Leave cursor empty for the first request. For subsequent requests, pass the previous response's `data.pagination.next` value unchanged as cursor. Results may contain category navigation (`nav`), matching items (`item`), and pagination information. If the next cursor is missing or empty, there are no more results.
Pricing
| Condition | Charge |
|---|---|
| Each call | 2.07 credits/call |
2.07 credits/call Charges are per query. A successful query is billed even if it returns no results.
Parameters
Optional parameters use the platform defaults when omitted.
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
order | integer | No | 排序方式/Sort order (0=综合排序) | 0 |
cursor | string | No | 翻页游标,首页留空;翻页时传回上一页响应的 data.pagination.next/Pagination cursor, leave empty for the first page; for the next page pass back data.pagination.next from the previous response | "" |
keyword | string | Yes | 搜索关键词/Search keyword | — |
page_size | integer | No | 每页数量/Page size | 20 |
Invocation example
Copy the request and explore its response example.
/agent-api/v1/tool/executeX-Api-Keycurl --request POST \
--url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_bilibili_fetch_search_all' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"keyword": "黑神话悟空",
"page_size": 5
}
}'{
"code": 200,
"data": {
"code": 0,
"data": {
"annotation": {
"qv_id": "53f35072aca54daaada9f5369040fa9b"
},
"item": [
{
"author_new": {
"cover": "https://i0.hdslb.com/bfs/face/83e2465c27a1afb69316d270a94cbf9ca64a4070.jpg",
"fans": "6",
"goto": "https://live.bilibili.com/30646592?broadcast_type=0&is_room_feed=1&trackid=2441070907368931071",
"is_live": 30646592,
"is_up": 642389251,
"title": "<em class=\"keyword\">黑神话</em>"
},
"goto": "author_new",
"linktype": "app_user",
"param": "642389251",
"position": 1,
"trackid": "2441070907368931071"
}
],
"keyword": "黑神话悟空",
"nav": [
{
"pages": 7,
"total": "1"
}
],
"page": "1",
"pagination": {
"next": "CAISIDUzZjM1MDcyYWNhNTRkYWFhZGE5ZjUzNjkwNDBmYTli"
}
},
"message": "success"
},
"docs": "https://api.tikhub.io/#/Bilibili-App-API/fetch_search_all_api_v1_bilibili_app_fetch_search_all_get",
"message": "Request successful. This request will incur a charge.",
"message_zh": "请求成功,本次请求将被计费。",
"params": {
"cursor": "",
"keyword": "黑神话悟空",
"order": "0",
"page_size": "5"
}
}This example shows part of the response. Copied content is valid JSON.

