Analytics and Reports
Download sales, analytics, and financial reports from App Store ConnectAccess and download comprehensive analytics, sales, and financial reports for your apps.
Overview
The CLI provides access to:- Sales Reports: Daily, weekly, and monthly sales data
- Analytics Reports: App usage, crashes, and performance metrics
- Financial Reports: Revenue and payment information
- Custom Analytics: Request specific metrics and segments
Sales Reports
Sales reports provide transaction-level data for your apps.Download Daily Sales Report
Download Weekly Sales Report
Download Monthly Sales Report
Sales Report Types
- SALES: Standard sales transactions
- PRE_ORDER: Pre-order transactions
- NEWSSTAND: Newsstand sales (if applicable)
- SUBSCRIPTION: Subscription events
- SUBSCRIPTION_EVENT: Detailed subscription lifecycle events
Sales Report Subtypes
- SUMMARY: Aggregated sales summary
- DETAILED: Transaction-level details
- OPT_IN: Reports for apps with opted-in features
The vendor number is found in App Store Connect under Sales and Trends > Reports. Set it as
ASC_VENDOR_NUMBER environment variable to avoid repeating it.Analytics Reports
Request custom analytics reports for detailed app metrics.Create Analytics Request
1
Request analytics report
Create a request for ongoing analytics access:For one-time reports:
2
List analytics requests
View all analytics requests for your app:
3
Check request status
Get detailed status of a request:
4
List available report instances
Once the request is processed, inspect the available reports and instances:
Download Analytics Data
Download the actual report data:Analytics Report Segments
Segment analytics by various dimensions:- App version
- Device type
- Platform version
- Territory
- Source type
Financial Reports
Access payment and financial information:Download Financial Report
Report Regions
Financial reports are organized by region:US- United StatesEU- European UnionJP- JapanAU- AustraliaCN- China
Complete Reporting Workflow
Here’s a complete workflow for downloading reports:Automated Daily Reports (CI/CD)
GitHub Actions Example
Report Data Processing
Parse Sales Report
Sales reports are typically tab-delimited:Convert to JSON
Troubleshooting
”Vendor number not found”
Problem: Invalid or missing vendor number. Solution: Find your vendor number in App Store Connect:- Go to Sales and Trends
- Click Reports
- Your vendor number is displayed at the top
“Report not available for date”
Problem: Report for the requested date doesn’t exist yet. Solution:- Daily reports are available ~24 hours after the date
- Weekly reports are available on Sundays for the previous week
- Monthly reports are available ~14 days after month end
”Analytics request pending”
Problem: Analytics request is still processing. Solution: Check request status:COMPLETED before downloading instances.
”Failed to download report”
Problem: Network issues or API errors during download. Solution: Retry with increased timeout:Best Practices
- Automate daily downloads: Set up scheduled jobs to download reports automatically
- Store reports securely: Reports contain sensitive financial data—encrypt and restrict access
- Parse and analyze: Don’t just download—parse reports and feed into analytics platforms
- Set up monitoring: Alert on anomalies like sudden drop in downloads or revenue
- Use environment variables: Store vendor number and other config in environment variables
- Handle missing reports gracefully: Not all reports are available for all dates
- Archive historical data: Keep long-term archives for trend analysis
- Validate data: Cross-check totals with App Store Connect web interface
Related Commands
- TestFlight Analytics - Beta tester metrics
- Build Analytics - Build processing and distribution metrics