> ## Documentation Index
> Fetch the complete documentation index at: https://alguna.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Get MRR, ARR, and ACV for a subscription

> Returns the monthly recurring revenue (MRR), annual recurring revenue (ARR), and annual contract value (ACV) for a single subscription.



## OpenAPI

````yaml /api-reference/v2/specs/2026-04-01.json get /insights/revenue/subscription/{id}
openapi: 3.1.0
info:
  title: Alguna Public API
  version: '2026-04-01'
servers:
  - url: https://api.alguna.io
security:
  - bearerAuth: []
tags:
  - name: Billing Events and Metrics
  - name: Credit Notes
  - name: Credits
  - name: Customer Portal Sessions
  - name: Customers
  - name: Insights
  - name: Invoices
  - name: Payments
  - name: Plans
  - name: Product Bundles
  - name: Products
  - name: Refunds
  - name: Revenue Schedules
  - name: Subscription Changes
  - name: Subscription Versions
  - name: Subscriptions
  - name: Wallet Grants
  - name: Wallets
paths:
  /insights/revenue/subscription/{id}:
    get:
      tags:
        - Insights
      summary: Get MRR, ARR, and ACV for a subscription
      description: >-
        Returns the monthly recurring revenue (MRR), annual recurring revenue
        (ARR), and annual contract value (ACV) for a single subscription.
      operationId: get-revenue-by-subscription
      parameters:
        - in: header
          name: Alguna-Version
          required: true
          schema:
            enum:
              - '2026-04-01'
            type: string
        - in: path
          name: id
          required: true
          schema:
            description: Unique identifier for the subscription
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RevenueBySubscriptionResponse'
          description: Success
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unprocessable Entity
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
components:
  schemas:
    RevenueBySubscriptionResponse:
      properties:
        annual_contract_value:
          description: Annual contract value (ACV)
          example: '125000.00'
          type: string
        annual_recurring_revenue:
          description: Annual recurring revenue (ARR)
          example: '120000.00'
          type: string
        currency:
          description: ISO 4217 currency code
          example: USD
          type: string
        monthly_recurring_revenue:
          description: Monthly recurring revenue (MRR)
          example: '10000.00'
          type: string
      required:
        - annual_contract_value
        - annual_recurring_revenue
        - currency
        - monthly_recurring_revenue
      type: object
    ErrorResponse:
      properties:
        detail:
          type: string
        status:
          format: int64
          type: integer
      required:
        - status
        - detail
      type: object
  securitySchemes:
    bearerAuth:
      bearerFormat: API Key
      description: API key authentication. Pass your API key as a Bearer token.
      scheme: bearer
      type: http

````