YouTube API for Openclaw

A specialized integration for AI agents to retrieve YouTube video metadata and channel histories through the JustOneAPI platform.

justoneapi
v1.0.4
Apr 23, 2026
0
853
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install justoneapi-youtube

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 justoneapi-youtube 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?

This skill provides a robust bridge between AI agents and YouTube's data layers via JustOneAPI. By integrating this into your set of Openclaw Skills, developers can enable their agents to fetch high-fidelity data such as video engagement statistics, descriptions, and channel-wide upload history. It is specifically designed to replace freeform summaries with exact, API-backed technical truths, making it an essential tool for developers building content analysis or marketing automation agents.

YouTube API Use Cases

  • Tracking real-time video engagement metrics like view counts and titles for competitive research.
  • Auditing YouTube channel upload histories to analyze content frequency and performance trends.
  • Automating the extraction of video metadata for use in digital asset management or SEO workflows.
  • Verifying video availability and status using specific identifiers like videoId.

How YouTube API Works

  1. The AI agent identifies the specific YouTube resource required based on user input (e.g., a specific video or a channel).
  2. It consults the internal operation list to choose the most efficient endpoint, such as getYoutubeVideoDetailV1.
  3. If required parameters like channelId or cursor are missing, the agent prompts the user for clarification.
  4. The skill executes a Node.js CLI command to interact with the JustOneAPI backend using an authenticated token.
  5. The agent parses the raw JSON response and presents a concise, plain-language summary of the requested YouTube data.

YouTube API Setup

To deploy this among your Openclaw Skills, you must have Node.js installed and a valid API token.

  1. Secure your token from the Just One API Dashboard.
  2. Configure your environment variable:
export JUST_ONE_API_TOKEN='your_api_token_here'
  1. Execute the skill using the following command structure:
node {baseDir}/bin/run.mjs --operation "getYoutubeVideoDetailV1" --token "$JUST_ONE_API_TOKEN" --params-json '{"videoId":"VIDEO_ID"}'

YouTube API Data Schema & Taxonomy

The skill organizes YouTube data into structured formats based on the requested operation. Below is the mapping of common data points:

Operation Primary Fields Use Case
getYoutubeVideoDetailV1 title, description, viewCount, status Comprehensive metadata and engagement stats for single videos.
getChannelVideosV1 channelId, videoList, cursor Sequential retrieval of video uploads from a specific channel creator.
Input Schema videoId, channelId, cursor Parameter-driven filtering for precise resource targeting.

YouTube API Advanced Features

  • Pagination support using cursor parameters to navigate through large channel video archives.
  • Parameter-driven request logic that avoids unnecessary data overhead by selecting the smallest matching operation.
  • Seamless integration with other Openclaw Skills for multi-step data processing and reporting.
  • Strict error handling that returns backend payloads and operation IDs for easier debugging.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Requires
Bins node
Github Stars: 0
forks: 0

Featured*