Skip to main content
GET
/
analytics
/
{integration}
Get platform analytics
curl --request GET \
  --url https://api.postiz.com/public/v1/analytics/{integration} \
  --header 'Authorization: <api-key>'
[
  {
    "label": "Followers",
    "data": [
      {
        "total": "1250",
        "date": "2025-01-01"
      },
      {
        "total": "1280",
        "date": "2025-01-02"
      }
    ],
    "percentageChange": 2.4
  },
  {
    "label": "Impressions",
    "data": [
      {
        "total": "5000",
        "date": "2025-01-01"
      },
      {
        "total": "5200",
        "date": "2025-01-02"
      }
    ],
    "percentageChange": 4
  }
]

Authorizations

Authorization
string
header
required

Your Postiz API key

Path Parameters

integration
string
required

Integration 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 integration

label
string

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

data
object[]
percentageChange
number

Percentage change over the selected period