# Download Video MP4

**Use case:** 

Use `shortUrls` to resolve known public YouTube Shorts into source media links and video details. Set `preferredResolution` to request the highest quality to try. The dataset overview shows saved rows for eligible Shorts.

## Input

```json
{
  "shortUrls": [
    "https://www.youtube.com/shorts/8Zk5XzLJSAw"
  ],
  "preferredResolution": "2k"
}
```

## Output

```json
{
  "title": {
    "label": "Title",
    "format": "string"
  },
  "videoId": {
    "label": "Video ID",
    "format": "string"
  },
  "bestDownloadUrl": {
    "label": "Main media link",
    "format": "string"
  },
  "videoDownloadUrl": {
    "label": "Video link",
    "format": "string"
  },
  "audioDownloadUrl": {
    "label": "Audio link",
    "format": "string"
  },
  "requestedQuality": {
    "label": "Requested quality",
    "format": "string"
  },
  "downloadType": {
    "label": "Download type",
    "format": "string"
  },
  "bestFormat": {
    "label": "Main format",
    "format": "object"
  },
  "videoFormat": {
    "label": "Video format",
    "format": "object"
  },
  "audioFormat": {
    "label": "Audio format",
    "format": "object"
  },
  "thumbnailUrl": {
    "label": "Thumbnail",
    "format": "string"
  },
  "channelName": {
    "label": "Channel",
    "format": "string"
  },
  "channelUrl": {
    "label": "Channel page",
    "format": "string"
  },
  "publishedAt": {
    "label": "Upload date",
    "format": "string"
  },
  "likeCount": {
    "label": "Like count",
    "format": "integer"
  },
  "commentCount": {
    "label": "Comment count",
    "format": "integer"
  },
  "durationSeconds": {
    "label": "Duration in seconds",
    "format": "number"
  },
  "media": {
    "label": "Media details",
    "format": "object"
  },
  "availability": {
    "label": "Link check",
    "format": "object"
  }
}
```

## About this Actor

This example demonstrates how to use [YouTube Shorts Downloader](https://apify.com/maximedupre/youtube-shorts-downloader.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/maximedupre/youtube-shorts-downloader.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/maximedupre/youtube-shorts-downloader.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
