ChartMogul Metrics API

The Metrics API from ChartMogul — 8 operation(s) for metrics.

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).
Business capability
Subscription Revenue Analytics BC-4250.70

Operations 8

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /metrics/all Get all subscription metrics over a period · Retrieve all key metrics #
Ask an LLM
“How has my MRR, ARR and churn changed over the last quarter?”
“Can I get all subscription metrics as a single report for a date range?”
Tell an agent
Get all subscription metrics from {start_date} to {end_date}.
Pull every metric for the period {start_date} to {end_date} at {interval} intervals.
GET /metrics/mrr Get monthly recurring revenue · Retrieve MRR #
Ask an LLM
“What is my monthly recurring revenue right now?”
“How much MRR am I earning each month?”
Tell an agent
Show my current MRR.
Get the monthly recurring revenue figure.
GET /metrics/arr Get annual recurring revenue · Retrieve ARR #
Ask an LLM
“What is my annual recurring revenue?”
“How much ARR am I generating?”
Tell an agent
Show my current ARR.
Get the annual recurring revenue figure.
GET /metrics/arpa Get average revenue per account · Retrieve ARPA #
Ask an LLM
“What is my average revenue per customer?”
“How much does each customer pay on average?”
Tell an agent
Show my ARPA.
Get the average revenue per account figure.
GET /metrics/customer-count Get the number of customers · Customer count #
Ask an LLM
“How many customers do I have?”
“What is my current customer count?”
Tell an agent
Show my customer count.
Get the number of customers.
GET /metrics/churn-rate Get customer churn rate · Customer churn rate #
Ask an LLM
“What percentage of my customers are leaving each month?”
“What is my customer churn rate?”
Tell an agent
Show my customer churn rate.
Get the percentage of customers lost each period.
GET /metrics/mrr-churn-rate Get MRR churn rate · MRR churn rate #
Ask an LLM
“How much of my MRR is being lost to churn?”
“What is my MRR churn rate?”
Tell an agent
Show my MRR churn rate.
Get the percentage of MRR lost to churn.
GET /metrics/ltv Get lifetime value · Lifetime value #
Ask an LLM
“What is the lifetime value of my customers?”
“How much do customers bring in over their lifetime?”
Tell an agent
Show my lifetime value.
Get the average lifetime value per customer.

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/chartmogul:chartmogul-metrics-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

chartmogul-metrics-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ChartMogul REST Metrics API
  version: '1'
  description: 'ChartMogul REST API for importing customers, subscriptions, plans,

    invoices, and transactions, and for reading subscription analytics

    metrics (MRR, ARR, ARPA, churn, LTV). Authentication uses HTTP Basic

    Auth with your API key as the username and an empty password.'
  contact:
    name: ChartMogul Developer Docs
    url: https://dev.chartmogul.com/docs/introduction
servers:
- url: https://api.chartmogul.com/v1
security:
- basicAuth: []
tags:
- name: Metrics
paths:
  /metrics/all:
    get:
      tags:
      - Metrics
      summary: Retrieve all key metrics
      operationId: getAllMetrics
      parameters:
      - in: query
        name: start-date
        required: true
        schema:
          type: string
          format: date
      - in: query
        name: end-date
        required: true
        schema:
          type: string
          format: date
      - in: query
        name: interval
        schema:
          type: string
          enum:
          - day
          - week
          - month
          - quarter
          - year
      responses:
        '200':
          description: Metrics series
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MetricsSeries'
  /metrics/mrr:
    get:
      tags:
      - Metrics
      summary: Retrieve MRR
      operationId: getMrr
      responses:
        '200':
          description: MRR series
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MetricsSeries'
  /metrics/arr:
    get:
      tags:
      - Metrics
      summary: Retrieve ARR
      operationId: getArr
      responses:
        '200':
          description: ARR series
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MetricsSeries'
  /metrics/arpa:
    get:
      tags:
      - Metrics
      summary: Retrieve ARPA
      operationId: getArpa
      responses:
        '200':
          description: ARPA series
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MetricsSeries'
  /metrics/customer-count:
    get:
      tags:
      - Metrics
      summary: Customer count
      operationId: getCustomerCount
      responses:
        '200':
          description: Customer count series
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MetricsSeries'
  /metrics/churn-rate:
    get:
      tags:
      - Metrics
      summary: Customer churn rate
      operationId: getChurnRate
      responses:
        '200':
          description: Churn rate series
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MetricsSeries'
  /metrics/mrr-churn-rate:
    get:
      tags:
      - Metrics
      summary: MRR churn rate
      operationId: getMrrChurnRate
      responses:
        '200':
          description: MRR churn rate series
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MetricsSeries'
  /metrics/ltv:
    get:
      tags:
      - Metrics
      summary: Lifetime value
      operationId: getLtv
      responses:
        '200':
          description: LTV series
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MetricsSeries'
components:
  schemas:
    MetricsSeries:
      type: object
      properties:
        entries:
          type: array
          items:
            type: object
            properties:
              date:
                type: string
                format: date
              mrr:
                type: number
              arr:
                type: number
              customer-churn-rate:
                type: number
              mrr-churn-rate:
                type: number
              ltv:
                type: number
              customers:
                type: integer
              asp:
                type: number
              arpa:
                type: number
        summary:
          type: object
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic
      description: HTTP Basic Auth. Username is your ChartMogul API key; password is empty.