Xbox Game Pass API
Xbox Game Pass 最近加入 / 即将离开的游戏
数据来源:Xbox 官网 / Microsoft Store
返回统一的 JSON 格式 { code, message, cached, stale, updatedAt, data },支持跨域,免注册每天可免费调用 100 次,注册后每天 10000 次。
获取 Game Pass 游戏列表:最近加入、即将离开、即将加入、最受欢迎
GET /api/gamepass
请求参数
list:列表:new 最近加入 / leaving 即将离开 / coming 即将加入 / popular 最受欢迎,示例newmarket:市场地区代码(Game Pass 未在中国大陆上线,默认 US),例如 US、HK、JP,示例HKlang:语言,例如 zh-CN、zh-TW、en-US,示例zh-CN
返回字段
list(string):列表 ID,与请求参数 list 相同:new 最近加入 / leaving 即将离开 / coming 即将加入 / popular 最受欢迎title(string):列表中文名:最近加入 / 即将离开 / 即将加入 / 最受欢迎items(array):列表中的游戏,按 Xbox 官网列表顺序,最多 60 个;Microsoft 商店查不到详情的条目会被跳过,列表为空时为空数组items[].id(string):Microsoft Store 商品 ID(12 位大写字母和数字,如 9NQ9CHCTZKTJ)items[].title(string|null):游戏名称(按参数 lang 的语言,没有该语言时为商店默认语言,通常是英文);上游缺失时为 nullitems[].developer(string|null):开发商名称;上游为空时为 nullitems[].publisher(string|null):发行商名称;上游为空时为 nullitems[].description(string|null):商店里的简短介绍(纯文本,语言同 title);上游为空时为 nullitems[].image(object):封面图items[].image.wide(string|null):横版大图的 https 链接,依次取 SuperHeroArt、TitledHeroArt、BrandedKeyArt、BoxArt(方形),都没有时取第一张图;商品没有任何图片时为 nullitems[].image.tall(string|null):竖版海报的 https 链接,取 Poster,没有则用 BoxArt(方形),都没有时取第一张图;商品没有任何图片时为 nullitems[].releaseDate(string|null):首次发行日期,ISO 8601,UTC,上游原样返回,秒后有 7 位小数(如 2024-12-09T00:00:00.0000000Z);上游缺失时为 nullitems[].category(string|null):商店主分类,上游原样返回,通常为英文(如 Action & adventure);上游缺失时为 nullitems[].url(string):Xbox 官网商品页链接,格式为 https://www.xbox.com/<lang>/games/store/game/<id>