App Store App Rank History API


App Store iOS App Rank History API. Retrieve comprehensive historical app rank insights for any iOS app available on the Apple App Store.

Definition

Endpoint:

GET https://data.42matters.com/api/v4.0/ios/apps/ranks.json

Hits per request:

3

Rate limit:

3 QPS

Required plan:

Small or above.

Historical data:

default 30 days (up to 1 year with 'Historical Package')

Parameters

Name Required Description Available Values Default
access_token required Your access token for using this API. You can get it for FREE by signing up .
id required The app ID on the iTunes store - (e.g for Facebook the ID is 284882215). Existing App ID on iTunes Store
country optional ISO code of the country. If no country is specified, US will be used. List of Supported Countries US
start_date optional The start date of the report. A valid date in the format yyyy-MM-dd, for example: 2020-05-24
end_date optional The end date of the report. A valid date in the format yyyy-MM-dd, for example: 2020-05-30
days optional Set the date range from yesterday to the specified number of days in the past. Without Historical Package: Last 30 days. With Historical Package: up to 1 year 1
list_names optional Comma-separated list of list_name values. If no list_name is specified, all available list_names will be returned.
Name Description
topselling_free Top Selling Free
topselling_paid Top Selling Paid
device_types optional Comma-separated list of Device Types. If no device_type is specified, all available device_types will be returned.
Value Information
iphone iPhone devices
ipad iPad devices
primaryGenreIds optional Comma-separated list of App Primary Genre Ids. If no primaryGenreId is specified, all available primaryGenreIds will be returned. ID of App Store Genres
lang optional Return language-specific metadata. If no translation is available the default language of the app is used. Internationalized fields include t​itle, short_desc, description, what_is_new, screenshots. ID of Supported Languages en
app_country optional Return country-specific app metadata. Country-specific fields are include currency, price, formattedPrice, userRatingCount, userRatingCountForCurrentVersion, averageUserRating, averageUserRatingForCurrentVersion. If the country is not supported, then the default metadata of the app is returned. ID of Supported Countries US
sort_order optional Ordering by date desc or asc asc
limit optional Number of ranks to return. 1-100 100
page optional Page based on the limit parameter, used for pagination. 1 - max pages. 1
callback optional If supplied, the response will use the JSONP format with a callback of the given name.

Responses

Status Code Indication Content-Type Body
200 Everything is OK application/json
Attribute Type Description
number_results Integer Total number of results for this query
num_pages Integer Maximum number of pages it's possible to iterate
has_next Boolean Flag indicating if there is a next page available
limit Integer Number of results per request
page Integer Current page number
trackId String Numeric unique identifier for the app assigned by Apple
trackCensoredName String App title
sellerName String Seller company name
userRatingCount Integer Number of ratings of the app for all versions
averageUserRating Double The average rating of the app for all versions (from 0 to 5, 5 highest)
artworkUrl512 URL Icon image with 512px square sizes
artworkUrl100 URL Icon image with 100px square sizes
formattedPrice String Price and currency of the app
trackViewUrl URL Link to the app on the Apple App Store
start_date Date A date in the format: yyyy-MM-dd
end_date Date A date in the format: yyyy-MM-dd
country String Country code
country_name String Name of the country
max_position Integer The maximum position in the response.
number_dates Integer Number of dates in the response
dates Array of dates Sorted list of dates in the response
ranks Array of Objects Sorted list of rank objects in the response. Each rank contains: primary_genre_id, primary_genre_name, list_name, list_title, date, position
404 The track id/bundle id is not found application/json Error object
402 Your request exceeds what's allowed by your current subscription plan application/json Error object
403 Your access token is not valid application/json Error object
429 Your request rate is over the limit application/json Error object

Example Request


This request can also be imported into Postman. Check out our Postman integration guide.

Example Response

