Analytics

Get post analytics

Get analytics data for a specific published post. Returns metrics like likes, comments, shares, impressions, etc. depending on the platform.

get/analytics/post/{postId}

Request

  • Base URL
    https://api.postiz.com/public/v1
  • Auth
    API key in header Authorization

Path parameters

postIdstring required

Post ID

Query parameters

datestring required

Number of days to look back for analytics data (e.g. 7, 30, 90)

Response

Analytics data for the post

labelstring

Metric label (e.g. Followers, Impressions, Likes)

percentageChangenumber

Percentage change over the selected period

Changes

No recorded changes to this operation across all 7 revisions of this API.