ViewStats Scraper - YouTube Channel Stats & Search avatar

ViewStats Scraper - YouTube Channel Stats & Search

Pricing

from $2.75 / 1,000 results

Go to Apify Store
ViewStats Scraper - YouTube Channel Stats & Search

ViewStats Scraper - YouTube Channel Stats & Search

Scrape ViewStats search results and channel details: YouTube subscribers, views, video count, global/country/category rankings, long-vs-short splits and average views. Search by keyword or pass channel handles/URLs. No login, no API key, no browser. Export JSON, CSV, Excel.

Pricing

from $2.75 / 1,000 results

Rating

0.0

(0)

Developer

Haketa

Haketa

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

10 days ago

Last modified

Features

Limited permissions

Share

ViewStats Scraper — YouTube Channel Stats, Rankings & Analytics

Apify Actor Platform Node Data Format Maintenance Delivery Speed

Scrape ViewStats search results and YouTube creator analytics in automated runs — subscriber counts, lifetime views, video counts, global/country/category rankings, estimated revenues, upload cadences, and long-form vs Shorts splits — by keyword search or direct channel handles. This ViewStats scraper delivers structured, clean data with no login, no API key, and zero browser overhead.

Export effortlessly to JSON, CSV, Excel, XML, HTML, or directly integrate with the Apify REST API.

Built for influencer marketing agencies, talent scouts, creator economy analysts, brand sponsorship teams, media researchers, and data engineers who require reliable YouTube creator intelligence at scale.


⚡ At a glance

FeatureSpecification
Target PlatformViewStats (YouTube analytics platform)
Input MethodsSearch keywords (searchQueries) & Channel handles / URLs (channels)
Output FormatsJSON, CSV, XML, Excel (XLSX), HTML Table, RSS
PerformancePure HTTP engine (~15-40 seconds for typical batches)
Pagination Support1,000+ items across multi-page search & multi-query fan-out
Proxy RequirementApify Proxy (Datacenter default, ultra-low operational cost)
AuthenticationNone required (No ViewStats or YouTube account needed)
Deep MetricsSubscribers, views, 4x rankings, category, vpv90, averages, revenue estimates
DeduplicationAutomatic cross-query deduplication by Channel ID & Handle

🔎 Why scrape ViewStats?

ViewStats is an advanced YouTube analytics platform co-founded by MrBeast. It monitors millions of YouTube creators and calculates comparative ranking signals that native YouTube interfaces hide:

  • Comparative Rankings: Global subscriber rank, global views rank, country rank, and genre/category rank.
  • Engagement Signals: 90-day views-per-video (vpv90) measuring true active audience velocity.
  • Content Strategy Splits: Video counts and view distributions split between YouTube Shorts and long-form uploads.
  • Revenue & Cadence Estimates: Projected low/high USD earnings and upload frequency across daily, weekly, monthly, and yearly windows.

Manual analysis through web browsers is slow, tedious, and impossible to scale for hundreds or thousands of creator profiles. This ViewStats scraper automates end-to-end data extraction, providing clean, normalized fields ready for business intelligence, lead scoring, and sponsorship evaluation.

Key Business Applications

  1. Influencer Discovery & Outreach: Identify top-performing creators within any niche (e.g., tech reviews, fitness, gaming, beauty) and filter by verified subscriber and view tiers.
  2. Sponsorship & Ad Valuation: Evaluate creator velocity (vpv90) and view averages before committing marketing budgets.
  3. Competitive Benchmarking: Track channel growth trends, ranking movements, and upload cadence against direct competitors.
  4. Talent Roster Management: Monitor multi-channel networks (MCNs) or talent rosters automatically via scheduled daily or weekly jobs.
  5. Shorts vs Long-Form Analysis: Audit creator transitions between short-form viral loops and long-form revenue drivers.
  6. Market & Academic Research: Assemble comprehensive historical datasets analyzing YouTube creator trends across global regions.

✨ Features

  • Dual Discovery Modes: Search ViewStats for new channels via keywords or target exact creators via @handle, profile URLs, or channel IDs.
  • Deep 1,000+ Pagination: Automatically walks search pagination pages when discovering channels by search query without arbitrary stopping caps.
  • Multi-Query Concurrency: Process dozens of search queries in a single execution with deduplication across overlapping keywords.
  • Full Channel Intelligence: Extracts subscriber counts, view counts, video totals, verification status, and country origin.
  • Genre & Category Mapping: Translates numeric category codes into human-readable labels (e.g., Gaming, Entertainment, Science & Technology).
  • Comprehensive Rankings: Captures 4 distinct ViewStats ranking tiers for granular creator evaluation.
  • Optional Deep Analytics (includeStats): Toggle detailed breakdown of daily/weekly/monthly averages and long-form vs Shorts splits.
  • Zero Browser Overhead: Pure HTTP pipeline guarantees rapid execution, minimal memory consumption (512 MB), and low cost.
  • Zero Duplicates Guarantee: Rigorous deduplication engine ensures every exported record is unique across all queries.

