GET with your API key.
A pk_test_ key reads test-mode data, a pk_live_ key live data. Money is a
decimal amount in your account currency (currency in every response).
Range parameters
Every response carries
range.previous: the window of the same length right
before from, which the comparison numbers use.
Examples
GET /analytics/mrr (abridged)
Plan gating
Below the plan a report needs, it answers403 with code: FEATURE_LOCKED
and details.feature (advancedAnalytics or mrrReports),
details.requiredPlan and details.requiredPlanName. GET /analytics/preview (headline totals) works on every plan.
MCP tools
get_analytics_preview, get_analytics_summary, get_sales_funnel,
get_revenue_by_source, get_repeat_buyer_cohorts, get_net_revenue and
get_mrr call these endpoints. See MCP server.