# Xbox Game Pass Tracker - Leaving Soon, New, Cloud & Deals (`fanndev/xbox-game-pass-tracker`) Actor

Track Xbox & PC Game Pass: leaving soon with exact leave dates, recently added, coming soon, full library by tier, cloud gaming (xCloud), Play Anywhere, Game Pass member discounts, and a change feed for Discord/Telegram bots. No login.

- **URL**: https://apify.com/fanndev/xbox-game-pass-tracker.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.30 / 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

## Xbox Game Pass Tracker: Leaving Soon, Recently Added, Cloud & Member Deals

Track the **Xbox & PC Game Pass** library: which games are leaving and on exactly which date, what was just added, what is coming next (with arrival dates), the full library per subscription tier, Cloud Gaming (xCloud) and Xbox Play Anywhere titles, and discounts that only Game Pass members get. A built-in change feed tells your Discord or Telegram bot what changed since the last run.

### Why use this actor

- **Exact leave dates.** The Xbox app only says "Leaving soon". This actor gives the date and time each game leaves, per tier (Ultimate, Premium, Essential, Console, PC Game Pass), plus `daysUntilExit`.
- **Arrival dates for upcoming games.** "Coming to Game Pass" titles come with the day they join and `daysUntilArrival`.
- **Change feed for bots and news sites.** Schedule the `changes` mode daily and get one row per event: added, removed, newly announced as leaving, newly announced as coming, member deal started or ended.
- **Cloud Gaming and Play Anywhere flags** on every game, plus the full xCloud and Play Anywhere libraries as their own modes.
- **Member pricing.** The member price for each edition and tier, the discount %, and whether it beats what non-members pay right now.
- **Any country.** Prices, currency, the library and dates follow the country you choose (US, GB, DE, BR, JP, ID...).
- **No account, no login, no API key.** Export to JSON, CSV or Excel, or send to a webhook, Google Sheets or your database.

### How it works

1. Pick a **mode**: leaving soon, recently added, coming soon, what changed, full library, cloud gaming, Play Anywhere, member discounts, or specific games.
2. Choose the platforms (console / PC) or the subscription tier, and a country.
3. The actor reads the official Game Pass lists and the xbox.com store, and adds the dates, tiers, cloud, Play Anywhere and member-price fields to every game.
4. Download the results, or schedule the actor and connect it to your bot or spreadsheet.

You don't need to manage browsers, pagination, retries or blocks.

### Modes

| Mode | Reads | Returns |
|---|---|---|
| `leavingSoon` | `platforms` | The official "Leaving soon" lists, with `leavingGamePassAt` and `daysUntilExit`. |
| `recentlyAdded` | `platforms` | The official "Recently added" lists, with `addedToGamePassAt`. |
| `comingSoon` | `platforms` | The official "Coming to Game Pass" lists, with `arrivingInGamePassAt`. |
| `changes` | `subscription` | One row per change since the previous run (see below). The first run saves a baseline and returns no rows. |
| `catalog` | `subscription`, `playWith`, `genres`, `sortBy` | The whole library of a tier (about 1,000 games for Ultimate in the US). |
| `cloudGaming` | same as `catalog` | Only games playable with Cloud Gaming. |
| `playAnywhere` | same as `catalog` | Only Xbox Play Anywhere games (buy once, play on Xbox and Windows PC). |
| `memberDeals` | same as `catalog` + `minDiscountPercent`, `memberExclusiveOnly` | Games with a Game Pass member price. |
| `products` | `products` | Any games by xbox.com link or product ID. |

#### Change types (`changes` mode)

| `changeType` | Meaning |
|---|---|
| `addedToGamePass` | The game joined the chosen tier. |
| `removedFromGamePass` | The game left the tier. `previous` holds its title and dates from the last run. |
| `leavingSoonAnnounced` | The game was just put on an official "Leaving soon" list. |
| `comingSoonAnnounced` | The game was just put on an official "Coming to Game Pass" list. |
| `memberDealStarted` / `memberDealEnded` | Members now pay less than everyone else, or no longer do. |

Run it on a schedule (for example daily at 18:00 UTC). Each country + tier keeps its own history, so you can track several in parallel.

### Input

Leaving soon on console and PC, US store:

```json
{
    "mode": "leavingSoon",
    "platforms": ["console", "pc"],
    "market": "US",
    "language": "en"
}
```

Change feed for PC Game Pass in the UK:

```json
{
    "mode": "changes",
    "subscription": "pc",
    "market": "GB",
    "language": "en"
}
```

Member deals in the Ultimate library, member-exclusive prices only:

```json
{
    "mode": "memberDeals",
    "subscription": "ultimate",
    "memberExclusiveOnly": true,
    "minDiscountPercent": 10,
    "market": "US",
    "language": "en",
    "maxItems": 100
}
```

