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 Apple App Store - (e.g for Facebook the ID is 284882215). Existing App ID on Apple App 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": "2023-05-20",
  "end_date": "2023-05-29",
  "country": "US",
  "country_name": "United States",
  "max_position": 71,
  "number_dates": 2,
  "dates": [
    "2023-05-20",
    "2023-05-21"
  ],
  "ranks": [
    {
      "primary_genre_id": 36,
      "primary_genre_name": "Overall",
      "list_name": "topselling_free",
      "list_title": "Top Selling Free",
      "device_type": "iphone",
      "date": "2023-05-20",
      "position": 6
    },
    {
      "primary_genre_id": 6016,
      "primary_genre_name": "Entertainment",
      "list_name": "topgrossing",
      "list_title": "Top Grossing Apps",
      "device_type": "ipad",
      "date": "2023-05-20",
      "position": 7
    },
    {
      "primary_genre_id": 6016,
      "primary_genre_name": "Entertainment",
      "list_name": "topselling_free",
      "list_title": "Top Selling Free",
      "device_type": "iphone",
      "date": "2023-05-20",
      "position": 1
    },
    {
      "primary_genre_id": 6016,
      "primary_genre_name": "Entertainment",
      "list_name": "topgrossing",
      "list_title": "Top Grossing Apps",
      "device_type": "iphone",
      "date": "2023-05-20",
      "position": 1
    },
    {
      "primary_genre_id": 6016,
      "primary_genre_name": "Entertainment",
      "list_name": "topselling_free",
      "list_title": "Top Selling Free",
      "device_type": "ipad",
      "date": "2023-05-20",
      "position": 3
    },
    {
      "primary_genre_id": 36,
      "primary_genre_name": "Overall",
      "list_name": "topgrossing",
      "list_title": "Top Grossing Apps",
      "device_type": "iphone",
      "date": "2023-05-20",
      "position": 1
    },
    {
      "primary_genre_id": 36,
      "primary_genre_name": "Overall",
      "list_name": "topgrossing",
      "list_title": "Top Grossing Apps",
      "device_type": "ipad",
      "date": "2023-05-20",
      "position": 71
    },
    {
      "primary_genre_id": 36,
      "primary_genre_name": "Overall",
      "list_name": "topselling_free",
      "list_title": "Top Selling Free",
      "device_type": "ipad",
      "date": "2023-05-20",
      "position": 7
    },
    {
      "primary_genre_id": 36,
      "primary_genre_name": "Overall",
      "list_name": "topgrossing",
      "list_title": "Top Grossing Apps",
      "device_type": "ipad",
      "date": "2023-05-21",
      "position": 71
    },
    {
      "primary_genre_id": 6016,
      "primary_genre_name": "Entertainment",
      "list_name": "topselling_free",
      "list_title": "Top Selling Free",
      "device_type": "ipad",
      "date": "2023-05-21",
      "position": 3
    }
  ],
  "trackCensoredName": "TikTok",
  "sellerName": "TIKTOK PTE. LTD.",
  "userRatingCount": 14820270,
  "averageUserRating": 4.75765,
  "artworkUrl512": "https://is3-ssl.mzstatic.com/image/thumb/Purple116/v4/d7/0d/40/d70d407c-ff18-5d29-456a-97ac2013bb4f/AppIcon_TikTok-0-0-1x_U007emarketing-0-0-0-7-0-0-sRGB-0-0-0-GLES2_U002c0-512MB-85-220-0-0.png/512x512bb.jpg",
  "artworkUrl100": "https://is3-ssl.mzstatic.com/image/thumb/Purple116/v4/d7/0d/40/d70d407c-ff18-5d29-456a-97ac2013bb4f/AppIcon_TikTok-0-0-1x_U007emarketing-0-0-0-7-0-0-sRGB-0-0-0-GLES2_U002c0-512MB-85-220-0-0.png/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 With 42matters’ APIs


Integrate app data and intelligence into your existing workflows, dashboards, CRM platforms, messaging platforms, and more! Below is a selection of the third-party services that are compatible with 42matters’ APIs:



Salesforce

Salesforce

HubSpot

HubSpot

Slack

Slack

Intercom

Intercom

Pipedrive

Pipedrive

Zendesk

Zendesk

Gekoboard

Gekoboard

Klipfolio

Klipfolio

Dynamics

Dynamics


And many more!