Get YouTube Shorts Direct Links
Maxime Dupré
Get direct links for a public YouTube Short in `shortUrls`. This task uses a 2k quality preference. The dataset overview shows the saved file link and the YouTube media link, with format details and the quality, thumbnail, duration, and channel when available. The YouTube link may expire or fail outside the run.
Input
Output fields
Sign up on Apify or log in
The YouTube Shorts Downloader Actor is ready to run with the inputs already set for "Get YouTube Shorts Direct Links". Sign up or log in and you'll land in Apify Console with a copy of this exact task.
Start the "Get YouTube Shorts Direct Links" task
The YouTube Shorts Downloader Actor will start running based on the input automatically. You can also change all the input fields, like youtube shorts urls or ids and preferred video quality, to match your specific use case.
Receive the "Get YouTube Shorts Direct Links" output
Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as title, video id, media download, and more.
Integrate into your workflow
The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also run the "Get YouTube Shorts Direct Links" task via API.

The Get YouTube Shorts Direct Links task puts the selected video's original URL in bestDownloadUrl in the dataset row.
The Get YouTube Shorts Direct Links task takes the public page URL as input and returns the original video stream URL in bestDownloadUrl.
The Get YouTube Shorts Direct Links task returns YouTube media URLs that can expire or fail outside the run. Use mediaFileUrl to get the saved main file.
The Get YouTube Shorts Direct Links task puts the joined file at mediaFileUrl. In that case, bestDownloadUrl points to the video stream alone.
The Get YouTube Shorts Direct Links task shows that URL in otherFormats[].downloadUrl. Use fileUrl on the same entry to open the saved file.
The Get YouTube Shorts Direct Links task can list audio-only entries in otherFormats. Look for an entry with audioCodec and no videoCodec.
The Get YouTube Shorts Direct Links task accepts a public Short URL or its 11-character video ID in shortUrls.
The Get YouTube Shorts Direct Links task lists the saved main file type in bestFormat.extension and other saved file types in otherFormats.
The Get YouTube Shorts Direct Links task starts with 2k in preferredResolution. That setting helps choose the main file.
The Get YouTube Shorts Direct Links task includes a thumbnail image link in thumbnailUrl when YouTube provides it.