# Search Bilibili videos by keyword

Searches Bilibili videos by keyword with page-based pagination and sorting by general ranking, play count, publish time, danmaku count, or favorites.

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

## Input

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `keyword` | string | yes | Search keyword. |
| `order` | string | no | Sorting criteria for search results. Available Values: - \`general\`: General - \`click\`: Most Played - \`pubdate\`: Latest - \`dm\`: Most Danmaku - \`stow\`: Most Favorite One of: general, click, pubdate, dm, stow. |
| `page` | string | no | Page number for pagination. |

## Call it

```bash
curl -sS https://api.orcarouter.ai/v1/tools/justoneapi.x-bilibili-search-video-v2/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/justoneapi.x-bilibili-search-video-v2/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 search by keyword and content type](https://www.orcarouter.ai/tools/bilibili/search-posts/x-bilibili-app-fetch-search-by-type.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 |

## FAQ

### How much does Search Bilibili videos by keyword cost?

Search Bilibili videos by keyword costs $0.016236 per call: 1,000 calls cost $16.236.

### What does a $10 budget buy with Search Bilibili videos by keyword?

About 615 calls at $0.016236 per call.

### What inputs does Search Bilibili videos by keyword need?

Required inputs: keyword.

### How do I call Search Bilibili videos by keyword?

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-search-video-v2
