SocialRobot Analytics API

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

GitHub OpenAPI

Operations 1

GET /tiktok/posts-with-analytics/{accountId} List public TikTok videos with engagement metrics #

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

socialrobot-io-analytics-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: SocialRobot.io Scheduler Analytics API
  description: 'Access our API to efficiently schedule and manage your social media posts across multiple platforms.


    ## API versioning


    - **Current version:** `v1` (URL path prefix `/api/v1/`).

    - **Canonical base URL:** `https://socialrobot.io/api/v1`

    - **Legacy alias:** `/api/` (same routes, no version prefix) remains supported for existing integrations.

    - **Deprecation:** Breaking changes ship only in a new major path (for example `/api/v2`). When a route is deprecated, responses may include `Deprecation: true` and `Sunset` (HTTP-date) headers before removal.


    HTTP API consumers should authenticate with an API key in the `x-api-key` header.


    MCP consumers should connect to /api/mcp and use OAuth discovery from /.well-known/oauth-protected-resource, /.well-known/oauth-authorization-server, and /.well-known/openid-configuration. The issuer remains /api/auth. Dynamic client registration is available at /api/auth/oauth2/register when enabled.


    Additional machine-readable docs are available at /api/llm.txt.


    For detailed documentation and to utilize the assistant, click the link below:


    Go to Assistant'
  version: 1.0.0
servers:
- url: https://socialrobot.io/api/v1
tags:
- name: Analytics
paths:
  /tiktok/posts-with-analytics/{accountId}:
    get:
      operationId: tiktok-getPostsWithAnalytics
      summary: List public TikTok videos with engagement metrics
      description: Returns recent public videos for a connected TikTok account via video.list, including view/like/comment/share counts.
      tags:
      - Analytics
      security:
      - apiKey: []
      parameters:
      - in: header
        name: x-api-key
        schema:
          type: string
          description: The API key to use for the request
        required: true
        description: The API key to use for the request
      - in: path
        name: accountId
        schema:
          type: string
        required: true
      - in: query
        name: limit
        schema:
          default: 20
          type: number
          minimum: 1
          maximum: 50
      - in: query
        name: startDate
        schema:
          type: string
          pattern: ^\d{4}-\d{2}-\d{2}$
      - in: query
        name: endDate
        schema:
          type: string
          pattern: ^\d{4}-\d{2}-\d{2}$
      responses:
        '200':
          description: Videos with analytics fetched successfully
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  properties:
                    id:
                      type: string
                    create_time:
                      type: number
                    cover_image_url:
                      type:
                      - string
                      - 'null'
                    share_url:
                      type:
                      - string
                      - 'null'
                    video_description:
                      type:
                      - string
                      - 'null'
                    duration:
                      type:
                      - number
                      - 'null'
                    title:
                      type:
                      - string
                      - 'null'
                    like_count:
                      type: number
                    comment_count:
                      type: number
                    share_count:
                      type: number
                    view_count:
                      type: number
                    engagements:
                      type: number
                    publishedAt:
                      anyOf:
                      - type: string
                        format: date-time
                        pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
                      - type: 'null'
                    performanceRank:
                      type: integer
                      exclusiveMinimum: 0
                      maximum: 9007199254740991
                    viewsDelta:
                      type:
                      - number
                      - 'null'
                    viewsGrowthRate:
                      type:
                      - number
                      - 'null'
                    historicalData:
                      default: []
                      type: array
                      items:
                        type: object
                        properties:
                          index:
                            type: number
                          timestamp:
                            anyOf:
                            - type: string
                              format: date-time
                              pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
                            - type: string
                          views:
                            type: number
                          likes:
                            type: number
                          comments:
                            type: number
                          shares:
                            type: number
                          engagements:
                            type: number
                        required:
                        - index
                        - timestamp
                        - views
                        - likes
                        - comments
                        - shares
                        - engagements
                        additionalProperties: false
                    dailyViews:
                      type: array
                      items:
                        type: object
                        properties:
                          date:
                            type: string
                          views:
                            type: number
                        required:
                        - date
                        - views
                        additionalProperties: false
                    storedCoverUrl:
                      type:
                      - string
                      - 'null'
                  required:
                  - id
                  - create_time
                  - like_count
                  - comment_count
                  - share_count
                  - view_count
                  - engagements
                  - publishedAt
                  - historicalData
                  additionalProperties: false
        '401':
          description: Unauthorized - Invalid or missing API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error.UNAUTHORIZED'
        '403':
          description: Forbidden - plan limit, ownership, or quota exceeded (see error message for upgrade link)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error.FORBIDDEN'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error.INTERNAL_SERVER_ERROR'
components:
  schemas:
    error.UNAUTHORIZED:
      type: object
      properties:
        message:
          type: string
          description: The error message
          example: Unauthorized - Invalid or missing API key
        code:
          type: string
          description: The error code
          example: UNAUTHORIZED
        issues:
          description: An array of issues that were responsible for the error
          example: []
          type: array
          items:
            type: object
            properties:
              message:
                type: string
            required:
            - message
            additionalProperties: false
      required:
      - message
      - code
      additionalProperties: false
      title: Unauthorized - Invalid or missing API key error (401)
      description: The error information
      example:
        code: UNAUTHORIZED
        message: Unauthorized - Invalid or missing API key
        issues: []
    error.INTERNAL_SERVER_ERROR:
      type: object
      properties:
        message:
          type: string
          description: The error message
          example: Internal server error
        code:
          type: string
          description: The error code
          example: INTERNAL_SERVER_ERROR
        issues:
          description: An array of issues that were responsible for the error
          example: []
          type: array
          items:
            type: object
            properties:
              message:
                type: string
            required:
            - message
            additionalProperties: false
      required:
      - message
      - code
      additionalProperties: false
      title: Internal server error error (500)
      description: The error information
      example:
        code: INTERNAL_SERVER_ERROR
        message: Internal server error
        issues: []
    error.FORBIDDEN:
      type: object
      properties:
        message:
          type: string
          description: The error message
          example: Forbidden - plan limit, ownership, or quota exceeded (see error message for upgrade link)
        code:
          type: string
          description: The error code
          example: FORBIDDEN
        issues:
          description: An array of issues that were responsible for the error
          example: []
          type: array
          items:
            type: object
            properties:
              message:
                type: string
            required:
            - message
            additionalProperties: false
      required:
      - message
      - code
      additionalProperties: false
      title: Forbidden - plan limit, ownership, or quota exceeded (see error message for upgrade link) error (403)
      description: The error information
      example:
        code: FORBIDDEN
        message: Forbidden - plan limit, ownership, or quota exceeded (see error message for upgrade link)
        issues: []
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: x-api-key
      description: API Key authentication