# Xbox API

> 3 public methods for Xbox (xbox.com), each 1 credit per completed run.

Unofficial. Not affiliated with or endorsed by Xbox.

- Page: https://fous.com/methods/xbox.com

## Methods

### [Get game](https://fous.com/methods/xbox.com/get-game.md)

`xbox.com/get_game`, read. 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.

Returns: name, prices, sale info, Game Pass plans, platforms, release date, publisher, developer, rating, genres, description, image, link

### [List Xbox Game Pass games](https://fous.com/methods/xbox.com/list-game-pass-games.md)

`xbox.com/list_game_pass_games`, read. Lists 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.

Returns: name, genres, publisher, cover image URL, Xbox store URL, store product ID

### [List game deals](https://fous.com/methods/xbox.com/list-deals.md)

`xbox.com/list_deals`, read. Lists 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.

Returns: title, original price, sale price, currency, discount percent, sale end date, Game Pass inclusion, Xbox link
