Skip to main content
YouTube Public Data logo

YouTube Public Data

Reads public YouTube data through the YouTube Data API v3 on FlyMyAI's own API key - no OAuth, works on every account. Uploading, own-channel analytics and captions of your own videos stay on the OAuth connectors (YouTube and YouTube Data).

What it can do

MethodWhat it does
youtube_searchKeyword search with a date window, country, language, duration (short = Shorts), category, channel, definition, captions, live state, licence and geo filters; sort by relevance, date, viewCount or rating. View/like/comment counts, duration and topics are included by default.
youtube_search_channelsFind creators by topic, niche or name; subscriber/video/view counts, country, handle and uploads playlist id.
youtube_trendingThe mostPopular chart for a country, optionally narrowed to a category - the cheapest first step of a trend scan.
youtube_statsStatistics and details for a batch of up to 50 videos by id or link.
youtube_get_channelsChannels by id, @handle or link: counts, country, topics, uploads playlist id.
youtube_channel_latestA channel's latest videos, newest first, with statistics.
youtube_playlist_itemsItems of any public playlist by id or a link with list=.
youtube_commentsPublic comment threads of a video, by relevance or time, with optional replies and a search-terms filter.
youtube_comment_repliesAll replies to one top-level comment.
youtube_categoriesCategory ids and names for a country.

Quota: search.list has its own bucket of 100 calls per day for the whole platform; every other call costs 1 unit from the 10,000-units-per-day bucket. Every response reports quota_units_used and search_calls_used. To watch and understand a video, pass its link to analyze_video in Media AI Models.

How to get credentials

None - the YouTube Data API key lives on FlyMyAI infrastructure. Just enable the tool.

Fields to fill in FlyMyAI

None.

Troubleshooting

  • quotaExceeded - the daily bucket is used up; it resets at midnight Pacific time. Prefer youtube_trending, youtube_channel_latest and youtube_stats over repeated searches, and batch keywords with |.
  • commentsDisabled - the uploader turned comments off for that video.
  • Channel not found - pass the UC... id, the @handle, or a youtube.com/@handle / youtube.com/channel/UC... link; legacy /c/name URLs are not resolvable.
We love our partners - FlyMy.AI builds with the best. Thanks, YouTube Public Data!