Smart Profiling icon

Smart Profiling

Extract transcripts, generate AI summaries, and chat with YouTube videos

Actions12

Channel → Get Stats

AI-generated

Summary

Fetch comprehensive channel statistics including subscribers, views, and videos from the YouTube API.

Inputs

  • channelId (required) — YouTube channel ID or handle (starting with @).
  • statsOptions.refresh — Whether to bypass cache and fetch fresh data from YouTube.
  • statsOptions.insights — Whether to include AI-powered growth insights and recommendations.
  • retryOptions.maxRetries — Maximum number of retry attempts on failure (0 to disable). Range: 0–10, default 3.
  • retryOptions.initialDelay — Initial delay before first retry in milliseconds. Range: 100–30000, default 1000.

Output shape

Channel statistics object returned by the YouTube API, typically including subscriber count, view count, and video count.

Query parameters are appended to the GET request: refresh=true and/or insights=true based on statsOptions. Retry logic applies per the node's global retry configuration.

Examples

Example 1: Retrieve stats for a specific channel with forced refresh and insights.

channelId=UCX6OQ3DkcsbYNE6H8uQQuVA, statsOptions={refresh:true, insights:true}

Links

Discussion