Skip to content
Eden Engine

YouTube Video Formats with Separate Audio-Only and Video-Only Streams

omnial/youtube-video-adaptive-stream-formats

Given a YouTube video ID, lists its stream formats without download links: the combined audio-and-video format and the separate audio-only and video-only (adaptive) streams, each with itag, MIME type, average bitrate, width, height, quality and label, frame rate, audio sample rate, size in bytes and type. Also returns the title, channel name, length, view count, live flag, available qualities, thumbnail address and description text with link addresses removed.

activeper callv1

Price

Up to $0.00205 per call; you pay what the call used

You pay the price shown. If a call turns out to cost more than its quote, you pay the actual price, capped at twice the quote. No monthly minimum. Top-ups start at $5.00.

Data source

YouTube

Data from YouTube.

Use it

Your AI assistant does the work: it finds this tool, shows you the price first, runs it, and you are charged when the run finishes. There is nothing to set up for this tool in particular.

Connect once and your AI can find and run this tool, and any other it needs.

For developers: the calls your assistant makes
agent
// 1. search: find the tool
omnial_search({ query: "what you need" })

// 2. inspect: price and input schema
omnial_inspect({ tool: "omnial/youtube-video-adaptive-stream-formats" })

// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "omnial/youtube-video-adaptive-stream-formats" })

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "omnial/youtube-video-adaptive-stream-formats", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "omnial/youtube-video-adaptive-stream-formats", input: { /* ... */ } })

// 5. settle: the call is charged when it finishes, nothing to do

Not connected yet? Point your MCP client at https://mcp.eden-engine.com/mcp, then copy a config for your client.

Pricing

Every charge this tool can incur.

ChargePrice
Per call
$0.00205
Updated
Oct 27, 2026

Input and output schemas

Input schema
input_schema.json
{
  "type": "object",
  "required": [
    "video_id"
  ],
  "properties": {
    "video_id": {
      "type": "string",
      "minLength": 1,
      "description": "The YouTube video ID, the 11-character value after v= in a watch address."
    },
    "video_url": {
      "type": "string",
      "description": "Optional and not needed: the video's watch address. It is ignored, because video_id is required and takes precedence."
    }
  },
  "additionalProperties": false
}
Output schema
output_schema.json
{
  "type": "object",
  "properties": {
    "title": {
      "type": "string",
      "description": "The video's title."
    },
    "author": {
      "type": "string",
      "description": "The name of the channel that posted the video."
    },
    "formats": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "fps": {
            "type": [
              "number",
              "null"
            ],
            "description": "Frames per second; null for audio."
          },
          "itag": {
            "type": "number",
            "description": "YouTube's format code for this stream."
          },
          "type": {
            "type": "string",
            "description": "video or audio."
          },
          "width": {
            "type": [
              "number",
              "null"
            ],
            "description": "Frame width in pixels; null for audio."
          },
          "height": {
            "type": [
              "number",
              "null"
            ],
            "description": "Frame height in pixels; null for audio."
          },
          "bitrate": {
            "type": "number",
            "description": "Average bitrate in kilobits per second."
          },
          "quality": {
            "type": "string",
            "description": "YouTube's quality name, such as 720p, or ultralow, low or medium for audio."
          },
          "mime_type": {
            "type": "string",
            "description": "The container and kind, such as video/mp4."
          },
          "quality_label": {
            "type": "string",
            "description": "Width x height, or audio only."
          },
          "content_length": {
            "type": "number",
            "description": "The stream's size in bytes."
          },
          "audio_sample_rate": {
            "type": [
              "number",
              "null"
            ],
            "description": "Audio sample rate in hertz; null for a video-only stream."
          }
        }
      },
      "description": "Combined audio-and-video formats."
    },
    "is_live": {
      "type": "boolean",
      "description": "True while the video is a live stream."
    },
    "video_id": {
      "type": "string",
      "description": "The video's ID."
    },
    "thumbnail": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "url": {
            "type": [
              "string",
              "null"
            ],
            "description": "The thumbnail image's address on i.ytimg.com."
          }
        }
      },
      "description": "The video's thumbnail image."
    },
    "view_count": {
      "type": "number",
      "description": "The video's view count."
    },
    "length_seconds": {
      "type": "number",
      "description": "The video's length in seconds."
    },
    "adaptive_formats": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "fps": {
            "type": [
              "number",
              "null"
            ],
            "description": "Frames per second; null for audio."
          },
          "itag": {
            "type": "number",
            "description": "YouTube's format code for this stream."
          },
          "type": {
            "type": "string",
            "description": "video or audio."
          },
          "width": {
            "type": [
              "number",
              "null"
            ],
            "description": "Frame width in pixels; null for audio."
          },
          "height": {
            "type": [
              "number",
              "null"
            ],
            "description": "Frame height in pixels; null for audio."
          },
          "bitrate": {
            "type": "number",
            "description": "Average bitrate in kilobits per second."
          },
          "quality": {
            "type": "string",
            "description": "YouTube's quality name, such as 720p, or ultralow, low or medium for audio."
          },
          "mime_type": {
            "type": "string",
            "description": "The container and kind, such as video/mp4."
          },
          "quality_label": {
            "type": "string",
            "description": "Width x height, or audio only."
          },
          "content_length": {
            "type": "number",
            "description": "The stream's size in bytes."
          },
          "audio_sample_rate": {
            "type": [
              "number",
              "null"
            ],
            "description": "Audio sample rate in hertz; null for a video-only stream."
          }
        }
      },
      "description": "Separate audio-only and video-only streams, in every quality offered."
    },
    "short_description": {
      "type": [
        "string",
        "null"
      ],
      "description": "The video's description text, with link addresses removed."
    },
    "available_qualities": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Every quality label the formats below offer, including audio only."
    }
  },
  "description": "The video's basic details and its stream formats."
}