{
  "openapi": "3.0.1",
  "info": {
    "title": "Xbox Store Scraper",
    "description": "[💰$2 / 1K] ⚡ Fast Xbox Store scraper. No login, no API key. Get games from any browse, search or game URL or by keyword, in any country: price, discount, sale end date, Game Pass, member prices, ratings, platforms, features, system requirements and media.",
    "version": "1.0",
    "x-build-id": "ye5mUah5J66yaeVj9"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/aboo.script~xbox-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-aboo.script-xbox-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/aboo.script~xbox-scraper/runs": {
      "post": {
        "operationId": "runs-sync-aboo.script-xbox-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/aboo.script~xbox-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-aboo.script-xbox-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "startUrls": {
            "title": "Start URLs",
            "type": "array",
            "description": "Xbox Store URLs: browse pages (xbox.com/en-US/games/browse, with any filters and sorting), all games for PC or console, search results (games or add-ons tab) and game pages. The locale in the URL sets the store country, language and currency.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "searchQueries": {
            "title": "Search queries",
            "type": "array",
            "description": "Keywords to search in the Xbox Store games. Each query is scraped separately.",
            "items": {
              "type": "string"
            }
          },
          "maxResults": {
            "title": "Maximum number of results",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum number of games to scrape per start URL or search query. Set 0 for no limit.",
            "default": 5
          },
          "locale": {
            "title": "Store locale",
            "enum": [
              "en-US",
              "en-GB",
              "en-CA",
              "fr-CA",
              "en-AU",
              "en-NZ",
              "en-IN",
              "en-IE",
              "en-ZA",
              "en-SG",
              "de-DE",
              "de-AT",
              "de-CH",
              "fr-FR",
              "fr-BE",
              "nl-NL",
              "it-IT",
              "es-ES",
              "es-MX",
              "es-AR",
              "es-CL",
              "es-CO",
              "pt-BR",
              "pt-PT",
              "pl-PL",
              "cs-CZ",
              "hu-HU",
              "sv-SE",
              "nb-NO",
              "da-DK",
              "fi-FI",
              "tr-TR",
              "ar-SA",
              "en-AE",
              "he-IL",
              "ja-JP",
              "ko-KR",
              "zh-TW",
              "zh-HK"
            ],
            "type": "string",
            "description": "Store country and language used for search queries (sets prices and currency). Start URLs use the locale in their own URL.",
            "default": "en-US"
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "DO_NOT_FILTER",
              "ReleaseDate desc",
              "MostPopular desc",
              "Price asc",
              "Price desc",
              "WishlistCountTotal desc",
              "DiscountPercentage desc",
              "Title Asc",
              "Title Desc"
            ],
            "type": "string",
            "description": "Sort order for search queries. Start URLs keep their own sorting.",
            "default": "DO_NOT_FILTER"
          },
          "platforms": {
            "title": "Platforms",
            "type": "array",
            "description": "Only games playable on these platforms (search queries only).",
            "items": {
              "type": "string",
              "enum": [
                "XboxSeriesX|S",
                "XboxOne",
                "PC",
                "Handheld",
                "CloudGaming",
                "XboxPlayAnywhere"
              ],
              "enumTitles": [
                "Xbox Series X|S",
                "Xbox One",
                "PC",
                "Handheld",
                "Cloud Gaming",
                "Xbox Play Anywhere"
              ]
            }
          },
          "prices": {
            "title": "Prices",
            "type": "array",
            "description": "Only games that are on sale or free (search queries only). Price ranges differ per store country, so use a browse or search URL with a price filter for ranges.",
            "items": {
              "type": "string",
              "enum": [
                "OnSale",
                "0"
              ],
              "enumTitles": [
                "On sale",
                "Free"
              ]
            }
          },
          "genres": {
            "title": "Genres",
            "type": "array",
            "description": "Only games in these genres (search queries only).",
            "items": {
              "type": "string",
              "enum": [
                "Action & adventure",
                "Card & board",
                "Casino",
                "Classics",
                "Companion",
                "Educational",
                "Family & kids",
                "Fighting",
                "Multi-Player Online Battle Arena",
                "Music",
                "Other",
                "Platformer",
                "Puzzle & trivia",
                "Racing & flying",
                "Role playing",
                "Shooter",
                "Simulation",
                "Sports",
                "Strategy",
                "Tools",
                "Word"
              ],
              "enumTitles": [
                "Action & adventure",
                "Card & board",
                "Casino",
                "Classics",
                "Companion",
                "Educational",
                "Family & kids",
                "Fighting",
                "Multi-Player Online Battle Arena",
                "Music",
                "Other",
                "Platformer",
                "Puzzle & trivia",
                "Racing & flying",
                "Role playing",
                "Shooter",
                "Simulation",
                "Sports",
                "Strategy",
                "Tools",
                "Word"
              ]
            }
          },
          "subscriptions": {
            "title": "Subscriptions",
            "type": "array",
            "description": "Only games included in these subscriptions, such as Game Pass (search queries only).",
            "items": {
              "type": "string",
              "enum": [
                "CFQ7TTC0KHS0",
                "CFQ7TTC0P85B",
                "CFQ7TTC0K5DJ",
                "CFQ7TTC0K6L8",
                "CFQ7TTC0KGQ8",
                "CFQ7TTC0K5DH",
                "CFQ7TTC0QH5H"
              ],
              "enumTitles": [
                "Game Pass Ultimate",
                "Game Pass Premium",
                "Game Pass Essential",
                "Game Pass for Console",
                "Game Pass for PC",
                "EA Play",
                "Ubisoft+"
              ]
            }
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}