| Field | Type | Description |
|---|---|---|
| `mode` | string | What to track (see Modes). Default `leavingSoon`. |
| `platforms` | array | `console`, `pc`. For the leaving / recently added / coming soon lists. Default both. |
| `subscription` | string | `ultimate`, `premium`, `essential`, `console`, `pc`, `starter`, `eaPlay`, `ubisoftPlus`. For library modes and `changes`. Default `ultimate`. |
| `playWith` | array | Library modes: `cloudGaming`, `playAnywhere`, `pc`, `xboxSeriesXS`, `xboxOne`, `handheld`. |
| `genres` | array | Library modes: genres as spelled on xbox.com, e.g. `Shooter`, `Role playing`, `Sports`. |
| `sortBy` | string | Library modes: `relevance`, `mostPopular`, `newest`, `titleAsc`, `titleDesc`, `priceAsc`, `priceDesc`, `discount`, `mostWishlisted`. |
| `minDiscountPercent` | integer | Member deals: minimum member discount. |
| `memberExclusiveOnly` | boolean | Member deals: only games where members pay less than the current public price. |
| `products` | array | Specific games: xbox.com links or 12-character product IDs. |
| `market` | string | 2-letter country code. Default `US`. |
| `language` | string | 2-letter language code. Default `en`. |
| `includeDetails` | boolean | Adds full description, trailers and screenshots. Default off. |
| `maxItems` | integer | Stop after this many games (0 = all). Not applied to `changes`. |

### Output

A `leavingSoon` row (real output, some arrays shortened):

```json
{
  "_input": "leavingSoon:US",
  "_source": "S1-sigl+S1-emerald",
  "_scrapedAt": "2026-11-12T15:21:58Z",
  "recordType": "game",
  "listType": "leavingSoon",
  "listTitle": "Leaving soon",
  "listPlatforms": ["console", "pc"],
  "listPosition": {"console": 9, "pc": 10},
  "productId": "9P8XJRLCLH2P",
  "title": "Moonlighter",
  "storeUrl": "https://www.xbox.com/en-US/games/store/moonlighter/9P8XJRLCLH2P",
  "isInGamePass": true,
  "gamePassTiers": ["Game Pass for Console", "PC Game Pass", "Game Pass Premium", "Game Pass Ultimate"],
  "addedToGamePassAt": "2019-06-09T06:59:00Z",
  "leavingGamePassAt": "2026-11-16T10:00:00Z",
  "daysUntilExit": 4,
  "gamePassDates": [
    {"passId": "CFQ7TTC0K6L8", "pass": "Game Pass for Console", "entryDate": "2019-06-09T06:59:00Z", "exitDate": "2026-11-16T10:00:00Z"},
    {"passId": "CFQ7TTC0KHS0", "pass": "Game Pass Ultimate", "entryDate": "2019-06-09T06:59:00Z", "exitDate": "2026-11-16T10:00:00Z"},
    "... 2 more"
  ],
  "isCloudGaming": true,
  "isPlayAnywhere": true,
  "features": ["BroadcastSupport", "SinglePlayer", "XPA", "XblAchievements", "... 4 more"],
  "price": {"skuId": "0010", "listPrice": 19.99, "msrp": 19.99, "currency": "USD", "discountPercentage": 0.0, "saleEndsAt": null},
  "hasMemberDiscount": true,
  "bestMemberDiscountPercent": 20.0,
  "bestMemberPrice": 15.99,
  "isMemberExclusiveDeal": true,
  "memberExtraSavingsPercent": 20.0,
  "memberDiscounts": [
    {"pass": "Game Pass for Console", "passId": "CFQ7TTC0K6L8", "eligibilityType": "GamePass", "skuId": "0010", "listPrice": 15.99, "msrp": 19.99, "currency": "USD", "discountPercentage": 20.0, "endsAt": null},
    "... 1 more"
  ],
  "availableOn": ["PC", "XboxOne", "XboxSeriesX", "XCloud", "Handheld"],
  "averageRating": 3.7,
  "ratingCount": 1383,
  "categories": ["Action & adventure"],
  "publisherName": "11 bit studios",
  "developerName": "Digital Sun",
  "releaseDate": "2018-05-29T13:00:00.0000000Z",
  "images": {"boxArt": {"url": "https://store-images.s-microsoft.com/image/apps.23038.14078999020725962.ddb83977-3b2d-4498-aa21-0a1bdeb1cddc.b1c79423-8a23-4943-804b-c5333d258492", "width": 1080, "height": 1080}}
}
```

A `comingSoon` row (shortened):

