All Analytics endpoints require a valid Bearer token.
Endpoints covered on this page
| Method | Path | Description |
|---|---|---|
GET | /api/analytics/overview | Summary stats, follower counts, and platform performance |
GET | /api/analytics/growth | Follower growth over time |
GET | /api/analytics/posts/top | Top-performing posts ranked by engagement |
GET | /api/analytics/heatmap | Engagement heatmap by day and hour |
Common query parameters
All four endpoints accept the following parameter:Time window for aggregation. Accepted values:
7d (last 7 days) or 30d (last 30 days, default).GET /api/analytics/overview
Returns aggregated stats, latest follower counts, and per-platform performance for the selected period.Response
GET /api/analytics/growth
Returns follower growth data points over the selected period, optionally filtered to a single platform.Additional query parameters
Filter results to a single platform. Accepted values:
bluesky, threads, instagram, facebook, mastodon, tumblr. Omit to return data for all connected platforms.Response
Array of growth data points, each representing a point in time with follower counts.
GET /api/analytics/posts/top
Returns the top-performing posts for the selected period ranked by engagement.Additional query parameters
Maximum number of posts to return.
Metric to rank posts by. Default is
totalEngagement.Filter to posts published on a specific platform.
Response
Array of top post objects with engagement metrics.
GET /api/analytics/heatmap
Returns a heatmap of engagement activity, grouped by day of week and hour of day over the selected period.Response
Array of heatmap data points representing engagement intensity across time slots.
Examples
Example response — overview
200
