Berkway Group Limited Analytics API

The Analytics API from Berkway Group Limited — 1 operation(s) for analytics.

GitHub OpenAPI

Operations 1

GET /analytics Get 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/postbase-so:postbase-so-analytics-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

postbase-so-analytics-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Postbase Analytics API
  version: 1.0.0
  description: 'Schedule and manage social posts on X, LinkedIn, Bluesky, Mastodon and YouTube. Authenticate with an API key from Postbase → Developers, sent as `Authorization: Bearer pb_live_…`.'
  contact:
    url: https://www.postbase.so
  license:
    name: AGPL-3.0
    identifier: AGPL-3.0-only
servers:
- url: https://www.postbase.so/api/v1
security:
- bearerAuth: []
tags:
- name: Analytics
paths:
  /analytics:
    get:
      summary: Get analytics
      description: Published posts in a date range with each channel's latest metrics, plus totals for the whole range.
      operationId: getAnalytics
      tags:
      - Analytics
      parameters:
      - name: from
        in: query
        schema:
          type: string
          format: date
        description: First day (YYYY-MM-DD). Defaults to 29 days before to.
      - name: to
        in: query
        schema:
          type: string
          format: date
        description: Last day (YYYY-MM-DD). Defaults to today (UTC). Up to 366 days.
      - name: post_id
        in: query
        schema:
          type: string
          format: uuid
        description: Just this post (ignores the dates).
      - name: channel_id
        in: query
        schema:
          type: string
          format: uuid
      - name: platform
        in: query
        schema:
          type: string
      - name: sort
        in: query
        schema:
          type: string
          enum:
          - date
          - impressions
          - likes
          - comments
          - shares
          - saves
          - engagement
          default: date
      - name: order
        in: query
        schema:
          type: string
          enum:
          - desc
          - asc
          default: desc
      - name: limit
        in: query
        schema:
          type: integer
          minimum: 1
          maximum: 100
          default: 50
      - name: offset
        in: query
        schema:
          type: integer
          minimum: 0
          default: 0
      responses:
        '200':
          description: Posts and totals
          content:
            application/json:
              schema:
                type: object
                properties:
                  from:
                    type:
                    - string
                    - 'null'
                    format: date
                  to:
                    type:
                    - string
                    - 'null'
                    format: date
                  totals:
                    allOf:
                    - $ref: '#/components/schemas/Metrics'
                    - type: object
                      properties:
                        posts:
                          type: integer
                  posts:
                    type: array
                    items:
                      $ref: '#/components/schemas/AnalyticsPost'
                  has_more:
                    type: boolean
        '400':
          description: Invalid request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing or invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limited
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Error:
      type: object
      properties:
        error:
          type: string
          description: A readable message
        code:
          type: string
          description: A stable code, e.g. not_found
      required:
      - error
    AnalyticsPost:
      type: object
      properties:
        post_id:
          type: string
          format: uuid
        body:
          type: string
        published_at:
          type: string
          format: date-time
        channels:
          type: array
          items:
            type: object
            properties:
              channel_id:
                type: string
              platform:
                type:
                - string
                - 'null'
              handle:
                type:
                - string
                - 'null'
              url:
                type:
                - string
                - 'null'
                format: uri
              metrics:
                type: object
                additionalProperties:
                  type: number
              metrics_updated_at:
                type:
                - string
                - 'null'
                format: date-time
        totals:
          $ref: '#/components/schemas/Metrics'
    Metrics:
      type: object
      properties:
        impressions:
          type:
          - number
          - 'null'
        likes:
          type: number
        comments:
          type: number
        shares:
          type: number
        saves:
          type: number
        engagement:
          type: number
          description: likes + comments + shares + saves
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: A pb_live_ API key