# YouTube Hashtag Search

Search YouTube videos by hashtag with cursor pagination (title, channel, views, length, publish time).

|  |  |
| --- | --- |
| Tool id | `anyapi.youtube-search-hashtag` |
| Platform | [YouTube](https://www.orcarouter.ai/tools/youtube.md) |
| Capability | [Hashtag \& topic posts](https://www.orcarouter.ai/tools/youtube/topic-posts.md) |
| Price | $0.00132 per call |
| Health | OK |
| p50 latency | — |
| Success (7 days) | — |
| Runs (30 days) | — |
| Idempotent | no |
| Data class | scraped |

## Input

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `hashtag` | string | yes | Hashtag to search for (without the leading #). |
| `cursor` | string | no | Continuation token from a previous response for pagination. |
| `type` | string | no | Content filter. Only "all" is served: no source we buy returns a Shorts row with the channel and publish time this endpoint requires. |

## Call it

```bash
curl -sS https://api.orcarouter.ai/v1/tools/anyapi.youtube-search-hashtag/run \
  -H "Authorization: Bearer $ORCAROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"hashtag":"<hashtag>"}}'
```

```python
import os, requests

resp = requests.post(
    "https://api.orcarouter.ai/v1/tools/anyapi.youtube-search-hashtag/run",
    headers={"Authorization": f"Bearer {os.environ['ORCAROUTER_API_KEY']}"},
    json={"input":{"hashtag":"<hashtag>"}},
)
print(resp.json())
```

## FAQ

### How much does YouTube Hashtag Search cost?

YouTube Hashtag Search costs $0.00132 per call: 1,000 calls cost $1.32.

### What does a $10 budget buy with YouTube Hashtag Search?

About 7575 calls at $0.00132 per call.

### What inputs does YouTube Hashtag Search need?

Required inputs: hashtag.

### How do I call YouTube Hashtag Search?

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