# Search YouTube videos by keyword and filters

Search YouTube by keyword (filter type=video for videos only)

|  |  |
| --- | --- |
| Tool id | `tikhub.youtube-search-videos` |
| Platform | [YouTube](https://www.orcarouter.ai/tools/youtube.md) |
| Capability | [Search posts](https://www.orcarouter.ai/tools/youtube/search-posts.md) |
| Price | $0.0022 per call |
| Health | OK |
| p50 latency | — |
| Success (7 days) | — |
| Runs (30 days) | 20 |
| Idempotent | yes |
| Data class | scraped |

## Input

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `keyword` | string | yes | required on the first request; omit when paging with continuation_token |
| `continuation_token` | string | no | pagination token for the next page |
| `duration` | string | no | short (\<4min) \| medium (4-20min) \| long (>20min) |
| `features` | string | no | comma-separated: live, 4k, hd, subtitles, creative_commons, 360, vr180, 3d, hdr |
| `sort_by` | string | no | relevance \| upload_date \| view_count \| rating |
| `type` | string | no | video \| channel \| playlist \| movie |
| `upload_date` | string | no | last_hour \| today \| this_week \| this_month \| this_year |

## Call it

```bash
curl -sS https://api.orcarouter.ai/v1/tools/tikhub.youtube-search-videos/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.youtube-search-videos/run",
    headers={"Authorization": f"Bearer {os.environ['ORCAROUTER_API_KEY']}"},
    json={"input":{"keyword":"<keyword>"}},
)
print(resp.json())
```

## Alternatives

| Tool | Source | Price | Health |
| --- | --- | --- | --- |
| [YouTube Search](https://www.orcarouter.ai/tools/youtube/search-posts/youtube-search.md) | — | $0.00055 per call | OK |
| [Search YouTube videos by keyword](https://www.orcarouter.ai/tools/youtube/search-posts/x-youtube-web-search-video.md) | — | $0.0011 per call | OK |
| [Search YouTube by keyword with filters](https://www.orcarouter.ai/tools/youtube/search-posts/x-youtube-web-v2-get-general-search.md) | — | $0.0011 per call | OK |
| [Search YouTube Shorts by keyword](https://www.orcarouter.ai/tools/youtube/search-posts/x-youtube-web-v2-get-shorts-search.md) | — | $0.0011 per call | OK |
| [YouTube Shorts Search](https://www.orcarouter.ai/tools/youtube/search-posts/youtube-search-shorts.md) | — | $0.00132 per call | OK |
| [Search YouTube Shorts by keyword](https://www.orcarouter.ai/tools/youtube/search-posts/x-youtube-web-v2-get-shorts-search-v2.md) | — | $0.0022 per call | OK |
| [Search YouTube by keyword](https://www.orcarouter.ai/tools/youtube/search-posts/x-youtube-search-v1.md) | — | $0.016236 per call | OK |

## FAQ

### How much does Search YouTube videos by keyword and filters cost?

Search YouTube videos by keyword and filters costs $0.0022 per call: 1,000 calls cost $2.20.

### What does a $10 budget buy with Search YouTube videos by keyword and filters?

About 4545 calls at $0.0022 per call.

### What inputs does Search YouTube videos by keyword and filters need?

Required inputs: keyword.

### How do I call Search YouTube videos by keyword and filters?

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/youtube/search-posts/youtube-search-videos
