# YouTube signed video stream URL

Get signed playback URL for specific itag (ready to play). Needs itag. Served by TikHub.

Purpose:
- Get signed playback URL for specific itag (ready to play)
- Use with get_video_streams endpoint: first get all formats, then select itag to get playback URL

Parameters:
- video_id: Video ID (recommended)
- video_url: Full video URL (optional)
- itag: Format identifier, selected from formats list returned by get_video_streams

Returns:
- itag: Format identifier
- url: Signed playback URL (ready to use)
- expires_in_seconds: URL validity period (typically 6 hours = 21600 seconds)

Notes:
- Playback URLs expire after approximately 6 hours, need to regenerate after expiration
- URL length is long (approximately 1000-2000 characters)
- Some videos may have regional restrictions

- Tool ID: `tikhub/youtube-web-v2-get-signed-stream-url`
- Name in the catalog: Youtube, Get signed video stream URL
- Provider: [TikHub](/providers/tikhub.md)
- Capability: [YouTube videos](/tools/youtube/videos.md)
- Price: $0.001 per call
- Authentication: an authorised Agentik workspace is required for execution, including zero-price tools.

## Pricing contract

The provider’s price, with no markup. Billed for measured usage.


```json
{
  "model": "per_call",
  "amountUsd": 0.001
}
```

Pricing source: [https://api.tikhub.io/api/v1/tikhub/user/get_all_endpoints_info](https://api.tikhub.io/api/v1/tikhub/user/get_all_endpoints_info). Official per-success route price USD 0.001; daily upstream discounts may reduce provider cost. No discount invented for the customer. 10/second.

Price verification date: 2026-10-05.

## Complete input schema


```json
{
  "type": "object",
  "properties": {
    "video_id": {
      "type": "string",
      "description": "视频ID/Video ID",
      "title": "Video Id"
    },
    "video_url": {
      "type": "string",
      "description": "视频URL/Video URL (如果提供video_id则忽略此参数/Ignored if video_id is provided)",
      "title": "Video Url"
    },
    "itag": {
      "type": "integer",
      "description": "格式标识符 itag (从 get_video_streams 接口获取)/Format identifier itag (obtained from get_video_streams endpoint)",
      "title": "Itag"
    }
  },
  "required": [
    "itag"
  ],
  "additionalProperties": false
}
```

## Published example

This is the provider tool’s published example. Replace example values with the user’s requested inputs, respecting the schema; do not execute an example merely to test a connection.


```json
{
  "tool_id": "tikhub/youtube-web-v2-get-signed-stream-url",
  "input": {
    "video_id": "dQw4w9WgXcQ",
    "video_url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
    "itag": 18
  }
}
```

## Execute and retrieve

Inspect again before execution, explain the price and obtain the required authority. Use MCP run_tool or POST /v1/run with this tool ID, valid input and an idempotency key. Save the returned run ID and follow the actual state. If Agentik answers that the tool is temporarily unavailable, do not retry it blindly; use discovery to propose an alternative.

A partial or uncertain result can still have consumed provider resources. Consult [billing](/docs/billing.md), [idempotency](/docs/idempotency.md) and [asynchronous results](/docs/async.md).

[Provider documentation](https://api.tikhub.io/#/YouTube-Web-V2-API/get_signed_stream_url_api_v1_youtube_web_v2_get_signed_stream_url_get)

[REST inspection](https://api.agentik.cc/v1/tools/tikhub/youtube-web-v2-get-signed-stream-url) · [OpenAPI](/openapi.json) · [Connection guide](/connect.md)

---

[HTML page](/providers/tikhub/youtube-web-v2-get-signed-stream-url) · [Agent index](/llms.txt)
