In this guide

Get Video Details

Title, length, views and more for up to 50 videos.

Action referenceRead

What this action does #

First, connect YouTube in Services. Then open Actions → + → YouTube and choose Get Video Details.

More about this action

Takes video links or IDs — a youtu.be or Shorts link from the share sheet works. A private or removed video is simply missing from the answer rather than an error, so check how many came back.

Only the video's owner can see its dislikes.

Inputs to fill in #

Open an input to choose its value. Keep a fixed value with Text, receive it from Shortcuts, ask when the action runs, or use an Earlier Step. Read how input sources work.

Videos

RequiredList

Links or IDs, up to 50.

A list of text values. Use a comma-separated list.

Example value (replace with your own):
https://youtu.be/dQw4w9WgXcQ

What comes back #

In the action editor, open Output → Returned Value to choose fields for your shortcut. These are the response fields described by the app; a service may omit an optional field or return an empty list. JSON File contains the full response.

Returned fieldTypeMeaning
itemsarrayA list of values.
items[].idstringThe video ID. Its page is youtube.com/watch?v= followed by it.
items[].snippetobjectA group of named values.
items[].snippet.titlestringText value.
items[].snippet.descriptionstringText value.
items[].snippet.channelIdstringText value.
items[].snippet.channelTitlestringText value.
items[].snippet.publishedAtstringISO 8601.
items[].snippet.tagsarrayMissing when the video has none.
items[].snippet.categoryIdstringText value.
items[].snippet.liveBroadcastContentstringlive, upcoming or none.
items[].snippet.defaultAudioLanguagestringText value.
items[].snippet.thumbnailsobjectSizes default, medium, high, standard and maxres — not every video has every size.
items[].snippet.thumbnails.defaultobjectA group of named values.
items[].snippet.thumbnails.default.urlstringText value.
items[].snippet.thumbnails.default.widthintegerWhole-number value.
items[].snippet.thumbnails.default.heightintegerWhole-number value.
items[].snippet.thumbnails.mediumobjectA group of named values.
items[].snippet.thumbnails.medium.urlstringText value.
items[].snippet.thumbnails.medium.widthintegerWhole-number value.
items[].snippet.thumbnails.medium.heightintegerWhole-number value.
items[].snippet.thumbnails.highobjectA group of named values.
items[].snippet.thumbnails.high.urlstringText value.
items[].snippet.thumbnails.high.widthintegerWhole-number value.
items[].snippet.thumbnails.high.heightintegerWhole-number value.
items[].snippet.thumbnails.standardobjectA group of named values.
items[].snippet.thumbnails.standard.urlstringText value.
items[].snippet.thumbnails.standard.widthintegerWhole-number value.
items[].snippet.thumbnails.standard.heightintegerWhole-number value.
items[].snippet.thumbnails.maxresobjectA group of named values.
items[].snippet.thumbnails.maxres.urlstringText value.
items[].snippet.thumbnails.maxres.widthintegerWhole-number value.
items[].snippet.thumbnails.maxres.heightintegerWhole-number value.
items[].contentDetailsobjectA group of named values.
items[].contentDetails.durationstringISO 8601 — PT4M13S is 4 minutes 13 seconds.
items[].contentDetails.definitionstringhd or sd.
items[].contentDetails.captionstring"true" when the video has captions.
items[].statisticsobjectA group of named values.
items[].statistics.viewCountstringA number, sent as text.
items[].statistics.likeCountstringMissing when likes are hidden.
items[].statistics.commentCountstringMissing when comments are off.
items[].statusobjectA group of named values.
items[].status.privacyStatusstringpublic or unlisted — private videos aren't returned.
items[].status.embeddablebooleanTrue or false.
items[].status.madeForKidsbooleanTrue or false.

Run it from Shortcuts #

  1. Give the action a recognizable name and tap Save.
  2. In Apple Shortcuts, add Shortcutify’s Execute Action and select the saved action.
  3. Supply any Param or File slots you bound in the inputs, then run the shortcut.

If the result is unexpected, open Logs in Shortcutify, select the run, and inspect this step’s inputs and response.

Advanced reference #

Request, permissions, and identifiers

Request: GET https://www.googleapis.com/youtube/v3/videos

Action identifier: youtube.videos.list.v1

No additional per-action permissions are declared in the app’s catalog. The integration’s connection and account access rules still apply.

InputRequest keyLocation
Videosidquery

YouTube API reference