# Apple App Store Keyword Rank Tracker (`seemuapps/apple-app-store-keyword-rank-tracker`) Actor

Track where your iOS app ranks in Apple App Store search for any keyword, with the top competing apps for every term. Run on a schedule for daily rank history.

- **URL**: https://apify.com/seemuapps/apple-app-store-keyword-rank-tracker.md
- **Developed by:** [Andrew](https://apify.com/seemuapps) (community)
- **Categories:** Developer tools, SEO tools, Agents
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

from $10.00 / 1,000 keyword checks

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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## App Store Keyword Rank Tracker

Track where your iOS app ranks in Apple App Store search for any keyword — and see the top competing apps for every term. Built to run on a schedule for a daily ranking history.

### What you get

For every keyword you track, one row containing:

- **Your rank** — the position your app holds in App Store search results for that keyword (or "not found" if it ranks beyond your chosen search depth)
- **Your app's full listing** as it appears for that keyword — title, developer, rating, rating count, price, and icon
- **Top competitors** — the highest-ranking apps for the keyword, each with rank, App Store ID, title, developer, rating, rating count, price, store URL, and icon
- **A timestamp** on every row, so scheduled runs build a clean rank-over-time history
- Total results found and the search depth used

Export to JSON, CSV, Excel, or Google Sheets — or run on a schedule and append to the same dataset for a time series.

### Use cases

- **App Store Optimization (ASO)** — measure how keyword changes move your ranking over time
- **Keyword strategy** — find which terms you already rank for and which you don't
- **Competitor monitoring** — see exactly which apps outrank you for your most valuable keywords
- **Release impact tracking** — schedule daily runs and watch how each update shifts your positions
- **Agency reporting** — pull client ranking snapshots for any country on demand

### How to use

1. Add your **Keywords** — one search term per line
2. Enter the **App to track** — your app's Apple App Store numeric ID (e.g. `571800810`) or bundle ID (e.g. `com.calm.app`)
3. Set the **Country** storefront (two-letter code, default `us`)
4. Choose the **App type** — iPhone, iPad, or Mac apps
5. Set **Search depth** (how deep to look, max 200) and **Top competitors to capture**
6. Run the actor — one row per keyword in the **Dataset** tab

#### Build a ranking history

Set this actor on an **Apify Schedule** (e.g. once a day) and let it append to the same dataset. Each run stamps every row with `checkedAt`, so you get a daily time series of your rankings and your competitors' — the foundation of any ASO dashboard.

#### Finding your App Store ID

Open your app's App Store page; the number after `id` in the URL is your App Store ID — e.g. `https://apps.apple.com/us/app/calm/id571800810` → `571800810`. You can also use your bundle ID.

### Output format

One row per keyword:

```json
{
  "keyword": "meditation",
  "platform": "ios",
  "country": "us",
  "entity": "software",
  "trackedAppId": "571800810",
  "rank": 4,
  "found": true,
  "totalResults": 100,
  "searchDepth": 100,
  "checkedAt": "2026-05-29T18:00:00.000Z",
  "trackedApp": {
    "rank": 4,
    "appId": 571800810,
    "bundleId": "com.calm.app",
    "title": "Calm",
    "developer": "Calm.com, Inc.",
    "rating": 4.8,
    "ratingCount": 1700000,
    "price": 0,
    "formattedPrice": "Free",
    "url": "https://apps.apple.com/us/app/calm/id571800810",
    "iconUrl": "https://.../512x512bb.jpg"
  },
  "topResults": [
    { "rank": 1, "appId": 123, "title": "...", "developer": "...", "rating": 4.7, "ratingCount": 90000 }
  ]
}
````

### Input options

| Field | Type | Description |
|-------|------|-------------|
| Keywords | array | Search terms to check — required |
| App to track | string | App Store numeric ID or bundle ID — required |
| Country | string | Two-letter storefront code — default `us` |
| App type | enum | iPhone (`software`), iPad, or Mac apps — default iPhone |
| Search depth | integer | How many results to scan, 1–200 — default 100 |
| Top competitors to capture | integer | Competitors to include per keyword — default 10 |

### Notes

- Rankings reflect Apple's App Store search relevance order for each keyword and storefront. They closely track what users see in the App Store and are ideal for monitoring movement over time.
- If your app ranks beyond the **Search depth**, `rank` is reported as `null` and `found` as `false` — raise the depth (up to 200) to look deeper.
- One result row is produced per keyword, so a run checking 50 keyword × storefront combinations is fast and inexpensive.

# Actor input Schema

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

Search terms to check your app's ranking for, one per line (e.g. 'meditation', 'sleep sounds', 'breathing exercises').

## `appId` (type: `string`):

The Apple App Store numeric ID (e.g. 571800810) or bundle ID (e.g. com.calm.app) of the app whose ranking you want to track.

## `country` (type: `string`):

Two-letter ISO country code for the App Store storefront to search (e.g. 'us', 'gb', 'de').

## `entity` (type: `string`):

Which App Store catalog to search for rankings.

## `searchDepth` (type: `integer`):

How many search results to scan when looking for your app. If your app ranks beyond this, rank is reported as not found. Max 200 (Apple's limit).

## `topN` (type: `integer`):

How many of the top-ranking apps to include for each keyword, so you can see who outranks you.

## Actor input object example

```json
{
  "keywords": [
    "meditation",
    "sleep sounds"
  ],
  "appId": "571800810",
  "country": "us",
  "entity": "software",
  "searchDepth": 100,
  "topN": 10
}
```

# Actor output Schema

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

Fields: keyword, platform, country, entity, trackedAppId, rank (null if outside search depth), found, totalResults, searchDepth, checkedAt, trackedApp, and topResults (rank, appId, title, developer, rating, ratingCount, price, url, iconUrl).

# 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": [
        "meditation",
        "sleep sounds"
    ],
    "appId": "571800810"
};

// Run the Actor and wait for it to finish
const run = await client.actor("seemuapps/apple-app-store-keyword-rank-tracker").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": [
        "meditation",
        "sleep sounds",
    ],
    "appId": "571800810",
}

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

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).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": [
    "meditation",
    "sleep sounds"
  ],
  "appId": "571800810"
}' |
apify call seemuapps/apple-app-store-keyword-rank-tracker --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=seemuapps/apple-app-store-keyword-rank-tracker",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Apple App Store Keyword Rank Tracker",
        "description": "Track where your iOS app ranks in Apple App Store search for any keyword, with the top competing apps for every term. Run on a schedule for daily rank history.",
        "version": "1.0",
        "x-build-id": "dqO9o3ZKVaxh6KAc5"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/seemuapps~apple-app-store-keyword-rank-tracker/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-seemuapps-apple-app-store-keyword-rank-tracker",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/seemuapps~apple-app-store-keyword-rank-tracker/runs": {
            "post": {
                "operationId": "runs-sync-seemuapps-apple-app-store-keyword-rank-tracker",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/seemuapps~apple-app-store-keyword-rank-tracker/run-sync": {
            "post": {
                "operationId": "run-sync-seemuapps-apple-app-store-keyword-rank-tracker",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "keywords",
                    "appId"
                ],
                "properties": {
                    "keywords": {
                        "title": "Keywords",
                        "type": "array",
                        "description": "Search terms to check your app's ranking for, one per line (e.g. 'meditation', 'sleep sounds', 'breathing exercises').",
                        "items": {
                            "type": "string"
                        }
                    },
                    "appId": {
                        "title": "App to track (App Store ID or bundle ID)",
                        "type": "string",
                        "description": "The Apple App Store numeric ID (e.g. 571800810) or bundle ID (e.g. com.calm.app) of the app whose ranking you want to track."
                    },
                    "country": {
                        "title": "Country",
                        "type": "string",
                        "description": "Two-letter ISO country code for the App Store storefront to search (e.g. 'us', 'gb', 'de').",
                        "default": "us"
                    },
                    "entity": {
                        "title": "App type",
                        "enum": [
                            "software",
                            "iPadSoftware",
                            "macSoftware"
                        ],
                        "type": "string",
                        "description": "Which App Store catalog to search for rankings.",
                        "default": "software"
                    },
                    "searchDepth": {
                        "title": "Search depth",
                        "minimum": 1,
                        "maximum": 200,
                        "type": "integer",
                        "description": "How many search results to scan when looking for your app. If your app ranks beyond this, rank is reported as not found. Max 200 (Apple's limit).",
                        "default": 100
                    },
                    "topN": {
                        "title": "Top competitors to capture",
                        "minimum": 0,
                        "maximum": 200,
                        "type": "integer",
                        "description": "How many of the top-ranking apps to include for each keyword, so you can see who outranks you.",
                        "default": 10
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
