BuildShip Logo
BuildShip Community

YouTube Metadata Retrieval

The YouTube Metadata Retrieval node fetches comprehensive data about YouTube videos and playlists using the YouTube Data API. It supports both standard YouTube URLs and shortened youtu.be links, making it perfect for content analysis, data collection, and integration with other services. This node gives you access to video titles, descriptions, view counts, likes, comments, and much more in a structured format.

0

Report this template

Select the reason for reporting

Describe the issue in detail

Share template

Link to template

https://templates.buildship.com/template/UHQLa_REtlGl/

Inputs

url

https://youtu.be/2OzgeHxpMs4?si=pp031SRS5sf_OEpP

maxResults

1

resourceType

video
This is a static example using sample inputs. Remix the template to run it with your own values.

Output

Read me

📖 Read Me

Overview

The YouTube Metadata Retrieval node fetches comprehensive data about YouTube videos and playlists using the YouTube Data API. It supports both standard YouTube URLs and shortened youtu.be links, making it perfect for content analysis, data collection, and integration with other services. This node gives you access to video titles, descriptions, view counts, likes, comments, and much more in a structured format.

Prerequisites

  • Google Cloud Platform account: You'll need this to access the YouTube Data API
  • YouTube Data API v3 enabled in your Google Cloud project
  • API key with YouTube Data API access permissions
  • BuildShip account with YouTube integration configured

✍️ How to Use

Step 1: Add YouTube API Key

  1. Go to the Google Cloud Console
  2. Create a new project or select an existing one
  3. Navigate to "APIs & Services" > "Library"
  4. Search for "YouTube Data API v3" and enable it
  5. Go to "APIs & Services" > "Credentials"
  6. Create an API key
  7. In BuildShip, go to Integrations > YouTube
  8. Add your YouTube API key and save

Show Image

Step 2: Configure the Node

  1. Add the YouTube Metadata Retrieval node to your workflow
  2. Set the following parameters:
    • Resource Type: Choose "video" or "playlist"
    • YouTube URL: Paste your YouTube video or playlist URL (works with both youtube.com and youtu.be formats)
    • Parts (optional): Leave empty for default data or specify fields like "snippet,statistics"
    • Max Results (for playlists): Set how many playlist items to retrieve (default: 50)

Show Image

Step 3: Test the Node

  1. For a video, use a URL like: https://youtu.be/dQw4w9WgXcQ or https://www.youtube.com/watch?v=dQw4w9WgXcQ
  2. For a playlist, use: https://www.youtube.com/playlist?list=PLH-huzMEgGWBUU5PvRbOXciBYZcI8do9g
  3. Click "Test" to see the metadata results
  4. The output will include detailed information about the video or playlist

Step 4: Integrate with Your Workflow

  • Connect this node's output to other nodes in your workflow
  • Process video statistics, extract information, or trigger actions based on the metadata
  • Use the rich data structure to customize how you handle YouTube content

🔗 Resources

Troubleshooting Tips

  • "YouTube API key is required": Check that you've added and selected your API key in BuildShip
  • "Invalid YouTube URL": Make sure you're using a properly formatted YouTube URL
  • API quota errors: YouTube Data API has daily limits, typically 10,000 units per day for free tier

Happy building with YouTube data! 🎬