YouTube Search Tool - Public Video Discovery

Search public YouTube videos through Vernclaw and AIAPI Center, returning normalized video rows with titles, URLs, channels, duration, metrics, and source limitations.

What is YouTube Search Tool?

YouTube Search helps agents find public videos for launch research, creator monitoring, tutorial discovery, and market scans. The connector routes through AIAPI Center and the official YouTube Data API, then normalizes each video row for downstream automation.

Parameters

  • query (required): search query
  • limit (optional): number of videos to return, up to 50
  • order (optional): date, rating, relevance, title, or viewCount
  • region_code (optional): two-letter region code such as US
  • relevance_language (optional): language hint such as en
  • published_after / published_before (optional): ISO 8601 timestamps with timezone

Example

vernclaw-cli invoke search.youtube --query "AI agent workflows" --limit 5 --order date --region-code US

Output

The CLI returns compact JSON by default:

{"status":200,"data":{}}

The data payload includes a normalized summary plus items rows with:

  • video ID and canonical YouTube URL
  • title, description, channel, and publish time
  • ISO 8601 duration
  • public metrics when available
  • source: "youtube" and source_mode: "official_api"
  • limitations, including transcript absence

Use --pretty only for human-readable inspection. For automation, parse the JSON envelope and numeric status.

Limits

Only public videos returned by the official YouTube Data API are available. Transcript text, comments, and private/unlisted access are not included in this version.