Get frequency vs engagement
Returns the correlation between posting frequency (posts per week) and engagement rate, broken down by platform. Helps find the optimal posting cadence for each platform. Each row represents a specific (platform, posts_per_week) combination with the average engagement rate observed across all weeks matching that frequency. Requires the Analytics add-on.
API key authentication - use your Zernio API key as a Bearer token
In: header
Query Parameters
Filter by platform (e.g. "instagram", "tiktok"). Omit for all platforms.
Filter by profile ID. Omit for all profiles.
Filter by social account ID. Omit for all accounts.
Filter by post origin. "late" for posts published via Zernio, "external" for posts imported from platforms.
"all""all" | "late" | "external"Response Body
application/json
application/json
application/json
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.analytics.getPostingFrequency();console.log(data);{
"frequency": [
{
"platform": "instagram",
"posts_per_week": 2,
"avg_engagement_rate": 44.4,
"avg_engagement": 512,
"weeks_count": 18
},
{
"platform": "instagram",
"posts_per_week": 4,
"avg_engagement_rate": 5.9,
"avg_engagement": 203,
"weeks_count": 6
},
{
"platform": "facebook",
"posts_per_week": 3,
"avg_engagement_rate": 12.5,
"avg_engagement": 87,
"weeks_count": 10
}
]
}{
"error": "Unauthorized"
}{
"error": "Analytics add-on required",
"requiresAddon": true
}Get content performance decay GET
Returns how engagement accumulates over time after a post is published. Each bucket shows what percentage of the post's total engagement had been reached by that time window. Useful for understanding content lifespan (e.g. "posts reach 78% of total engagement within 24 hours"). Requires the Analytics add-on.
Get follower stats GET
Returns follower count history and growth metrics for connected social accounts. Requires analytics add-on subscription. Follower counts are refreshed once per day.