# Search Bilibili by type

Needs keyword. Served by TikHub.

Purpose:
-  search by type
Parameters:
- keyword: Search keyword (required)
- search_type: Search type
    - video: Videos
    - bangumi: Anime
    - pgc: Movies/TV
    - live: Live streams
    - article: Articles
    - user: Users
- cursor: Pagination cursor. Leave empty for the first page; for the next page pass
  back `data.pagination.next` from the previous response. This endpoint uses cursor
  pagination and does not support random access by page number.
- page_size: Results per page
- order: Sort order
    - 0: Comprehensive
    - 1: Latest
    - 2: Play count
    - 3: Danmaku count
Return:
- Search results
- Next-page cursor: `$.data.data.pagination.next`; pass it back as `cursor` on the next
  request. When this field is absent (pagination is omitted on the last page) or empty,
  there is no more data and you should stop paginating.

- Tool ID: `tikhub/bilibili-app-fetch-search-by-type`
- Name in the catalog: Bilibili, search by type
- Provider: [TikHub](/providers/tikhub.md)
- Capability: [Bilibili search](/tools/bilibili/search.md)
- Price: $0.001 per call
- Authentication: an authorised Agentik workspace is required for execution, including zero-price tools.

## Pricing contract

The provider’s price, with no markup. Billed for measured usage.


```json
{
  "model": "per_call",
  "amountUsd": 0.001
}
```

Pricing source: [https://api.tikhub.io/api/v1/tikhub/user/get_all_endpoints_info](https://api.tikhub.io/api/v1/tikhub/user/get_all_endpoints_info). Official per-success route price USD 0.001; daily upstream discounts may reduce provider cost. No discount invented for the customer. 10/second.

Price verification date: 2026-10-05.

## Complete input schema


```json
{
  "type": "object",
  "properties": {
    "keyword": {
      "type": "string",
      "description": "搜索关键词/Search keyword",
      "title": "Keyword"
    },
    "search_type": {
      "type": "string",
      "description": "搜索类型/Search type (video/bangumi/pgc/live/article/user)",
      "default": "video",
      "title": "Search Type"
    },
    "cursor": {
      "type": "string",
      "description": "翻页游标，首页留空；翻页时传回上一页响应的 data.pagination.next/Pagination cursor, leave empty for the first page; for the next page pass back data.pagination.next from the previous response",
      "default": "",
      "title": "Cursor"
    },
    "page_size": {
      "type": "integer",
      "description": "每页数量/Page size",
      "default": 20,
      "title": "Page Size"
    },
    "order": {
      "type": "integer",
      "description": "排序方式/Sort order (0=综合, 1=最新, 2=播放量, 3=弹幕数)",
      "default": 0,
      "title": "Order"
    }
  },
  "required": [
    "keyword"
  ],
  "additionalProperties": false
}
```

## Published example

This is the provider tool’s published example. Replace example values with the user’s requested inputs, respecting the schema; do not execute an example merely to test a connection.


```json
{
  "tool_id": "tikhub/bilibili-app-fetch-search-by-type",
  "input": {
    "keyword": "原神",
    "search_type": "video",
    "cursor": "",
    "page_size": 20,
    "order": 0
  }
}
```

## Execute and retrieve

Inspect again before execution, explain the price and obtain the required authority. Use MCP run_tool or POST /v1/run with this tool ID, valid input and an idempotency key. Save the returned run ID and follow the actual state. If Agentik answers that the tool is temporarily unavailable, do not retry it blindly; use discovery to propose an alternative.

A partial or uncertain result can still have consumed provider resources. Consult [billing](/docs/billing.md), [idempotency](/docs/idempotency.md) and [asynchronous results](/docs/async.md).

[Provider documentation](https://api.tikhub.io/#/Bilibili-App-API/fetch_search_by_type_api_v1_bilibili_app_fetch_search_by_type_get)

[REST inspection](https://api.agentik.cc/v1/tools/tikhub/bilibili-app-fetch-search-by-type) · [OpenAPI](/openapi.json) · [Connection guide](/connect.md)

---

[HTML page](/providers/tikhub/bilibili-app-fetch-search-by-type) · [Agent index](/llms.txt)
