YouTube API Integration for Openclaw

A comprehensive integration for the YouTube Data API v3 with managed OAuth authentication and proxying capabilities.

thiagoruss0
v1.0.0
Feb 7, 2026
0
0
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install youtubea

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install youtubea using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is YouTube API Integration?

The YouTube skill provides a powerful interface for interacting with the YouTube Data API v3, allowing developers to search for videos, manage playlists, and access detailed channel statistics. By utilizing Openclaw Skills, developers can bypass the complexities of manual OAuth token management, as the gateway automatically handles authentication and token injection for every request.

This tool is designed for high-performance data retrieval and automation. Whether you are building a custom dashboard, automating content curation, or managing engagement through comments, this skill simplifies the process by proxying requests to the official Google APIs through a secure and managed gateway.

YouTube API Integration Use Cases

  • Automating video search and metadata harvesting for research projects.
  • Programmatically creating and updating playlists to organize content libraries.
  • Managing channel engagement by listing, posting, and replying to video comments.
  • Monitoring channel performance and subscriber statistics for digital marketing analysis.
  • Building automated tools for liking videos or subscribing to channels based on specific triggers.

How YouTube API Integration Works

  1. Authentication is initiated using a Maton API key provided in the request header.
  2. Users establish a connection to their Google account via the control plane to authorize YouTube access.
  3. The skill sends requests to the Maton gateway, which serves as a proxy for the official YouTube Data API v3 endpoints.
  4. The gateway automatically injects the valid OAuth token into the proxied request to Google's servers.
  5. The YouTube API processes the request and returns the data through the gateway back to the user.

YouTube API Integration Setup

Ensure OpenClawCLI is installed before proceeding. You will need a valid API key from maton.ai.

# Set your environment variable
export MATON_API_KEY="YOUR_API_KEY"

# Create a new YouTube connection
curl -X POST "https://ctrl.maton.ai/connections" \
     -H "Authorization: Bearer $MATON_API_KEY" \
     -H "Content-Type: application/json" \
     -d '{"app": "youtube"}'

Follow the URL returned in the connection response to complete the Google OAuth process.

YouTube API Integration Data Schema & Taxonomy

The skill returns standard YouTube Data API v3 JSON objects. Key resources include:

Resource ID Prefix Primary Metadata
Video 11 chars title, description, viewCount, thumbnails
Channel UC... subscriberCount, videoCount, customUrl
Playlist PL... privacyStatus, itemCount, snippet
Comment Various textOriginal, authorDisplayName, likeCount
Subscription Various snippet, channelId, resourceId

YouTube API Integration Advanced Features

  • Support for multiple concurrent YouTube accounts using the Maton-Connection header.
  • Deep integration with search filters including duration, upload date, and result ordering.
  • Automated pagination management using pageToken to traverse large result sets.
  • Secure write operations for managing private playlists and sensitive channel settings.
  • Built-in support for rating videos and checking subscription status programmatically via Openclaw Skills.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*