```json
{
  "listType": "comingSoon",
  "listPlatforms": ["console"],
  "productId": "9NW6JK0ZC9J6",
  "title": "Tropico 7",
  "isInGamePass": false,
  "gamePassTiers": [],
  "arrivingInGamePassAt": "2027-01-28T14:00:00Z",
  "daysUntilArrival": 77,
  "gamePassDates": [
    {"passId": "CFQ7TTC0K6L8", "pass": "Game Pass for Console", "entryDate": "2027-01-28T14:00:00Z", "exitDate": null},
    {"passId": "CFQ7TTC0KHS0", "pass": "Game Pass Ultimate", "entryDate": "2027-01-28T14:00:00Z", "exitDate": null}
  ],
  "isPlayAnywhere": false,
  "availableOn": ["XboxSeriesX"]
}
```

A `changes` row (shortened):

```json
{
  "_input": "changes:pc:US",
  "_source": "S1-emerald-browse+diff",
  "_scrapedAt": "2026-11-12T15:25:38Z",
  "recordType": "change",
  "changeType": "leavingSoonAnnounced",
  "changedSince": "2026-11-12T15:22:30Z",
  "previous": {"title": "Moonlighter", "publisherName": "11 bit studios", "leavingGamePassAt": "2026-11-16T10:00:00Z", "addedToGamePassAt": "2019-06-09T06:59:00Z"},
  "productId": "9P8XJRLCLH2P",
  "title": "Moonlighter",
  "storeUrl": "https://www.xbox.com/en-US/games/store/moonlighter/9P8XJRLCLH2P",
  "gamePassTiers": ["Game Pass for Console", "PC Game Pass", "Game Pass Premium", "Game Pass Ultimate"],
  "leavingGamePassAt": "2026-11-16T10:00:00Z",
  "daysUntilExit": 4,
  "isCloudGaming": true,
  "isPlayAnywhere": true,
  "bestMemberPrice": 15.99,
  "isMemberExclusiveDeal": true
}
```

A `memberDeals` row (shortened):

```json
{
  "_input": "memberDeals:ultimate:US",
  "listType": "memberDeals",
  "productId": "9N431PX143P8",
  "title": "Forza Horizon 6 Standard Edition",
  "price": {"skuId": "0010", "listPrice": 69.99, "msrp": 69.99, "currency": "USD", "discountPercentage": 0.0, "saleEndsAt": null},
  "bestMemberDiscountPercent": 20.0,
  "bestMemberPrice": 55.99,
  "isMemberExclusiveDeal": true,
  "memberExtraSavingsPercent": 20.0,
  "gamePassTiers": ["Game Pass for Console", "PC Game Pass", "Game Pass Ultimate"],
  "isCloudGaming": true,
  "isPlayAnywhere": true
}
```

| Field | Description |
|---|---|
| `productId`, `title`, `storeUrl` | The game and its xbox.com page. |
| `listType`, `listTitle`, `listPlatforms`, `listPosition` | Which list the game came from and its position on the console / PC list. |
| `isInGamePass`, `gamePassTiers` | Whether it is in Game Pass right now, and in which tiers. |
| `addedToGamePassAt` | When it first joined Game Pass. |
| `leavingGamePassAt`, `daysUntilExit` | Earliest scheduled exit across tiers. |
| `arrivingInGamePassAt`, `daysUntilArrival` | For coming-soon games: the day it joins. |
| `gamePassDates` | Entry and exit date per tier. |
| `isCloudGaming`, `isPlayAnywhere`, `features` | Cloud Gaming, Xbox Play Anywhere, and all store feature flags (4K, 120fps, Optimized for Series X|S, cloud saves...). |
| `price` | Public price of the main edition, with any public sale and its end date. |
| `hasMemberDiscount`, `bestMemberDiscountPercent`, `bestMemberPrice`, `memberDiscounts` | Game Pass member pricing per edition and tier. |
| `isMemberExclusiveDeal`, `memberExtraSavingsPercent` | Whether members pay less than everyone else right now, and by how much. |
| `changeType`, `changedSince`, `previous` | `changes` mode only. |
| `availableOn`, `averageRating`, `ratingCount`, `categories`, `publisherName`, `developerName`, `releaseDate`, `images`, `contentRating` | Store details. More store fields are included as returned by xbox.com. |
| `_error`, `_errorDetail` | Only on rows for inputs that returned nothing (unknown product ID, list not sold in that country). |

The Output tab has ready-made views: **Games**, **Leaving & arriving**, **Member deals**, **Changes** and **Diagnostics**.

### Notes

