get_profile_analytics
Retrieve aggregated social media analytics for specified profiles, including metrics like impressions, engagements, and follower growth within custom date ranges.
Instructions
Get analytics metrics aggregated by social profile.
Args:
profile_ids: Comma-separated Sprout profile IDs.
start_time: Start of period (ISO 8601, e.g. '2024-01-01T00:00:00').
end_time: End of period (ISO 8601, e.g. '2024-01-31T23:59:59').
metrics: Comma-separated metric names. Common options:
impressions, engagements, net_follower_growth, engagement_rate,
video_views, reactions, comments, shares, clicks.
timezone: Timezone for the report (e.g. 'America/Chicago'). Default: UTC.
customer_id: Sprout customer ID. Defaults to SPROUT_CUSTOMER_ID env var.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| profile_ids | Yes | ||
| start_time | Yes | ||
| end_time | Yes | ||
| metrics | No | impressions,engagements,net_follower_growth | |
| timezone | No | UTC | |
| customer_id | No |