# YouTube video stream formats by video id or URL

Youtube: get video streams (web_v2)

|  |  |
| --- | --- |
| Tool id | `tikhub.x-youtube-web-v2-get-video-streams` |
| Platform | [YouTube](https://www.orcarouter.ai/tools/youtube.md) |
| Capability | [Other tools](https://www.orcarouter.ai/tools/youtube/other.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 |
| --- | --- | --- | --- |
| `video_id` | string | no | Video ID |
| `video_url` | string | no | Ignored if video_id is provided) |

## Call it

```bash
curl -sS https://api.orcarouter.ai/v1/tools/tikhub.x-youtube-web-v2-get-video-streams/run \
  -H "Authorization: Bearer $ORCAROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{}}'
```

```python
import os, requests

resp = requests.post(
    "https://api.orcarouter.ai/v1/tools/tikhub.x-youtube-web-v2-get-video-streams/run",
    headers={"Authorization": f"Bearer {os.environ['ORCAROUTER_API_KEY']}"},
    json={"input":{}},
)
print(resp.json())
```

## Alternatives

| Tool | Source | Price | Health |
| --- | --- | --- | --- |
| [YouTube Channel](https://www.orcarouter.ai/tools/youtube/other/youtube-channel.md) | — | $0.00055 per call | OK |
| [YouTube Video](https://www.orcarouter.ai/tools/youtube/other/youtube-video.md) | — | $0.00099 per call | OK |
| [YouTube Video Transcript](https://www.orcarouter.ai/tools/youtube/other/youtube-video-transcript.md) | — | $0.00099 per call | OK |
| [YouTube Video Transcript (Provenance)](https://www.orcarouter.ai/tools/youtube/other/youtube-video-transcript-full.md) | — | $0.0011 per call | OK |
| [YouTube channel id from channel name](https://www.orcarouter.ai/tools/youtube/other/x-youtube-web-get-channel-id.md) | — | $0.0011 per call | OK |
| [YouTube channel id from channel URL](https://www.orcarouter.ai/tools/youtube/other/x-youtube-web-get-channel-id-v2.md) | — | $0.0011 per call | OK |
| [YouTube channel URL from channel id](https://www.orcarouter.ai/tools/youtube/other/x-youtube-web-get-channel-url.md) | — | $0.0011 per call | OK |
| [YouTube related videos by video id](https://www.orcarouter.ai/tools/youtube/other/x-youtube-web-get-relate-video.md) | — | $0.0011 per call | OK |
| [YouTube channel description by channel id](https://www.orcarouter.ai/tools/youtube/other/x-youtube-web-v2-get-channel-description.md) | — | $0.0011 per call | OK |
| [YouTube channel id from channel URL](https://www.orcarouter.ai/tools/youtube/other/x-youtube-web-v2-get-channel-id.md) | — | $0.0011 per call | OK |

Showing the first 10 of 21.

## FAQ

### How much does YouTube video stream formats by video id or URL cost?

YouTube video stream formats by video id or URL costs $0.0011 per call: 1,000 calls cost $1.10.

### What does a $10 budget buy with YouTube video stream formats by video id or URL?

About 9090 calls at $0.0011 per call.

### What inputs does YouTube video stream formats by video id or URL need?

It has no required inputs.

### How do I call YouTube video stream formats by video id or URL?

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/other/x-youtube-web-v2-get-video-streams
