Metricool Campaign Analytics Service API

The Campaign Analytics Service API from Metricool — 3 operation(s) for campaign analytics service.

Business capability
Digital Marketing Management BC-400.60

Operations 3

GET /v2/analytics/campaigns/campaigns/available-dashboards Get dashboards available for a given list of campaigns #
GET /v2/analytics/campaigns/{campaignId}/aggregation Returns a single aggregated metric value for a campaign during a period of time #
GET /v2/analytics/campaigns/{campaignId}/timelines Returns a time series for a concrete metric during a period of time #

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/metricool:metricool-campaign-analytics-service-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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

metricool-campaign-analytics-service-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Metricool Campaign Analytics Service API
  description: 'Metricool API


    The base URL for all endpoints is: https://app.metricool.com/api


    All endpoints require authentication.'
  version: 2.0.0
servers:
- url: https://app.metricool.com/api
tags:
- name: Campaign Analytics Service
paths:
  /v2/analytics/campaigns/campaigns/available-dashboards:
    get:
      tags:
      - Campaign Analytics Service
      summary: Get dashboards available for a given list of campaigns
      operationId: getAvailableDashboardsForCampaign
      parameters:
      - name: network
        in: query
        description: Ads network of the campaign (e.g. adwords, facebook_ads, tiktok_ads)
        required: true
        schema:
          minLength: 1
          type: string
      - name: campaignIds
        in: query
        description: Provider campaign IDs
        required: true
        schema:
          type: array
          items:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/JsonOkListResponseAvailableDashboardDto'
  /v2/analytics/campaigns/{campaignId}/aggregation:
    get:
      tags:
      - Campaign Analytics Service
      summary: Returns a single aggregated metric value for a campaign during a period of time
      operationId: aggregation_1
      parameters:
      - name: network
        in: query
        required: true
        schema:
          type: string
      - name: metric
        in: query
        required: true
        schema:
          type: string
      - name: from
        in: query
        required: true
        schema:
          type: string
      - name: to
        in: query
        required: true
        schema:
          type: string
      - name: timezone
        in: query
        required: false
        schema:
          type: string
      - name: campaignId
        in: path
        required: true
        schema:
          minLength: 1
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/JsonOkResponseDouble'
  /v2/analytics/campaigns/{campaignId}/timelines:
    get:
      tags:
      - Campaign Analytics Service
      summary: Returns a time series for a concrete metric during a period of time
      operationId: timeline
      parameters:
      - name: network
        in: query
        required: true
        schema:
          type: string
      - name: metric
        in: query
        required: true
        schema:
          type: string
      - name: from
        in: query
        required: true
        schema:
          type: string
      - name: to
        in: query
        required: true
        schema:
          type: string
      - name: timezone
        in: query
        required: false
        schema:
          type: string
      - name: campaignId
        in: path
        required: true
        schema:
          minLength: 1
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/JsonOkListResponseTimelineSeries'
components:
  schemas:
    TimelineSeries:
      type: object
      properties:
        metric:
          type: string
        values:
          type: array
          items:
            $ref: '#/components/schemas/SeriesValue'
        aggregate:
          $ref: '#/components/schemas/TimelineAggregate'
    SeriesValue:
      type: object
      properties:
        dateTime:
          type: string
          format: date-time
        value:
          type: number
          format: double
    JsonOkResponseDouble:
      type: object
      properties:
        metadata:
          type: object
        page:
          $ref: '#/components/schemas/JsonPaging'
        data:
          type: number
          format: double
    TimelineAggregate:
      type: object
      properties:
        aggregation:
          type: string
        value:
          type: number
          format: double
    JsonOkListResponseTimelineSeries:
      type: object
      properties:
        metadata:
          type: object
        page:
          $ref: '#/components/schemas/JsonPaging'
        data:
          type: array
          items:
            $ref: '#/components/schemas/TimelineSeries'
    JsonPaging:
      type: object
      properties:
        next:
          type: string
    PerformanceDashboardNetworkDto:
      required:
      - connected
      - network
      type: object
      properties:
        network:
          type: string
          description: Network identifier
        connected:
          type: boolean
          description: Whether the network account is currently connected
        connectionName:
          type: string
          description: Connection name of the connected or last-known account
      description: Networks included in the dashboard
    JsonOkListResponseAvailableDashboardDto:
      type: object
      properties:
        metadata:
          type: object
        page:
          $ref: '#/components/schemas/JsonPaging'
        data:
          type: array
          items:
            $ref: '#/components/schemas/AvailableDashboardDto'
    DateTimeInfo:
      required:
      - dateTime
      type: object
      properties:
        dateTime:
          type: string
          description: 'Local Date-time represented with a certain timezone '
        timezone:
          type: string
          description: Timezone applied to the datetime
    AvailableDashboardDto:
      required:
      - availableCampaignIds
      - dashboardId
      - from
      - networks
      - title
      - to
      type: object
      properties:
        dashboardId:
          type: integer
          description: ID of the Performance Dashboard
          format: int64
        title:
          minLength: 1
          type: string
          description: Title of the Performance Dashboard
          example: Q1 Ads Campaign
        description:
          type: string
          description: Description of the Performance Dashboard
          example: This is a description.
        from:
          $ref: '#/components/schemas/DateTimeInfo'
        to:
          $ref: '#/components/schemas/DateTimeInfo'
        networks:
          minItems: 1
          type: array
          description: Networks included in the dashboard
          items:
            $ref: '#/components/schemas/PerformanceDashboardNetworkDto'
        availableCampaignIds:
          type: array
          description: Campaign IDs within the date range of this dashboard
          items:
            type: string
            description: Campaign IDs within the date range of this dashboard
      description: Available Performance Dashboard for a set of campaigns