Actions40
- Account Actions
- Channel Actions
- Instagram Actions
- Job Actions
- Keyword Actions
- Studio & AI Actions
- Trend Actions
- Video Actions
Channel → Analytics
AI-generatedSummary
Fetch channel analytics for a specified date range and metrics
Inputs
- channelId (required) — Channel identifier (name or ID) for which to fetch analytics
- startDate — Start date of the analytics period in YYYY-MM-DD format (defaults to 28 days ago)
- endDate — End date of the analytics period in YYYY-MM-DD format (defaults to today)
- metrics — List of metrics to retrieve; defaults to views, watch time, subscribers gained, likes, and comments when empty
- options — Additional options such as timeout for the request
Output shape
a list of channel analytics records
Each record contains the requested metrics; errors are wrapped in an error envelope
Examples
Example 1: Fetch analytics for a channel over a custom date range
channelId = MyChannel, startDate = 2026-04-01, endDate = 2026-04-30, metrics = [averageViewDuration,likes], options.timeout = 30000