YouTube Channel Stats & Video Performance
Pricing
$4.00 / 1,000 channel founds
YouTube Channel Stats & Video Performance
Channel statistics via the official YouTube Data API v3: subscriber count, video count, total views, country, creation date, plus view/like/comment performance of recent videos and the engagement rate. Bring your own free API key (BYOK), ~3 quota units per channel.
Pricing
$4.00 / 1,000 channel founds
Rating
0.0
(0)
Developer
Korhan Coşan Ergün
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
7 days ago
Last modified
Categories
Features
Share
Channel statistics and recent-video performance via the official YouTube Data API v3.
Bring your own API key (BYOK)
The youtubeApiKey input is required and is stored as a secret. To get one
for free:
- console.cloud.google.com → new project
- APIs & Services → Library → "YouTube Data API v3" → Enable
- APIs & Services → Credentials → Create credentials → API key
You get a free quota of 10,000 units per day. This actor picks the quota-friendly endpoints:
| Call | Quota | Used for |
|---|---|---|
channels.list | 1 | Channel statistics |
playlistItems.list | 1 | Recent videos from the channel's "uploads" playlist |
videos.list | 1 | Statistics for 50 videos in a single call |
search.list | 100 | Only as a last resort when a handle/ID cannot be resolved at all |
A channel + its last 5 videos ≈ 3 units → the free quota is enough for ~3,000 channels per day.
Input
{"youtubeApiKey": "***","channels": ["https://www.youtube.com/@GoogleDevelopers", "UC_x5XG1OV2P6uZZ5FSM9Ttw"],"includeRecentVideos": true,"recentVideoCount": 5}
Accepted channel formats: UC... ID, @handle, youtube.com/@handle,
youtube.com/channel/UC..., /c/..., /user/...
Output fields
| Field | Description |
|---|---|
channel_id, channel_title, custom_url, handle_url | Identity and links |
subscriber_count, hidden_subscriber_count | Subscriber count (with a flag if the channel hides it) |
video_count, view_count, avg_views_per_video | Total videos/views and the lifetime average |
published_at, country, description, keywords, topic_categories | Channel profile |
uploads_playlist_id, thumbnail_url, privacy_status | Technical fields |
recent_videos[] | {video_id, title, link, published_at, view_count, like_count, comment_count, duration_seconds, thumbnail_url} |
recent_video_count, recent_avg_views | Average views of the recent videos |
recent_engagement_rate | recent_avg_views / subscriber_count * 100 (%) — a channel health indicator |
error | Error for this channel (if any), otherwise null |
Pricing
Pay-per-event: channel-found → $0.004. You are only charged when a channel
is actually found.
Local test
bash ../_common/vendor_common.sh .APIFY_LOCAL=1 YOUTUBE_API_KEY=*** python3 main.py
Without a key (code-path verification only):
$python3 test_fixtures.py
test_fixtures.pystarts a local HTTP server that imitates the API. The response bodies are written to match the field structure in Google's official API reference: structurally correct, but the data is synthetic. It verifies the parsing/normalization/dataset-writing paths, not the live API.sample_output.jsonis also derived from that fixture run (an example structure, not live data).