📥 Input parameters

The actor accepts clean JSON parameters. All inputs are completely optional with sensible defaults.

ParameterTypeDefaultDescription
searchQueriesarray[]Keywords to search for channels (e.g. ["tech reviews", "mrbeast"]).
channelsarray[]Specific channels to fetch: @handle, profile URLs, or UC... IDs.
includeDetailsbooleantrueFetch complete channel details (subscribers, views, rankings) for search results.
includeStatsbooleanfalseFetch deep analytics (averages, estimated USD revenue, Shorts vs long breakdown).
maxResultsPerQueryinteger0Channels to collect per query. 0 = unlimited / all matching pages. Prefill: 20.
proxyConfigurationobject{ "useApifyProxy": true }Datacenter proxy configuration for uninterrupted execution.

Example Input

{
"searchQueries": ["tech reviews", "mrbeast"],
"channels": ["@MrBeast", "https://www.youtube.com/@mkbhd"],
"includeDetails": true,
"includeStats": false,
"maxResultsPerQuery": 20
}

📤 Output data fields

The actor outputs clean, normalized records to the dataset. Below is an emoji-grouped schema breakdown with data coverage indicators:

👤 Identity & Basic Profile

FieldTypeCoverageDescription
channelIdstring🟢 High (100%)YouTube channel ID (e.g. UCX6OQ3DkcsbYNE6H8uQQuVA).
handlestring🟢 High (98%)YouTube channel handle without the @ prefix.
displayNamestring🟢 High (100%)Public display name of the channel.
verifiedboolean🟢 High (100%)Verification checkmark status on YouTube.
countrystring🟡 Conditional (85%)Two-letter ISO country code (e.g., US, GB, IN).
descriptionstring🟡 Conditional (90%)Channel summary text (populated via search discovery).
avatarUrlstring🟢 High (98%)Direct CDN URL to the channel's profile avatar.
bannerUrlstring🟡 Conditional (85%)Direct CDN URL to channel header banner artwork.
viewstatsUrlstring🟢 High (98%)Direct ViewStats profile link.
youtubeUrlstring🟢 High (100%)Direct canonical YouTube channel URL.

📊 Performance & Rankings

FieldTypeCoverageDescription
subscriberCountinteger🟢 High (100%)Total public subscriber count.
viewCountinteger🟢 High (100%)Lifetime aggregate channel views.
videoCountinteger🟢 High (100%)Total public videos published.
categoryinteger🟡 Conditional (85%)YouTube numeric category identifier.
categoryNamestring🟡 Conditional (85%)Readable genre label (e.g., Entertainment, Gaming).
globalSubscribersRankinginteger🟡 Conditional (95%)ViewStats global ranking by subscribers.
globalViewsRankinginteger🟡 Conditional (95%)ViewStats global ranking by total view count.
countrySubscriberRankinginteger🟡 Conditional (85%)Subscriber ranking within the channel's home country.
categorySubscriberRankinginteger🟡 Conditional (85%)Subscriber ranking within the channel's primary category.
vpv90integer🟡 Conditional (90%)Average views per video over the trailing 90 days.

📈 Optional Analytics (includeStats: true)

FieldTypeCoverageDescription
averagesobject🟡 Conditional (When enabled)Daily, weekly, monthly, and yearly view/sub averages & estimated revenue.
averages.dailyobject🟡 Conditional (When enabled)Daily averages: viewsAverage, subsAverage, estimatedRevenueLowUsd.
averages.weeklyobject🟡 Conditional (When enabled)Weekly view, sub, and revenue pacing.
averages.monthlyobject🟡 Conditional (When enabled)Monthly metrics and estimated USD earnings.
averages.yearlyobject🟡 Conditional (When enabled)Annualized growth projections and upload cadence.
longsAndShortsobject🟡 Conditional (When enabled)Split counts and view totals across Shorts vs long videos.

📋 Comprehensive Output Example

Below is a complete JSON output record captured with includeStats: true:

