Skip to main content
GET
/
analytics
/
post
/
{postId}
Get post analytics
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
  }
]

Authorizations

Authorization
string
header
required

Your Postiz API key

Path Parameters

postId
string
required

Post ID

Query Parameters

date
string
required

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

Response

200 - application/json

Analytics data for the post

label
string

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

data
object[]
percentageChange
number

Percentage change over the selected period