Skip to main content

Analytics and Reports

Download sales, analytics, and financial reports from App Store Connect
Access 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:
Common segments include:
  • 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:
Common region codes:
  • US - United States
  • EU - European Union
  • JP - Japan
  • AU - Australia
  • CN - 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

Run with:

Troubleshooting

”Vendor number not found”

Problem: Invalid or missing vendor number. Solution: Find your vendor number in App Store Connect:
  1. Go to Sales and Trends
  2. Click Reports
  3. Your vendor number is displayed at the top
Set it as an environment variable:

“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:
Wait for the state to change to COMPLETED before downloading instances.

”Failed to download report”

Problem: Network issues or API errors during download. Solution: Retry with increased timeout:

Best Practices

  1. Automate daily downloads: Set up scheduled jobs to download reports automatically
  2. Store reports securely: Reports contain sensitive financial data—encrypt and restrict access
  3. Parse and analyze: Don’t just download—parse reports and feed into analytics platforms
  4. Set up monitoring: Alert on anomalies like sudden drop in downloads or revenue
  5. Use environment variables: Store vendor number and other config in environment variables
  6. Handle missing reports gracefully: Not all reports are available for all dates
  7. Archive historical data: Keep long-term archives for trend analysis
  8. Validate data: Cross-check totals with App Store Connect web interface