Chart Search
Darkpool Chart Search allows iOS and Android chart rankings to be queried in a SQL-like format. Dark Chart Search only supports SELECT queries, and it doesn't support JOIN statements or sub-queries. Navigate the options below to understand how Darkpool Chart Search can be used.
Darkpool Chart Search processes SQL-like queries to retrieve data. Querying from Darkpool is done like any standard RDBMS, except that Darkpool Chart Search only accommodates the SELECT statement.
Basic UsageDarkpool Chart Search queries should always query from the darkpool table. The darkpool table is an abstraction; it contains a number of columns that can be queried:
- chart_type: the type of chart being queried from, eg. topfreeapplications on iOS, or topselling_free on Android for the relevant Top Downloaded charts
- chart_category: the app store category that a given app is published under, eg. 0 on iOS or APPLICATION on Android for All Categores, or 6014 on iOS or GAME on Android for Games.
- platform: the platform being queried, which can be either IOS or ANDROID.
- name: an app's name
- developer: the name of an app's developer
- The previous 90 dates in the format of YYYY-mm-dd (eg. 2024-01-01 for January 1st, 2024): Specific dates can be queried, or all dates stored can be queried. Darkpool stores the previous 90 days worth of chart data, including that day. These date columns contain the rank for a given app, based on the various other dimensions supplied (eg. chart_category and country).
As an example, to query the Top 10 Downloaded apps in the Games categories on both iOS and Android in the US on January 1st, 2024, one could write the following query (note no quotes around reserved keywords or date columns):
SELECT 2024-01-01 FROM darkpool WHERE chart_type IN (ANDROID_DOWNLOADED, IOS_DOWNLOADED) AND country='US' AND chart_category IN (ANDROID_GAMES, IOS_GAMES) AND 2024-01-01 <= 10 ORDER BY 2024-01-01 ASC
Reserved KeywordsReserved keywords exist for some columns. The full list of reserved keywords can be viewed by clicking on the reserved keywords tab in the menu to the left. For instance, instead of typing out all 90 dates to query the full dataset for a given app, the 90_DAYS keyword can be used, which will automatically be interpreted as the list of all 90 date columns in the database. Other keywords exists for chart types (eg. IOS_DOWNLOADED and ANDROID_DOWNLOADED in place of the topfreeapplications and topselling_free chart types that represent the Top Downloaded charts on iOS and Android, respectively). Reserved keywords also exist for chart categories.
Aggregate FunctionsThree aggregate functions are available for use in queries:
- AVG(): calculates the average value of a set of columns
- BEST_RANK(): calculates the best (highest) rank over some period of time. This period of time is provided as either a manually-constructed list of dates or a reserved keyword representing some set of dates, eg., 30_DAYS.
- WORST_RANK(): calculates the worst (highest) rank over some period of time. This period of time is provided as either a manually-constructed list of dates or a reserved keyword representing some set of dates, eg., 30_DAYS.
Average functions can take reserved keywords to represent sets of columns. See the Reserved keywords tab for a list of all available reserved keywords.
As an example, to calculate the average rank for the past week (inclusive of the most recent date available) on the Top Downloaded chart in the All Categories category in the US on iOS, where the average rank is less than or equal to 10, the following query can be used (note no quotes around reserved keywords):
SELECT AVG( 7_DAYS ) as avg_7_day_rank FROM darkpool WHERE chart_type = IOS_DOWNLOADED AND country='US' AND chart_category = IOS_OVERALL HAVING avg_7_day_rank <= 10 ORDER BY avg_7_day_rank ASC
Query ProcessingOnly the SELECT statement is available for use in Darkpool Chart Explorer queries. Performing a JOIN statement is not possible, nor are subqueries. Queries submitted to the Darkpool Chart Explorer are parsed, tokenized, and processed as separate queries to multiple tables. Queries are also recorded per user.
Find a number of sample queries below:
Rolling 7-day Average Top Downloaded Chart Rank Increase on iOS in the US)SELECT ( AVG( PREV_7DAYS ) - AVG( 7_DAYS ) ) as two_week_rank_change FROM darkpool WHERE chart_type = IOS_DOWNLOADED AND chart_category = IOS_OVERALL AND country = 'US' HAVING two_week_rank_change > 20 ORDER BY two_week_rank_change DESC
10 Apps that have seen their worst rank over the past 90 days above 50 but their best rank over the past 7 days under 10SELECT name, BEST_RANK(7_DAYS) best_rank, WORST_RANK(90_DAYS) worst_rank, 90_DAYS FROM darkpool WHERE country='US' AND chart_type=IOS_GROSSING AND chart_category=IOS_OVERALL AND WORST_RANK(90_DAYS) > 50 AND BEST_RANK(7_DAYS) < 10 ORDER BY best_rank ASC LIMIT 5
10 Largest One-Day Top Grossing Chart Increase, Yesterday to Today, in the Game and Health & Fitness categories on Android in the UKSELECT (PREV_DAY - LAST_DAY) as one_day_rank_increase FROM darkpool WHERE chart_type = ANDROID_GROSSING AND chart_category IN (ANDROID_GAME, 'HEALTH_AND_FITNESS') AND country='GB' AND platform='ANDROID' ORDER BY one_day_rank_increase DESC LIMIT 10
All apps in the the Overall chart category on iOS in the US that have been #1 Top Downloaded in the past 90 days, along with their 90 days of rank dataSELECT 90_DAYS, LEAST(90_DAYS) as best_rank FROM darkpool WHERE chart_type = IOS_DOWNLOADED AND country='US' AND chart_category=IOS_OVERALL HAVING best_rank=1 ORDER BY LAST_DAY ASC
Ranks for the Threads app on both iOS and Android, in the Overall category for each, in the US, Canada, United Kingdom, Germany, and FranceSELECT CONCAT('Threads - ', country, ' - ', platform) as name, 90_DAYS FROM darkpool WHERE name = 'Threads, an Instagram app' AND country IN( 'US', 'CA', 'GB', 'DE', 'FR' ) AND chart_category IN (IOS_OVERALL, ANDROID_OVERALL) AND chart_type IN (IOS_DOWNLOADED, ANDROID_DOWNLOADED)
You must have an active MDM Pro subscription in order to use Darkpool Chart Search.
Already have an account? Log-in here
Want to register a subscription? More information here
Subscribe to the Newsletter
- Darkpool is an app store intelligence product offered through the MDM Pro subscription. Darkpool allows users to search app ranks across platforms, across categories, and across countries with a SQL-like language. Want to see all apps that increased by 10+ ranks in the Games Category in the US, Germany, UK, and Australia from 8 days ago to yesterday? You can do that with Darkpool!
Follow MDM
Recent QuantMar Topics
Resources
Browse All Original Content