{
  "openapi": "3.0.1",
  "info": {
    "title": "Xbox Store Scraper",
    "description": "Scrape Xbox / Microsoft Store games with localized pricing in 51 countries, ratings, Game Pass inclusion, editions and capabilities. No API key.",
    "version": "0.0",
    "x-build-id": "d4y1zaCyutgaRP1Fd"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/unfenced-group~xbox-store-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-unfenced-group-xbox-store-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/unfenced-group~xbox-store-scraper/runs": {
      "post": {
        "operationId": "runs-sync-unfenced-group-xbox-store-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/unfenced-group~xbox-store-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-unfenced-group-xbox-store-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": {
          "searchQuery": {
            "title": "Search query",
            "type": "string",
            "description": "Keyword(s) to search the Xbox Store for, e.g. \"forza\", \"halo\", \"racing\". Leave blank if you supply Start URLs.",
            "default": ""
          },
          "country": {
            "title": "Country / store region",
            "enum": [
              "en-US",
              "en-GB",
              "en-CA",
              "en-AU",
              "en-NZ",
              "en-IE",
              "de-DE",
              "fr-FR",
              "es-ES",
              "it-IT",
              "nl-NL",
              "pt-PT",
              "nl-BE",
              "de-AT",
              "de-CH",
              "pl-PL",
              "cs-CZ",
              "sk-SK",
              "hu-HU",
              "ro-RO",
              "el-GR",
              "bg-BG",
              "hr-HR",
              "sl-SI",
              "sv-SE",
              "nb-NO",
              "da-DK",
              "fi-FI",
              "is-IS",
              "ja-JP",
              "ko-KR",
              "zh-HK",
              "zh-TW",
              "en-SG",
              "en-MY",
              "th-TH",
              "id-ID",
              "vi-VN",
              "en-PH",
              "en-IN",
              "pt-BR",
              "es-MX",
              "es-AR",
              "es-CL",
              "es-CO",
              "es-PE",
              "tr-TR",
              "ar-SA",
              "ar-AE",
              "he-IL",
              "en-ZA",
              "uk-UA"
            ],
            "type": "string",
            "description": "Single storefront region to scrape prices from. Each region returns prices in its local currency. Ignored if 'Countries' is set.",
            "default": "en-US"
          },
          "countries": {
            "title": "Countries (multi-region pricing)",
            "type": "array",
            "description": "Scrape prices from multiple storefronts in one run. Each game is returned once with a per-country price array. Overrides the single Country field.",
            "items": {
              "type": "string",
              "enum": [
                "en-US",
                "en-GB",
                "en-CA",
                "en-AU",
                "en-NZ",
                "en-IE",
                "de-DE",
                "fr-FR",
                "es-ES",
                "it-IT",
                "nl-NL",
                "pt-PT",
                "nl-BE",
                "de-AT",
                "de-CH",
                "pl-PL",
                "cs-CZ",
                "sk-SK",
                "hu-HU",
                "ro-RO",
                "el-GR",
                "bg-BG",
                "hr-HR",
                "sl-SI",
                "sv-SE",
                "nb-NO",
                "da-DK",
                "fi-FI",
                "is-IS",
                "ja-JP",
                "ko-KR",
                "zh-HK",
                "zh-TW",
                "en-SG",
                "en-MY",
                "th-TH",
                "id-ID",
                "vi-VN",
                "en-PH",
                "en-IN",
                "pt-BR",
                "es-MX",
                "es-AR",
                "es-CL",
                "es-CO",
                "es-PE",
                "tr-TR",
                "ar-SA",
                "ar-AE",
                "he-IL",
                "en-ZA",
                "uk-UA"
              ],
              "enumTitles": [
                "🇺🇸 United States (USD)",
                "🇬🇧 United Kingdom (GBP)",
                "🇨🇦 Canada (CAD)",
                "🇦🇺 Australia (AUD)",
                "🇳🇿 New Zealand (NZD)",
                "🇮🇪 Ireland (EUR)",
                "🇩🇪 Germany (EUR)",
                "🇫🇷 France (EUR)",
                "🇪🇸 Spain (EUR)",
                "🇮🇹 Italy (EUR)",
                "🇳🇱 Netherlands (EUR)",
                "🇵🇹 Portugal (EUR)",
                "🇧🇪 Belgium (EUR)",
                "🇦🇹 Austria (EUR)",
                "🇨🇭 Switzerland (CHF)",
                "🇵🇱 Poland (PLN)",
                "🇨🇿 Czechia (CZK)",
                "🇸🇰 Slovakia (EUR)",
                "🇭🇺 Hungary (HUF)",
                "🇷🇴 Romania (RON)",
                "🇬🇷 Greece (EUR)",
                "🇧🇬 Bulgaria (EUR)",
                "🇭🇷 Croatia (EUR)",
                "🇸🇮 Slovenia (EUR)",
                "🇸🇪 Sweden (SEK)",
                "🇳🇴 Norway (NOK)",
                "🇩🇰 Denmark (DKK)",
                "🇫🇮 Finland (EUR)",
                "🇮🇸 Iceland (ISK)",
                "🇯🇵 Japan (JPY)",
                "🇰🇷 South Korea (KRW)",
                "🇭🇰 Hong Kong (HKD)",
                "🇹🇼 Taiwan (TWD)",
                "🇸🇬 Singapore (SGD)",
                "🇲🇾 Malaysia (MYR)",
                "🇹🇭 Thailand (THB)",
                "🇮🇩 Indonesia (IDR)",
                "🇻🇳 Vietnam (VND)",
                "🇵🇭 Philippines (PHP)",
                "🇮🇳 India (INR)",
                "🇧🇷 Brazil (BRL)",
                "🇲🇽 Mexico (MXN)",
                "🇦🇷 Argentina (ARS)",
                "🇨🇱 Chile (CLP)",
                "🇨🇴 Colombia (COP)",
                "🇵🇪 Peru (PEN)",
                "🇹🇷 Turkey (TRY)",
                "🇸🇦 Saudi Arabia (SAR)",
                "🇦🇪 United Arab Emirates (AED)",
                "🇮🇱 Israel (ILS)",
                "🇿🇦 South Africa (ZAR)",
                "🇺🇦 Ukraine (UAH)"
              ]
            },
            "default": []
          },
          "allCountries": {
            "title": "All countries",
            "type": "boolean",
            "description": "Price every supported storefront (51 regions) in a single run. Overrides Country and Countries.",
            "default": false
          },
          "maxResults": {
            "title": "Max results",
            "minimum": 1,
            "type": "integer",
            "description": "Maximum number of games to return.",
            "default": 50
          },
          "startUrls": {
            "title": "Start URLs",
            "type": "array",
            "description": "Optional Xbox Store URLs to scrape directly — game pages (…/games/store/{slug}/{id}) or search result pages.",
            "default": [],
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "priceFilter": {
            "title": "Price filter",
            "enum": [
              "all",
              "free",
              "paid",
              "onSale"
            ],
            "type": "string",
            "description": "Restrict to free, paid, or on-sale games.",
            "default": "all"
          },
          "minPrice": {
            "title": "Minimum price",
            "type": "integer",
            "description": "Only return games priced at or above this amount (in the first region's local currency)."
          },
          "maxPrice": {
            "title": "Maximum price",
            "type": "integer",
            "description": "Only return games priced at or below this amount (in the first region's local currency)."
          },
          "gamePassOnly": {
            "title": "Game Pass only",
            "type": "boolean",
            "description": "Only return games included with Xbox Game Pass.",
            "default": false
          },
          "fourKOnly": {
            "title": "4K only",
            "type": "boolean",
            "description": "Only return games that support 4K Ultra HD.",
            "default": false
          },
          "cloudGamingOnly": {
            "title": "Cloud gaming only",
            "type": "boolean",
            "description": "Only return games playable via Xbox Cloud Gaming (xCloud).",
            "default": false
          },
          "playAnywhereOnly": {
            "title": "Play Anywhere only",
            "type": "boolean",
            "description": "Only return Xbox Play Anywhere titles (one purchase, console + PC).",
            "default": false
          },
          "optimizedSeriesOnly": {
            "title": "Optimized for Series X|S only",
            "type": "boolean",
            "description": "Only return games optimized for Xbox Series X|S.",
            "default": false
          },
          "platforms": {
            "title": "Platforms",
            "type": "array",
            "description": "Only return games available on the selected platforms.",
            "items": {
              "type": "string",
              "enum": [
                "XboxSeriesX",
                "XboxOne",
                "PC",
                "XCloud"
              ],
              "enumTitles": [
                "Xbox Series X|S",
                "Xbox One",
                "PC",
                "Cloud (xCloud)"
              ]
            },
            "default": []
          },
          "genres": {
            "title": "Genres / categories",
            "type": "array",
            "description": "Only return games in the selected categories.",
            "items": {
              "type": "string",
              "enum": [
                "Action & adventure",
                "Card & board",
                "Classics",
                "Family & kids",
                "Fighting",
                "Music",
                "Other",
                "Platformer",
                "Puzzle & trivia",
                "Racing & flying",
                "Role playing",
                "Shooter",
                "Simulation",
                "Sports",
                "Strategy",
                "Word"
              ]
            },
            "default": []
          },
          "minRating": {
            "title": "Minimum rating",
            "type": "number",
            "description": "Only return games with an average user rating at or above this value (0–5)."
          },
          "releasedAfter": {
            "title": "Released after",
            "type": "string",
            "description": "Only return games released on or after this date (YYYY-MM-DD)."
          },
          "releasedBefore": {
            "title": "Released before",
            "type": "string",
            "description": "Only return games released on or before this date (YYYY-MM-DD)."
          },
          "includeMedia": {
            "title": "Include media",
            "type": "boolean",
            "description": "Include image gallery and trailer video URLs in the output.",
            "default": true
          },
          "includeDescription": {
            "title": "Include description & system requirements",
            "type": "boolean",
            "description": "Include the full game description, accessibility details and PC system requirements.",
            "default": true
          }
        }
      },
      "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}