# App Store Keyword Rank Tracker — ASO Ranks by Country (`alaudinburki/app-store-keyword-ranks`) Actor

Track where your iPhone apps rank for each keyword in each App Store country, how many places they moved since the last run, and who holds the top spots — from Apple's public Search API, no key.

- **URL**: https://apify.com/alaudinburki/app-store-keyword-ranks.md
- **Developed by:** [alaudin burki](https://apify.com/alaudinburki) (community)
- **Categories:** Marketing, Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 17.4% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 results

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 Tracker — ASO Ranks by Country

See where your iPhone and iPad apps rank for the keywords that matter, **in every App Store country you sell in**,
and how many places they moved since the last run. Rankings differ by storefront — on 2026-11-11, "photo editor" put
Picsart first in the US and Airbrush first in the UK — so a single-country check misses half the picture.

Two ways to use it:

- **Track your apps** — give app IDs or App Store links. One row per app × keyword × country: `rank`, `previousRank`,
  `rankChange`, whether it entered or dropped out of the top 200, and who is #1.
- **Map a keyword** — leave `apps` empty. One row per top app per keyword × country with rating, rating count,
  price and genre: the competitive landscape before you choose keywords.

Schedule it daily or weekly; the `SUMMARY` record lists the biggest movers. Built for indie developers, ASO
freelancers and app agencies who need rank history without a monthly ASO-tool subscription.

### Input

```json
{
  "keywords": ["photo editor", "pdf scanner"],
  "countries": ["us", "gb", "de"],
  "apps": ["587366035", "https://apps.apple.com/us/app/airbrush-face-photo-editor/id998411110"],
  "stateKey": "RANKS"
}
```

### Output

Tracked-apps mode: `keyword`, `country`, `appId`, `appName`, `rank`, `inTop` (10/50/200), `previousRank`,
`rankChange` (positive = moved up), `enteredResults`, `droppedOut`, `resultsCount`, `topApp`, `topAppId`,
`checkedAt`.
Market mode: `keyword`, `country`, `rank`, `appId`, `appName`, `developer`, `rating`, `ratingCount`, `price`,
`currency`, `genre`, `url`, `previousRank`, `rankChange`, `newInTop`, `resultsCount`, `checkedAt`.

### Good to know

- Ranks come from **Apple's public Search API**, which returns up to 200 apps per keyword in ranked order. It is the
  same search engine as the App Store, but a single device can still show a slightly different order (personalisation,
  ads). Search Ads placements are not included.
- `rank: null` means outside the top 200 for that keyword and country.
- Apple allows about 20 searches a minute, so the Actor paces itself: 10 keywords × 5 countries takes about 3 minutes.
- iOS App Store only; Google Play has no public search API.

### Pricing

**$1.00 / 1,000 results** (`$0.001` per result), plus a near-zero start fee. One result is one rank row.

# Actor input Schema

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

Search terms to rank for.

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

App Store storefronts, two-letter codes (us, gb, de, in, pk …).

## `apps` (type: `array`):

App IDs or App Store URLs to track. Leave empty to get the top apps for each keyword instead.

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

How many top apps to return per keyword and country.

## `stateKey` (type: `string`):

Where last run's ranks are kept, for rank changes. One key per tracking setup.

## Actor input object example

```json
{
  "keywords": [
    "photo editor",
    "pdf scanner"
  ],
  "countries": [
    "us",
    "gb"
  ],
  "apps": [
    "587366035"
  ],
  "topN": 10,
  "stateKey": "RANKS"
}
```

# Actor output Schema

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

Every row of the run, in the dataset (fields as listed under Output in the README).

## `summary` (type: `string`):

Counts, items not found and other notes for the run.

# 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": [
        "photo editor",
        "pdf scanner"
    ],
    "countries": [
        "us",
        "gb"
    ],
    "apps": [
        "587366035"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("alaudinburki/app-store-keyword-ranks").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": [
        "photo editor",
        "pdf scanner",
    ],
    "countries": [
        "us",
        "gb",
    ],
    "apps": ["587366035"],
}

# Run the Actor and wait for it to finish
run = client.actor("alaudinburki/app-store-keyword-ranks").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": [
    "photo editor",
    "pdf scanner"
  ],
  "countries": [
    "us",
    "gb"
  ],
  "apps": [
    "587366035"
  ]
}' |
apify call alaudinburki/app-store-keyword-ranks --silent --output-dataset

```

## MCP server setup

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

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/edjjWh8yhLoSjnQ1h/builds/SYdh7LzcjfLTmMv0q/openapi.json
