# App Store Search, Top Charts & Keyword Rank Tracker (`snapeandco/app-store-search-charts`) Actor

Search the iOS App Store by keyword, export Top Free / Paid / Grossing charts by country and category, and track your app's keyword rankings (ASO). Uses Apple's official public APIs — fast, cheap, no login, no proxy. MCP-ready.

- **URL**: https://apify.com/snapeandco/app-store-search-charts.md
- **Developed by:** [TATSUYA WATANABE](https://apify.com/snapeandco) (community)
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.50 / 1,000 app 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/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 Search, Top Charts & Keyword Rank Tracker

Three App Store tools in one Actor, built on **Apple's official public iTunes Search/Lookup API and top-chart feeds**:

1. **Keyword search**: the ranked list of iOS apps for any search term, in any country, with ratings, rating counts, price, developer, genre, version and more.
2. **Top charts**: Top Free, Top Paid and Top Grossing for iPhone and iPad, overall or by category (Games, Education, Finance, ...), up to 200 positions.
3. **Keyword rank tracking (ASO)**: give your app IDs and keywords, and get your position (1–200) for each keyword and country, plus the top 5 competitors.

No login, no browser, no proxies. Runs are fast and cheap, and the Actor works well on a daily schedule.

### Use cases

- **ASO / app marketing**: track keyword positions for your app and competitors every day.
- **Market research**: find the top apps for a niche ("habit tracker", "budget app") and compare ratings and rating counts.
- **Chart monitoring**: record daily Top Grossing / Top Free positions by country and category.
- **Lead generation for app agencies**: list developers ranking for a keyword.
- **AI agents (MCP)**: let Claude, ChatGPT or Cursor answer "Who ranks top 10 for 'meditation' in the UK App Store?"

### Input examples

**Track rankings for your app**

```json
{
  "keywords": ["language learning", "learn spanish", "vocabulary"],
  "trackAppIds": ["570060128"],
  "onlyRankChecks": true,
  "countries": ["us", "gb", "ca"]
}
```

**Top Grossing Games in Japan, with full details**

```json
{
  "charts": ["top-grossing"],
  "chartGenreIds": ["6014"],
  "chartLimit": 200,
  "includeChartAppDetails": true,
  "countries": ["jp"]
}
```

Common genre IDs: 6014 Games, 6017 Education, 6013 Health & Fitness, 6015 Finance, 6007 Productivity, 6016 Entertainment, 6005 Social Networking, 6008 Photo & Video, 6012 Lifestyle, 6002 Utilities, 6023 Food & Drink, 6003 Travel, 6000 Business. Use `all` for the overall chart.

### Output

Every record has a `type`:

- `rank`: `keyword`, `country`, `appId`, `appName`, `rank` (null if not in the top 200), `rankedInTop`, `top5`, `checkedAt`
- `search`: `keyword`, `rank` plus full app data (`appName`, `developer`, `averageRating`, `ratingCount`, `price`, `primaryGenre`, `version`, `url`, ...)
- `chart`: `chart`, `genreId`, `position`, `appName`, `developer`, `genre`, `price`, `url` (plus full app data if enabled)

```json
{
  "type": "rank",
  "keyword": "language learning",
  "country": "us",
  "appId": "570060128",
  "appName": "Duolingo: Learn Languages",
  "rank": 1,
  "rankedInTop": 200,
  "top5": ["Duolingo: Learn Languages", "Babbel", "..."],
  "checkedAt": "2026-12-02T10:00:00+00:00"
}
```

The Output tab has separate views for rank checks, search results and charts. Export as JSON, CSV or Excel, or connect to Google Sheets, Slack, Make, Zapier or n8n.

### Pricing

Pay per result: a small fee per app record (search result or chart entry) and per rank check. Platform usage is included. See the Pricing tab.

### Notes

- Search ranks come from Apple's public iTunes Search API. They closely track, but may not exactly match, what a person sees in the App Store app, which can be personalized.
- Charts come from Apple's public RSS chart feeds and are available for most storefronts.
- For App Store **reviews**, use our companion Actor **App Store Reviews & App Data API** (snapeandco/app-store-reviews).
- Google Play is not covered.

# Actor input Schema

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

App Store search terms, e.g. "habit tracker", "photo editor". Each keyword returns ranked apps.

## `trackAppIds` (type: `array`):

Numeric App Store IDs (the digits after 'id' in the app URL). For every keyword and country you get a rank-check record with the app's position (1–200, or null if not in the top 200).

## `onlyRankChecks` (type: `boolean`):

When tracking apps, skip the full search result list and output only the rank-check records (cheaper).

## `maxResultsPerKeyword` (type: `integer`):

Number of ranked apps to save per keyword and country (1–200).

## `charts` (type: `array`):

Charts to export: top-free, top-paid, top-grossing, top-free-ipad, top-paid-ipad, top-grossing-ipad.

## `chartGenreIds` (type: `array`):

Optional App Store genre IDs to get category charts, e.g. 6014 Games, 6017 Education, 6013 Health & Fitness, 6015 Finance, 6007 Productivity, 6016 Entertainment, 6005 Social Networking, 6008 Photo & Video, 6012 Lifestyle, 6002 Utilities. Use "all" for the overall chart. Empty = overall chart only.

## `chartLimit` (type: `integer`):

How many chart positions to export (1–200).

## `includeChartAppDetails` (type: `boolean`):

Enrich chart entries with rating average, rating count, version, release dates, size and description.

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

Two-letter App Store country codes (us, gb, jp, de, fr, ...). Every keyword and chart is run for each country.

## Actor input object example

```json
{
  "keywords": [
    "habit tracker"
  ],
  "onlyRankChecks": false,
  "maxResultsPerKeyword": 50,
  "chartLimit": 100,
  "includeChartAppDetails": false,
  "countries": [
    "us"
  ]
}
```

# Actor output Schema

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

All records saved by the run: keyword rank checks (type=rank), search results (type=search), chart entries (type=chart) and errors (type=error).

# 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"
    ],
    "countries": [
        "us"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("snapeandco/app-store-search-charts").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"],
    "countries": ["us"],
}

# Run the Actor and wait for it to finish
run = client.actor("snapeandco/app-store-search-charts").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"
  ],
  "countries": [
    "us"
  ]
}' |
apify call snapeandco/app-store-search-charts --silent --output-dataset

```

## MCP server setup

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

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/7xtXuflf3CDhYjiGw/builds/sXUddOQQqhJtBmS3H/openapi.json
