---
title: "Org-wide SaaS metrics roll-up"
description: "MRR/ARR by currency + per-business."
canonical_url: "https://twominutebilling.com/help/developers/api-reference/organization/org-wide-saas-metrics-roll-up"
---
# Org-wide SaaS metrics roll-up

> MRR/ARR by currency + per-business.

<api-operation method="GET" path="/v1/metrics">
<template v-slot:docs="">
<warning>

This endpoint is deprecated. It keeps working within its API version.

</warning>

Deprecated. Replaced by `GET /v1/analytics` (one measure over one window, optionally split by one dimension) and `GET /v1/analytics/measures` (the discovery endpoint listing every measure it can answer). This endpoint keeps answering with an unchanged payload and will only be removed at a version boundary, announced ahead of time.

## Response

<table>
<thead>
  <tr>
    <th>
      Field
    </th>
    
    <th>
      Type
    </th>
    
    <th>
      Description
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <code>
        object
      </code>
    </td>
    
    <td>
      <code>
        string
      </code>
    </td>
    
    <td>
      The object type; always <code>
        metrics_rollup
      </code>
      
      . One of <code>
        metrics_rollup
      </code>
      
      .
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        as_of
      </code>
    </td>
    
    <td>
      <code>
        string · ISO-8601
      </code>
    </td>
    
    <td>
      When the figures were computed.
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        totals_by_currency
      </code>
    </td>
    
    <td>
      <code>
        array of object
      </code>
    </td>
    
    <td>
      Totals across every business, per currency.
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        businesses
      </code>
    </td>
    
    <td>
      <code>
        array of object
      </code>
    </td>
    
    <td>
      Metrics for each business.
    </td>
  </tr>
</tbody>
</table>

## Status codes

<table>
<thead>
  <tr>
    <th>
      Status
    </th>
    
    <th>
      Meaning
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <code>
        200
      </code>
    </td>
    
    <td>
      Metrics roll-up
    </td>
  </tr>
</tbody>
</table>
</template>

<template v-slot:request="">

```bash [Request]
curl "$TMBILLING_URL/v1/metrics" \
  -H "Authorization: Bearer $TMBILLING_API_KEY"
```

</template>

<template v-slot:response="">

```json [200 OK]
{
  "object": "metrics_rollup",
  "as_of": "2026-03-14T09:30:00Z",
  "totals_by_currency": [
    {
      "currency": "USD",
      "mrr_minor": 1250000,
      "arr_minor": 15000000,
      "active": 412,
      "trialing": 31
    }
  ],
  "businesses": [
    {
      "business": "biz_XXXXXXXXXXXX01",
      "name": "Fernhill Analytics",
      "metrics": {}
    }
  ]
}
```

</template>
</api-operation>


## Sitemap

See the full [sitemap](https://twominutebilling.com/sitemap.md) for all pages.
