Get post analytics timeline
Returns a daily timeline of analytics metrics for a specific post, showing how impressions, likes, and other metrics evolved day-by-day since publishing. Each row represents one day of data per platform. For multi-platform Late posts, returns separate rows for each platform. Requires the Analytics add-on.
API key authentication - use your Late API key as a Bearer token
In: header
Query Parameters
The post to fetch timeline for. Accepts an ExternalPost ID, a platformPostId, or a Late Post ID.
Start of date range (ISO 8601). Defaults to 90 days ago.
date-timeEnd of date range (ISO 8601). Defaults to now.
date-timeResponse Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://getlate.dev/api/v1/analytics/post-timeline?postId=string"{
"postId": "6507a1b2c3d4e5f6a7b8c9d0",
"timeline": [
{
"date": "2025-01-15",
"platform": "instagram",
"platformPostId": "17902345678901234",
"impressions": 1200,
"reach": 980,
"likes": 45,
"comments": 3,
"shares": 12,
"saves": 8,
"clicks": 25,
"views": 0
},
{
"date": "2025-01-16",
"platform": "instagram",
"platformPostId": "17902345678901234",
"impressions": 2400,
"reach": 1850,
"likes": 92,
"comments": 7,
"shares": 21,
"saves": 15,
"clicks": 48,
"views": 0
}
]
}{
"error": "Missing required parameter: postId"
}{
"error": "Unauthorized"
}{
"error": "Analytics add-on required",
"code": "analytics_addon_required"
}{
"error": "Forbidden"
}{
"error": "Post not found"
}Get LinkedIn post stats GET
Returns analytics for a specific LinkedIn post by URN. Works for both personal and organization accounts.
Get posting frequency vs engagement GET
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.