App Store Connect
This section describes the endpoints that return the App Store Connect data of your own apps: the same data as the Download Report, Conversion Funnel View and Revenue Snapshot pages of the MobileAction dashboard.
The data comes from the App Store Connect Analytics & Performance integrations of your MobileAction account. An endpoint only returns data for apps whose integration status is SYNCED; use the Integrated Apps endpoint below to check the status of your apps.
NOTE
Rules shared by the report endpoints:
- The date range can be at most 31 days, both ends included (e.g.
2026-10-01to2026-10-31). Dates use theYYYY-MM-DDformat. granularityis one ofDAILY,WEEKLYorMONTHLY. AWEEKLYbucket is dated with the Monday of its week and aMONTHLYbucket with the 1st of its month; only the days inside the requested range are counted, so the first and last buckets can be partial.countryCodeListtakes two letter country codes (ISO 3166-1 alpha-2, e.g.US). An empty or missing list means all countries.- Apple delivers the reports with a delay of a few days, so the most recent days may not have data yet.
Integrated Apps ( 1 Credit / Request )
Returns the apps in the App Store Connect Analytics & Performance integrations of your account, with their integration status. As on the dashboard, apps that aren't available on the App Store (not released yet, or removed) are not listed.
GET /appstore-connect/integrated-apps?token=YOUR_API_KEYRequest Parameters
| Parameter | Description |
|---|---|
token | (required) API key |
Response Fields
| Field | Description |
|---|---|
success | Status of the request |
data | List of apps, sorted by trackId |
trackId | App Store track id of the app |
status | SYNCED: data is available. PENDING: the integration was just added and its first data import is still running. EXPIRED: App Store Connect rejected the integration's key; update it on the dashboard |
unacceptedAgreements | true when App Store Connect requires the account holder to accept new agreements before it returns data |
Example request
curl "https://api.mobileaction.co/appstore-connect/integrated-apps?token=YOUR_API_KEY"Example response
{
"success": true,
"data": [
{
"trackId": 284882215,
"status": "SYNCED",
"unacceptedAgreements": false
},
{
"trackId": 389801252,
"status": "EXPIRED",
"unacceptedAgreements": true
}
]
}Downloads ( 10 Credits / Request )
Returns the downloads of one or more apps by source (App Store search, App Store browse and other sources), with an optional comparison period. Downloads include first-time downloads and redownloads; updates and restores are not counted.
POST /appstore-connect/downloads?granularity=DAILY&token=YOUR_API_KEYRequest Parameters
| Parameter | Description |
|---|---|
granularity | (required) DAILY, WEEKLY or MONTHLY |
token | (required) API key |
Request Body
| Parameter | Description |
|---|---|
appIdList | List of App Store track ids. An empty list means all SYNCED apps of your account |
countryCodeList | List of two letter country codes. An empty list means all countries |
mainStartDate | (required) Start date of the period (YYYY-MM-DD) |
mainEndDate | (required) End date of the period (YYYY-MM-DD) |
secondaryStartDate | Start date of the comparison period. Send it together with secondaryEndDate, or leave both out |
secondaryEndDate | End date of the comparison period |
Response Fields
| Field | Description |
|---|---|
totalDownload | Total downloads in the main period |
searchDownload | Downloads from App Store search |
browseDownload | Downloads from App Store browse |
otherDownload | Downloads from other sources |
otherDownloads | Other downloads by source: appReferrer, webReferrer, appClip, institutionalPurchase, unavailable |
searchDownloadShare | Share of search downloads in the total, in percent (66.67 represents 66.67%) |
browseDownloadShare | Share of browse downloads in the total, in percent |
otherShares | Share of each other source in the total, in percent |
dateDownloadList | Downloads of the main period by date. Every date of the period is listed; dates without downloads have 0 |
date | Date of the bucket (YYYY-MM-DD) |
downloads | totalDownload, searchDownload, browseDownload, otherDownload and otherDownloads of the bucket |
secondaryDateDownloadList | Downloads of the comparison period by date, in the same format. Empty when no comparison period is sent |
The totals and shares are calculated for the main period only.
Example body
{
"appIdList": [284882215],
"countryCodeList": ["US", "GB"],
"mainStartDate": "2026-10-01",
"mainEndDate": "2026-10-31",
"secondaryStartDate": "2026-09-01",
"secondaryEndDate": "2026-09-30"
}Example request
curl --location 'https://api.mobileaction.co/appstore-connect/downloads?granularity=DAILY&token=YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"appIdList": [284882215],
"countryCodeList": ["US", "GB"],
"mainStartDate": "2026-10-01",
"mainEndDate": "2026-10-31",
"secondaryStartDate": "2026-09-01",
"secondaryEndDate": "2026-09-30"
}'Example response
{
"success": true,
"data": {
"totalDownload": 1200,
"searchDownload": 800,
"browseDownload": 250,
"otherDownload": 150,
"otherDownloads": {
"appReferrer": 60,
"webReferrer": 70,
"appClip": 0,
"institutionalPurchase": 0,
"unavailable": 20
},
"searchDownloadShare": 66.67,
"browseDownloadShare": 20.83,
"otherShares": {
"appReferrer": 5.0,
"webReferrer": 5.83,
"appClip": 0.0,
"institutionalPurchase": 0.0,
"unavailable": 1.67
},
"dateDownloadList": [
{
"date": "2026-10-01",
"downloads": {
"totalDownload": 40,
"searchDownload": 27,
"browseDownload": 8,
"otherDownload": 5,
"otherDownloads": {
"appReferrer": 2,
"webReferrer": 3,
"appClip": 0,
"institutionalPurchase": 0,
"unavailable": 0
}
}
}
],
"secondaryDateDownloadList": [
{
"date": "2026-09-01",
"downloads": {
"totalDownload": 35,
"searchDownload": 20,
"browseDownload": 10,
"otherDownload": 5,
"otherDownloads": {
"appReferrer": 5,
"webReferrer": 0,
"appClip": 0,
"institutionalPurchase": 0,
"unavailable": 0
}
}
}
]
}
}Conversion Funnel ( 10 Credits / Request )
Returns the impressions, first-time downloads and conversion rate of an app.
POST /appstore-connect/conversion-funnel?granularity=DAILY&token=YOUR_API_KEYRequest Parameters
| Parameter | Description |
|---|---|
granularity | (required) DAILY, WEEKLY or MONTHLY |
token | (required) API key |
Request Body
| Parameter | Description |
|---|---|
trackId | (required) App Store track id of the app |
countryCodeList | List of two letter country codes. An empty list means all countries |
startDate | (required) Start date (YYYY-MM-DD) |
endDate | (required) End date (YYYY-MM-DD) |
Response Fields
| Field | Description |
|---|---|
totalImpressions | Total impressions of the app in the period |
totalFirstTimeDownloads | Total first-time downloads (redownloads, updates and restores are not counted) |
totalConversionRate | First-time downloads divided by impressions, in percent (5.0 represents 5%) |
metricsByDate | Metrics by date. Dates without impressions or downloads are not listed |
date | Date of the bucket (YYYY-MM-DD) |
impressions | Impressions of the bucket |
firstTimeDownloads | First-time downloads of the bucket |
conversionRate | Conversion rate of the bucket, in percent |
Example body
{
"trackId": 284882215,
"countryCodeList": ["US", "GB"],
"startDate": "2026-10-01",
"endDate": "2026-10-31"
}Example request
curl --location 'https://api.mobileaction.co/appstore-connect/conversion-funnel?granularity=DAILY&token=YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"trackId": 284882215,
"countryCodeList": ["US", "GB"],
"startDate": "2026-10-01",
"endDate": "2026-10-31"
}'Example response
{
"success": true,
"data": {
"totalImpressions": 1000,
"totalFirstTimeDownloads": 50,
"totalConversionRate": 5.0,
"metricsByDate": [
{
"date": "2026-10-01",
"impressions": 120,
"firstTimeDownloads": 6,
"conversionRate": 5.0
},
{
"date": "2026-10-02",
"impressions": 95,
"firstTimeDownloads": 4,
"conversionRate": 4.21
}
]
}
}Sales ( 10 Credits / Request )
Returns the sales, proceeds and refunds of an app, including its in-app purchases. Amounts are converted to USD.
NOTE
Sales data is available for the last year. A start date older than one year is moved forward to the date one year ago; if the end date is older too, only that day is returned.
POST /appstore-connect/sales?granularity=DAILY&token=YOUR_API_KEYRequest Parameters
| Parameter | Description |
|---|---|
granularity | (required) DAILY, WEEKLY or MONTHLY |
token | (required) API key |
Request Body
| Parameter | Description |
|---|---|
trackId | (required) App Store track id of the app |
countryCodeList | List of two letter country codes. An empty list means all countries |
startDate | (required) Start date (YYYY-MM-DD) |
endDate | (required) End date (YYYY-MM-DD) |
Response Fields
| Field | Description |
|---|---|
totalSales | Total sales in USD (the amount customers paid) |
totalProceeds | Total proceeds in USD (the amount the developer receives, after refunds) |
totalRefunds | Total refunds in USD, as a negative amount |
metricsByDate | Metrics by date. Dates with no sales report row are not listed; a date with only refunds or free downloads is listed with sales 0 |
date | Date of the bucket (YYYY-MM-DD) |
sales | Sales of the bucket in USD |
proceeds | Proceeds of the bucket in USD |
refunds | Refunds of the bucket in USD |
Example body
{
"trackId": 284882215,
"countryCodeList": ["US", "GB"],
"startDate": "2026-10-01",
"endDate": "2026-10-31"
}Example request
curl --location 'https://api.mobileaction.co/appstore-connect/sales?granularity=DAILY&token=YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"trackId": 284882215,
"countryCodeList": ["US", "GB"],
"startDate": "2026-10-01",
"endDate": "2026-10-31"
}'Example response
{
"success": true,
"data": {
"totalSales": 1520.4,
"totalProceeds": 1012.75,
"totalRefunds": -24.99,
"metricsByDate": [
{
"date": "2026-10-01",
"sales": 49.99,
"proceeds": 34.99,
"refunds": 0.0
},
{
"date": "2026-10-02",
"sales": 62.97,
"proceeds": 44.08,
"refunds": -4.99
}
]
}
}Errors
Errors are returned with an HTTP error status and the following body.
| Field | Description |
|---|---|
success | Always false |
errorCode | Error code, see the table below |
errorMessage | Description of the error |
errors | List of error details |
| HTTP Status | Error Code | Description |
|---|---|---|
400 | INVALID_REQUEST | A parameter is missing or invalid, e.g. the date range is longer than 31 days or the granularity is not supported |
403 | APP_NOT_INTEGRATED | A requested app is not in a SYNCED App Store Connect Analytics & Performance integration of your account |
403 | NO_ACCESSIBLE_APPS | appIdList is empty and your account has no SYNCED app |
415 | INVALID_REQUEST | The request body of a POST endpoint is not sent as JSON (Content-Type: application/json) |
500 | INTERNAL_ERROR | The report could not be calculated. Try again later |
Example response
{
"success": false,
"errorCode": "APP_NOT_INTEGRATED",
"errorMessage": "The app is not in a synced App Store Connect Analytics & Performance integration of this account: appIdList=[284882215]",
"errors": []
}