Analytics
Post Analytics
Get clicks, conversions, engagements, and impressions for a single post.
Post analytics provide performance data for individual social media posts, including impressions, engagements (likes, comments, and shares), and conversions attributed to each post. Use this endpoint to retrieve the most current analytics for scheduled or sent posts by their IDs, for performance monitoring and post-level reporting.
This endpoint returns analytics for individual posts by ID. For bulk analytics, trend analysis, or reporting across multiple posts, use the Exports endpoints instead.
If a metric is not available for the social network or profile, its value is -1 instead of 0.
Get Post Analytics
Retrieve the current analytics for a post.
GET /v2/analytics/:postId
Parameters
Prop
Type
Example Request
curl -X GET "https://api.oktopost.com/v2/analytics/004000000000001" \
-u ACCOUNT_ID:API_KEYExample Response
{
"Result": true,
"Stats": {
"LinkClicks": 6,
"Conversions": 1,
"Comments": 0,
"Likes": 2,
"Shares": 1,
"ImpressionsAdded": 69
}
}