YouTube Channel Statistics Scraper avatar

YouTube Channel Statistics Scraper

Pricing

from $4.99 / 1,000 results

Go to Apify Store
YouTube Channel Statistics Scraper

YouTube Channel Statistics Scraper

Extract comprehensive YouTube channel statistics including subscriber count, total views, video count, joined date, country, and more. Perfect for content creators, marketers, and researchers.

Pricing

from $4.99 / 1,000 results

Rating

0.0

(0)

Developer

Coding Frontned

Coding Frontned

Maintained by Community

Actor stats

0

Bookmarked

3

Total users

0

Monthly active users

6 days ago

Last modified

Share

Collect public YouTube channel metadata and statistics without a YouTube API key, login, or browser. The Actor downloads each public channel About page with an honest collector user agent and parses the ytInitialData already embedded in that HTML.

What it collects

  • Canonical UC channel ID, public name, @handle, and URL
  • Displayed subscriber, video, and view counts, with exact values only when YouTube publishes exact digits and approximations for abbreviated labels
  • Public description, joined date, country, verification flag, avatar, banner, keywords, and external links
  • Original input, final source URL, HTTP/attempt details, result position, and explicit transport/truth fields

Optional fields are omitted when YouTube does not publish them. The Actor never turns 1.2M into an “exact” count and never fabricates a missing statistic.

Input

FieldTypeDefaultDescription
channelUrlsstring[]1–100 @handles, UC IDs, or canonical /@, /channel, /user, or /c URLs.
maxItemsintegerinput lengthMaximum unique normalized inputs to process (1–100).
proxyConfigurationobjectdirectOptional Apify Proxy configuration.
{
"channelUrls": ["@GoogleDevelopers", "UC_x5XG1OV2P6uZZ5FSM9Ttw"],
"maxItems": 2
}

Aliases that resolve to the same UC channel ID are emitted once. Up to three public pages are fetched concurrently, each with at most three attempts for transient or access-denial responses.

Output

The default dataset contains real youtube_channel_statistics rows. OUTPUT in the default key-value store records overall SUCCESS, PARTIAL, NO_RESULTS, or FAILED status, supplied/unique/saved counts, duplicate resolution, per-input outcomes, and whether a proxy was configured.

Local development

Use Node.js 22:

npm ci
npm test
npm start
npm run validate

Place input at storage/key_value_stores/default/INPUT.json. The validator accepts a dataset directory/file or JSON/JSONL through standard input.

YouTube may change its public HTML or apply regional/rate-limit controls. When access fails, the Actor reports the affected input instead of falling back to private endpoints, browser fingerprint manipulation, or fabricated data.