# App Store Keyword Position Monitor (`zaiq/aso-keyword-monitor`) Actor

Monitor app positions in Apple Search API results by keyword, storefront and language. Compare compatible snapshots, with clear source and coverage limits. $2.50 per 1,000 queries.

- **URL**: https://apify.com/zaiq/aso-keyword-monitor.md
- **Developed by:** [Zaiq](https://apify.com/zaiq) (community)
- **Categories:** Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 keyword queries

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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 Position Monitor

![App Store Keyword Position Monitor: Monitor app positions in Apple Search API results by keyword, storefront and language](https://api.apify.com/v2/key-value-stores/4VJNANhwKgqPpXtAi/records/hero-aso-keyword-monitor.jpg)

The default example is a fictional synthetic demonstration.

Track a keyword's first ten results from Apple's public iTunes Search API, by country storefront and supported response language. Supply numeric app IDs to see which of your apps appear.

Select a private snapshot store on scheduled runs to compare the last successful observation of the same query, source, storefront, language and result limit. Movement is shown only when an app appears in both observations.

Examples, keywords and IDs in this listing are fictional. Live keywords and storefront details are sent to Apple; use only information you are comfortable sending.

### What you get

| Field | What it holds |
|---|---|
| Query observation | Keyword, source, storefront, language, UTC time, API source order and app IDs. |
| Tracked apps | Current and previous positions and movement, when both positions are known. |
| SUMMARY | Failures, response bytes, query counts and charges. |

### What people use it for

- **Monitor search visibility:** Schedule the same keywords to observe changes in the API's returned ordering.
- **Agency tracking:** Track several numeric app IDs across search phrases.

### How to use it

1. Start with the fictional demo; Apify charges the automatic startup event.
2. Turn demo off and enter keywords, a storefront and optional numeric app IDs.
3. For comparisons, select a private snapshot store and reuse it on future runs. A named store is also supported when the run already has access; choose only one.

### Input

| Field | Example | Notes |
|---|---|---|
| Keywords | fictional focus timer | One or more search terms |
| App IDs | 100001 | Numeric Apple IDs; this example is fictional |
| Storefront | US | Two-letter country code |
| Language | en_us | English or Japanese |
| Snapshot store | Select a private key-value store | Grant read and write access only to this store, or supply a name when the run already has access |

### Output

Each result is one row in the run's dataset (download it as JSON, CSV, Excel, XML or HTML, or read it through the API). An example row (values shortened):

```json
{
  "kind": "query",
  "query": "sample focus timer",
  "source": "itunes-search-api-v2",
  "platform": "ios",
  "storefront": "US",
  "language": "en_us",
  "status": "DEMO",
  "demo": true,
  "complete": true,
  "observedAt": "2026-10-28T12:00:00Z",
  "results": [
    {
      "appId": "100001",
      "sourceOrder": 1
    },
    {
      "appId": "100002",
      "sourceOrder": 2
    }
  ],
  "trackedApps": [
    {
      "appId": "100002",
      "sourceOrder": 2,
      "previousSourceOrder": 1,
      "movement": -1,
      "comparison": "comparable"
    }
  ]
}
```

The row above is a fictional synthetic demo, not a real run; IDs and keyword are invented. The SUMMARY record reports charges, failures and coverage for your run.

### Pricing

- Apify automatically charges $0.00005 per started GB of memory, minimum one, on every run, including demo and failed runs.
- $0.0025 per completed query with at least one result, up to ten results. Empty and failed queries have no query charge.
- Launch price. It may rise later; Apify emails every user 14 days before any price increase takes effect, and a rise can happen at most once a month.

What typical jobs cost at the list price:

| Job | Cost |
|---|---|
| Demo at 512 MB | $0.00005 startup; no query charge |
| One successful query at 512 MB | $0.00255 |
| Ten successful queries at 512 MB | $0.02505 |

On Apify's Scale and Business plans the per-event prices are lower (Store discounts). Set **Maximum cost per run** and the Actor stops cleanly when it is reached: you never pay more than that.

### Tips

- Use the same keyword, storefront, language and snapshot store in successive runs.
- A positive movement means the source order number became smaller.

### Use it through the API

**Python**

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("zaiq/aso-keyword-monitor").call(run_input={"demo": false, "keywords": ["focus timer"], "appIds": ["100001"], "storefront": "US", "language": "en_us", "snapshotStoreResource": "YOUR_PRIVATE_STORE_ID"})
for row in client.dataset(run.default_dataset_id).iterate_items():
    print(row)
```

**JavaScript**

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

const client = new ApifyClient({ token: '<YOUR_APIFY_TOKEN>' });
const run = await client.actor('zaiq/aso-keyword-monitor').call({"demo": false, "keywords": ["focus timer"], "appIds": ["100001"], "storefront": "US", "language": "en_us", "snapshotStoreResource": "YOUR_PRIVATE_STORE_ID"});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
```

**HTTP (one call, results back)**

```bash
curl -X POST 'https://api.apify.com/v2/acts/zaiq~aso-keyword-monitor/run-sync-get-dataset-items?token=<YOUR_APIFY_TOKEN>' \
  -H 'Content-Type: application/json' \
  -d '{"demo": false, "keywords": ["focus timer"], "appIds": ["100001"], "storefront": "US", "language": "en_us", "snapshotStoreResource": "YOUR_PRIVATE_STORE_ID"}'
```

### Integrations and schedules

- **Schedules:** run it every hour, day or week from the Apify Console (Schedules) and keep a history of results.
- **Make, Zapier, n8n, Google Sheets, Slack, Airtable:** connect it through Apify's integrations, or send each finished run to a **webhook**.
- **Datasets:** results stay in the run's dataset; export them or read them by API whenever you need them.

### Use it with AI agents (MCP)

Add Apify's MCP server with this Actor already pinned (`https://mcp.apify.com?tools=zaiq/aso-keyword-monitor`) to Claude, ChatGPT, Cursor, VS Code or any MCP client. The agent can find this Actor and run it for you: ask it for Compare an app's Apple Search API positions across scheduled observations.. AI agents can also pay for runs directly through Apify's agentic payments.

### Limits

- Apple API order is not a native device ranking, and results can change or differ from the App Store app.
- Only Apple API results are implemented. Google Play, city targeting, keyword volume and popularity are not provided.
- Only the first ten results are observed. If an app is missing in either snapshot, movement is UNKNOWN rather than a claimed rank or change.
- Invalid, denied, malformed or empty responses have no query charge; platform startup still applies. When a source returns an access check or HTTP 401, 403 or 429, remaining queries are not attempted.
- Apple documents en_us and ja_jp only. Its API may limit usage; this Actor waits at least four seconds between requests within a run.
- Snapshots are last-writer-wins. Do not run concurrent jobs against the same snapshot store and scope; older in-flight runs may overwrite newer observations.
- If a delivery or charge is interrupted or the billing count cannot be confirmed, the run stops and retains its output and charges for review; no automatic catch-up charge or snapshot replacement is attempted.
- Only runs completed without failures or a spending-limit stop advance snapshot history. Store writes are last-writer-wins and are not an atomic multi-query transaction.

### FAQ

**Are these native App Store rankings?**

No. They are positions in the iTunes Search API response.

**Does this include Google Play?**

No. Google Play is not currently implemented.

**What does UNKNOWN mean?**

A comparable position was unavailable, including when an app is outside the returned top ten.

### Support

Questions, a site that changed, or a field you need? Open an issue on this Actor's **Issues** tab: we answer there, usually within a day.

***

Also found as: app store keyword monitor, app position monitoring, app store search API.

# Actor input Schema

## `demo` (type: `boolean`):

Fictional sample with no query charge or network request; Apify charges its automatic startup event on every run.

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

Search phrases, up to 30 per run. Live phrases are sent to Apple. Ignored in demo mode.

## `appIds` (type: `array`):

Optional numeric App Store IDs; compare their positions within the returned top ten. Enter IDs, not names or links.

## `storefront` (type: `string`):

Two-letter ISO country code; Apple selects the default storefront for that country.

## `language` (type: `string`):

Apple documents English and Japanese response languages; this is not a city or device setting.

## `snapshotStore` (type: `string`):

Optional store name for a run whose account or token already has access. Use a private store, reuse the name and run sequentially. Choose this or the selected store, not both.

## `snapshotStoreResource` (type: `string`):

Select an existing private key-value store for reading and writing compatible snapshots. Reuse it for later runs and run sequentially. Choose this or the named store, not both.

## Actor input object example

```json
{
  "demo": true,
  "keywords": [
    "meditation timer"
  ],
  "appIds": [],
  "storefront": "US",
  "language": "en_us",
  "snapshotStore": ""
}
```

# Actor output Schema

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

Dataset: the results.

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

What each input returned, and notes.

# 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 = {
    "demo": true,
    "keywords": [
        "meditation timer"
    ],
    "appIds": [],
    "storefront": "US",
    "language": "en_us"
};

// Run the Actor and wait for it to finish
const run = await client.actor("zaiq/aso-keyword-monitor").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 = {
    "demo": True,
    "keywords": ["meditation timer"],
    "appIds": [],
    "storefront": "US",
    "language": "en_us",
}

# Run the Actor and wait for it to finish
run = client.actor("zaiq/aso-keyword-monitor").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 '{
  "demo": true,
  "keywords": [
    "meditation timer"
  ],
  "appIds": [],
  "storefront": "US",
  "language": "en_us"
}' |
apify call zaiq/aso-keyword-monitor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,zaiq/aso-keyword-monitor"
        }
    }
}
```

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/mb0ns0MTMWsS7jBob/builds/Mr8zJJrmiwr0BBQjH/openapi.json
