Socialync Analytics API

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

GitHub OpenAPI

Operations 1

GET /analytics Analytics for a profile #

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/socialync-io:socialync-io-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

socialync-io-analytics-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Socialync Analytics API
  version: 1.0.0
  summary: Publish, schedule and read social posts from your own code.
  description: 'The same publishing engine as the Socialync MCP server, over plain JSON. Your API key is the one from https://www.socialync.io/api-keys. Rate limit: 60 requests per minute per key (429 with Retry-After). List endpoints return 20 items by default and at most 100. Browsers cannot call this API (no CORS headers). Keep keys on servers and in CI secrets.'
servers:
- url: https://mcp.socialync.io/v1
security:
- bearerAuth: []
tags:
- name: Analytics
paths:
  /analytics:
    get:
      operationId: getAnalytics
      summary: Analytics for a profile
      description: Views, likes, comments, shares and saves gained in the window, with changes against the previous window of the same length. The same numbers as the analytics page.
      parameters:
      - name: period
        in: query
        required: false
        schema:
          type: string
          enum:
          - week
          - month
          default: week
      - name: days
        in: query
        required: false
        schema:
          type: integer
          minimum: 1
          maximum: 365
      - name: platform
        in: query
        required: false
        schema:
          type: string
          minLength: 1
          maxLength: 30
          default: all
      - name: breakdown
        in: query
        required: false
        schema:
          type: string
          enum:
          - total
          - by_platform
          default: total
      - name: includeTimeseries
        in: query
        required: false
        schema:
          type: string
          enum:
          - 'true'
          - 'false'
      - name: profileId
        in: query
        required: false
        schema:
          type: string
          pattern: ^[A-Za-z0-9_-]{1,128}$
      responses:
        '200':
          description: The report.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Analytics'
        '400':
          description: The request is not valid. error.code is invalid_request, invalid_json or payload_too_large.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing, malformed or revoked API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: The plan or the API key does not allow this.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: No such resource on a profile this key can use.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: A cap or rate limit was reached. Retry-After says how many seconds to wait.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Analytics
components:
  schemas:
    Error:
      type: object
      required:
      - error
      properties:
        error:
          type: object
          required:
          - code
          - message
          - docs
          properties:
            code:
              type: string
              description: Stable. Switch on this. The message can change.
            message:
              type: string
              description: For people. May change.
            docs:
              type: string
              format: uri
            details:
              description: 'Extra structure for some errors: validation issues, per platform results, skipped entries.'
    Analytics:
      type: object
      additionalProperties: true
      description: The same numbers as the analytics page. Gains in the window, with changes against the previous window.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'Authorization: Bearer sk_live_... An API key from the API keys page. OAuth tokens are not accepted here.'