Get Analytics Report Data
asc_get_analytics_report_dataFetches analytics report data from App Store Connect by resolving the latest or specified report instance, downloading and decompressing segments, and returning a preview of combined rows.
Instructions
Fetch the data of an analytics report: resolves the latest (or specified) report instance, downloads and decompresses its segments, and returns a preview of the combined rows.
Args:
reportId (string, required): The analytics report ID returned by asc_list_analytics_reports
granularity (string): "DAILY" (default) | "WEEKLY" | "MONTHLY"
processingDate (string, optional): YYYY-MM-DD. If omitted, the latest available instance is used.
Returns: { "reportId": string, "instanceId": string, "processingDate": string, // YYYY-MM-DD "granularity": string, "segmentCount": number, "totalRows": number, // total number of data rows across all segments "returnedRows": number, // number of rows included in this response (max 50) "truncated": boolean, // true if totalRows > returnedRows "rows": [ { : , ... } ] }
Error Handling:
Returns an error if no report instance matches the given granularity/processingDate (report may not be generated yet; can take up to 48 hours after the ONGOING request was created)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reportId | Yes | The analytics report ID returned by asc_list_analytics_reports. | |
| granularity | No | Report instance granularity: DAILY (default) | WEEKLY | MONTHLY. | DAILY |
| processingDate | No | Processing date (YYYY-MM-DD) of the instance to fetch. If omitted, the latest instance is used. |