YouTube Data API

How to get YouTube video tags via API

TL;DR

Call videos.list with part=snippet and the video ID. Tags are in the snippet.tags array. It costs 1 quota unit. Many videos have tags; some don’t use them at all. Tags are less important for YouTube SEO than they used to be, but they’re useful for understanding how creators categorize their content. BrightBean’s /tags endpoint provides tag analysis with relevance scoring and competitive usage data.

How to get YouTube video tags via API

Tags are stored in the snippet.tags field of a video resource. To retrieve them, make a videos.list request with part=snippet and the video’s ID.

The tags field is an array of strings. A single video might have anywhere from zero to 500 tags (YouTube’s limit). Tags are set by the uploader and represent keywords they want the video associated with.

Note that snippet.tags is only available through the videos.list endpoint. The search.list endpoint does not return tags in its results, so you need a follow-up call to get them.

Some important caveats: not all videos have tags. Many successful creators don’t use them at all. YouTube’s own recommendation system has become sophisticated enough that tags have minimal impact on discoverability compared to title, description, and viewer behavior signals. However, tags still provide useful signal for competitive analysis because they reveal what keywords a creator is targeting.

You can also see a video’s tags on the page itself by viewing the page source and looking for the keywords meta tag, though this approach is fragile and not recommended for production use.

How BrightBean helps

BrightBean’s /tags endpoint analyzes tags across multiple videos in a niche to identify patterns and opportunities.

GET /tags?video_id=dQw4w9WgXcQ&include_niche_analysis=true

{
  "video_tags": ["meal prep", "meal prep for beginners", "easy meal prep", "budget cooking"],
  "tag_analysis": {
    "high_relevance": ["meal prep", "meal prep for beginners"],
    "low_relevance": ["cooking 2026"],
    "missing_opportunities": ["weekly meal prep", "meal prep ideas", "healthy meal prep"],
    "niche_common_tags": ["meal prep", "food", "cooking", "recipe", "easy recipes"]
  }
}

Key takeaways

  • Use videos.list with part=snippet to get tags (1 quota unit)
  • Tags are in the snippet.tags array and not available via search results
  • Not all videos have tags; the YouTube limit is 500 tags per video
  • Tags have declining SEO impact but remain useful for competitive analysis
  • BrightBean adds tag relevance scoring and identifies missing keyword opportunities

Get structured YouTube intelligence

BrightBean delivers content gaps, title scores, thumbnail analysis, and hook classification via API and MCP server.

Get early access →