Get analytics data for a specific published post. Returns metrics like likes, comments, shares, impressions, etc. depending on the platform.
cURL
curl --request GET \ --url https://api.postiz.com/public/v1/analytics/post/{postId} \ --header 'Authorization: <api-key>'
[ { "label": "Likes", "data": [ { "total": "150", "date": "2025-01-01" }, { "total": "175", "date": "2025-01-02" } ], "percentageChange": 16.7 }, { "label": "Comments", "data": [ { "total": "25", "date": "2025-01-01" }, { "total": "30", "date": "2025-01-02" } ], "percentageChange": 20 } ]
Your Postiz API key
Post ID
Number of days to look back for analytics data (e.g. 7, 30, 90)
Analytics data for the post
Metric label (e.g. Followers, Impressions, Likes)
Show child attributes
Percentage change over the selected period
Was this page helpful?