get_analytics_report
Get analytics reports for App Store app performance across engagement, commerce, usage, and frameworks. Set granularity and dates for accurate data.
Instructions
Get analytics report data for an app. Categories: APP_STORE_ENGAGEMENT (impressions, page views), COMMERCE (purchases, sales), APP_USAGE (sessions, active devices), FRAMEWORK_USAGE, PERFORMANCE (crashes, launch time). Returns aggregated metrics by default (totals + breakdown by source, device). Set raw=true for granular per-territory/device/OS rows. IMPORTANT: always set granularity (DAILY or MONTHLY) — without it, Apple returns a mix of monthly and daily instances which is misleading. MONTHLY only covers completed months; DAILY only covers recent days (Apple rolls up older daily data into monthly). To get a full picture spanning past months and the current month, make two calls: one MONTHLY and one DAILY. Requires appId from list_apps.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw | No | If true, return raw rows instead of aggregated summary. Default false. | |
| appId | Yes | App Store Connect app ID (from list_apps) | |
| limit | No | Max raw rows to return when raw=true (default 500) | |
| endDate | No | End date (YYYY-MM-DD) | |
| category | Yes | Analytics report category | |
| startDate | No | Start date (YYYY-MM-DD) | |
| granularity | No | Report granularity. Always specify this — DAILY for recent days, MONTHLY for older data. Without it, Apple mixes monthly and daily instances together. |