# App Store Country Compare — One App, Every Store (`atomo-studio/appstore-country-compare`) Actor

The App Store is 175 separate stores. Same app, different rating, review count, price and title in each - and missing entirely from some. This Actor checks an app across every storefront you pick and flags where it is absent, unlocalized, or rated worse. Official Apple API, no key needed.

- **URL**: https://apify.com/atomo-studio/appstore-country-compare.md
- **Developed by:** [Atomo Studio](https://apify.com/atomo-studio) (community)
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.50 / 1,000 storefront listings

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?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — 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 Country Compare — One App, Every Store

The App Store is not one store. It is **175 separate storefronts**, and the same app
has a different rating, a different review count, a different price and often a
different description in each one. Sometimes it is not on sale there at all.

Every other App Store Actor checks one country. This one checks all of them at once,
and tells you where your listing is losing.

### What it finds

Three real apps, 30 storefronts, 1.4 seconds:

| App | On sale | Listing text differs from US | Best store | Worst store |
|---|---|---|---|---|
| Notion | **29 / 30** — missing in Russia | 28 | BR ★4.88 | TR ★4.59 |
| Instagram | 30 / 30 | 29 | MX / BR ★4.81 | **SA ★4.34** |
| YouTube | 30 / 30 | **16** | BR ★4.74 | **SA ★4.17** |

Read the YouTube row. It is rated **0.57 stars lower in Saudi Arabia than in Brazil**,
and its store listing is identical to the US in 14 of the 30 countries checked. Neither
fact is visible from a single-country lookup, and both are things a product team acts on.

### What you get

One record per app **per storefront**, including the storefronts where the app is absent:

```json
{
  "app_id": "1232780281",
  "title": "Notion: 메모, 작업, AI",
  "country": "kr",
  "is_available": true,
  "rating": 4.7766,
  "rating_count": 41189,
  "rating_rank": 9,
  "rating_delta_vs_best": -0.1,
  "reviews_rank": 3,
  "reviews_share_pct": 9.63,
  "is_localized": true,
  "price": 0, "price_display": "Free", "currency": "KRW", "is_free": true,
  "price_differs": false,
  "version": "1.7.333",
  "version_matches_reference": true,
  "countries_available": 29,
  "countries_checked": 30,
  "reference_country": "us",
  "genre": "Productivity",
  "url": "https://apps.apple.com/kr/app/id1232780281",
  "source": "Apple iTunes Search API (official, public)"
}
```

A storefront where the app is not sold comes back explicitly:

```json
{ "app_key": "1232780281", "country": "ru", "is_available": false }
```

| Group | Fields |
|---|---|
| **Cross-country** | `rating_rank`, `rating_delta_vs_best`, `reviews_rank`, `reviews_share_pct`, `is_localized`, `price_differs`, `version_matches_reference`, `countries_available` |
| **Listing** | `title`, `developer`, `seller`, `genre`, `genres`, `content_rating`, `description`, `release_notes` |
| **Ratings** | `rating`, `rating_count`, `rating_current_version`, `rating_count_current_version` |
| **Commercial** | `price`, `price_display`, `currency`, `is_free` |
| **Build** | `version`, `version_released_at`, `released_at`, `minimum_os`, `size_mb`, `languages`, `supported_devices` |
| **Media** | `icon_url`, `screenshot_urls`, `screenshot_count` |

Two notes on how the derived fields are computed:

- **`is_localized`** means the store listing text differs from the reference storefront.
  English-speaking markets often share identical copy with the US, so `false` there is
  normal rather than a gap — the signal is most useful for non-English stores.
- **`reference_country`** defaults to `us`. If the app is not on sale there, the store
  with the most ratings is used instead, since that is the app's real home market.

### Input

| Field | Type | Notes |
|---|---|---|
| `apps` | array | Numeric App Store IDs (`1232780281`) or bundle IDs (`com.burbn.instagram`) |
| `searchTerms` | array | Look apps up by name instead of ID |
| `countries` | array | Two-letter codes, or `major` (30 biggest, default) or `all` (60) |
| `referenceCountry` | string | The store everything is compared against. Default `us` |
| `includeDescription` | boolean | Return the full localized description. Off by default |
| `availableOnly` | boolean | Omit storefronts where the app is missing. Off by default |
| `maxItems` | integer | Cap the run. `0` = no limit |

The numeric ID is the digits at the end of any App Store URL:
`apps.apple.com/us/app/notion/id1232780281` → `1232780281`.

### Who this is for

- **App developers and ASO teams** — where is the listing unlocalized, where is the
  rating dragging, which stores is the app missing from entirely
- **Competitive analysts** — how a rival's app performs market by market, and which
  markets they have not entered
- **Investors and market researchers** — geographic distribution of an app's user base,
  read from where its ratings actually come from
- **Localization teams** — a direct list of storefronts still serving English copy
- **AI agents** needing structured, current app-market data

### Notes

**Official Apple API, not scraping.** Every request goes to
`itunes.apple.com/lookup` and `itunes.apple.com/search` — Apple's public, documented
Search API. No key, no quota, no login, and nothing to block. Thirty consecutive
country lookups returned 30/30 successes in 5.9 seconds during testing.

**No personal data.** Only app listing metadata is returned. Customer reviews, which
carry user-written content and nicknames, are deliberately not collected.

**Rating values are Apple's own.** `rating` is the lifetime average for that
storefront; `rating_current_version` covers only the current release. They diverge
sharply for apps that recently shipped a bad update — worth checking both.

***

### Development

```bash
apify push
```

스토어프론트 목록과 API 호출은 `src/itunes.py`, 나라 간 비교 계산은
`src/normalize.py`의 `add_cross_country()`에 있다.

# Actor input Schema

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

App Store numeric IDs (1232780281) or bundle IDs (com.burbn.instagram). The numeric ID is the digits at the end of any App Store URL.

## `searchTerms` (type: `array`):

App names to look up instead of IDs. The best match in the reference country is used.

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

Two-letter country codes, e.g. us, kr, jp. Use 'major' for the 30 biggest stores (default) or 'all' for 60.

## `referenceCountry` (type: `string`):

The store everything is compared against - localization, price and version differences are measured from here. Defaults to us.

## `includeDescription` (type: `boolean`):

Return the full localized store description. Large, and mostly useful for translation checks.

## `availableOnly` (type: `boolean`):

By default a record is emitted for every storefront checked, including ones where the app is not on sale - that absence is usually the point. Turn on to omit them.

## `maxItems` (type: `integer`):

Stop after this many records. 0 = no limit.

## Actor input object example

```json
{
  "apps": [
    "1232780281",
    "389801252",
    "544007664"
  ],
  "searchTerms": [],
  "countries": [
    "major"
  ],
  "referenceCountry": "us",
  "includeDescription": false,
  "availableOnly": false,
  "maxItems": 0
}
```

# Actor output Schema

## `listings` (type: `string`):

One record per app per country - metadata, rating, price, availability and how that store compares with the rest.

## `downloadCsv` (type: `string`):

The same records as a spreadsheet.

# 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 = {
    "apps": [
        "1232780281",
        "389801252",
        "544007664"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("atomo-studio/appstore-country-compare").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 = { "apps": [
        "1232780281",
        "389801252",
        "544007664",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("atomo-studio/appstore-country-compare").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 '{
  "apps": [
    "1232780281",
    "389801252",
    "544007664"
  ]
}' |
apify call atomo-studio/appstore-country-compare --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,atomo-studio/appstore-country-compare"
        }
    }
}
```

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/DWUdDyqJPkksisGcI/builds/nfLUM68XRRn8gFshX/openapi.json
