You should always use the API routes with filters to get the desired results. Accessing them without filters will return data with default filter values.
Filtering can be done using query params for each route. The filter parameters that can be used are the following:
minDate
maxDate
in order to obtain the desired date rangeYYYY-MM-DD
+ T
+ HH:MM:SS.MSMSMS
+ Z
2012-12-21T23:59:59.123Z
https://installeranalytics.com/api/apps/YOUR_APP_ID/reports/installs?minDate=2017-01-13T00:00:00.000Z
https://installeranalytics.com/api/apps/000000000000000000000000/reports/installs?minDate=2017-01-13T00:00:00.000Z
maxDate
minDate
in order to obtain the desired date rangeYYYY-MM-DD
+ T
+ HH:MM:SS.MSMSMS
+ Z
2012-12-21T23:59:59.123Z
https://installeranalytics.com/api/apps/YOUR_APP_ID/reports/installs?maxDate=2022-08-13T00:00:00.000Z
https://installeranalytics.com/api/apps/000000000000000000000000/reports/installs?maxDate=2022-08-13T00:00:00.000Z
version
1.0.0.0
https://installeranalytics.com/api/apps/YOUR_APP_ID/reports/installs?version=1.0.0.0
https://installeranalytics.com/api/apps/000000000000000000000000/reports/installs?version=1.0
versionGrouping
version
is not specified; otherwise, it will be ignored%5Cd%2B
that corresponds to the Major Version
filter%5Cd%2B%5C.%5Cd%2B
that corresponds to the Minor Version
filter%5Cd%2B%5C.%5Cd%2B%5C.%5Cd%2B
that corresponds to the Patch Version
filterhttps://installeranalytics.com/api/apps/YOUR_APP_ID/reports/installs?version=%5Cd%2B%5C.%5Cd%2B
https://installeranalytics.com/api/apps/000000000000000000000000/reports/installs?version=%5Cd%2B
https://installeranalytics.com/api/apps/000000000000000000000000/reports/installs?version=%5Cd%2B%5C.%5Cd%2B
https://installeranalytics.com/api/apps/000000000000000000000000/reports/installs?version=%5Cd%2B%5C.%5Cd%2B%5C.%5Cd%2B
hitFilters
all
, corresponding to the Add Filtered IPs
filtercustomers
, corresponding to the Omit Filtered IPs
filterfiltered
values, corresponding to the Only Filtered IPs
filterhttps://installeranalytics.com/api/apps/YOUR_APP_ID/reports/installs?hitFilters=all
https://installeranalytics.com/api/apps/000000000000000000000000/reports/installs?hitFilters=all
https://installeranalytics.com/api/apps/000000000000000000000000/reports/installs?hitFilters=customers
https://installeranalytics.com/api/apps/000000000000000000000000/reports/installs?hitFilters=filtered
mode
timeline
, which will return data corresponding to each day/week/month within the selected timeframe (day will be by default if dateGrouping
is not provided)raw
, which will return data without any grouping methodtotal
, which will return the total number of sessions within the selected timeframehttps://installeranalytics.com/api/apps/YOUR_APP_ID/reports/installs?mode=total
https://installeranalytics.com/api/apps/000000000000000000000000/reports/installs?mode=timeline
https://installeranalytics.com/api/apps/000000000000000000000000/reports/installs?mode=raw
https://installeranalytics.com/api/apps/000000000000000000000000/reports/installs?mode=total
dateGrouping
mode=timeline
day
which corresponds to 'By day' filterweek
which corresponds to 'By week' filtermonth
which corresponds to 'By month' filterhttps://installeranalytics.com/api/apps/YOUR_APP_ID/reports/installs?dateGrouping=day&mode=timeline
https://installeranalytics.com/api/apps/YOUR_APP_ID/reports/installs?dateGrouping=week&mode=timeline
https://installeranalytics.com/api/apps/YOUR_APP_ID/reports/installs?dateGrouping=month&mode=timeline
https://installeranalytics.com/api/apps/000000000000000000000000/reports/installs?dateGrouping=day&mode=timeline
https://installeranalytics.com/api/apps/000000000000000000000000/reports/installs?dateGrouping=week&mode=timeline
https://installeranalytics.com/api/apps/000000000000000000000000/reports/installs?dateGrouping=month&mode=timeline
limit
mode=timeline
https://installeranalytics.com/api/apps/YOUR_APP_ID/reports/installs?limit=100
https://installeranalytics.com/api/apps/000000000000000000000000/reports/installs?limit=100
countryCode
geographic-country
related API Routes for the Geographic viewGET request
on:https://installeranalytics.com/app/assets/data/countryCodeToAmchartMap.json
json
with all the country codes available in Installer Analyticshttps://installeranalytics.com/api/apps/000000000000000000000000/reports/geographic-country?countryCode=US
https://installeranalytics.com/api/apps/000000000000000000000000/reports/user-geographic-country?countryCode=US
regionCode
geographic-region
related API Routes for the Geographic viewGET request
on:https://installeranalytics.com/app/assets/data/countryCodeToAmchartMap.json
Algeria
, the map name will be algeriaLow
GET request
to get the desired regionBatna
, the code will be DZ-05
, but we'll only use the numerical part: 05
https://installeranalytics.com/app/assets/data/geographic/MAP_NAME.json
https://installeranalytics.com/api/apps/000000000000000000000000/reports/geographic-region?countryCode=DZ®ionCode=05
https://installeranalytics.com/api/apps/000000000000000000000000/reports/user-geographic-region?countryCode=DZ®ionCode=05
customPropertiesFilter
install
uninstall
maintenance
https://installeranalytics.com/api/apps/YOUR_APP_ID/reports/custom-properties?customPropertiesFilter=maintenance
https://installeranalytics.com/api/apps/000000000000000000000000/reports/custom-properties?customPropertiesFilter=install
uniqueCustomProps
true
or false
false
if left unspecifiedhttps://installeranalytics.com/api/apps/000000000000000000000000/reports/custom-properties?uniqueCustomProps=true
propertyNameFilter
https://installeranalytics.com/api/apps/000000000000000000000000/reports/custom-properties?propertyNameFilter=Time
Please note that all filters above can be combined, just like regular query params, using &
. The URL can look like this: https://installeranalytics.com/api/apps/YOUR_APP_ID/reports/installs?dateGrouping=day&hitFilters=all&limit=10&minDate=2017-01-01T00:00:00.000Z&maxDate=2022-08-25T00:00:00.000Z&mode=timeline