UTMKit Analytics API

The analytics API from UTMKit, for analytics.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 1

GET /api/v1/analytics/report Click report — scans reported apart from clicks #

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/utmkit-co:utmkit-co-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

utmkit-co-analytics-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: 'Every request carries `Authorization: Bearer utmk_…`. The token fixes the workspace; no request names one. Every operation declares `x-permission`, the token permission it requires.'
  title: UTMKit Analytics API
  version: '1'
servers:
- url: https://app.utmkit.co
  variables: {}
security:
- bearer: []
tags:
- name: Analytics
paths:
  /api/v1/analytics/report:
    get:
      callbacks: {}
      description: Requires a token with the `analytics:read` permission.
      operationId: UtmBuilderWeb.API.V1.AnalyticsController.report
      parameters:
      - description: ''
        in: query
        name: from
        required: false
        schema:
          format: date
          type: string
      - description: ''
        in: query
        name: to
        required: false
        schema:
          format: date
          type: string
      - description: ''
        in: query
        name: group_by
        required: false
        schema:
          enum:
          - day
          - country
          - device
          - referrer
          - utm_source
          - utm_medium
          - utm_campaign
          - utm_term
          - utm_content
          - trigger
          - event_type
          - destination
          type: string
      - description: ''
        in: query
        name: short_code
        required: false
        schema:
          type: string
      - description: ''
        in: query
        name: host
        required: false
        schema:
          type: string
      - description: ''
        in: query
        name: campaign_id
        required: false
        schema:
          type: integer
      - description: ''
        in: query
        name: tag
        required: false
        schema:
          type: string
      - description: ''
        in: query
        name: compare
        required: false
        schema:
          type: boolean
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Report'
          description: Report
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Error
      summary: Click report — scans reported apart from clicks
      tags:
      - Analytics
      x-permission: analytics:read
components:
  schemas:
    Report:
      properties:
        capped:
          type: boolean
        comparison:
          description: 'Present only when compare=true: the previous period, or {unavailable: sentence}'
          properties:
            change:
              properties:
                clicks:
                  type:
                  - integer
                  - 'null'
                conversions:
                  type:
                  - integer
                  - 'null'
                scans:
                  type:
                  - integer
                  - 'null'
                uniques:
                  type:
                  - integer
                  - 'null'
              type: object
            from:
              format: date
              type: string
            to:
              format: date
              type: string
            totals:
              properties:
                clicks:
                  type: integer
                conversions:
                  type: integer
                scans:
                  type: integer
                uniques:
                  type: integer
              type: object
            unavailable:
              type: string
          type: object
        from:
          format: date
          type: string
        group_by:
          type: string
        rows:
          items:
            additionalProperties: true
            type: object
          type: array
        to:
          format: date
          type: string
        totals:
          properties:
            clicks:
              type: integer
            conversions:
              type: integer
            scans:
              type: integer
            uniques:
              type: integer
            value:
              additionalProperties:
                type: string
              description: currency → decimal string, summed per currency; null when no conversion in the period carried a value. Never summed across currencies (spec 046)
              type:
              - object
              - 'null'
          type: object
      title: Report
      type: object
    Error:
      description: Every refusal. `code` is the closed set of FR-019.
      properties:
        error:
          properties:
            code:
              enum:
              - unauthenticated
              - subscription_required
              - subscription_ended
              - missing_permission
              - role_forbids
              - plan_forbids
              - rate_limited
              - governance_refused
              - scanner_refused
              - limit_reached
              - duplicate_link
              - not_found
              - invalid_input
              type: string
            details:
              additionalProperties: true
              description: field → messages, on invalid_input
              type:
              - object
              - 'null'
            message:
              type: string
            permission:
              type:
              - string
              - 'null'
            retry_after_seconds:
              type:
              - integer
              - 'null'
          required:
          - code
          - message
          type: object
      required:
      - error
      title: Error
      type: object
  securitySchemes:
    bearer:
      description: utmk_<lookup><secret>, minted on /tokens
      scheme: bearer
      type: http