PosteAhora Analytics API

The Analytics API from PosteAhora — 1 operation(s) for analytics.

Operations 1

GET /analytics Read post analytics (refreshed hourly) #

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/posteahora-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

posteahora-analytics-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: PosteAhora Public Analytics API
  version: 1.0.0
  description: 'Key-authenticated REST gateway over the same publishing pipeline as the PosteAhora web app. It powers the MCP server, the CLI, the n8n node, and any third-party integration. This is the frozen **v1** contract: additive changes only.


    Human-readable docs: https://posteahora.com/docs/api'
  contact:
    name: PosteAhora
    url: https://posteahora.com/docs/api
servers:
- url: https://api.posteahora.com/functions/v1/api
  description: Production. The /functions/v1/ segment is part of the stable URL — do not strip it.
security:
- ApiKey: []
tags:
- name: Analytics
paths:
  /analytics:
    get:
      tags:
      - Analytics
      summary: Read post analytics (refreshed hourly)
      parameters:
      - name: period
        in: query
        schema:
          type: string
          enum:
          - 7d
          - 30d
          - 90d
          - all
          default: 30d
      - name: platform
        in: query
        schema:
          type: string
      - name: limit
        in: query
        schema:
          type: integer
          default: 200
          maximum: 500
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AnalyticsResult'
      operationId: getAnalytics
      x-operation-id-source: derived
components:
  schemas:
    AnalyticsResult:
      type: object
      properties:
        period:
          type: string
        summary:
          type: object
          properties:
            totals:
              type: object
              additionalProperties:
                type: number
            byPlatform:
              type: object
              additionalProperties:
                type: object
                additionalProperties:
                  type: number
        posts:
          type: array
          items:
            type: object
            properties:
              postId:
                type: string
              caption:
                type:
                - string
                - 'null'
              publishedAt:
                type:
                - string
                - 'null'
                format: date-time
              platform:
                type: string
              views:
                type:
                - number
                - 'null'
              likes:
                type:
                - number
                - 'null'
              comments:
                type:
                - number
                - 'null'
              shares:
                type:
                - number
                - 'null'
              reach:
                type:
                - number
                - 'null'
              saves:
                type:
                - number
                - 'null'
              impressions:
                type:
                - number
                - 'null'
              reposts:
                type:
                - number
                - 'null'
              totalInteractions:
                type:
                - number
                - 'null'
              fetchedAt:
                type:
                - string
                - 'null'
                format: date-time
              error:
                type:
                - string
                - 'null'
  securitySchemes:
    ApiKey:
      type: http
      scheme: bearer
      description: 'A PosteAhora API key: `Authorization: Bearer pah_live_…` (or `pah_test_…`). Keys are created in the app under /api and carry scopes (ideas:read/write, posts:read/write, analytics:read, accounts:read, media:write). A missing scope returns 403.

        '