# App Store Keyword Rank: ASO Keyword Difficulty & Weak Top 10 (`54m_music/app-store-keyword-rank`) Actor

Check where apps rank on the Apple App Store for your keywords and countries. Every ranked app comes with the keyword's difficulty score, top-10 average rating, rating-count concentration and a weak-top-10 flag. Official iTunes Search API, no login.

- **URL**: https://apify.com/54m_music/app-store-keyword-rank.md
- **Developed by:** [Sam](https://apify.com/54m_music) (community)
- **Categories:** Marketing, SEO tools, Business
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.00 / 1,000 ranked apps

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## App Store Keyword Rank: ASO keyword difficulty and weak-top-10 finder

Rank any keyword on the Apple App Store across countries and get every ranked app together with a
**keyword difficulty score** and a **weak top 10** flag. Use it for App Store Optimization (ASO): decide
which keywords are worth targeting, see who holds the top spots, and track where your own apps rank.

### What you get for each ranked app

| Field | What it means |
| --- | --- |
| `keyword`, `country`, `rank` | The search term, storefront and the app's position in Apple's results (1 = first) |
| `isTop10` | `true` for ranks 1-10 |
| `appId`, `name`, `developerName`, `storeUrl`, `primaryGenre`, `price` | The app as listed on the App Store |
| `rating`, `ratingCount` | Average stars and number of ratings |
| `ratingCountVsTop10Median` | This app's ratings divided by the top-10 median: how far it is above or below a typical top-10 app |
| `daysSinceUpdate` | Days since the latest release |
| `keywordInTitle` | `true` when every word of the keyword appears in the app name (a strong ASO signal) |
| `isTracked` | `true` for the app IDs you listed in `trackedAppIds` |
| `keywordDifficulty` | 0-100, formula below. Repeated on every row of the keyword and country |
| `weakTop10` | `true` when `keywordDifficulty` is below 50 |
| `top10AvgRating` | Mean stars of the top 10 (unrated apps are skipped) |
| `top10MedianRatingCount` | Median number of ratings among the top 10 |
| `top1RatingShare`, `top3RatingShare` | Share of all top-10 ratings held by the first app, and by the first three: review-count concentration |

#### Formulas

`keywordDifficulty` = 45 x A + 25 x B + 20 x C + 10 x D, rounded, from the top 10 apps:

- A = `clamp(log10(median ratings + 1) / 5, 0, 1)`: established incumbents (full marks at about 100,000 ratings)
- B = `clamp((mean stars - 3.5) / 1.2, 0, 1)`: users are already well served
- C = share of the top 10 updated within 180 days: competitors are alive
- D = share of the top 10 with the keyword in the app name: competitors target it on purpose

`weakTop10` = difficulty below 50. A weak top 10 means a new or small app has a realistic chance to enter it. It is
a screening proxy, not a guarantee. Rankings also depend on factors Apple does not publish.

### Input

| Field | Default | Notes |
| --- | --- | --- |
| `keywords` | `["habit tracker", "meditation timer"]` | One or more search terms |
| `countries` | `["us"]` | Two-letter storefront codes; each keyword is ranked in each country |
| `depth` | 25 | Ranked apps per keyword and country (10 to 200) |
| `trackedAppIds` | none | Your app IDs or `apps.apple.com` links, marked `isTracked` |

```json
{ "keywords": ["habit tracker", "aso keyword research"], "countries": ["us", "au"], "depth": 25, "trackedAppIds": ["1596403446"] }
```

### Output example

```json
{
  "keyword": "aso keyword research", "country": "us", "rank": 3, "isTop10": true,
  "name": "Example ASO Tool", "rating": 4.1, "ratingCount": 212, "ratingCountVsTop10Median": 1.09,
  "daysSinceUpdate": 41, "keywordInTitle": true, "isTracked": false,
  "keywordDifficulty": 49, "weakTop10": true, "top10AvgRating": 4.32,
  "top10MedianRatingCount": 195, "top1RatingShare": 0.001, "top3RatingShare": 0.061
}
```

### Pricing

Pay per event: you pay for each ranked app row written to the dataset (see the Pricing tab), plus Apify's
standard Actor start event. A keyword in one country at the default depth is 25 rows. No proxy or browser is used.

### How it works and limits

- Data comes from Apple's official iTunes Search API (`entity=software`). No login, no key, no page scraping.
- The Search API order follows a store search but is not guaranteed to equal the order inside the App Store app, which
  can be personalised. Treat ranks as a consistent public benchmark, not as a per-user ranking.
- Requests are polite: one at a time, at least 3 seconds apart, inside Apple’s limit of about 20 calls a minute. If Apple answers 429 or 403 twice in a row, the run
  stops with a clear message.
- The run fails with a clear message when nothing comes back, so you never pay for an empty run.
- Run it on a schedule (daily or weekly) and chart `rank` for your tracked apps to watch ASO changes.

### FAQ

**Which keywords should I target?** Filter `weakTop10 = true`, then prefer keywords where `top3RatingShare` is low
(no single dominant app) and `keywordInTitle` is true for few top-10 apps.

**How is this different from the App Store App Intel Actor?** App Intel profiles apps by keyword, ID or developer. This
Actor ranks apps for a keyword per country and scores the keyword itself.

# Actor input Schema

## `keywords` (type: `array`):

App Store search keywords (ASO terms). Each keyword is ranked in each country.

## `countries` (type: `array`):

Two-letter App Store country codes. Rankings differ per storefront.

## `depth` (type: `integer`):

How many ranked apps to return for each keyword and country. The top 10 always feed the difficulty score.

## `trackedAppIds` (type: `array`):

App IDs or apps.apple.com links. Their rows are marked isTracked, so you can filter your own rank.

## Actor input object example

```json
{
  "keywords": [
    "habit tracker",
    "meditation timer"
  ],
  "countries": [
    "us"
  ],
  "depth": 20,
  "trackedAppIds": []
}
```

# Actor output Schema

## `results` (type: `string`):

Every scored row in the default dataset, overview table view.

## `allFields` (type: `string`):

Every row with all fields.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "keywords": [
        "habit tracker",
        "meditation timer"
    ],
    "countries": [
        "us"
    ],
    "depth": 20,
    "trackedAppIds": []
};

// Run the Actor and wait for it to finish
const run = await client.actor("54m_music/app-store-keyword-rank").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "keywords": [
        "habit tracker",
        "meditation timer",
    ],
    "countries": ["us"],
    "depth": 20,
    "trackedAppIds": [],
}

# Run the Actor and wait for it to finish
run = client.actor("54m_music/app-store-keyword-rank").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "keywords": [
    "habit tracker",
    "meditation timer"
  ],
  "countries": [
    "us"
  ],
  "depth": 20,
  "trackedAppIds": []
}' |
apify call 54m_music/app-store-keyword-rank --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,54m_music/app-store-keyword-rank"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/TA9cCbgCbHX1afMGF/builds/UFOxYSBTgFT7KVAv7/openapi.json
