youtube-analytics
Fetch YouTube channel analytics data
Fetch YouTube channel analytics data › Request Body
actionType of analytics to fetch: "channel" for overview, "daily" for day-by-day, "video" for a specific video, "topVideos" for best performers.
start_date^\d{4}-\d{2}-\d{2}$ · requiredStart date in YYYY-MM-DD format.
end_date^\d{4}-\d{2}-\d{2}$ · requiredEnd date in YYYY-MM-DD format.
video_idYouTube video ID. Required when action is "video".
max_resultsMax videos to return for "topVideos" action. Defaults to 10.
connected_account_id^([0-9a-fA-F]{8}-[0-…Exact YouTube connected-account ID from list_connections. Optional when exactly one active YouTube account is bound to the resolved project — auto-resolved. Required (with a clear list of candidates) when the project has multiple YouTube accounts.
project_id^([0-9a-fA-F]{8}-[0-…Exact brand/project ID. Defaults only when the authenticated user has one project.
response_formatOptional response format. Defaults to text.
Fetch YouTube channel analytics data › Responses
Tool executed. isError:true in the body indicates a tool-level error.
isError