/api/v1/client-api/metrics/cohort/ Retrieve cohort data
Retrieve cohort data to track user groups over time.
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"
Specify how values are displayed
One of: "absolute", "relative"
Specify the type of values displayed
One of: "revenue", "arppu", "arpu", "arpas", "subscribers", "subscriptions"
The accounting method used
One of: "revenue", "proceeds", "net_revenue"
List of days since the app was installed for the cohort type period_type=days
Enter how many months of prediction you want
One of: 3, 6, 9, 12, 18, 24
Specify the export file format
One of: "json", "csv"
Responses
Cohort data retrieved successfully
Schema
Response containing cohort analysis data showing user behavior over time
Array of cohort segments, each representing a group of users who started in the same period
The start date of this cohort segment
Type of segment ('total' for aggregated data, 'single' for individual cohort)
Display title for this cohort segment
Total number of app installs in this cohort
Total number of subscriptions in this cohort
Total number of paid subscribers in this cohort
Total revenue in USD for this cohort
Total proceeds in USD for this cohort (after store fees)
Total net revenue in USD for this cohort
Total Average Revenue Per Active Subscriber (ANRPAS) in USD
Total Average Proceeds Per Active Subscriber (APPAS) in USD
Total Average Revenue Per Active Subscriber (ARPAS) in USD
Total Average Revenue Per Paying User (ANRPPU) in USD
Total Average Proceeds Per Paying User (APPPU) in USD
Total Average Revenue Per Paying User (ARPPU) in USD
Total Average Revenue Per User (ANRPU) in USD
Total Average Proceeds Per User (APPU) in USD
Total Average Revenue Per User (ARPU) in USD
Prediction data for this cohort (if available)
Array of period-based values showing cohort performance over time
Average Revenue Per Active Subscriber in USD for this period
Average Proceeds Per Active Subscriber in USD for this period
Average Net Revenue Per Active Subscriber in USD for this period
Average Net Revenue Per Paying User in USD for this period
Average Proceeds Per Paying User in USD for this period
Average Revenue Per Paying User in USD for this period
Average Net Revenue Per User in USD for this period
Average Proceeds Per User in USD for this period
Average Revenue Per User in USD for this period
Number of app installs in this period
Period number (1 = first period, 2 = second period, etc.)
Total revenue in USD for this period
Total proceeds in USD for this period (after store fees)
Total net revenue in USD for this period
Revenue as percentage relative to the first period (100% = first period)
Proceeds as percentage relative to the first period (100% = first period)
Net revenue as percentage relative to the first period (100% = first period)
Number of subscriptions in this period
Subscriptions as percentage relative to the first period (100% = first period)
Number of subscribers in this period
Subscribers as percentage relative to the first period (100% = first period)
Whether this is the currently active period for the cohort
Example
{
"data": [
{
"segment_start_date": "2024-04-01",
"type": "total",
"title": "Total",
"total_installs": 0,
"total_subscriptions": 0,
"total_paid_subscribers": 0,
"total_revenue_usd": 0,
"total_proceeds_usd": 0,
"total_net_revenue_usd": 0,
"total_anrpas_usd": 0,
"total_appas_usd": 0,
"total_arpas_usd": 0,
"total_anrppu_usd": 0,
"total_apppu_usd": 0,
"total_arppu_usd": 0,
"total_anrpu_usd": 0,
"total_appu_usd": 0,
"total_arpu_usd": 0,
"predict": null,
"values": [
{
"arpas_usd": 0,
"appas_usd": 0,
"anrpas_usd": 0,
"anrppu_usd": 0,
"apppu_usd": 0,
"arppu_usd": 0,
"anrpu_usd": 0,
"appu_usd": 0,
"arpu_usd": 0,
"installs": 0,
"period": 1,
"revenue_usd": 0,
"proceeds_usd": 0,
"net_revenue_usd": 0,
"revenue_relative": 0,
"proceeds_relative": 0,
"net_revenue_relative": 0,
"subscriptions": 0,
"subscriptions_relative": 0,
"subscribers": 0,
"subscribers_relative": 0,
"currently_active_period": false
}
]
}
]
} Bad Request
Schema
Unauthorized
Schema
Rate limit exceeded. Maximum 2 requests per second per API key.