Based on the category of the given application, AppTweak can provide an estimation of its downloads on the selected period (dates range) in the chosen country.
The two letter country code (ISO Alpha-2) you want to fetch the app in.
us. Get the list of our country codes, here.
The device you want to fetch the application for.
iphone or ipad
Start date, format: YYYY-MM-DD
End date, format: YYYY-MM-DD
GET /ios/applications/618783545/downloads.json?country=es&start_date=2018-09-01&end_date=2018-09-15&device=iphone
curl -X GET -H "X-Apptweak-Key: ${API_KEY}" "https://api.apptweak.com/ios/applications/618783545/downloads.json?country=es&start_date=2018-09-01&end_date=2018-09-15&device=iphone"
The response for the Download Estimates request is a JSON hash containing all the values calculated by AppTweak for the given application in the selected country and period (dates range) on the App Store.
Key/value pairs containing the history of the downloads estimates on the selected period per device.
The list of devices the app is available on. Can contain : ipad, ipod and iphone.
Start date for the selected period.
End date for the selected period.
Array of numbers (integer) listing all the download estimate for each day on the selected period.
Array of numbers (float) listing the AppTweak confidence about the calculated download estimate for each day on the selected period.
{
"content": {
"es": [
{
"start_date": "2018-09-01",
"end_date": "2018-09-15",
"device": "ipad",
"downloads": [
10,
6,
10,
10,
13,
13,
22,
16,
15,
15,
9,
4,
5,
14,
14
],
"precision": [
0.8422911773404118,
0.8508253873707806,
0.8422911773404118,
0.8422911773404118,
0.8422911773404118,
0.8270306620727836,
0.8735066032970483,
0.8270306620727836,
0.8270306620727836,
0.8270306620727836,
0.8422911773404118,
0.8508253873707806,
0.8508253873707806,
0.8422911773404118,
0.8270306620727836
]
},
{
"start_date": "2018-09-01",
"end_date": "2018-09-15",
"device": "iphone",
"downloads": [
51,
50,
102,
121,
154,
169,
150,
71,
59,
121,
152,
128,
136,
135,
80
],
"precision": [
0.8197487478028338,
0.8197487478028338,
0.8197487478028338,
0.8197487478028338,
0.8197487478028338,
0.8197487478028338,
0.8268536235533313,
0.8197487478028338,
0.8197487478028338,
0.8197487478028338,
0.8197487478028338,
0.8197487478028338,
0.8197487478028338,
0.8197487478028338,
0.8197487478028338
]
}
]
},
"metadata": {
"request": {
"path": "/applications/618783545/downloads.json",
"store": "ios",
"params": {
"country": "es",
"start_date": "2018-09-01T00:00:00+00:00",
"end_date": "2018-09-15T00:00:00+00:00",
"apply_seasonality": true,
"id": "618783545",
"format": "json"
},
"performed_at": "2018-11-21 16:41:29 UTC"
},
"content": {
}
}
}