# Youtube Shorts Downloader (`easyapi/youtube-shorts-downloader`) Actor

Extract and download YouTube Shorts videos in multiple formats and qualities. Get direct download links, video metadata, and audio streams. Perfect for content creators, researchers, and developers working with YouTube Shorts content. 🎥✨

- **URL**: https://apify.com/easyapi/youtube-shorts-downloader.md
- **Developed by:** [EasyApi](https://apify.com/easyapi) (community)
- **Categories:** Social media, Videos
- **Stats:** 270 total users, 36 monthly users, 100.0% runs succeeded, 7 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

from $2.99 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

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 examples already wired to this Actor's own input schema, see the [API](#api) section below.

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`).

# README

## YouTube Shorts Downloader 📱

Download YouTube Shorts videos in multiple formats and qualities. Extract video metadata and direct download links with ease! 🚀

### Features ✨

- 🎯 Download YouTube Shorts videos in multiple resolutions (144p to 1080p)
- 🎵 Extract both video and audio streams separately
- 📊 Get comprehensive video metadata (title, author, duration, etc.)
- 🔗 Support for batch processing multiple Shorts URLs
- 💾 Download options in MP4 and WebM formats
- 🎨 Access video thumbnails and preview images
- ⚡ Fast and efficient processing
- 🔒 No authentication required

### Use Cases 💡

- Content creators looking to repurpose Shorts content
- Social media managers collecting viral Shorts
- Researchers archiving YouTube Shorts content
- Developers building applications around Shorts content
- Digital marketers analyzing trending Shorts

### Input Parameters 📝

The actor accepts the following input:

- `links`: Array of YouTube Shorts URLs to process (required)
  - Format: https://youtube.com/shorts/VIDEOID
  - Example: https://youtube.com/shorts/SJ0Ha3Xp464

### Output 📤

The actor provides detailed output for each processed URL including:

- Video metadata (title, author, duration, etc.)
- Available video qualities and formats
- Direct download URLs for all quality variants
- Audio stream options
- Thumbnail images
- Error status and messages

### Tips 💪

- Process multiple URLs in a single run for better efficiency
- Use dataset storage for large batch operations
- Check the `error` field in results to handle failed downloads

#### Input Example

A full explanation of an input example in JSON.

```
{
    "links": [
		"https://youtube.com/shorts/SJ0Ha3Xp464"
	] 
}
```

#### Output sample

The results will be wrapped into a dataset which you can always find in the **Storage** tab. Here's an excerpt from the data you'd get if you apply the input parameters above:

And here is the same data but in JSON. You can choose in which format to download your data: JSON, JSONL, Excel spreadsheet, HTML table, CSV, or XML.

```
[
	{
		"url": "https://youtube.com/shorts/SJ0Ha3Xp464",
		"source": "youtube",
		"author": "Chandan Facts",
		"title": "Blind love care #dance #bollywood #dancer #love #song #youtubevideo #automobile #myfirstdance",
		"thumbnail": "https://i.ytimg.com/vi/SJ0Ha3Xp464/2.jpg?sqp=-oaymwEmCHgQWvKriqkDHBgA8AEB-AG2CIACgA-KAgwIABABGGUgVyhOMA8=&rs=AOn4CLA1gY_DlSpnKEta6Tf2j1UzuDP34w",
		"duration": 17,
		"medias": [
			{
				"url": "https://rr2---sn-8pxuuxa-i2iee.googlevideo.com/videoplayback?expire=1732521049&ei=-ddDZ8zSNtmL1d8Pifne2Qs&ip=117.5.161.27&id=o-ACQ8GpBwMMDnthfde58t-7U4RWXku1s99J1wzbPftuaW&itag=18&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&met=1732499449%2C&mh=O8&mm=31%2C29&mn=sn-8pxuuxa-i2iee%2Csn-8pxuuxa-i5o6d&ms=au%2Crdu&mv=m&mvi=2&pl=22&rms=au%2Cau&initcwndbps=1637500&bui=AQn3pFRD7bfE2b-YiOPnrOfzPqnfNbGmZYL7SYBL6dSjbvnCPMG8NyV6y-pEAPs_TuglwiZEBAFoGBJQ&vprv=1&svpuc=1&mime=video%2Fmp4&rqh=1&gir=yes&clen=1252319&ratebypass=yes&dur=16.810&lmt=1727646269530181&mt=1732499105&fvip=3&fexp=51326932%2C51335594&c=ANDROID_VR&txp=4530434&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cxpc%2Cbui%2Cvprv%2Csvpuc%2Cmime%2Crqh%2Cgir%2Cclen%2Cratebypass%2Cdur%2Clmt&sig=AJfQdSswRQIgEWMSAwaIoRo4flPAwNcPNp35TCVFsYf9XqJB8ui-m1kCIQD1rsjA9l4FtVZTQQY3kb_Q9e8XMEwm_NHtT2_Og3m3eQ%3D%3D&lsparams=met%2Cmh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Crms%2Cinitcwndbps&lsig=AGluJ3MwRQIgAy_GoUNIympxG4uYV0H3_l0yMsrGT7HM8omLDztiFwgCIQCORGe238gJK-6184iKlKN97x2t37QThoxShWvLXY4CvQ%3D%3D",
				"quality": "360p",
				"bitrate": 598730,
				"contentLength": "1252319",
				"fps": 30,
				"is_audio": true,
				"type": "video",
				"extension": "mp4"
			},
			{
				"url": "https://rr2---sn-8pxuuxa-i2iee.googlevideo.com/videoplayback?expire=1732521049&ei=-ddDZ8zSNtmL1d8Pifne2Qs&ip=117.5.161.27&id=o-ACQ8GpBwMMDnthfde58t-7U4RWXku1s99J1wzbPftuaW&itag=137&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&met=1732499449%2C&mh=O8&mm=31%2C29&mn=sn-8pxuuxa-i2iee%2Csn-8pxuuxa-i5o6d&ms=au%2Crdu&mv=m&mvi=2&pl=22&rms=au%2Cau&initcwndbps=1637500&bui=AQn3pFT3SFi7VXQgqoU9bp-nHiMrgqcoz6RQXKrerxzpjLItjzMFyZ9WCjLYKGHS2zpkLXrneumYcYbB&vprv=1&svpuc=1&mime=video%2Fmp4&rqh=1&gir=yes&clen=5921363&dur=16.733&lmt=1727648176743222&mt=1732499105&fvip=3&keepalive=yes&fexp=51326932%2C51335594&c=ANDROID_VR&txp=453C434&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cxpc%2Cbui%2Cvprv%2Csvpuc%2Cmime%2Crqh%2Cgir%2Cclen%2Cdur%2Clmt&sig=AJfQdSswRQIhAPQebA66ZMKojTi1qmmrmW1hSpApnEatRshjBNwqUq38AiBbBQGGkXBtVglJ7nKzxmzxT4kPo8Q7dYrUe1INji5JdA%3D%3D&lsparams=met%2Cmh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Crms%2Cinitcwndbps&lsig=AGluJ3MwRQIgAy_GoUNIympxG4uYV0H3_l0yMsrGT7HM8omLDztiFwgCIQCORGe238gJK-6184iKlKN97x2t37QThoxShWvLXY4CvQ%3D%3D",
				"quality": "1080p",
				"bitrate": 2928360,
				"contentLength": "5921363",
				"fps": 30,
				"is_audio": false,
				"type": "video",
				"extension": "mp4"
			},
			{
				"url": "https://rr2---sn-8pxuuxa-i2iee.googlevideo.com/videoplayback?expire=1732521049&ei=-ddDZ8zSNtmL1d8Pifne2Qs&ip=117.5.161.27&id=o-ACQ8GpBwMMDnthfde58t-7U4RWXku1s99J1wzbPftuaW&itag=136&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&met=1732499449%2C&mh=O8&mm=31%2C29&mn=sn-8pxuuxa-i2iee%2Csn-8pxuuxa-i5o6d&ms=au%2Crdu&mv=m&mvi=2&pl=22&rms=au%2Cau&initcwndbps=1637500&bui=AQn3pFT3SFi7VXQgqoU9bp-nHiMrgqcoz6RQXKrerxzpjLItjzMFyZ9WCjLYKGHS2zpkLXrneumYcYbB&vprv=1&svpuc=1&mime=video%2Fmp4&rqh=1&gir=yes&clen=2037987&dur=16.733&lmt=1727646475796786&mt=1732499105&fvip=3&keepalive=yes&fexp=51326932%2C51335594&c=ANDROID_VR&txp=453C434&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cxpc%2Cbui%2Cvprv%2Csvpuc%2Cmime%2Crqh%2Cgir%2Cclen%2Cdur%2Clmt&sig=AJfQdSswRgIhANjlY8XY4p9UrN32PWvh7BrTr9_0qC7XIJfLTFrG_B_NAiEA-uTsWveplSC7xEYopGKj8l9WUBy_dYRDyU2D_zsjujU%3D&lsparams=met%2Cmh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Crms%2Cinitcwndbps&lsig=AGluJ3MwRQIgAy_GoUNIympxG4uYV0H3_l0yMsrGT7HM8omLDztiFwgCIQCORGe238gJK-6184iKlKN97x2t37QThoxShWvLXY4CvQ%3D%3D",
				"quality": "720p",
				"bitrate": 978065,
				"contentLength": "2037987",
				"is_audio": false,
				"fps": 30,
				"type": "video",
				"extension": "mp4"
			},
			{
				"url": "https://rr2---sn-8pxuuxa-i2iee.googlevideo.com/videoplayback?expire=1732521049&ei=-ddDZ8zSNtmL1d8Pifne2Qs&ip=117.5.161.27&id=o-ACQ8GpBwMMDnthfde58t-7U4RWXku1s99J1wzbPftuaW&itag=135&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&met=1732499449%2C&mh=O8&mm=31%2C29&mn=sn-8pxuuxa-i2iee%2Csn-8pxuuxa-i5o6d&ms=au%2Crdu&mv=m&mvi=2&pl=22&rms=au%2Cau&initcwndbps=1637500&bui=AQn3pFT3SFi7VXQgqoU9bp-nHiMrgqcoz6RQXKrerxzpjLItjzMFyZ9WCjLYKGHS2zpkLXrneumYcYbB&vprv=1&svpuc=1&mime=video%2Fmp4&rqh=1&gir=yes&clen=1466402&dur=16.733&lmt=1727646466275840&mt=1732499105&fvip=3&keepalive=yes&fexp=51326932%2C51335594&c=ANDROID_VR&txp=453C434&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cxpc%2Cbui%2Cvprv%2Csvpuc%2Cmime%2Crqh%2Cgir%2Cclen%2Cdur%2Clmt&sig=AJfQdSswRQIgUudRKO8HD_jCDmARAJWZGRkIr262ckBbnVUdbL8oLE4CIQDb-PoEpY4HeSfnuzjU4GLOHUajvTYCfe554LLNWXQ2Xg%3D%3D&lsparams=met%2Cmh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Crms%2Cinitcwndbps&lsig=AGluJ3MwRQIgAy_GoUNIympxG4uYV0H3_l0yMsrGT7HM8omLDztiFwgCIQCORGe238gJK-6184iKlKN97x2t37QThoxShWvLXY4CvQ%3D%3D",
				"quality": "480p",
				"bitrate": 748322,
				"contentLength": "1466402",
				"fps": 30,
				"is_audio": false,
				"type": "video",
				"extension": "mp4"
			},
			{
				"url": "https://rr2---sn-8pxuuxa-i2iee.googlevideo.com/videoplayback?expire=1732521049&ei=-ddDZ8zSNtmL1d8Pifne2Qs&ip=117.5.161.27&id=o-ACQ8GpBwMMDnthfde58t-7U4RWXku1s99J1wzbPftuaW&itag=134&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&met=1732499449%2C&mh=O8&mm=31%2C29&mn=sn-8pxuuxa-i2iee%2Csn-8pxuuxa-i5o6d&ms=au%2Crdu&mv=m&mvi=2&pl=22&rms=au%2Cau&initcwndbps=1637500&bui=AQn3pFT3SFi7VXQgqoU9bp-nHiMrgqcoz6RQXKrerxzpjLItjzMFyZ9WCjLYKGHS2zpkLXrneumYcYbB&vprv=1&svpuc=1&mime=video%2Fmp4&rqh=1&gir=yes&clen=1035367&dur=16.733&lmt=1727646473352777&mt=1732499105&fvip=3&keepalive=yes&fexp=51326932%2C51335594&c=ANDROID_VR&txp=453C434&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cxpc%2Cbui%2Cvprv%2Csvpuc%2Cmime%2Crqh%2Cgir%2Cclen%2Cdur%2Clmt&sig=AJfQdSswRQIhAIkNjdg8uKTiURZcxuUhRF6J4Sk7z-1keAHxCpbILOZsAiBABgFEs5KUUnnMjRX-ftuAsPDosyBMGgq24BgQzCkHkQ%3D%3D&lsparams=met%2Cmh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Crms%2Cinitcwndbps&lsig=AGluJ3MwRQIgAy_GoUNIympxG4uYV0H3_l0yMsrGT7HM8omLDztiFwgCIQCORGe238gJK-6184iKlKN97x2t37QThoxShWvLXY4CvQ%3D%3D",
				"quality": "360p",
				"bitrate": 536406,
				"contentLength": "1035367",
				"is_audio": false,
				"fps": 30,
				"type": "video",
				"extension": "mp4"
			},
			{
				"url": "https://rr2---sn-8pxuuxa-i2iee.googlevideo.com/videoplayback?expire=1732521049&ei=-ddDZ8zSNtmL1d8Pifne2Qs&ip=117.5.161.27&id=o-ACQ8GpBwMMDnthfde58t-7U4RWXku1s99J1wzbPftuaW&itag=242&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&met=1732499449%2C&mh=O8&mm=31%2C29&mn=sn-8pxuuxa-i2iee%2Csn-8pxuuxa-i5o6d&ms=au%2Crdu&mv=m&mvi=2&pl=22&rms=au%2Cau&initcwndbps=1637500&bui=AQn3pFT3SFi7VXQgqoU9bp-nHiMrgqcoz6RQXKrerxzpjLItjzMFyZ9WCjLYKGHS2zpkLXrneumYcYbB&vprv=1&svpuc=1&mime=video%2Fwebm&rqh=1&gir=yes&clen=213235&dur=16.733&lmt=1727647169009591&mt=1732499105&fvip=3&keepalive=yes&fexp=51326932%2C51335594&c=ANDROID_VR&txp=453C434&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cxpc%2Cbui%2Cvprv%2Csvpuc%2Cmime%2Crqh%2Cgir%2Cclen%2Cdur%2Clmt&sig=AJfQdSswRAIgaMqAsi2AJiVKe7jjOn4ADZ2W91nGY0dVbLWBZLlvZ5oCIFbpo9rqeDycMP1Bu4nRZTlFjNnE4rQ2o7dU50S9vMcy&lsparams=met%2Cmh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Crms%2Cinitcwndbps&lsig=AGluJ3MwRQIgAy_GoUNIympxG4uYV0H3_l0yMsrGT7HM8omLDztiFwgCIQCORGe238gJK-6184iKlKN97x2t37QThoxShWvLXY4CvQ%3D%3D",
				"quality": "240p",
				"bitrate": 109742,
				"contentLength": "213235",
				"fps": 30,
				"is_audio": false,
				"type": "video",
				"extension": "mp4"
			},
			{
				"url": "https://rr2---sn-8pxuuxa-i2iee.googlevideo.com/videoplayback?expire=1732521049&ei=-ddDZ8zSNtmL1d8Pifne2Qs&ip=117.5.161.27&id=o-ACQ8GpBwMMDnthfde58t-7U4RWXku1s99J1wzbPftuaW&itag=160&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&met=1732499449%2C&mh=O8&mm=31%2C29&mn=sn-8pxuuxa-i2iee%2Csn-8pxuuxa-i5o6d&ms=au%2Crdu&mv=m&mvi=2&pl=22&rms=au%2Cau&initcwndbps=1637500&bui=AQn3pFT3SFi7VXQgqoU9bp-nHiMrgqcoz6RQXKrerxzpjLItjzMFyZ9WCjLYKGHS2zpkLXrneumYcYbB&vprv=1&svpuc=1&mime=video%2Fmp4&rqh=1&gir=yes&clen=219537&dur=16.733&lmt=1727646485074907&mt=1732499105&fvip=3&keepalive=yes&fexp=51326932%2C51335594&c=ANDROID_VR&txp=453C434&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cxpc%2Cbui%2Cvprv%2Csvpuc%2Cmime%2Crqh%2Cgir%2Cclen%2Cdur%2Clmt&sig=AJfQdSswRQIgLFsmHgh2kwTYzcjxo8-xGNM2h_w5EeB8Fpld8ItPdPQCIQDP8HvnLYFROELrQP1d6og4XdA47qNN0qt8aJ7gJeSiHA%3D%3D&lsparams=met%2Cmh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Crms%2Cinitcwndbps&lsig=AGluJ3MwRQIgAy_GoUNIympxG4uYV0H3_l0yMsrGT7HM8omLDztiFwgCIQCORGe238gJK-6184iKlKN97x2t37QThoxShWvLXY4CvQ%3D%3D",
				"quality": "144p",
				"bitrate": 112990,
				"contentLength": "219537",
				"fps": 30,
				"is_audio": false,
				"type": "video",
				"extension": "mp4"
			},
			{
				"url": "https://rr2---sn-8pxuuxa-i2iee.googlevideo.com/videoplayback?expire=1732521049&ei=-ddDZ8zSNtmL1d8Pifne2Qs&ip=117.5.161.27&id=o-ACQ8GpBwMMDnthfde58t-7U4RWXku1s99J1wzbPftuaW&itag=139&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&met=1732499449%2C&mh=O8&mm=31%2C29&mn=sn-8pxuuxa-i2iee%2Csn-8pxuuxa-i5o6d&ms=au%2Crdu&mv=m&mvi=2&pl=22&rms=au%2Cau&initcwndbps=1637500&bui=AQn3pFT3SFi7VXQgqoU9bp-nHiMrgqcoz6RQXKrerxzpjLItjzMFyZ9WCjLYKGHS2zpkLXrneumYcYbB&vprv=1&svpuc=1&mime=audio%2Fmp4&rqh=1&gir=yes&clen=104131&dur=16.904&lmt=1727645580067278&mt=1732499105&fvip=3&keepalive=yes&fexp=51326932%2C51335594&c=ANDROID_VR&txp=4532434&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cxpc%2Cbui%2Cvprv%2Csvpuc%2Cmime%2Crqh%2Cgir%2Cclen%2Cdur%2Clmt&sig=AJfQdSswRgIhALm0TFCb0qcB8VUjuIEsLrawZYFyHSBqlRNgNRFwa8muAiEAjI0h4mS0fGA2xHJtWx90MN7qlvrLLbJvfd612IhcMnY%3D&lsparams=met%2Cmh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Crms%2Cinitcwndbps&lsig=AGluJ3MwRQIgAy_GoUNIympxG4uYV0H3_l0yMsrGT7HM8omLDztiFwgCIQCORGe238gJK-6184iKlKN97x2t37QThoxShWvLXY4CvQ%3D%3D",
				"quality": "AUDIO_QUALITY_LOW",
				"bitrate": 49822,
				"contentLength": "104131",
				"type": "audio",
				"extension": "mp3"
			},
			{
				"url": "https://rr2---sn-8pxuuxa-i2iee.googlevideo.com/videoplayback?expire=1732521049&ei=-ddDZ8zSNtmL1d8Pifne2Qs&ip=117.5.161.27&id=o-ACQ8GpBwMMDnthfde58t-7U4RWXku1s99J1wzbPftuaW&itag=140&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&met=1732499449%2C&mh=O8&mm=31%2C29&mn=sn-8pxuuxa-i2iee%2Csn-8pxuuxa-i5o6d&ms=au%2Crdu&mv=m&mvi=2&pl=22&rms=au%2Cau&initcwndbps=1637500&bui=AQn3pFT3SFi7VXQgqoU9bp-nHiMrgqcoz6RQXKrerxzpjLItjzMFyZ9WCjLYKGHS2zpkLXrneumYcYbB&vprv=1&svpuc=1&mime=audio%2Fmp4&rqh=1&gir=yes&clen=273144&dur=16.811&lmt=1727645580149108&mt=1732499105&fvip=3&keepalive=yes&fexp=51326932%2C51335594&c=ANDROID_VR&txp=4532434&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cxpc%2Cbui%2Cvprv%2Csvpuc%2Cmime%2Crqh%2Cgir%2Cclen%2Cdur%2Clmt&sig=AJfQdSswRgIhAMehJpBd0J_HCthet5vGmhNBagetlXCw5N-j9z5nTNo4AiEA61maFI2a8S_moDKv1Q2dHAerJouAoPL8jmW5C1w8bX8%3D&lsparams=met%2Cmh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Crms%2Cinitcwndbps&lsig=AGluJ3MwRQIgAy_GoUNIympxG4uYV0H3_l0yMsrGT7HM8omLDztiFwgCIQCORGe238gJK-6184iKlKN97x2t37QThoxShWvLXY4CvQ%3D%3D",
				"quality": "AUDIO_QUALITY_MEDIUM",
				"bitrate": 130200,
				"contentLength": "273144",
				"type": "audio",
				"extension": "mp3"
			}
		],
		"type": "multiple",
		"error": false
	},
    ...
]
```

# Actor input Schema

## `links` (type: `array`):

Array of YouTube Shorts URLs to process

## `proxyConfiguration` (type: `object`):

Optionally, use Apify Proxy or custom HTTP proxy to avoid IP address-based blocking.

## Actor input object example

```json
{
  "links": [
    "https://www.youtube.com/shorts/-9B3Iq9ifVo"
  ],
  "proxyConfiguration": {
    "useApifyProxy": false,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {};

// Run the Actor and wait for it to finish
const run = await client.actor("easyapi/youtube-shorts-downloader").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {}

# Run the Actor and wait for it to finish
run = client.actor("easyapi/youtube-shorts-downloader").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{}' |
apify call easyapi/youtube-shorts-downloader --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,easyapi/youtube-shorts-downloader"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/LTEUwDxa4CxHb9quv/builds/iP0dQfmU4bWYBKR8D/openapi.json
