rc_get_chart
Retrieve time-series subscription metrics from RevenueCat, including MRR, churn, trial conversion, and revenue. Query chart data with filters, segments, and custom date ranges.
Instructions
Query time-series chart data from RevenueCat. Available charts: actives, actives_movement, actives_new, arr, churn, cohort_explorer, conversion_to_paying, customers_new, customers_active, ltv_per_customer, ltv_per_paying_customer, mrr, mrr_movement, refund_rate, revenue, subscription_retention, subscription_status, trials, trials_movement, trials_new, trial_conversion_rate. Returns data points with dates and values.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filters | No | JSON array of filters, e.g. [{"name":"store","values":["app_store"]}] | |
| segment | No | Dimension to segment by (use rc_get_chart_options to discover available segments) | |
| end_date | No | End date in ISO format (YYYY-MM-DD) | |
| chart_name | Yes | The chart to query | |
| resolution | No | Data resolution: day, week, month, quarter, year | |
| start_date | No | Start date in ISO format (YYYY-MM-DD) |