Xbox API: Get game
Finds an Xbox or PC game by name or by xbox.com store link. Returns its store details, prices and Game Pass availability for a country.
Unofficial. Not affiliated with or endorsed by Xbox.
Inputs
Values from the run on Oct 23, 2026, shown under Output.
- Game, required
game Game name or xbox.com game store link. Example: Forza Horizon 5.
Forza Horizon 5
- Country optional
country Country name or two-letter code. Example: United States.
United States (default)
Input as JSON
{ "game": "Forza Horizon 5"}Output
{ "name": "Forza Horizon 5 Standard Edition", "genres": [ "Racing & flying" ], "developer": "Playground Games", "platforms": [ "Xbox Series X|S", "Xbox One", "PC" ], "publisher": "Xbox Game Studios", "xbox_link": "https://www.xbox.com/en-US/games/store/forza-horizon-5-standard-edition/9nkx70bbcdrn" , "age_rating": "ESRB Everyone", "sale_price": null, "description": "Your Ultimate Horizon Adventure awaits! Explore the vibrant and ever-evolving open world landscapes of Mexico with limitless, fun driving action in hundreds of the world’s greatest cars. ", "star_rating": 3.6, "release_date": "2021-11-09", "currency_code": "USD", "regular_price": 59.99, "sale_end_date": null, "game_pass_plans": [ "Game Pass for Console", "PC Game Pass", "Game Pass Premium" ], "cover_image_link": "https://store-images.s-microsoft.com/image/apps.49800.13718773309227929.bebdcc0e-1ed5-4778-8732-f4ef65a2f445.9ac09d39-064d-466c-81ca-2f1b6f0b95c5" , "discount_percent": null, "store_product_id": "9NKX70BBCDRN", "number_of_ratings": 33733, "included_in_game_pass": true}Code
curl https://api.fous.com/v1/runs \ -H "Authorization: Bearer $FOUS_API_KEY" \ -H "Content-Type: application/json" \ -d '{"method":"xbox.com/get_game","input":{"game":"Forza Horizon 5"}}' # Save as fous.py, then run: python3 fous.pyimport json, os, timefrom urllib.error import HTTPErrorfrom urllib.request import Request, urlopenAPI = "https://api.fous.com/v1/runs" KEY = os.environ["FOUS_API_KEY"]HEADERS = { "Authorization": f"Bearer {KEY}", "Content-Type": "application/json" ,}def call(url, body=None): data = json.dumps(body).encode() if body else None request = Request(url, data, HEADERS) try: with urlopen(request, timeout=120) as r: return r.status, json.load(r) except HTTPError as error: message = json.load(error)["error"]["message"] raise RuntimeError(message) from errorstatus, run = call(API, { "method": "xbox.com/get_game" , "input": { "game": "Forza Horizon 5" }})# 202: still going after 30 s. Ask again until it ends.while status == 202: time.sleep(2) status, run = call(f"{API}/{run['id']}")print(json.dumps(run["data"], indent=2))// Save as fous.mjs, then run: node fous.mjsconst api = "https://api.fous.com/v1/runs" ;const headers = { Authorization: `Bearer ${process.env.FOUS_API_KEY}`, "Content-Type": "application/json" ,};let response = await fetch(api, { method: "POST", headers, body: JSON.stringify({ "method": "xbox.com/get_game" , "input": { "game": "Forza Horizon 5" } }), signal: AbortSignal.timeout(120_000),});let run = await response.json();// 202: still going after 30 s. Ask again until it ends.while (response.status === 202) { await new Promise((done) => setTimeout(done, 2_000)); response = await fetch(`${api}/${run.id}`, { headers }); run = await response.json();}if (!response.ok) throw new Error(run.error.message);console.log(run.data);# Connect your agent to Fous once, over MCP (Streamable HTTP):# https://api.fous.com/mcp# Set FOUS_API_KEY first: create a key at https://app.fous.com/keys.# Claude Codeclaude mcp add \ --scope user \ --transport http fous https://api.fous.com/mcp \ --header "Authorization: Bearer ${FOUS_API_KEY:?Set FOUS_API_KEY to your Fous API key}"# Codexcodex mcp add fous \ --url https://api.fous.com/mcp \ --bearer-token-env-var FOUS_API_KEY# Cursor, VS Code, Windsurf, Cline and morenpx -y add-mcp https://api.fous.com/mcp -g -n fous \ --header "Authorization: Bearer ${FOUS_API_KEY:?Set FOUS_API_KEY to your Fous API key}"# Then ask your agent:# "Use Fous to run xbox.com/get_game# with {"game":"Forza Horizon 5"}"Over HTTP, the answer’s data holds the output. A run still going after 30 seconds answers 202 with its id: ask GET /v1/runs/{id} until it ends.
Schema
Input schema
{ "type": "object", "required": [ "game" ], "properties": { "game": { "type": "string", "minLength": 1, "description": "Game name or xbox.com game store link. Example: Forza Horizon 5." }, "country": { "type": "string", "default": "United States", "description": "Country name or two-letter code. Example: United States." } }}Output schema
{ "type": "object", "required": [ "name", "included_in_game_pass", "game_pass_plans", "platforms", "genres", "xbox_link", "store_product_id" ], "properties": { "name": { "type": "string" }, "genres": { "type": "array", "items": { "type": "string" } }, "developer": { "type": [ "string", "null" ] }, "platforms": { "type": "array", "items": { "type": "string" } }, "publisher": { "type": [ "string", "null" ] }, "xbox_link": { "type": "string" }, "age_rating": { "type": [ "string", "null" ] }, "sale_price": { "type": [ "number", "null" ] }, "description": { "type": [ "string", "null" ] }, "star_rating": { "type": [ "number", "null" ] }, "release_date": { "type": [ "string", "null" ] }, "currency_code": { "type": [ "string", "null" ] }, "regular_price": { "type": [ "number", "null" ] }, "sale_end_date": { "type": [ "string", "null" ] }, "game_pass_plans": { "type": "array", "items": { "type": "string" } }, "cover_image_link": { "type": [ "string", "null" ] }, "discount_percent": { "type": [ "number", "null" ] }, "store_product_id": { "type": "string" }, "number_of_ratings": { "type": [ "integer", "null" ] }, "included_in_game_pass": { "type": "boolean" } }}- Price
- 1 credit per completed run (1¢ with pay as you go); failed runs are free.
- Method
xbox.com/get_game- Returns
- name, prices, sale info, Game Pass plans, platforms, release date, publisher, developer, rating, genres, description, image, link
Use it from your agent
Give your agent this line. It reads SKILL.md, gets a Fous API key and connects the Fous MCP server. Its run then takes the method xbox.com/get_game with the inputs above.
Ask your agent
- What's the current price of Halo Infinite on Xbox in Canada, and is it on sale right now?
- Does Starfield work with Game Pass Ultimate, and which platforms is it available on?
- Look up the release date, publisher, and rating for Hades II.
- I need the genres, description, and developer for Hollow Knight: Silksong.
- Check whether Forza Horizon 5 is included in Game Pass in the United Kingdom and give me the store link and cover image.
See more
All Xbox methodsLists Xbox games currently on sale in a country, biggest discount first, with original and sale prices, sale end dates and Game Pass inclusion; console covers Xbox One and Xbox Series X|S. Reads the store's whole deals list and ranks it by discount.
xbox.com/list_dealsLists Xbox Game Pass games for console or PC (all, recently added, leaving soon or coming soon) in Xbox's catalog order, with genres, publisher, cover image and store link. Game Pass addition, arrival and departure dates are not published in these lists, so they are null.
xbox.com/list_game_pass_gamesLooks up a PlayStation Store game by name or product link in a country. Prefers the standard full game; prices and offers vary by country. Game trials are not counted as PlayStation Plus inclusion.
store.playstation.com/get_gameFinds a PC game on Steam by name, store link or app ID and returns its store details, country price, reviews, tags and live player count.
store.steampowered.com/get_gameLooks up a Nintendo Switch or Switch 2 game by name or Nintendo link and returns its eShop price, sale, release date, publisher, rating, players, size and genres for the chosen country (US, Canada, UK, Mexico, Brazil, Argentina, Chile, Colombia or Peru).
nintendo.com/get_gameFinds current official-store prices, the all-time low and live bundles for a PC game in the selected country.
isthereanydeal.com/get_best_priceLooks up the best-matching Microsoft Store app or game by name, store link or product ID, optionally filtered by publisher and country, and returns its listing details.
apps.microsoft.com/get_appLists current and upcoming free games on the Epic Games Store for a country, with giveaway dates, usual price, publisher, cover image and store link.
store.epicgames.com/list_free_games