Social media5 min readBy Purrkey teamUpdated

How to check a YouTube channel's stats and links

Fetch a YouTube channel's subscribers, video count, views, description, and About-page links by handle or channel ID

On this page

You have 25 creator channels to screen before a partnership outreach round, and you need each channel's subscribers, video count, lifetime views, description and About-page links in one table. The table feeds the shortlist for sponsored collaborations, ranked by reach and fit. No run has been executed for this guide, so the rows below are a design

Example input and worksheet design

Example input is the handle @creatorbench. Replace it with a handle from the channel URL or page, or pass the channel ID when you have it. The worksheet below is the deliverable. Values here are placeholders showing the shape

handlechannelIdtitlesubscribersvideosviewsdescriptionurllinksfit_score
@creatorbench (Example)(from data.channelId)(from data.title)(number)(number)(number or null)(text)(canonical URL)(link list)(team score)

One row is one channel. The team fills fit_score after the run; it is not a field in the tool output. A found: false row has no result to rank, so it leaves the shortlist without that channel

What the tool takes

anyapi.youtube.channel takes handle or channelId; one of them is required. handle is the YouTube channel handle. channelId is the UC... ID; get it from the URL or a source that supplies it, and pass it directly when you have it because some sources accept only the ID and otherwise look up the handle first, which adds a step. requireFields is optional; omit it and routing is unchanged, with the cheapest source serving. Name output fields in requireFields only when the request must be able to return a field, for example views or links. A named field can still be absent on a record that genuinely lacks it. Naming a field can raise the price: when the cheapest source cannot return it, a dearer source serves, and you are quoted and charged that source's price. Fields you do not name are still returned when the serving source has them. A requireFields combination that no single source returns together is refused as invalid input, with no charge

How to read the output for a shortlist

The response has found and data. data can be null. When found is false, reason is present and says not_found: the source states the target does not exist or returned nothing. A found: false answer is a successful call, not an error, and the reason description notes costUsd reports the cost of the call

For a row that is found, the fields that drive the shortlist are subscribers, videos, views, description, links, url, title, channelId and handle. views is the lifetime view count across the channel's videos, or null when the serving source does not report it. links holds the About-page links in the order shown; it is empty when the channel lists none and absent when the serving source does not report links. Name links in requireFields to be served only by a source that does. Use url as the canonical channel page with tracking query parameters stripped. Use fit_score as your team's own score for reach and fit; the tool does not return it. A found: false row has no result to rank, so it leaves the shortlist without that channel

The agent prompt

Agent prompt
Set up https://purrkey.app/SKILL.md, then use Purrkey to check YouTube channel stats and About-page links for the 25 channels in my list. Check the current inputs and price of anyapi.youtube.channel before running anything. Use handle or channelId for each row. Call the tool once per channel and return a table with handle, channelId, title, subscribers, videos, views, description, url, links and fit_score. Leave fit_score blank for my team. When found is false, put reason in the table and leave the stats empty. Do not use requireFields unless I name a field. Do not invent stats.

Example input: @creatorbench

Estimated tool cost

Agents call it through POST /v1/runs with toolId anyapi.youtube.channel. The unit is max_call: Maximum per call. Successful runs settle at the actual AnyAPI charge. The catalog lists up to $0.0012 per call, read through the Purrkey catalog on November 12, 2026

StepFormulaUnit pricePlanned quantityTotal
Single channel checkcalls x max priceup to $0.0012 per call1$0.0012
25-channel outreach screencalls x max priceup to $0.0012 per call25$0.0300

The totals are ceilings, not settled charges. The 25-channel screen is 25 calls at most $0.0300. Agent model fees are not counted

Run the first channel check

Open the YouTube channel tool and check one handle before you commit the 25-channel list

Get started by giving this to your agent

  • Claude Code
  • Codex
  • Gemini CLI
  • Cursor
  • GitHub Copilot
Set up https://purrkey.app/SKILL.md, then use Purrkey to show me what I can do with YouTube.
Explore YouTube tools and pricing

FAQ

How do I check a YouTube channel's stats and links?

Pass a handle or channel ID to anyapi.youtube.channel and read the data fields for subscribers, videos, views, description, title and links. A found false row leaves the shortlist without that channel.

What inputs does anyapi.youtube.channel take?

The contract lists handle, channelId and optional requireFields, and one of handle or channelId is required. requireFields names output fields the request must be able to return.

What happens when found is false?

reason is present only when found is false and says the channel was not found. A found false answer is a successful call, not an error, and the reason description notes costUsd reports the cost of the call.

What does a null views value mean?

views is null when the serving source does not report the lifetime view count. Name views in requireFields when the request must be able to return that field.

How much does it cost to check 25 YouTube channels?

At the listed maximum per-call price of up to $0.0012 per call, 25 calls total at most $0.0300. The totals are ceilings, and successful runs settle at the actual AnyAPI charge.

What happens if a requireFields combination is invalid?

A requireFields combination that no single source returns together is refused as invalid input, with no charge. Name fields only when one must be present.

Can I pass a channel URL instead of a handle?

The contract lists handle or channelId; it does not list a channel URL as an input. Get the handle from the channel URL or page, or pass the channel ID (UC...) when you have it.

Next step

Try this with YouTube

The tool directory lists every endpoint with its current price. Inspect the inputs there, then let your agent run a small batch before scaling up.

See YouTube tools

Share this article