# Get YouTube Video Download Links (MP4, up to 4K)

**Use case:** 

Paste a YouTube URL and get direct download links for every format — MP4 and WebM up to 4K, plus audio-only, with file sizes.

## Input

```json
{
  "videos": [
    "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
  ],
  "type": "all"
}
```

## Output

```json
{
  "videoId": {
    "label": "Video ID",
    "format": "text"
  },
  "title": {
    "label": "Title",
    "format": "text"
  },
  "channelTitle": {
    "label": "Channel",
    "format": "text"
  },
  "lengthSeconds": {
    "label": "Length (s)",
    "format": "number"
  },
  "viewCount": {
    "label": "Views",
    "format": "number"
  },
  "formatCount": {
    "label": "Formats",
    "format": "number"
  },
  "url": {
    "label": "Video URL",
    "format": "link"
  }
}
```

## About this Actor

This example demonstrates how to use [YouTube Video Downloader – Get Direct MP4 & 4K Links by URL](https://apify.com/endspec/youtube-instant-video-downloader) with a specific input configuration. Visit the [Actor detail page](https://apify.com/endspec/youtube-instant-video-downloader) to learn more, explore other use cases, and run it yourself.