Subscription health metrics

Get subscription retention and churn metrics over a date range.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Returns subscription retention and churn metrics over a date range, broken down by month or year.

Metrics explained

MetricMeaning
OAOpening Active — subscriptions active at the start of the period
NSNew Starts — subscriptions that started during the period
COChurned from Opening — OA subscriptions that expired during the period
CIChurned In-Period — new starts that expired within the same period
CAClosing Active — subscriptions active at the end of the period
CAOClosing Active from Opening — OA minus CO
sub_ret_pctSubscriber retention: (OA - CO) / OA × 100
total_ret_pctTotal retention: CA / (OA + NS) × 100
sub_churn_pctSubscriber churn: CO / OA × 100
in_per_churn_pctIn-period churn: CI / NS × 100
total_churn_pctTotal churn: (CO + CI) / (OA + NS) × 100

Limits

  • Maximum 20 periods per request. Exceeding this returns a 422 with TOO_MANY_PERIODS.
  • Results are cached for 1 hour.
  • Gift donor subscriptions are excluded from all metrics.

Validation

The is_valid field confirms the formula: CA = OA + NS - CO - CI. If false, there may be a data inconsistency.

Query Params
integer
required

The site ID to scope this request to.

date
required

Start date in YYYY-MM-DD format.

date
required

End date in YYYY-MM-DD format. Must be on or after start_date.

string
enum
required

Aggregation interval.

Allowed:
Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json