Skip to main content

Scenario

Your competitors organize their YouTube content into playlists that reveal their content strategy — topic clusters, sequencing, and narrative arcs. This job pulls a competitor’s playlists and their items, then sends the full structure to Mave for strategic analysis. Mave identifies what content themes the competitor prioritizes, how they sequence viewer journeys, and where their playlist strategy has gaps your brand could exploit. The result is a reverse-engineered content strategy with actionable recommendations.

Architecture

Code

Example Output

Error Handling

Private playlists are not returned by the API. Unlisted playlists are also hidden. The analysis only covers public content.
Each playlists.list page = 1 unit, each playlistItems.list page = 1 unit. 10 playlists × 1 page = 11 total units. For channels with 50+ playlists, paginate with nextPageToken and batch across runs.
The playlistItems endpoint returns max 50 items per page. Playlists with 100+ videos need pagination. The code fetches the first 20 items per playlist — sufficient for sequencing analysis.

YouTube Integration

Mave Agent