Develofly Autopilot
Templates › Social & Content › YouTube channel stats tracker

YouTube channel stats tracker

Log views and subscribers for your and rivals' channels.

Social & ContentDaily

Download the app, freeOpen in Autopilot

YouTube channel stats tracker: what it does, step by step, with its sample data

What it does

Logs subscribers, total views and video count for your channel and your rivals' (one per row: @handle or channel ID), with the change since the last run. Uses the official YouTube Data API with your free Google API key. Schedule it daily and send the results to a Google Sheet to chart growth. YouTube rounds public subscriber counts.

How it works

  1. Decides what to do next
  2. Picks out the values
  3. Calls the service's API
All 19 steps (as they appear in the app)
  1. If channel matches ^UC[\w-]{20,}$
  2. _q = id={{channel:url}}
  3. Find /(@[\w.\-]+)/ → _handle
  4. If _handle empty
  5. _handle = @{{channel}}
  6. _q = forHandle={{_handle:url}}
  7. GET {{yt_url}}?part=snippet,statistics&{{_q}}&key={{api_key}}
  8. Read values: channel_name, channel_id, subscribers, views, videos
  9. If channel_id empty
  10. Stop row: channel not found: {{channel}}
  11. Remember yt {{channel_id}} for next run
  12. new_subscribers =
  13. new_views =
  14. If _prev not empty
  15. Find /^(\d*)\|/ → _prev_subs
  16. Find /\|(\d*)$/ → _prev_views
  17. new_subscribers = {{subscribers|0}} - {{_prev_subs|0}}
  18. new_views = {{views|0}} - {{_prev_views|0}}
  19. checked_at = {{now}}

Sample data included

The template comes with sample rows like these, so you can see it work before using your own list.

channellabel
@YouTubebenchmark
@GoogleDevelopersrival

Get this template

1. Download Develofly Autopilot: free, for Ubuntu and other Linux desktops.

Download Develofly Autopilot

2. The app comes with every template, so this one is already in your library. Click below to open it (or find it under Templates).

Open in Autopilot

What you need

  • A spreadsheet (CSV or Excel) — a sample is included
  • An API key for the service it uses

You fill in: YouTube Data API key, YouTube API address (advanced).

Make it yours

Every step is editable in the app: change the site, the columns, the schedule, or chain it with other bots. Run it once, on a schedule, or sell it as your own bot.

More Social & Content templates

Image bulk downloaderDownload images from a list of URLs into a folder.Content calendar posterPublish queued posts across platforms on schedule.Hashtag / trend collectorPull top posts for a hashtag into a sheet.Social mention monitorWatch for new brand mentions across sites and log them.