| name | youtube-competitor-analyzer |
| description | Find and analyze YouTube competitor channels using YouTube Data API v3. Discover competitors through keyword search, category matching, content similarity, and related channel discovery. Compare metrics, content strategies, and market positioning. Use when users want to (1) Find competitors for their YouTube channel, (2) Analyze competitor performance metrics, (3) Compare their channel against competitors, (4) Identify content gaps and opportunities, (5) Benchmark against similar creators, (6) Generate competitive analysis reports. Requires user's YouTube Data API v3 key. |
YouTube Competitor Analyzer
Find and analyze competitor channels using YouTube Data API v3.
Setup
- API Key: Get from Google Cloud Console - enable YouTube Data API v3
- Input: User's channel (for context) OR list of competitor channels to analyze directly
API Endpoints
BASE_URL = https://www.googleapis.com/youtube/v3
# Search channels
GET /search?part=snippet&q={query}&type=channel&maxResults={n}&key={API_KEY}
# Channel details
GET /channels?part=snippet,statistics,contentDetails,brandingSettings&id={ids}&key={API_KEY}
# Channel videos
GET /search?part=snippet&channelId={id}&order=date&type=video&maxResults=50&key={API_KEY}
# Video details
GET /videos?part=snippet,statistics,contentDetails&id={ids}&key={API_KEY}
Competitor Discovery Methods
1. Keyword Search
Extract keywords from user's channel (description, title, brandingSettings.keywords), search for channels:
GET /search?q={keyword}&type=channel&maxResults=10
2. Content Similarity
Get user's recent video titles, extract frequent words (>4 chars), search channels with those terms.
3. Category Search
Search within same YouTube category as user's channel.
4. Related Discovery
Search using user's video titles/descriptions to find channels creating similar content.