youtube_analyse_niche
Analyze a YouTube niche: search videos, fetch metadata, compute engagement metrics, and return aggregate stats like median views, top tags, duration, channel sizes. Excludes Shorts and live streams.
Instructions
High-level niche analysis — the primary entry point for YouTube research. Searches for videos, fetches full metadata, calculates engagement metrics, and returns sorted results with aggregate statistics including median views, engagement rates, top tags, duration distribution, publishing day patterns, and channel size breakdown. Filters out Shorts (<60s) and active live streams automatically.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order | No | Initial search order. Default: viewCount | |
| query | Yes | Niche or keyword(s) to research (e.g. 'generative AI for work and business') | |
| minViews | No | Filter out videos below this view count (applied after fetch) | |
| maxResults | No | Number of videos to analyse (1-50, default 30) | |
| publishedAfter | No | ISO 8601 date filter — only include videos published after this date |