YouTube's official Data API v3 is technically free and practically a maze. Every call spends from a daily quota of 10,000 units, and since June 2026 search.list has its own bucket of 100 calls a day (quota math in our YouTube Data API alternative guide). If all you want is a channel's subscriber count, lifetime views, and best-performing videos, that machinery is overkill.

This API collapses that to one authenticated GET. Pass a channel — as an @handle, a UC... channel id, or a full YouTube URL — and get back a clean { data, meta } envelope. Three endpoints cover the channel profile, its stored videos, and view and engagement figures across them. No quota units, no OAuth dance, no per-project approval. A request either returns 200 with data or costs you nothing.

The three endpoints

One input, one envelope

Every YouTube endpoint takes the same q input — an @handle, a UC... channel id, or a youtube.com URL — and returns { data, meta }. meta carries the exact cost, your new balance, and a request_id for support. You are only billed on a 200; a 404 or an upstream 502 is free.

EndpointReturnsCost
GET /v1/youtube/profileSubscribers, lifetime views, video count, verified, country$0.0005
GET /v1/youtube/videosStored videos, newest first, with views, likes and publish time (up to 100 a page)$0.0005
GET /v1/youtube/statsView, like and engagement figures + top 5 videos$0.0010

Pull the channel profile

Start with the profile. It returns the durable channel-level numbers: followers (YouTube subscribers), view_count (lifetime channel views across every upload), and posts_count (total videos the channel has published), plus full_name, channel_id, is_verified, and country.

shell
curl "https://api.virev.ai/v1/youtube/profile?q=@MrBeast" \
  -H "Authorization: Bearer $VIREV_API_KEY"
python
import requests

res = requests.get(
    "https://api.virev.ai/v1/youtube/profile",
    params={"q": "@MrBeast"},
    headers={"Authorization": "Bearer kb_live_..."},
)
profile = res.json()["data"]
print(profile["followers"], profile["view_count"])

Run it live — swap MrBeast for any channel to see the sign-up gate

YouTube channel GET
$ curl api.virev.ai/v1/youtube/profile ?q=
live · real API call · $0.0005

What each stored video carries

Stored channels only

These three endpoints read channels we have already crawled, so a channel we never crawled answers 404 and costs nothing. To read a channel as it is now, use the YouTube channel API and the YouTube channel videos API.

MetricAvailable here?
Subscriber countYes — followers on the profile
Lifetime channel viewsYes — view_count on the profile
Per-video view countYes — views on each video
Video title, description, length, category, keywords, thumbnailYes
Video publish dateYes, posted_at on each video
Video like countYes, likes on each video
Video comment countOften null, because a watch page read does not always carry it
Chronological orderingYes, the videos list is newest first

A channel's videos, newest first

The videos endpoint returns the videos we have stored for the channel, newest first, up to 100 a page for a flat $0.0005, controlled by limit (default 30). Each item has youtube_video_id, title, description, views, likes, comments, posted_at, length_seconds, is_short, is_live_content, category, keywords, and thumbnail_url. Videos with no publish time come last, and the stats endpoint gives the top 5 by views. To read what those videos say, the YouTube transcription API guide pulls each video's captions with timestamps for $0.0005 a video.

javascript
const res = await fetch(
  "https://api.virev.ai/v1/youtube/videos?q=UCX6OQ3DkcsbYNE6H8uQQuVA&limit=10",
  { headers: { Authorization: "Bearer kb_live_..." } },
);

const { data, meta } = await res.json();
// newest first; send data.next_cursor back as cursor while data.has_more is true
console.log(data.videos[0].posted_at, data.videos[0].likes, meta.cost);

The limit is a ceiling, not a multiplier: 10 videos and 100 videos cost the same flat $0.0005 a page. Ask for 100, and send next_cursor back as cursor while has_more is true.

View analytics for the whole channel

For a rollup, GET /v1/youtube/stats computes across the tracked corpus: tracked_videos, plus total, average, max, and median views, avg_length_seconds, total_likes, total_comments, avg_engagement_rate (likes plus comments over views, averaged per video), and the top 5 videos by views. It is the fastest way to size a channel typical performance without paging the full video list yourself. One call, $0.0010.

Mind the two counts: tracked_videos is how many uploads we hold for the channel, while posts_count on the profile is the channel own all-time upload total — usually the larger number.

python
import requests

stats = requests.get(
    "https://api.virev.ai/v1/youtube/stats",
    params={"q": "@MrBeast"},
    headers={"Authorization": "Bearer kb_live_..."},
).json()["data"]

print(stats["tracked_videos"], stats["avg_engagement_rate"])

Getting the identifier right

One footgun worth calling out: YouTube handles are case-sensitive. @MrBeast and @mrbeast are not the same string to the resolver, and the wrong casing returns a 404 — which, to be clear, costs you nothing. When you can, store and query the stable UC... channel id instead; it never changes even if a creator rebrands their handle.

  • @handle — case-sensitive; @MrBeast and @mrbeast are different channels to the resolver.
  • UC... channel id — the stable identifier; survives handle and display-name changes.
  • Full URL — paste any youtube.com/@handle or youtube.com/channel/UC... URL directly as q.

Analyze your first channel for a fraction of a cent

Pay $1, get a $5 balance — that is 10,000 profile lookups. No subscription, no quota units.

Get your API key →