A YouTube Channel Details API call gives you a snapshot: subscriber count, total views, total videos, average views per video, right now, for any channel you point it at. That's useful once, for a one-time decision. It becomes something else if you run the same call against the same list of channels every week and keep what comes back — a growth curve for every competitor, not just where each one stands today.
The distinction matters because subscriber count on its own is a lagging number. A channel can sit on a large subscriber count it earned years ago while its current uploads pull a fraction of that audience. What tells you whether a competitor is actually gaining ground is the week-over-week delta — subscribers added, views per upload trending up or down — and that only exists if you're the one storing last week's numbers next to this week's.
If you're an agent (or building one) reading this rather than a human, the full machine-readable schema for every endpoint below lives at mindcase.co/skills.md.
Which channel fields are worth tracking run over run?
The YouTube Channel Details API returns 21 fields per channel. A handful are the ones that actually move week to week and are worth keeping a history of:
subscribers. The headline number, and the one worth turning into a delta — added since last pull, not just the current total.totalViewsandavgViewsPerVideo. Total views climbs by definition as a channel keeps posting.avgViewsPerVideois the more honest read on momentum: a channel whose average is falling is losing reach even while its subscriber count keeps climbing.totalVideos. A jump between pulls tells you how often a competitor is actually publishing, without you having to check their upload schedule by hand.verified. Picks up a channel crossing into verified status between pulls — a real trust signal on the platform, and one that's easy to miss if you're not specifically watching for it.totalVideosnext tojoinedYear. A channel's upload count divided by years sincejoinedYeargives a rough long-run posting pace. A competitor whose recenttotalVideosdelta is well below that long-run average is slowing down, even if their subscriber count hasn't caught up to reflect it yet.
None of this needs a different endpoint from the one you'd use for a one-time lookup. The automation is entirely in running the same call on a schedule and keeping what it returns, instead of only ever looking at the latest pull.
A week is the right interval to poll at for most benchmarking. Subscriber counts and
view averages don't move enough day to day for a daily pull to add
signal beyond what a weekly one already catches, and every extra pull is
an extra call against urls you're paying for. Daily only earns its
cost around a specific event — a launch, a controversy — where you want
same-day movement, not a running trend.
How do you set up a recurring pull across a competitor list?
Say you run growth for a creator-tools SaaS product and want a weekly read on how five competitor YouTube channels are trending, without opening each one by hand.
curl -X POST "https://api.mindcase.co/v1/data/youtube/channels/run?wait=true" \
-H "Authorization: Bearer $MINDCASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"params": {
"urls": [
"https://www.youtube.com/@Descript",
"https://www.youtube.com/@Riverside",
"https://www.youtube.com/@Capcut",
"https://www.youtube.com/@Kapwing",
"https://www.youtube.com/@Veed"
]
}
}'
# $0.0005 per channelurls takes an array, so the whole competitor list comes back in one
call. Five channels at $0.0005 each is $0.0025 a week — the cost of this
kind of tracking isn't the API calls, it's remembering to run them.
How do you turn five pulls into a trend?
The endpoint itself has no memory — every call returns the current state,
nothing more. The history is something you build by attaching a timestamp
to each week's response and storing it, then comparing this week's row for
a given channelId against last week's:
this_week = fetch_channels(competitor_urls) # the call above
last_week = load_snapshot(week_offset=-1) # your own storage
for channel in this_week:
prev = last_week.get(channel["channelId"])
if prev:
delta_subs = channel["subscribers"] - prev["subscribers"]
delta_avg_views = channel["avgViewsPerVideo"] - prev["avgViewsPerVideo"]
print(channel["channelName"], delta_subs, delta_avg_views)
save_snapshot(this_week)
channelId is the stable key to join on — channelName and handle can
both change, but channelId doesn't. Running this weekly turns a list of
five snapshots into five growth curves, which is the actual benchmarking
question a single pull can't answer.
The shape worth storing per snapshot is small — channelId,
subscribers, totalViews, totalVideos, avgViewsPerVideo, and the
pull's own timestamp. Five channels a week is five rows; a year of
tracking is 260 rows total, light enough to keep in a spreadsheet or a
single database table rather than needing dedicated infrastructure.
What can't you get from Mindcase?
Two cases.
There's no built-in scheduler. The API returns whatever you ask for the moment you ask for it — running it weekly, storing the results, and computing the deltas is logic you own, whether that's a cron job, a GitHub Action, or a step in an existing pipeline.
There's no history before you start tracking. Each pull is the current state of a channel, not a time series — there's no way to ask for what a channel's subscriber count was six months ago if you didn't capture it six months ago. The earliest data point in any trend line is the first week you ran the pull, not the channel's founding date.
Which endpoint should you use for which job?
| Endpoint | Input | Price | Best for |
|---|---|---|---|
| YouTube Channel Details | Channel URLs, @handles, or a search query | $0.0005 / channel | Recurring stat pulls across a fixed list of competitor channels |
FAQ
The urls parameter takes an array, so a full competitor list goes out in a single request rather than one call per channel.
No. Each call returns the channel's current stats only. Keeping a week-over-week history means storing each pull's response yourself and joining on channelId.
$0.0005 per channel returned. A weekly pull across 5 channels costs $0.0025 a week.
Yes. The query parameter accepts a keyword or phrase and returns matching channel profiles, though for consistent week-over-week tracking a fixed list of URLs is more reliable than a search that can return different channels each time.
channelId. It stays stable even if a channel changes its display name or handle, unlike channelName or handle.
Weekly is enough signal for most benchmarking use cases. Daily pulls are worth the extra cost only around a specific event, like a launch, where same-day movement matters more than a running trend.