Skip to content

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-01 to 2026-10-31). Dates use the YYYY-MM-DD format.
  • granularity is one of DAILY, WEEKLY or MONTHLY. A WEEKLY bucket is dated with the Monday of its week and a MONTHLY bucket with the 1st of its month; only the days inside the requested range are counted, so the first and last buckets can be partial.
  • countryCodeList takes 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.

bash
GET /appstore-connect/integrated-apps?token=YOUR_API_KEY

Request Parameters

ParameterDescription
token(required) API key

Response Fields

FieldDescription
successStatus of the request
dataList of apps, sorted by trackId
trackIdApp Store track id of the app
statusSYNCED: 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
unacceptedAgreementstrue when App Store Connect requires the account holder to accept new agreements before it returns data

Example request

bash
curl "https://api.mobileaction.co/appstore-connect/integrated-apps?token=YOUR_API_KEY"

Example response

json
{
  "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.

bash
POST /appstore-connect/downloads?granularity=DAILY&token=YOUR_API_KEY

Request Parameters

ParameterDescription
granularity(required) DAILY, WEEKLY or MONTHLY
token(required) API key

Request Body

ParameterDescription
appIdListList of App Store track ids. An empty list means all SYNCED apps of your account
countryCodeListList 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)
secondaryStartDateStart date of the comparison period. Send it together with secondaryEndDate, or leave both out
secondaryEndDateEnd date of the comparison period

Response Fields

FieldDescription
totalDownloadTotal downloads in the main period
searchDownloadDownloads from App Store search
browseDownloadDownloads from App Store browse
otherDownloadDownloads from other sources
otherDownloadsOther downloads by source: appReferrer, webReferrer, appClip, institutionalPurchase, unavailable
searchDownloadShareShare of search downloads in the total, in percent (66.67 represents 66.67%)
browseDownloadShareShare of browse downloads in the total, in percent
otherSharesShare of each other source in the total, in percent
dateDownloadListDownloads of the main period by date. Every date of the period is listed; dates without downloads have 0
dateDate of the bucket (YYYY-MM-DD)
downloadstotalDownload, searchDownload, browseDownload, otherDownload and otherDownloads of the bucket
secondaryDateDownloadListDownloads 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

json
{
  "appIdList": [284882215],
  "countryCodeList": ["US", "GB"],
  "mainStartDate": "2026-10-01",
  "mainEndDate": "2026-10-31",
  "secondaryStartDate": "2026-09-01",
  "secondaryEndDate": "2026-09-30"
}

Example request

bash
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

json
{
  "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.

bash
POST /appstore-connect/conversion-funnel?granularity=DAILY&token=YOUR_API_KEY

Request Parameters

ParameterDescription
granularity(required) DAILY, WEEKLY or MONTHLY
token(required) API key

Request Body

ParameterDescription
trackId(required) App Store track id of the app
countryCodeListList 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

FieldDescription
totalImpressionsTotal impressions of the app in the period
totalFirstTimeDownloadsTotal first-time downloads (redownloads, updates and restores are not counted)
totalConversionRateFirst-time downloads divided by impressions, in percent (5.0 represents 5%)
metricsByDateMetrics by date. Dates without impressions or downloads are not listed
dateDate of the bucket (YYYY-MM-DD)
impressionsImpressions of the bucket
firstTimeDownloadsFirst-time downloads of the bucket
conversionRateConversion rate of the bucket, in percent

Example body

json
{
  "trackId": 284882215,
  "countryCodeList": ["US", "GB"],
  "startDate": "2026-10-01",
  "endDate": "2026-10-31"
}

Example request

bash
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

json
{
  "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.

bash
POST /appstore-connect/sales?granularity=DAILY&token=YOUR_API_KEY

Request Parameters

ParameterDescription
granularity(required) DAILY, WEEKLY or MONTHLY
token(required) API key

Request Body

ParameterDescription
trackId(required) App Store track id of the app
countryCodeListList 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

FieldDescription
totalSalesTotal sales in USD (the amount customers paid)
totalProceedsTotal proceeds in USD (the amount the developer receives, after refunds)
totalRefundsTotal refunds in USD, as a negative amount
metricsByDateMetrics by date. Dates with no sales report row are not listed; a date with only refunds or free downloads is listed with sales 0
dateDate of the bucket (YYYY-MM-DD)
salesSales of the bucket in USD
proceedsProceeds of the bucket in USD
refundsRefunds of the bucket in USD

Example body

json
{
  "trackId": 284882215,
  "countryCodeList": ["US", "GB"],
  "startDate": "2026-10-01",
  "endDate": "2026-10-31"
}

Example request

bash
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

json
{
  "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.

FieldDescription
successAlways false
errorCodeError code, see the table below
errorMessageDescription of the error
errorsList of error details
HTTP StatusError CodeDescription
400INVALID_REQUESTA parameter is missing or invalid, e.g. the date range is longer than 31 days or the granularity is not supported
403APP_NOT_INTEGRATEDA requested app is not in a SYNCED App Store Connect Analytics & Performance integration of your account
403NO_ACCESSIBLE_APPSappIdList is empty and your account has no SYNCED app
415INVALID_REQUESTThe request body of a POST endpoint is not sent as JSON (Content-Type: application/json)
500INTERNAL_ERRORThe report could not be calculated. Try again later

Example response

json
{
  "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": []
}