---
title: "Get customer lifetime value"
method: GET
path: "/api/analytics/ltv"
tags: ["Analytics"]
---

# Get customer lifetime value

`GET /api/analytics/ltv`

Average customer LTV and lifespan, broken down by plan.

## Response `200`

LTV metrics

- LtvResponse
  - `avgLtv` number, required
  - `avgLifespanDays` number, required
  - `byPlan` LtvPlanBreakdown[], required
    - `planId` string, required
    - `planName` string, required
    - `avgLtv` number, required
    - `avgLifespanDays` number, required

---

[API](https://skmtc.net/novabilling/apis/novabilling-api.md) · [All operations](https://skmtc.net/novabilling/apis/novabilling-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/novabilling/novabilling-api/revisions/0e449a4e0dc8/schema)
