# Bilibili search by keyword and content type

Bilibili: fetch search by type (app)

|  |  |
| --- | --- |
| Tool id | `tikhub.x-bilibili-app-fetch-search-by-type` |
| Platform | [Bilibili](https://www.orcarouter.ai/tools/bilibili.md) |
| Capability | [Search posts](https://www.orcarouter.ai/tools/bilibili/search-posts.md) |
| Price | $0.0011 per call |
| Health | OK |
| p50 latency | — |
| Success (7 days) | — |
| Runs (30 days) | — |
| Idempotent | yes |
| Data class | scraped |

## Input

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `keyword` | string | yes | Search keyword |
| `cursor` | string | no | Pagination cursor, leave empty for the first page; for the next page pass back data.pagination.next from the previous response |
| `order` | integer | no | 排序方式/Sort order (0=综合, 1=最新, 2=播放量, 3=弹幕数) |
| `page_size` | integer | no | Page size |
| `search_type` | string | no | Search type (video/bangumi/pgc/live/article/user) |

## Call it

```bash
curl -sS https://api.orcarouter.ai/v1/tools/tikhub.x-bilibili-app-fetch-search-by-type/run \
  -H "Authorization: Bearer $ORCAROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"keyword":"<keyword>"}}'
```

```python
import os, requests

resp = requests.post(
    "https://api.orcarouter.ai/v1/tools/tikhub.x-bilibili-app-fetch-search-by-type/run",
    headers={"Authorization": f"Bearer {os.environ['ORCAROUTER_API_KEY']}"},
    json={"input":{"keyword":"<keyword>"}},
)
print(resp.json())
```

## Alternatives

| Tool | Source | Price | Health |
| --- | --- | --- | --- |
| [Bilibili search across all content by keyword](https://www.orcarouter.ai/tools/bilibili/search-posts/x-bilibili-app-fetch-search-all.md) | — | $0.0011 per call | OK |
| [Bilibili keyword search with sort and date filters](https://www.orcarouter.ai/tools/bilibili/search-posts/x-bilibili-web-fetch-general-search.md) | — | $0.0011 per call | OK |
| [Search Bilibili videos by keyword](https://www.orcarouter.ai/tools/bilibili/search-posts/x-bilibili-search-video-v2.md) | — | $0.016236 per call | OK |

## FAQ

### How much does Bilibili search by keyword and content type cost?

Bilibili search by keyword and content type costs $0.0011 per call: 1,000 calls cost $1.10.

### What does a $10 budget buy with Bilibili search by keyword and content type?

About 9090 calls at $0.0011 per call.

### What inputs does Bilibili search by keyword and content type need?

Required inputs: keyword.

### How do I call Bilibili search by keyword and content type?

Send POST /v1/tools/{id}/run with your OrcaRouter API key and a JSON body {"input": {…}}, where {id} is the tool id POST /v1/tools/discover returns for it.

---

Markdown version of https://www.orcarouter.ai/tools/bilibili/search-posts/x-bilibili-app-fetch-search-by-type
