Get content performance decay
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.
API key authentication - use your Late 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.
Response Body
application/json
application/json
application/json
curl -X GET "https://getlate.dev/api/v1/analytics/content-decay"{
"buckets": [
{
"bucket_order": 0,
"bucket_label": "0-6h",
"avg_pct_of_final": 45.2,
"post_count": 89
},
{
"bucket_order": 1,
"bucket_label": "6-12h",
"avg_pct_of_final": 18.7,
"post_count": 89
},
{
"bucket_order": 2,
"bucket_label": "12-24h",
"avg_pct_of_final": 14.1,
"post_count": 85
},
{
"bucket_order": 3,
"bucket_label": "1-2d",
"avg_pct_of_final": 9.3,
"post_count": 82
},
{
"bucket_order": 4,
"bucket_label": "2-7d",
"avg_pct_of_final": 8.1,
"post_count": 78
},
{
"bucket_order": 5,
"bucket_label": "7-30d",
"avg_pct_of_final": 3.8,
"post_count": 64
},
{
"bucket_order": 6,
"bucket_label": "30d+",
"avg_pct_of_final": 0.8,
"post_count": 41
}
]
}{
"error": "Unauthorized"
}{
"error": "Analytics add-on required",
"requiresAddon": true
}Get best times to post GET
Returns the best times to post based on historical engagement data. Groups all published posts by day of week and hour (UTC), calculating average engagement per slot. Use this to auto-schedule posts at optimal times. Requires the Analytics add-on.
Get daily aggregated metrics GET
Returns daily aggregated analytics metrics and a per-platform breakdown. Each day includes post count, platform distribution, and summed metrics (impressions, reach, likes, comments, shares, saves, clicks, views). Defaults to the last 180 days. Requires the Analytics add-on.