/api/v1/client-api/metrics/ltv/ Retrieve Lifetime Value (LTV) data
Retrieves LTV data to assess the long-term revenue potential of customers over their engagement period.
Rate limit: 2 requests per second.
Request body
Enter the date or time period for which you want to retrieve chart data
Enter the comparison date or time period
Filter by the app store where the purchase was made
Filter by the 2-letter country code where the purchase took place
Unique identifier of a product from the app store
Specify the subscription duration
The source integration for attribution
Indicates if the attribution is organic or non-organic
Marketing channel that led to the transaction
Marketing campaign that brought the transaction
Attribution ad group that brought the transaction
Attribution ad set that led to the transaction
Specific visual or text elements in an ad or campaign tracked to measure effectiveness
Specify the offer categories you want to retrieve data for
Specify the offer types you want to retrieve data for
Specify the specific offers you want to retrieve data for
Specify the time interval for aggregating analytics data
One of: "day", "week", "month", "quarter", "year"
Analyze data by renewals or by days
One of: "renewals", "days"
Sets the basis for segmentation
Specify the export file format
One of: "json", "csv"
Responses
LTV data retrieved successfully
Schema
Response containing Lifetime Value (LTV) data for different revenue types
LTV calculated using gross revenue
Array of LTV data points for different cohorts
Display title for this LTV data point
Type of LTV data ('total' for aggregated data)
LTV value for this cohort
Array of period-based LTV values
Number of users in this cohort
HTML description explaining how LTV is calculated
The overall LTV value
Unit of measurement (typically 'USD')
Display title for this LTV metric
LTV calculated using proceeds (after store fees)
Array of LTV data points for different cohorts
Display title for this LTV data point
Type of LTV data ('total' for aggregated data)
LTV value for this cohort
Array of period-based LTV values
Number of users in this cohort
HTML description explaining how LTV is calculated
The overall LTV value
Unit of measurement (typically 'USD')
Display title for this LTV metric
LTV calculated using net revenue
Array of LTV data points for different cohorts
Display title for this LTV data point
Type of LTV data ('total' for aggregated data)
LTV value for this cohort
Array of period-based LTV values
Number of users in this cohort
HTML description explaining how LTV is calculated
The overall LTV value
Unit of measurement (typically 'USD')
Display title for this LTV metric
Example
{
"revenue": {
"data": [
{
"title": "Total",
"type": "total",
"value": 0,
"values": [],
"cohort_size": 0
}
],
"description": "<div>LTV (Lifetime Value) is calculated as revenue for the period / number of subscribers on start.\n It's an actual, not predicted LTV.\n <a target=\"_blank\" rel=\"noopener noreferrer\" href='https://adapty.io/docs/ltv'> Read more</a>.</div>",
"value": 0,
"unit": "USD",
"title": "LTV"
},
"proceeds": {
"data": [
{
"title": "Total",
"type": "total",
"value": 0,
"values": [],
"cohort_size": 0
}
],
"description": "<div>LTV (Lifetime Value) is calculated as revenue for the period / number of subscribers on start.\n It's an actual, not predicted LTV.\n <a target=\"_blank\" rel=\"noopener noreferrer\" href='https://adapty.io/docs/ltv'> Read more</a>.</div>",
"value": 0,
"unit": "USD",
"title": "LTV"
},
"net_revenue": {
"data": [
{
"title": "Total",
"type": "total",
"value": 0,
"values": [],
"cohort_size": 0
}
],
"description": "<div>LTV (Lifetime Value) is calculated as revenue for the period / number of subscribers on start.\n It's an actual, not predicted LTV.\n <a target=\"_blank\" rel=\"noopener noreferrer\" href='https://adapty.io/docs/ltv'> Read more</a>.</div>",
"value": 0,
"unit": "USD",
"title": "LTV"
}
} Bad Request
Schema
Unauthorized
Schema
Rate limit exceeded. Maximum 2 requests per second per API key.