← Back to CLIs
Melvynx

youtube-data-cli

YouTube Data API via youtube-data-cli: search channels/videos, fetch comments/playlists, inspect video metadata, and call raw YouTube Data API v3 endpoints. Use when the user mentions YouTube Data API, channel stats, video search, comments, playlists, or competitor YouTube research.

Install

$ npx api2cli install Melvynx/youtube-data-cli

Details

Skill type: Wrapper CLI
Auth type: bearer
Version: 0.1.0
Author: Melvynx
Views: 1

README

youtube-data-cli

CLI for YouTube Data API v3 - channels, videos, comments, playlists, and raw endpoint access. Made with api2cli.dev.

Install

npx api2cli install youtube-data-cli

or directly from GitHub:

npx api2cli install Melvynx/youtube-data-cli

Authentication

youtube-data-cli auth set "your-token"
youtube-data-cli auth test --json

Token file: ~/.config/tokens/youtube-data-cli.txt.

Usage

youtube-data-cli --help
youtube-data-cli <resource> --help
youtube-data-cli <resource> <action> --help

Always use --json in agent/script workflows.

Resources

Run:

youtube-data-cli --help

to see the currently supported resources and commands.

Development

bun install
npx api2cli bundle youtube-data
npx api2cli link youtube-data
youtube-data-cli --help
Sponsors