Postiz Analytics API

Platform- and post-level analytics.

Operations 2

GET /analytics/{integration} Get platform analytics #
GET /analytics/post/{postId} Get post analytics #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/postiz-analytics-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

postiz-analytics-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Postiz Analytics API
  version: '1.0'
  description: 'Operations tagged Analytics across 3 of this provider''s published API definitions: postiz-analytics-api-openapi.yml, postiz-platform-swagger-openapi.json, postiz-public-api-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.postiz.com/public/v1
  description: Postiz Cloud
- url: https://{your-domain}/api/public/v1
  description: Self-hosted
  variables:
    your-domain:
      default: localhost:5000
      description: Your Postiz instance domain
tags:
- name: Analytics
  description: Platform- and post-level analytics.
paths:
  /analytics/{integration}:
    get:
      tags:
      - Analytics
      summary: Get platform analytics
      description: Returns analytics for a connected channel over a date window.
      operationId: getAnalytics
      parameters:
      - name: integration
        in: path
        required: true
        description: Integration ID
        schema:
          type: string
      - name: date
        in: query
        required: false
        description: Number of days to report on.
        schema:
          type: string
      responses:
        '200':
          description: Platform analytics
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AnalyticsData'
      security:
      - ApiKeyAuth: []
    servers:
    - url: https://api.postiz.com/public/v1
      description: Postiz Cloud
    - url: https://{your-domain}/api/public/v1
      description: Self-hosted
      variables:
        your-domain:
          default: localhost:5000
          description: Your Postiz instance domain
  /analytics/post/{postId}:
    get:
      tags:
      - Analytics
      summary: Get post analytics
      description: Returns analytics for a single published post.
      operationId: getPostAnalytics
      parameters:
      - name: postId
        in: path
        required: true
        description: Post ID
        schema:
          type: string
      - name: date
        in: query
        required: false
        description: Number of days to report on.
        schema:
          type: string
      responses:
        '200':
          description: Post analytics
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AnalyticsData'
      security:
      - ApiKeyAuth: []
    servers:
    - url: https://api.postiz.com/public/v1
      description: Postiz Cloud
    - url: https://{your-domain}/api/public/v1
      description: Self-hosted
      variables:
        your-domain:
          default: localhost:5000
          description: Your Postiz instance domain
components:
  schemas:
    AnalyticsData:
      type: object
      description: Platform- or post-level analytics metrics returned by the analytics endpoints.
    AnalyticsData_2:
      type: object
      properties:
        label:
          type: string
          description: Metric label (e.g. Followers, Impressions, Likes)
        data:
          type: array
          items:
            type: object
            properties:
              total:
                type: string
                description: Metric value for this date
              date:
                type: string
                description: Date string (YYYY-MM-DD)
        percentageChange:
          type: number
          description: Percentage change over the selected period
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: Authorization
      description: Your Postiz API key, sent as the raw value of the Authorization header.
x-refined-from:
- postiz-analytics-api-openapi.yml
- postiz-platform-swagger-openapi.json
- postiz-public-api-openapi.json