{
"channelId": "UCX6OQ3DkcsbYNE6H8uQQuVA",
"handle": "mrbeast",
"displayName": "MrBeast",
"subscriberCount": 524000000,
"viewCount": 145347938308,
"videoCount": 1011,
"verified": true,
"country": "US",
"category": 24,
"categoryName": "Entertainment",
"globalSubscribersRanking": 1,
"globalViewsRanking": 12,
"countrySubscriberRanking": 1,
"categorySubscriberRanking": 1,
"vpv90": 110584326,
"totalFollowing": 0,
"description": "SUBSCRIBE FOR A COOKIE! Accomplish your wildest dreams.",
"avatarUrl": "https://yt3.ggpht.com/fxGKYucJAVme-Yz4CsipTr5Nu_xOEd0gWqmgGcx6cv9bkubJ19-86tU4nN950N9k=s800-c-k-c0x00ffffff-no-rj",
"bannerUrl": "https://yt3.googleusercontent.com/9bH5rP92891hfkh",
"viewstatsUrl": "https://www.viewstats.com/@mrbeast",
"youtubeUrl": "https://www.youtube.com/@mrbeast",
"averages": {
"daily": {
"viewsAverage": 5361100,
"subsAverage": 33000,
"estimatedRevenueLowUsd": 800,
"estimatedRevenueHighUsd": 1800
},
"weekly": {
"viewsAverage": 37527700,
"subsAverage": 231000,
"estimatedRevenueLowUsd": 5600,
"estimatedRevenueHighUsd": 12400
},
"monthly": {
"viewsAverage": 160834100,
"subsAverage": 1000000,
"estimatedRevenueLowUsd": 24100,
"estimatedRevenueHighUsd": 53100
},
"yearly": {
"viewsAverage": 1948471500,
"subsAverage": 16000000,
"estimatedRevenueLowUsd": 290000,
"estimatedRevenueHighUsd": 640000
},
"uploadFrequency": 9
},
"longsAndShorts": {
"weekly": {
"videos": 2,
"shorts": 0,
"longs": 2,
"views": 22322200,
"longViews": 22224600,
"shortViews": 97600
},
"monthly": {
"videos": 6,
"shorts": 0,
"longs": 6,
"views": 158118700,
"longViews": 157443100,
"shortViews": 675600
},
"ninetyDays": {
"videos": 28,
"shorts": 4,
"longs": 24,
"views": 337277200,
"longViews": 333308400,
"shortViews": 3968800
},
"yearly": {
"videos": 120,
"shorts": 20,
"longs": 100,
"views": 948471500,
"longViews": 930000000,
"shortViews": 18471500
},
"allTime": {
"videos": 1011,
"shorts": 52,
"longs": 959,
"views": 145347938308,
"longViews": 143994295865,
"shortViews": 1353642443
}
},
"searchQuery": "tech reviews",
"scrapedAt": "2026-11-10T12:00:00.000Z"
}

🏷️ Category ID Reference

The scraper automatically decodes ViewStats numeric YouTube category codes into human-readable labels:

Category IDHuman-Readable Genre Label
1Film & Animation
2Autos & Vehicles
10Music
15Pets & Animals
17Sports
19Travel & Events
20Gaming
21Videoblogging
22People & Blogs
23Comedy
24Entertainment
25News & Politics
26Howto & Style
27Education
28Science & Technology
29Nonprofits & Activism

💻 Code examples & integrations

