Get daily aggregated metrics
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.
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.
Inclusive start date (ISO 8601). Defaults to 180 days ago.
date-timeInclusive end date (ISO 8601). Defaults to now.
date-timeResponse Body
application/json
application/json
application/json
curl -X GET "https://getlate.dev/api/v1/analytics/daily-metrics"{
"dailyData": [
{
"date": "2025-12-01",
"postCount": 3,
"platforms": {
"instagram": 2,
"twitter": 1
},
"metrics": {
"impressions": 4520,
"reach": 3200,
"likes": 312,
"comments": 45,
"shares": 28,
"saves": 67,
"clicks": 89,
"views": 1560
}
}
],
"platformBreakdown": [
{
"platform": "instagram",
"postCount": 142,
"impressions": 89400,
"reach": 62100,
"likes": 8930,
"comments": 1204,
"shares": 567,
"saves": 2103,
"clicks": 3402,
"views": 45200
}
]
}{
"error": "Unauthorized"
}{
"error": "Analytics add-on required",
"code": "analytics_addon_required"
}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.