YouTube Channel Videos (Official Data API)
Pricing
$1.00 / 1,000 videos
YouTube Channel Videos (Official Data API)
Pricing
$1.00 / 1,000 videos
Rating
0.0
(0)
Developer
FENG JIE
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
0
Monthly active users
a month ago
Last modified
Categories
Features
Share
Lists a channel's uploaded videos using only the official YouTube Data API v3 with your own API key. No page scraping, no downloaders, no browser.
Input
apiKey(required, secret): Google Cloud API key with YouTube Data API v3 enabled.channels: URLs (/@handle,/channel/UC…,/c/name,/user/name),@handles, or channel IDs.maxVideosPerChannel(50),publishedAfter/publishedBefore,includeVideoDetails(on),skipShorts(heuristic: duration ≤ 60 s; not an official Shorts flag),descriptionMaxLength(0 = full),allowSearchFallback(off).
How it works and quota
Default quota is 10,000 units/day per Google Cloud project. Costs (official): channels.list 1, playlistItems.list 1, videos.list 1, search.list 100.
- Resolve channel with
channels.list(id/forHandle/forUsername) – 1 unit (legacy/c/URLs try handle, then username: up to 2 units). - Page the uploads playlist with
playlistItems.list– 1 unit per 50 videos. - Batch
videos.list– 1 unit per 50 videos. Example: 1 channel × 50 videos with details ≈ 3 units.search.listis only used ifallowSearchFallbackis enabled for unresolved/c/URLs, and costs 100 units each. Quota used is logged and saved in the key-value store recordSUMMARY.
Output
Dataset records:
type: "channel": channelId, channelTitle, customUrl, subscriberCount (null if hidden), videoCount, viewCount.type: "video": videoId, url, title, description, publishedAt, channelId, channelTitle, duration (ISO 8601) and durationSeconds, viewCount, likeCount, commentCount, tags, categoryId, definition, caption, liveBroadcastContent, wasLiveStream, probableShort (heuristic), thumbnail (highest resolution available).type: "error": input, error (e.g.channelNotFound,quotaExceeded,keyInvalid), message. Quota/key errors stop the run gracefully.
YouTube API terms
You use your own key and are bound by the YouTube API Services Terms of Service and Developer Policies (https://developers.google.com/youtube/terms/developer-policies). Notably: do not store API data (including statistics such as view/subscriber counts) for more than 30 days without refreshing or deleting it; do not aggregate API data across channels except as permitted; attribute YouTube as the source when displaying data.