Mutator Analytics API
The analytics API from Mutator — 1 operation(s) for analytics.
The analytics API from Mutator — 1 operation(s) for analytics.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/mutator-app:mutator-app-analytics-api"
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.
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: 3.2.0
info:
title: Mutator Analytics API
version: 1.0.0
summary: Start runs, read what they made, and be told when something happens.
description: 'Drive Mutator from your own systems. Keys come with any paid plan, and what a key reaches depends on the plan.
**Nothing here publishes.** No endpoint schedules a post, so no key of any scope can cause anything to reach a social account: a post exists only once a person has put a particular file in a particular account''s schedule, in Mutator.
Lists are paged by cursor (`after`, `nextCursor`), and `post.published` and the other webhook events are delivered signed. See the full documentation at /docs/api.'
contact:
name: Mutator
url: https://mutator.app/support
servers:
- url: https://mutator.app
security:
- bearerAuth: []
tags:
- name: Analytics
paths:
/api/v1/analytics:
get:
operationId: analytics.get
summary: How published content performed, the same report the dashboard renders
tags:
- Analytics
parameters:
- name: days
in: query
required: false
schema:
type: integer
minimum: 1
maximum: 365
responses:
'200':
description: How published content performed, the same report the dashboard renders.
content:
application/json:
schema:
type: object
properties:
rangeDays:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
totals:
type: object
properties:
posts:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
views:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
watchTimeSeconds:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
likes:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
comments:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
shares:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
saves:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
clicks:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
signups:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
purchases:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
revenueCents:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
mockPosts:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
mockMetrics:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
required:
- posts
- views
- watchTimeSeconds
- likes
- comments
- shares
- saves
- clicks
- signups
- purchases
- revenueCents
- mockPosts
- mockMetrics
additionalProperties: false
measurement:
type: object
properties:
measuredPosts:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
unmeasured:
type: array
items:
type: object
properties:
platform:
type: string
reason:
type: string
enum:
- awaiting_platform
- reconnect
- pending
- unsupported
- no_account
posts:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
required:
- platform
- reason
- posts
additionalProperties: false
required:
- measuredPosts
- unmeasured
additionalProperties: false
daily:
type: array
items:
type: object
properties:
day:
type: string
posts:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
views:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
signups:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
required:
- day
- posts
- views
- signups
additionalProperties: false
byFormat:
type: array
items:
type: object
properties:
format:
type: string
posts:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
views:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
signups:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
revenueCents:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
avgRetentionPct:
anyOf:
- type: number
- type: 'null'
signupSharePct:
type: number
required:
- format
- posts
- views
- signups
- revenueCents
- avgRetentionPct
- signupSharePct
additionalProperties: false
byPlatform:
type: array
items:
type: object
properties:
platform:
type: string
posts:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
views:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
signups:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
required:
- platform
- posts
- views
- signups
additionalProperties: false
variants:
type: array
items:
type: object
properties:
automationId:
anyOf:
- type: string
- type: 'null'
automationName:
anyOf:
- type: string
- type: 'null'
format:
type: string
variant:
type: string
posts:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
views:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
signups:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
engagementPer1k:
type: number
lastPostedAt:
anyOf:
- type: string
- type: 'null'
retired:
type: boolean
leads:
anyOf:
- type: string
enum:
- signups
- views
- type: 'null'
required:
- format
- variant
- posts
- views
- signups
- engagementPer1k
additionalProperties: false
topPosts:
type: array
items:
type: object
properties:
postId:
type: string
platform:
type: string
format:
anyOf:
- type: string
- type: 'null'
variant:
anyOf:
- type: string
- type: 'null'
url:
anyOf:
- type: string
- type: 'null'
views:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
signups:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
revenueCents:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
isMock:
type: boolean
publishedAt: {}
required:
- postId
- platform
- format
- variant
- url
- views
- signups
- revenueCents
- isMock
- publishedAt
additionalProperties: false
topAccounts:
type: array
items:
type: object
properties:
platform:
type: string
handle:
anyOf:
- type: string
- type: 'null'
posts:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
views:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
required:
- platform
- handle
- posts
- views
additionalProperties: false
numbers:
type: object
properties:
views:
type: object
properties:
value:
anyOf:
- type: integer
minimum: -9007199254740991
maximum: 9007199254740991
- type: 'null'
posts:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
required:
- value
- posts
additionalProperties: false
likes:
type: object
properties:
value:
anyOf:
- type: integer
minimum: -9007199254740991
maximum: 9007199254740991
- type: 'null'
posts:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
required:
- value
- posts
additionalProperties: false
comments:
type: object
properties:
value:
anyOf:
- type: integer
minimum: -9007199254740991
maximum: 9007199254740991
- type: 'null'
posts:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
required:
- value
- posts
additionalProperties: false
shares:
type: object
properties:
value:
anyOf:
- type: integer
minimum: -9007199254740991
maximum: 9007199254740991
- type: 'null'
posts:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
required:
- value
- posts
additionalProperties: false
followers:
type: object
properties:
value:
anyOf:
- type: integer
minimum: -9007199254740991
maximum: 9007199254740991
- type: 'null'
change:
anyOf:
- type: integer
minimum: -9007199254740991
maximum: 9007199254740991
- type: 'null'
accounts:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
required:
- value
- change
- accounts
additionalProperties: false
required:
- views
- likes
- comments
- shares
- followers
additionalProperties: false
posts:
type: array
items:
type: object
properties:
postId:
type: string
platform:
type: string
accountId:
anyOf:
- type: string
- type: 'null'
handle:
anyOf:
- type: string
- type: 'null'
caption:
anyOf:
- type: string
- type: 'null'
thumbnailUrl:
anyOf:
- type: string
- type: 'null'
url:
anyOf:
- type: string
- type: 'null'
publishedAt: {}
format:
anyOf:
- type: string
- type: 'null'
isMock:
type: boolean
views:
anyOf:
- type: integer
minimum: -9007199254740991
maximum: 9007199254740991
- type: 'null'
likes:
anyOf:
- type: integer
minimum: -9007199254740991
maximum: 9007199254740991
- type: 'null'
comments:
anyOf:
- type: integer
minimum: -9007199254740991
maximum: 9007199254740991
- type: 'null'
shares:
anyOf:
- type: integer
minimum: -9007199254740991
maximum: 9007199254740991
- type: 'null'
required:
- postId
- platform
- accountId
- handle
- caption
- thumbnailUrl
- url
- publishedAt
- format
- isMock
- views
- likes
- comments
- shares
additionalProperties: false
accounts:
type: array
items:
type: object
properties:
accountId:
anyOf:
- type: string
- type: 'null'
platform:
type: string
handle:
anyOf:
- type: string
- type: 'null'
avatarUrl:
anyOf:
- type: string
- type: 'null'
followers:
anyOf:
- type: integer
minimum: -9007199254740991
maximum: 9007199254740991
- type: 'null'
followersChange:
anyOf:
- type: integer
minimum: -9007199254740991
maximum: 9007199254740991
- type: 'null'
posts:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
views:
anyOf:
- type: integer
minimum: -9007199254740991
maximum: 9007199254740991
- type: 'null'
likes:
anyOf:
- type: integer
minimum: -9007199254740991
maximum: 9007199254740991
- type: 'null'
comments:
anyOf:
- type: integer
minimum: -9007199254740991
maximum: 9007199254740991
- type: 'null'
required:
- accountId
- platform
- handle
- avatarUrl
- followers
- followersChange
- posts
- views
- likes
- comments
additionalProperties: false
revenue:
type: object
properties:
available:
type: boolean
revenueCents:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
purchases:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
revenuePerPostCents:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
byFormat:
type: array
items:
type: object
properties:
format:
type: string
revenueCents:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
purchases:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
required:
- format
- revenueCents
- purchases
additionalProperties: false
required:
- available
- revenueCents
- purchases
- revenuePerPostCents
- byFormat
additionalProperties: false
insight:
anyOf:
- type: string
- type: 'null'
entitlements:
type: object
properties:
advancedAnalytics:
type: boolean
revenueAttribution:
type: boolean
required:
- advancedAnalytics
- revenueAttribution
additionalProperties: false
required:
- rangeDays
- totals
- byFormat
- byPlatform
- variants
- topPosts
- revenue
- insight
- entitlements
additionalProperties: false
'400':
description: The request is malformed. An `issues` array names the fields.
content:
application/json:
schema:
type: object
properties:
error:
type: string
code:
type: string
correlationId:
type: string
required:
- error
- correlationId
'401':
description: Missing, unknown, revoked or expired key.
content:
application/json:
schema:
type: object
properties:
error:
type: string
code:
type: string
correlationId:
type: string
required:
- error
- correlationId
'403':
description: A read-only key attempted a write.
content:
application/json:
schema:
type: object
properties:
error:
type: string
code:
type: string
correlationId:
type: string
required:
- error
- correlationId
'429':
description: 'Rate limited: 120 reads and 30 writes a minute, per key.'
content:
application/json:
schema:
type: object
properties:
error:
type: string
code:
type: string
correlationId:
type: string
required:
- error
- correlationId
'500':
description: Our side. Safe to retry anything idempotent.
content:
application/json:
schema:
type: object
properties:
error:
type: string
code:
type: string
correlationId:
type: string
required:
- error
- correlationId
security:
- bearerAuth: []
x-mutator-scope: read
components:
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: 'A Mutator API key: Settings, API keys, New key.'