Back to APIs

Unified Agent API

Video Info

Video Info

Get video title, duration, thumbnail, and available quality options from YouTube, Twitter/X, TikTok, Instagram, Vimeo, LinkedIn, and 1700+ other platforms.

POST/v1/video/info1700+ sites

Overview

Extract video metadata, available formats, and thumbnail from any URL

Credits

1 credit per call

Providers

Yt-dlp

SDK Method

client.videoInfo(...)

Parameters

urlRequired

string

URL of the video or post containing a video.

Example Response

{
  "success": true,
  "data": {
    "title": "Example Video Title",
    "duration_seconds": 245,
    "thumbnail_url": "https://i.ytimg.com/vi/dQw4w9WgXcQ/maxresdefault.jpg",
    "uploader": "ExampleChannel",
    "upload_date": "2026-01-15",
    "view_count": 1500000,
    "platform": "youtube",
    "formats": [
      {
        "quality": "1080p",
        "format_id": "137+140",
        "ext": "mp4",
        "filesize_mb": 45.2
      },
      {
        "quality": "720p",
        "format_id": "136+140",
        "ext": "mp4",
        "filesize_mb": 22.1
      },
      {
        "quality": "480p",
        "format_id": "135+140",
        "ext": "mp4",
        "filesize_mb": 12.8
      },
      {
        "quality": "audio_only",
        "format_id": "140",
        "ext": "m4a",
        "filesize_mb": 3.9
      }
    ]
  },
  "metadata": {
    "provider_used": "yt_dlp",
    "providers_tried": [
      "yt_dlp"
    ],
    "response_time_ms": 2100,
    "request_id": "req_v1d30info"
  },
  "credits_used": 1
}

Get Started

Use this API through the O-mega platform. Create an API key in your dashboard, then call the endpoint with your key in the Authorization header.

Try Video Info

Test Video Info in the interactive playground. No setup required.

Open Playground
Video Info API | Unified Agent APIs | suprsonic