Springuptech
← Back to Insights

Building "YouTube Trend Explorer" — What We Considered When Finding Breakout Videos by Views per Subscriber

How we built a free tool that collects popular YouTube videos by keyword and analyzes the breakout ratio, title patterns and upload times — which metrics we chose and why, how we saved YouTube API quota, and how we handled search engines and policies.

Jaeyong RohPublished 5 min read

The question new YouTube creators ask most is, "What's working right now?" But when you look at popular videos for an answer, most of them come from huge channels with hundreds of thousands or millions of subscribers. Big channels get high views anyway, so it is hard to learn why a particular video did well.

So we changed the angle. If you look for videos with few subscribers but huge views, you find videos that took off because of their topic, title and thumbnail — not the size of the channel. That idea became YouTube Trend Explorer (in Korean: 유튜브 떡상 탐색기).

This article walks through what we considered while building it. We hope it helps anyone planning a data-driven tool or a service built on an external API.

What does it do?

Enter a keyword and a minimum view count, and the tool gathers related popular videos and analyzes them with several metrics.

Feature What it does
Breakout ratio Views ÷ subscribers — surfaces videos that exploded on small channels
Daily views and engagement Compares old and new videos fairly, alongside likes and comments
Title pattern analysis Compares words and the use of numbers, question marks, brackets and emoji between hits and misses
Thumbnails and tags Collects thumbnails of popular videos and ranks tags by frequency
Upload time analysis Shows when popular videos were published as a heatmap in Korean time
Daily trending analysis Re-ranks Korea's trending videos by breakout ratio every day
Favorites, compare, export Track channels, compare up to four videos, share via KakaoTalk, export CSV

1. Metric design: not "most viewed" but "unexpectedly popular"

Breakout ratio = views ÷ subscribers

This is the core metric. If a video on a 10,000-subscriber channel reaches one million views, its breakout ratio is 100x. Far more people watched it than subscribe to the channel, which strongly suggests YouTube's algorithm recommended it.

On one day's trending analysis, a video had more than 1,000 times as many views as its channel had subscribers. Videos like that have a lot to teach about topics, titles and thumbnails.

Decide on the exceptions first

Simple metrics are best, but you can only trust the results if you decide how to handle exceptions up front.

  • Channels that hide their subscriber count: there is nothing to divide by, so no ratio is calculated and they go to the end of the list.
  • Auto-generated music channels: their subscriber counts have little to do with actual popularity and would distort the ratio, so they are handled separately.
  • Rounded subscriber counts: YouTube publishes rounded subscriber numbers, so we state in the service that the ratio is a comparative indicator, not an exact value.

Comparing old and new videos fairly

Comparing raw views between a three-year-old video and a three-day-old video always favors the older one. So we also show average daily views (views ÷ days since publishing).

2. Data: official API only, and saving quota

All data comes from public information via the YouTube Data API v3. We ruled out scraping from the start: it risks violating the terms of service and can break at any time.

The official API has a daily quota. The default is 10,000 units per day, and a single keyword search costs 100 units, while fetching video or channel details costs just 1 unit. Sending every search straight to the API would mean the service stops after a little over 100 searches a day.

So we designed it this way:

  • The same search shows stored results for up to six hours. The more popular the keyword, the bigger the saving.
  • Searches use up to the top 50 videos, and the detailed data needed is requested in batches.
  • The trending analysis refreshes once a day. There is no need for every visitor to reload hundreds of videos each time.

Any service built on an external API should calculate from day one what happens to cost and limits as users grow. Fixing it later often means changing the whole architecture.

3. Search engines: decide which pages to show and which to hide

Search result pages are generated endlessly — one for every keyword a user types. If all of them were exposed to search engines, the flood of near-identical pages could drag down how the whole site is judged.

  • Free-form search results, comparison and favorites pages are blocked from crawling with robots.txt.
  • Instead, frequently searched keywords get their own keyword pages, which are listed in the sitemap.
  • The daily trending page generates a fresh summary every day (biggest breakout, average views, Shorts share, category distribution), making it a page worth indexing.

Exposing only valuable pages, rather than every page, pays off in the long run.

4. Usability: making results actionable

If an analysis ends on the screen, it is quickly forgotten. These features connect results to real work:

  • KakaoTalk and link sharing: send results straight to teammates or clients
  • CSV export: dig further in Excel
  • Favorite channels dashboard: track whether competitors' or reference channels' latest videos did better than usual
  • Video comparison: put up to four videos side by side

5. Operations: infrastructure, policies and trust

  • Infrastructure: built with Next.js and run on Cloudflare. Cloudflare allows commercial use even on its free plan, which makes it a good fit for starting an ad-supported service without a large fixed cost.
  • Terms and notices: every page states that the service uses YouTube API Services, includes trademark notices, and makes clear that it is not affiliated with YouTube or Google. A privacy policy and terms of service are in place.
  • Transparent revenue model: the about page explains that the service runs on ads and affiliate links, and ads are clearly separated from content.

How to get the most out of it

  1. Search a keyword in your niche, sort by breakout ratio and look first at hits from small channels.
  2. Check the title patterns to see how numbers, question marks and brackets differ between hits and misses.
  3. Use the upload time heatmap to see when popular videos in your niche usually go up.
  4. Check the daily trending analysis to read which categories and formats (Shorts vs. regular) are strong.

Remember that the metrics are a reference. Rather than copying a high-ratio video, the best use is to ask why people clicked on it.

Closing thoughts

What mattered most in this project was not flashy features but deciding what to measure and how to make it trustworthy. Metric definitions and exceptions, external API limits and choosing which pages search engines should see are the decisions that determine a service's quality.

If you need a service that collects, analyzes and presents data, or a tool built on an external API, contact Springuptech. We will work through it with you from planning to operations.

PortfolioYouTube APIData analysisNext.jsCloudflare
J

Jaeyong Roh

Lead engineer at Springuptech · 22 years in software engineering

Have a project related to this topic?

Even if it is just an idea, we will help you work out what is possible.

Practical tips from real projects

11 min read

When Ports 80/443 Won't Open on an Oracle Cloud Free Server — The Two Firewall Layers: Security Lists and Ubuntu iptables

Why a web server on an Oracle Cloud (OCI) free instance is unreachable from outside, and how to fix it. Covers the two firewall layers — VCN security list / network security group ingress rules and the iptables rules shipped with the Ubuntu image — why the allow rule must come before the REJECT rule, saving with netfilter-persistent, a symptom-based diagnosis order, and putting Tomcat behind Nginx.

Oracle CloudLinuxiptables
Read more
8 min read

Building "MiniPlay", a Mini Games Site — Seven Languages, Leaderboards and Game Uploads with Build-Free Vanilla JavaScript

How we built a site with 20 instant-play browser mini games in five days — why we chose a no-build structure, how each game plugs in as an independent folder, generating pages in seven languages, Firebase sign-in and leaderboard security rules, and an admin page for uploading games.

PortfolioJavaScriptFirebase
Read more
14 min read

Getting Started with C++ Unit Testing Using GoogleTest on Ubuntu — CMake FetchContent Setup, First Tests, GoogleMock, and Testing std::filesystem File Utilities

A step-by-step guide to setting up C++ unit tests with GoogleTest and GoogleMock on Ubuntu. It covers installing with CMake FetchContent (compared with the older build-from-source approach), first tests and fixtures, a mock example, running with ctest, and a complete example that tests C++17 std::filesystem functions for counting files, changing permissions recursively and setting modification times.

C++GoogleTestCMake
Read more