Google Play App Rank History API


Get app rank history data for an Android app available on Google Play Store.

Definition

Endpoint:

GET https://data.42matters.com/api/v2.0/android/apps/ranks.json

Hits per request:

3

Rate limit:

5 QPS

Required plan:

basic or above.

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 .
p required The package name identifying an Android application. Any publicly available Android app package name
start_date optional The start date of the report. A valid date in the format yyyy-MM-dd, for example: 2016-05-24
end_date optional The end date of the report. A valid date in the format yyyy-MM-dd, for example: 2016-05-30
days optional Set the date range from yesterday to the specified number of days in the past. 1-30
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
movers_shakers Top Trending
topgrossing Top Grossing Apps
topselling_new_free Top New Free
topselling_new_paid Top New Paid
cat_keys optional Comma-separated list of cat_key values. If no cat_key is specified, all available cat_keys will be returned. ID of Google Play Categories
countries optional Comma-separated list of countries (ISO code). If no country is specified, all available countries will be returned. ID of Supported Countries
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 include currency, price, formattedPrice. If the country is not supported, then the default metadata of the app is returned. ID of Supported Countries US
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
package_name String The app package name (unique identifier)
title String App title
developer String App developer name
number_ratings Integer Number of app ratings
rating Double App rating (from 0 to 5, 5 highest)
icon URL Full-sized icon. Format can be either webp or png. In order to request png format, remove the trailing "-rw" from the url.
icon_72 URL App icon (72x72 pixels)
price String App price with currency (if paid)
market_url URL A deep link to the app page on Google Play
start_date Date A date in the format: yyyy-MM-dd
end_date Date A date in the format: yyyy-MM-dd
max_position Integer The maximum position among all ranks. Useful to set custom ranges in your charts.
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: country, country_name, cat_key, category_name, list_name, list_title, positions (in the returned dates). If a position is null, it means the app is not in this chart on that day.
404 The package name 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

Example Response

{
	"package_name": "com.google.android.apps.plus",
	"start_date": "2017-11-11",
	"end_date": "2017-11-20",
	"max_position": 535,
	"number_dates": 10,
	"dates": [
		"2017-11-11",
		"2017-11-12",
		"2017-11-13",
		"2017-11-14",
		"2017-11-15",
		"2017-11-16",
		"2017-11-17",
		"2017-11-18",
		"2017-11-19",
		"2017-11-20"
	],
	"ranks": [
		{
			"country": "US",
			"country_name": "United States",
			"cat_key": "SOCIAL",
			"category_name": "Social",
			"list_name": "topselling_free",
			"list_title": "Top Selling Free",
			"positions": [
				{
					"date": "2017-11-11",
					"position": 29
				},
				{
					"date": "2017-11-12",
					"position": 27
				},
				{
					"date": "2017-11-13",
					"position": 26
				},
				{
					"date": "2017-11-14",
					"position": 24
				},
				{
					"date": "2017-11-15",
					"position": 27
				},
				{
					"date": "2017-11-16",
					"position": 26
				},
				{
					"date": "2017-11-17",
					"position": 26
				},
				{
					"date": "2017-11-18",
					"position": 27
				},
				{
					"date": "2017-11-19",
					"position": 26
				},
				{
					"date": "2017-11-20",
					"position": 24
				}
			]
		},
		{
			"country": "US",
			"country_name": "United States",
			"cat_key": "APPLICATION",
			"category_name": "Application",
			"list_name": "topselling_free",
			"list_title": "Top Selling Free",
			"positions": [
				{
					"date": "2017-11-11",
					"position": null
				},
				{
					"date": "2017-11-12",
					"position": null
				},
				{
					"date": "2017-11-13",
					"position": null
				},
				{
					"date": "2017-11-14",
					"position": 463
				},
				{
					"date": "2017-11-15",
					"position": null
				},
				{
					"date": "2017-11-16",
					"position": 519
				},
				{
					"date": "2017-11-17",
					"position": null
				},
				{
					"date": "2017-11-18",
					"position": null
				},
				{
					"date": "2017-11-19",
					"position": 535
				},
				{
					"date": "2017-11-20",
					"position": 400
				}
			]
		}
	],
	"title": "Google+",
	"developer": "Google LLC",
	"number_ratings": 4206078,
	"rating": 4.2213921546936,
	"icon": "https://lh3.googleusercontent.com/N-AY2XwXafWq4TQWfua6VyjPVQvTGRdz9CKOHaBl2nu2GVg7zxS886X5giZ9yY2qIjPh=w300",
	"icon_72": "https://lh3.googleusercontent.com/N-AY2XwXafWq4TQWfua6VyjPVQvTGRdz9CKOHaBl2nu2GVg7zxS886X5giZ9yY2qIjPh=w72",
	"market_url": "https://play.google.com/store/apps/details?id=com.google.android.apps.plus&referrer=utm_source%3D42matters.com%26utm_medium%3Dapi",
	"price": ""
}

Last Modified: 2017-10-30


Get Free Support


We offer free email support to all our customers, with the 42matters team glad to provide you prompt, professional support. We’re here to help.


CONTACT US