{
  "number_results": 80,
  "num_pages": 8,
  "has_next": true,
  "limit": 10,
  "page": 1,
  "trackId": "835599320",
  "start_date": "2021-10-14",
  "end_date": "2021-10-23",
  "country": "US",
  "country_name": "United States",
  "max_position": 120,
  "number_dates": 2,
  "dates": [
    "2021-10-14",
    "2021-10-15"
  ],
  "ranks": [
    {
      "primary_genre_id": 36,
      "primary_genre_name": "Overall",
      "list_name": "topgrossing",
      "list_title": "Top Grossing Apps",
      "device_type": "iphone",
      "date": "2021-10-14",
      "position": 8
    },
    {
      "primary_genre_id": 36,
      "primary_genre_name": "Overall",
      "list_name": "topgrossing",
      "list_title": "Top Grossing Apps",
      "device_type": "ipad",
      "date": "2021-10-14",
      "position": 106
    },
    {
      "primary_genre_id": 6016,
      "primary_genre_name": "Entertainment",
      "list_name": "topgrossing",
      "list_title": "Top Grossing Apps",
      "device_type": "ipad",
      "date": "2021-10-14",
      "position": 10
    },
    {
      "primary_genre_id": 36,
      "primary_genre_name": "Overall",
      "list_name": "topselling_free",
      "list_title": "Top Selling Free",
      "device_type": "ipad",
      "date": "2021-10-14",
      "position": 16
    },
    {
      "primary_genre_id": 6016,
      "primary_genre_name": "Entertainment",
      "list_name": "topgrossing",
      "list_title": "Top Grossing Apps",
      "device_type": "iphone",
      "date": "2021-10-14",
      "position": 3
    },
    {
      "primary_genre_id": 6016,
      "primary_genre_name": "Entertainment",
      "list_name": "topselling_free",
      "list_title": "Top Selling Free",
      "device_type": "ipad",
      "date": "2021-10-14",
      "position": 3
    },
    {
      "primary_genre_id": 36,
      "primary_genre_name": "Overall",
      "list_name": "topselling_free",
      "list_title": "Top Selling Free",
      "device_type": "iphone",
      "date": "2021-10-14",
      "position": 2
    },
    {
      "primary_genre_id": 6016,
      "primary_genre_name": "Entertainment",
      "list_name": "topselling_free",
      "list_title": "Top Selling Free",
      "device_type": "iphone",
      "date": "2021-10-14",
      "position": 1
    },
    {
      "primary_genre_id": 36,
      "primary_genre_name": "Overall",
      "list_name": "topgrossing",
      "list_title": "Top Grossing Apps",
      "device_type": "ipad",
      "date": "2021-10-15",
      "position": 120
    },
    {
      "primary_genre_id": 6016,
      "primary_genre_name": "Entertainment",
      "list_name": "topgrossing",
      "list_title": "Top Grossing Apps",
      "device_type": "iphone",
      "date": "2021-10-15",
      "position": 4
    }
  ],
  "trackCensoredName": "TikTok",
  "sellerName": "TikTok Pte. Ltd.",
  "userRatingCount": 10661042,
  "averageUserRating": 4.74028,
  "artworkUrl512": "https://is2-ssl.mzstatic.com/image/thumb/Purple115/v4/08/c3/11/08c311b5-62ba-3fc3-1d58-7c26e8656b0e/source/512x512bb.jpg",
  "artworkUrl100": "https://is2-ssl.mzstatic.com/image/thumb/Purple115/v4/08/c3/11/08c311b5-62ba-3fc3-1d58-7c26e8656b0e/source/100x100bb.jpg",
  "trackViewUrl": "https://apps.apple.com/us/app/tiktok/id835599320?uo=4&at=10l9yE",
  "formattedPrice": "Free"
}

Last Modified: 7 Oct 2021


Automate your workflow


Bring app data into your existing workflow, dashboards, CRM, messaging platforms and many more services! Here a selection of third-party services we support:



Email

Email

Salesforce

Salesforce

HubSpot

HubSpot

Slack

Slack

Intercom

Intercom

Pipedrive

Pipedrive

Zendesk

Zendesk

Gekoboard

Gekoboard

Klipfolio

Klipfolio

Dynamics

Dynamics


And many more!


GET FREE INTEGRATIONS via Zapier!