# Microsoft Store & Xbox Regional Price Comparator (`fanndev/microsoft-store-regional-pricing`) Actor

Compare Microsoft Store and Xbox game/app prices across countries: local price, currency, discount, sale end date, Game Pass price, conversion to USD or any currency, PPP-adjusted price, cheapest market and price spread. No login.

- **URL**: https://apify.com/fanndev/microsoft-store-regional-pricing.md
- **Developed by:** [Faisal Ahdan naufal](https://apify.com/fanndev) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.40 / 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.
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

## Microsoft Store & Xbox Regional Price Comparator

Compare the price of any Microsoft Store or Xbox game or app across up to 70 countries in one run. You get the local price and currency, the current discount and when the sale ends, the Game Pass price, the price converted to USD (or any currency), and a purchasing-power (PPP) adjusted price.

### Why use this actor

- **One product, every country at once.** Turkey, Argentina, Brazil, India, Indonesia, Japan and the US side by side, with the cheapest country ranked first.
- **Built for regional pricing research.** Each country gets its World Bank price level and a PPP-adjusted price, so publishers can see how affordable a price really is for local buyers.
- **Built for deal hunters.** Current discount, regular price, sale start and end, Game Pass inclusion and member-only prices, per country.
- **Discover products automatically.** Compare your own product list, the top results for a keyword, or whole Store charts such as *Deals* and *Top paid*.
- **No account, no login, no API key.** Only public Store prices are used.
- **Spreadsheet-ready output.** One row per product per country, plus one summary row per product. Export to JSON, CSV or Excel, or schedule it daily to track price changes.

### How it works

1. Choose where products come from: your list of IDs or links, search keywords, or a Store chart.
2. Pick the countries to compare (or `ALL`) and a reference country (default: US).
3. The actor reads each country's official Store price, sale and Game Pass offers.
4. Prices are converted to your chosen currency with daily exchange rates and adjusted with World Bank purchasing-power data.
5. You get a price row for every country, plus a summary with the cheapest and most expensive country and the price spread.

There are no scrapers, browsers or blocks for you to manage.

### Input

#### Compare specific products

```json
{
    "mode": "products",
    "products": ["9NKX70BBCDRN", "https://apps.microsoft.com/detail/9nbhcs1lx4r0"],
    "markets": ["US", "GB", "DE", "TR", "AR", "BR", "IN", "ID", "JP", "PL", "ZA", "MX"],
    "baseMarket": "US",
    "targetCurrency": "USD",
    "includePpp": true,
    "includeSummary": true,
    "includeUnavailable": true
}
```

#### Compare today's deals in every country

```json
{
    "mode": "charts",
    "charts": ["deal"],
    "mediaType": "games",
    "maxProductsPerInput": 25,
    "markets": ["ALL"],
    "baseMarket": "US",
    "targetCurrency": "EUR",
    "includeUnavailable": false
}
```

#### Compare the top search results for a keyword

```json
{
    "mode": "search",
    "searchTerms": ["minecraft"],
    "mediaType": "all",
    "maxProductsPerInput": 5,
    "markets": ["US", "TR", "ID"],
    "baseMarket": "ID",
    "targetCurrency": "IDR"
}
```

| Field | Type | Description |
|---|---|---|
| `mode` | string | `products` (your IDs or links), `search` (keywords) or `charts` (Store lists). |
| `products` | array | Product IDs such as `9NKX70BBCDRN`, or links from apps.microsoft.com, microsoft.com/store or xbox.com. |
| `searchTerms` | array | Keywords for `search` mode. |
| `charts` | array | `deal`, `topPaid`, `topGrossing`, `topFree`, `mostPopular`, `newAndRising`, `topTrending`. |
| `mediaType` | string | `games`, `apps`, or `all` (search only). |
| `maxProductsPerInput` | integer | Products taken from each keyword or chart (default 20). |
| `maxProducts` | integer | Overall product limit (0 = no limit). |
| `markets` | array | 2-letter country codes. `ALL` = about 70 Store countries. |
| `baseMarket` | string | Reference country for the "vs reference %" columns. Search and charts are read from this country. |
| `targetCurrency` | string | Currency for converted prices (USD, EUR, IDR, ...). |
| `includePpp` | boolean | Add the World Bank price level and PPP-adjusted price. |
| `includePriceRows` | boolean | Add one row per product per country. Turn off to get only the summary rows (a clean "cheapest country" table). |
| `includeSummary` | boolean | Add one summary row per product. |
| `includeUnavailable` | boolean | Keep rows for countries where the product is not sold or not listed. |
| `language` | string | Language of product titles (default `en-us`). |
| `maxConcurrency`, `maxRetries` | integer | Speed and automatic retries. |
| `proxyConfiguration` | object | Usually not needed, because prices do not depend on where the request comes from. Residential proxy support is built in and switches on by itself if the Store starts refusing requests. |

### Output

Every row has a `recordType`: `price` (one product in one country), `summary` (one product across all countries) or `error` (an input that produced nothing, with the reason). All row types share one table, so filter or sort on `recordType` in your spreadsheet, or turn off `includePriceRows` when you only need the summary. Search and chart runs produce the same rows; `_input` then reads `search:<keyword>@<country>` or `chart:<name>@<country>`.

#### Price row (real output: Skyrim in Turkey during an 80% sale)

```json
{
  "_input": "9P03JGQ4S1GC",
  "_source": "displaycatalog",
  "_scrapedAt": "2026-11-12T15:10:31Z",
  "recordType": "price",
  "productId": "9P03JGQ4S1GC",
  "market": "TR",
  "marketName": "Turkiye",
  "title": "The Elder Scrolls V: Skyrim Special Edition (PC)",
  "publisherName": "Bethesda Softworks",
  "developerName": "Bethesda Game Studios",
  "productType": "Game",
  "category": "Role playing",
  "availability": "available",
  "skuId": "0010",
  "currency": "TRY",
  "price": 40.0,
  "msrp": 200.0,
  "discountPercent": 80.0,
  "onSale": true,
  "saleStartDate": "2026-11-11T00:00:00Z",
  "saleEndDate": "2026-11-20T09:59:59Z",
  "priceModel": "paid",
  "isFree": false,
  "priceRaw": {"CurrencyCode": "TRY", "ListPrice": 40.0, "MSRP": 200.0, "WholesalePrice": 28.0, "WholesaleCurrencyCode": "TRY", "TaxType": "NoApplicableTaxes", "IsPIRequired": false},
  "memberOffers": [
    {"passId": "CFQ7TTC0KGQ8", "passName": "PC Game Pass", "price": 0.0, "currency": "TRY", "discountPercent": 100.0, "priceConverted": 0.0},
    {"passId": "CFQ7TTC0P85B", "passName": "Xbox Game Pass Premium", "price": 0.0, "currency": "TRY", "discountPercent": 100.0, "priceConverted": 0.0}
  ],
  "includedWith": ["PC Game Pass", "Xbox Game Pass Premium"],
  "bestMemberPrice": 0.0,
  "url": "https://apps.microsoft.com/detail/9p03jgq4s1gc?gl=TR&hl=en-us",
  "targetCurrency": "USD",
  "fxRate": 0.01988957,
  "priceConverted": 0.8,
  "msrpConverted": 3.98,
  "pppPriceLevelRatio": 0.4107,
  "pppAdjustedPriceUsd": 1.94,
  "pppYear": "2025",
  "cheapestRank": 1,
  "vsBaseMarketPercent": -90.0,
  "pppVsBaseMarketPercent": -75.7,
  "fxSource": "open.er-api.com",
  "fxDate": "Thu, 12 Nov 2026 00:02:31 +0000"
}
```

#### Summary row (same product, 11 countries)

```json
{
  "recordType": "summary",
  "productId": "9P03JGQ4S1GC",
  "title": "The Elder Scrolls V: Skyrim Special Edition (PC)",
  "baseMarket": "US",
  "targetCurrency": "USD",
  "marketsCompared": 11,
  "marketsAvailable": 10,
  "basePriceConverted": 7.99,
  "cheapestMarket": "TR",
  "cheapestPriceConverted": 0.8,
  "mostExpensiveMarket": "DE",
  "mostExpensivePriceConverted": 8.88,
  "priceSpreadPercent": 1010.0,
  "medianPriceConverted": 5.42,
  "averagePriceConverted": 5.35,
  "cheapestPppMarket": "TR",
  "mostExpensivePppMarket": "RU",
  "onSaleIn": ["US", "TR", "AR", "BR", "IN", "ID", "JP", "RU", "DE", "TW"],
  "includedWithGamePassIn": ["US", "TR", "AR", "BR", "IN", "ID", "JP", "RU", "DE", "TW"],
  "notSoldIn": ["VE"],
  "notListedIn": [],
  "cheapest": {"market": "TR", "marketName": "Turkiye", "currency": "TRY", "price": 40.0, "msrp": 200.0, "discountPercent": 80.0, "priceConverted": 0.8, "pppAdjustedPriceUsd": 1.94},
  "markets": [
    {"market": "TR", "currency": "TRY", "price": 40.0, "priceConverted": 0.8, "discountPercent": 80.0, "pppAdjustedPriceUsd": 1.94, "cheapestRank": 1},
    {"market": "AR", "currency": "ARS", "price": 3519.8, "priceConverted": 2.27, "discountPercent": 80.0, "pppAdjustedPriceUsd": 4.97, "cheapestRank": 2},
    "… 8 more"
  ]
}
```

| Field | Description |
|---|---|
| `market`, `marketName` | Country code and name. |
| `availability` | `available`, `notSold` (listed but cannot be bought there), `notListed` (not in that country's Store). |
| `currency`, `price`, `msrp` | Local currency, current price and regular price. |
| `discountPercent`, `onSale`, `saleStartDate`, `saleEndDate` | Current sale and its dates (UTC). |
| `priceModel` | `free`, `paid`, or `paidOutsideStore` (app sold on the publisher's own website, so there is no Store price). |
| `memberOffers`, `includedWith`, `bestMemberPrice` | Game Pass and other subscriber prices. `includedWith` lists subscriptions that include the product at no extra cost. |
| `priceConverted`, `msrpConverted`, `fxRate` | Prices in your chosen currency, and the exchange rate used. |
| `pppPriceLevelRatio` | How expensive the country is compared with the US (0.41 = about 41% of US price levels). |
| `pppAdjustedPriceUsd` | What the price "feels like" to a local buyer, in US dollars. |
| `cheapestRank` | 1 = cheapest country for this product. |
| `vsBaseMarketPercent`, `pppVsBaseMarketPercent` | Difference versus the reference country, before and after purchasing-power adjustment. |
| `priceRaw` | The Store's price exactly as published, including the wholesale price where available. |
| Summary fields | Cheapest and most expensive country, price spread, median and average price, and the countries where the product is on sale, in Game Pass, not sold or not listed. |

### Notes and limits

- Prices are the Store's public prices at the moment of the run. Sales change often, so schedule the actor (for example daily) to track them.
- Some countries are charged in US dollars instead of local currency (for example Russia). The `currency` field always shows what the Store actually charges.
- Purchasing-power data is the World Bank's latest yearly figure. It is missing for a few countries where the published figures are unusable (for example Venezuela) or not published at all (Taiwan). Those rows keep every other field.
- Windows desktop apps sold on the publisher's website (`priceModel: paidOutsideStore`) have no Store price to compare.
- Comparing 25 products across all ~70 countries takes about one minute.

### Other actors

| Actor | What it does |
|---|---|
| Microsoft Store Scraper | Windows app rankings, licensing, versions and reviews |
| Epic Games Store Scraper | Free games, catalog, charts and multi-country prices |

# Actor input Schema

## `mode` (type: `string`):

Choose where the products come from. <b>Products</b>: your own list of Store IDs or links. <b>Search</b>: the top results for keywords. <b>Charts</b>: current deals or best-seller lists.

## `products` (type: `array`):

Microsoft Store product IDs (for example 9NKX70BBCDRN) or links from apps.microsoft.com, microsoft.com/store or xbox.com. Used in Products mode.

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

Keywords to search in the Store (Search mode). The top results are compared.

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

Store lists to compare (Charts mode).

## `mediaType` (type: `string`):

Limits Search and Charts to games or apps. Charts need games or apps.

## `maxProductsPerInput` (type: `integer`):

How many products to take from each keyword or chart.

## `maxProducts` (type: `integer`):

Stop after this many products (0 = no limit).

## `markets` (type: `array`):

2-letter country codes to compare, for example US, TR, AR, BR, IN, ID, JP. Use ALL for about 70 Store countries.

## `baseMarket` (type: `string`):

Other countries are compared against this one (difference in %). Search and Charts are read from this country.

## `targetCurrency` (type: `string`):

3-letter currency code for converted prices, for example USD, EUR, IDR.

## `includePpp` (type: `boolean`):

Adds the World Bank price level of each country and the price adjusted for local purchasing power.

## `includePriceRows` (type: `boolean`):

Local price, discount, converted and PPP-adjusted price for every country. Turn off to get only the summary rows.

## `includeSummary` (type: `boolean`):

Cheapest and most expensive country, price spread, median price, countries where it is on sale or not sold.

## `includeUnavailable` (type: `boolean`):

Keep a row for countries where the product is not listed or cannot be bought.

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

Language for product titles, for example en-us.

## `maxConcurrency` (type: `integer`):

How many requests run at the same time.

## `maxRetries` (type: `integer`):

Retries with growing wait times when a request fails.

## `proxyConfiguration` (type: `object`):

Usually not needed: prices do not depend on your IP address. If the Store starts blocking, the actor switches to Apify Residential proxy by itself. Set Residential here to use it from the start.

## Actor input object example

```json
{
  "mode": "products",
  "products": [
    "9NKX70BBCDRN",
    "https://apps.microsoft.com/detail/9nbhcs1lx4r0"
  ],
  "charts": [
    "deal"
  ],
  "mediaType": "games",
  "maxProductsPerInput": 20,
  "maxProducts": 0,
  "markets": [
    "US",
    "GB",
    "DE",
    "TR",
    "AR",
    "BR",
    "IN",
    "ID",
    "JP",
    "PL",
    "ZA",
    "MX"
  ],
  "baseMarket": "US",
  "targetCurrency": "USD",
  "includePpp": true,
  "includePriceRows": true,
  "includeSummary": true,
  "includeUnavailable": true,
  "language": "en-us",
  "maxConcurrency": 8,
  "maxRetries": 5,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

Every price row, product summary and diagnostic record from this run.

## `prices` (type: `string`):

One row per product per country: local price, discount, converted and PPP-adjusted price.

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

Cheapest and most expensive country, price spread, median price, sale and Game Pass countries.

## `errors` (type: `string`):

Inputs that produced no data and why.

# 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 = {
    "products": [
        "9NKX70BBCDRN",
        "https://apps.microsoft.com/detail/9nbhcs1lx4r0"
    ],
    "markets": [
        "US",
        "GB",
        "DE",
        "TR",
        "AR",
        "BR",
        "IN",
        "ID",
        "JP",
        "PL",
        "ZA",
        "MX"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("fanndev/microsoft-store-regional-pricing").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 = {
    "products": [
        "9NKX70BBCDRN",
        "https://apps.microsoft.com/detail/9nbhcs1lx4r0",
    ],
    "markets": [
        "US",
        "GB",
        "DE",
        "TR",
        "AR",
        "BR",
        "IN",
        "ID",
        "JP",
        "PL",
        "ZA",
        "MX",
    ],
}

# Run the Actor and wait for it to finish
run = client.actor("fanndev/microsoft-store-regional-pricing").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 '{
  "products": [
    "9NKX70BBCDRN",
    "https://apps.microsoft.com/detail/9nbhcs1lx4r0"
  ],
  "markets": [
    "US",
    "GB",
    "DE",
    "TR",
    "AR",
    "BR",
    "IN",
    "ID",
    "JP",
    "PL",
    "ZA",
    "MX"
  ]
}' |
apify call fanndev/microsoft-store-regional-pricing --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,fanndev/microsoft-store-regional-pricing"
        }
    }
}
```

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/fKeiVP2WtwoPMvga8/builds/kagC9ji5lQypHxlOD/openapi.json