- **Leave dates for games not on the Leaving soon list** are licence end dates. Publishers often extend them, so treat them as "earliest possible exit", and use the official `leavingSoon` list (or `leavingSoonAnnounced` events) for confirmed departures.
- **Countries without console Game Pass** (for example Indonesia, where only PC Game Pass is sold) have no console lists. The actor returns the PC lists and logs a warning. If a list doesn't exist at all in a country, it works out leaving / recently added games from the dates instead.
- **Run time:** the leaving / added / coming lists take a few seconds. The full Ultimate library (about 1,000 games, every one with member prices) takes about 1.5 minutes. The `changes` mode reads the full library each run.
- No proxy is needed. If Xbox ever blocks the run's connection, the actor switches to Apify residential proxies in your chosen country by itself.

# Actor input Schema

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

Leaving soon / Recently added / Coming soon read the official Game Pass lists and use 'Platforms'. Full library, Cloud gaming, Play Anywhere and Member discounts read 'Subscription' plus the filters. 'What changed' compares with the previous run (schedule it daily). 'Look up specific games' reads 'Games'.

## `platforms` (type: `array`):

Leaving soon / Recently added / Coming soon: which official lists to read. A game on both lists is returned once, with both platforms in 'listPlatforms'.

## `subscription` (type: `string`):

Library modes and 'What changed': which subscription's library to read.

## `playWith` (type: `array`):

Library modes: only games playable on all of these.

## `genres` (type: `array`):

Library modes: only these genres, spelled as on xbox.com, e.g. 'Shooter', 'Role playing', 'Action & adventure', 'Racing & flying', 'Sports'.

## `sortBy` (type: `string`):

Library modes: result order.

## `minDiscountPercent` (type: `integer`):

Member discounts: skip games whose best member discount is below this.

## `memberExclusiveOnly` (type: `boolean`):

Member discounts: keep only games where the member price is lower than what everyone else pays right now (drops games whose public sale already matches the member price).

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

Look up specific games: xbox.com store URLs or 12-character product IDs (e.g. 9P8XJRLCLH2P).

## `market` (type: `string`):

2-letter country code (US, GB, DE, BR, JP, ID...). Prices, currency, the library and leave dates are per country. In countries where Game Pass sells only PC Game Pass, the console lists do not exist.

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

2-letter language code for titles and descriptions (en, de, fr, pt, ja...).

## `includeDetails` (type: `boolean`):

Adds the full store description, trailers and screenshots to every game. Off keeps rows small.

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

Stop after this many games (0 = no limit). Not applied to 'What changed', which always reports every change.

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

Parallel game lookups.

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

Retries per request, with exponential backoff.

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

Not needed: Xbox does not block these requests. If a direct connection is blocked twice in a row, the actor switches to Apify RESIDENTIAL proxy in the selected country on its own.

## Actor input object example

```json
{
  "mode": "leavingSoon",
  "platforms": [
    "console",
    "pc"
  ],
  "subscription": "ultimate",
  "genres": [],
  "sortBy": "relevance",
  "minDiscountPercent": 0,
  "memberExclusiveOnly": false,
  "products": [
    "https://www.xbox.com/en-US/games/store/moonlighter/9P8XJRLCLH2P",
    "9NPDN9R45JX4"
  ],
  "market": "US",
  "language": "en",
  "includeDetails": false,
  "maxItems": 0,
  "maxConcurrency": 8,
  "maxRetries": 5,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

Every game, change and diagnostic row from this run.

## `games` (type: `string`):

Main columns for every game row.

## `leaving` (type: `string`):

Dates that matter for news posts and alerts.

## `deals` (type: `string`):

Game Pass member prices vs. public prices.

## `changes` (type: `string`):

What changed mode: one row per event.

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

Inputs that produced no data and why.

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

What changed mode: counts per event type and the snapshot time.

# 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 = {
    "genres": [],
    "products": [
        "https://www.xbox.com/en-US/games/store/moonlighter/9P8XJRLCLH2P",
        "9NPDN9R45JX4"
    ],
    "market": "US",
    "language": "en"
};

// Run the Actor and wait for it to finish
const run = await client.actor("fanndev/xbox-game-pass-tracker").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 = {
    "genres": [],
    "products": [
        "https://www.xbox.com/en-US/games/store/moonlighter/9P8XJRLCLH2P",
        "9NPDN9R45JX4",
    ],
    "market": "US",
    "language": "en",
}

# Run the Actor and wait for it to finish
run = client.actor("fanndev/xbox-game-pass-tracker").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 '{
  "genres": [],
  "products": [
    "https://www.xbox.com/en-US/games/store/moonlighter/9P8XJRLCLH2P",
    "9NPDN9R45JX4"
  ],
  "market": "US",
  "language": "en"
}' |
apify call fanndev/xbox-game-pass-tracker --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,fanndev/xbox-game-pass-tracker"
        }
    }
}
```

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/5Pbs8eoZYNXqjrJgB/builds/85edGqIZkKiOl98Go/openapi.json