Node.js (Apify Client)

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({
token: process.env.APIFY_TOKEN,
});
const run = await client.actor('haketa/viewstats-scraper').call({
searchQueries: ['ai automation', 'tech reviews'],
includeDetails: true,
includeStats: false,
maxResultsPerQuery: 50,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(`Retrieved ${items.length} YouTube creator analytics records.`);
for (const creator of items.slice(0, 5)) {
console.log(`- ${creator.displayName} (@${creator.handle}): ${creator.subscriberCount} subs, Global Rank: #${creator.globalSubscribersRanking}`);
}

Python (apify-client)

import os
from apify_client import ApifyClient
client = ApifyClient(os.getenv('APIFY_TOKEN'))
run_input = {
"searchQueries": ["podcast", "gaming"],
"channels": ["@MrBeast"],
"includeDetails": True,
"includeStats": False,
"maxResultsPerQuery": 25,
}
run = client.actor("haketa/viewstats-scraper").call(run_input=run_input)
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(f"{item.get('displayName')} | Subs: {item.get('subscriberCount')} | 90d VPV: {item.get('vpv90')}")

cURL (Apify API)

curl "https://api.apify.com/v2/acts/haketa~viewstats-scraper/runs?token=$APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"searchQueries": ["crypto analysis"],
"maxResultsPerQuery": 20,
"includeDetails": true
}'

💼 Industry Workflows & Use Cases

1. Influencer Marketing Agencies

Agencies prospecting sponsorship talent need objective data to filter out inflated follower counts. By running searches across targeted verticals (e.g. vegan cooking, sustainable fashion) and sorting by vpv90 and globalViewsRanking, scouts can pinpoint high-velocity creators whose recent uploads command genuine engagement.

2. MCNs & Talent Management

Talent agencies managing hundreds of creators can automate daily reporting. By supplying the talent roster in channels, managers monitor subscriber ranking movements, upload cadence compliance, and audience retention metrics without manual overhead.

3. Competitor Benchmarking

Brands entering YouTube sponsorship can analyze competitor-sponsored creators. Tracking views per video and historical averages across quarters reveals whether competitor marketing investments align with genuine audience expansion.

4. Automated Zapier & Make Pipelines

Connect Apify's Webhook trigger to a Make or Zapier scenario. Whenever a ViewStats run completes, automatically push creator contact handles, subscriber counts, and country codes directly into Airtable, HubSpot, or a PostgreSQL warehouse.


💡 Practical tips & optimization

  • Scale via Broad Query Lists: ViewStats search returns top-ranked channels per keyword. To discover hundreds or thousands of creators, provide a comprehensive list of sub-niche keywords (e.g. ["tech reviews", "gadgets", "smartphone unboxing", "pc building"]).
  • Speed up Prefill Runs: Keep includeStats: false during broad discovery passes. Fetching deep statistics involves auxiliary calls per creator; enabling it only when needed speeds up runs by 3-5x.
  • Scheduled Benchmarking: Set up weekly Apify scheduled runs targeting your key creator roster. Pipe the dataset to Google Sheets or BigQuery to build historical subscriber growth charts.
  • Handling Niche Creators: Very new or ultra-small channels may display null for ranking metrics if ViewStats has not yet indexed enough data for global rank calculation.

❓ Frequently Asked Questions (FAQ)

Do I need a ViewStats account or paid subscription?

No. This actor extracts publicly accessible creator statistics directly. No ViewStats account, login credentials, or third-party API keys are required.

What handle formats are accepted?

You can supply handles with or without the @ prefix (@MrBeast or MrBeast), direct ViewStats profile URLs (https://www.viewstats.com/@MrBeast), YouTube channel URLs (https://www.youtube.com/@mkbhd), or canonical channel IDs (UCX6OQ3DkcsbYNE6H8uQQuVA).

How does deep pagination work?

Setting maxResultsPerQuery: 0 instructs the scraper to automatically walk all matching pagination pages for each search query until no further results are returned. When a positive number is specified, the actor stops once that threshold is reached.

Can I export directly to Google Sheets or Excel?

Yes. From the Apify Console run overview, you can download datasets in CSV, Excel (XLSX), JSON, or XML formats. You can also connect the Apify API directly to Google Sheets, Airtable, Make, or Zapier.

How are duplicate channels handled?

The scraper enforces a global deduplication set across all search queries and handle lookups. Even if a popular creator matches multiple search terms, they will only appear once in your dataset.

What does vpv90 mean?

vpv90 stands for "Views Per Video (90-day average)". It represents the average view count generated by videos published in the last 90 days, serving as an exceptional indicator of current audience vitality versus stale historical subscribers.


Explore complementary social intelligence scrapers from Haketa:


📋 Changelog

Version 1.2 (2026-11)

  • Unlocked Deep Pagination: Upgraded search crawler to support 1,000+ channel discoveries per keyword with automatic multi-page traversal.
  • Normalized Query Caps: Configured maxResultsPerQuery: 0 as unlimited / auto-pagination mode, with clean prefill defaults.
  • Enhanced Deduplication: Implemented global cross-query channel ID and handle deduplication to guarantee 0 duplicate records.
  • Optimized Performance: Streamlined pure HTTP pipeline with resilient token and cryptographic key negotiation for fast execution (<60s).
  • Documentation Expansion: Added comprehensive visual badges, field coverage indicators, code integration examples, and refined SEO metadata.

Version 1.1

  • Added YouTube category numeric-to-label name mapping.
  • Added support for 90-day views-per-video (vpv90) velocity indicator.
  • Introduced optional deep analytics (averages and longsAndShorts).

Version 1.0

  • Initial release featuring ViewStats channel search and direct handle lookup.
  • Support for subscribers, lifetime views, video counts, and 4x rankings.