{
  "openapi": "3.0.1",
  "info": {
    "title": "Microsoft Store Scraper: Apps, Games & Reviews",
    "description": "Search Microsoft Store apps and games, extract 106-field product details with localized prices, rating trends, system requirements and media, or collect filtered reviews across multiple countries. No API key.",
    "version": "0.0",
    "x-build-id": "i3thT6bZIKRolwNdf"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/scrapingmonkey~microsoft-store-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-scrapingmonkey-microsoft-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/scrapingmonkey~microsoft-store-scraper/runs": {
      "post": {
        "operationId": "runs-sync-scrapingmonkey-microsoft-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/scrapingmonkey~microsoft-store-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-scrapingmonkey-microsoft-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",
        "required": [
          "mode"
        ],
        "properties": {
          "mode": {
            "title": "Mode",
            "enum": [
              "search",
              "details",
              "reviews"
            ],
            "type": "string",
            "description": "Scraping mode: search, details, or reviews.",
            "default": "search"
          },
          "searchTerms": {
            "title": "Search terms",
            "type": "array",
            "description": "Keywords to search for. Required in search mode; the result limit applies to each term.",
            "items": {
              "type": "string"
            },
            "default": [
              "video editor"
            ]
          },
          "appIds": {
            "title": "Product IDs or URLs",
            "type": "array",
            "description": "Microsoft Store Product IDs or full apps.microsoft.com URLs. Required in details and reviews modes.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "maxResults": {
            "title": "Maximum results",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Maximum search results per term or reviews per product. In details mode, it applies to included reviews.",
            "default": 50
          },
          "country": {
            "title": "Country",
            "type": "string",
            "description": "Two-letter Microsoft Store market code used as gl, such as US, DE, or PH.",
            "default": "US"
          },
          "countries": {
            "title": "Countries",
            "maxItems": 50,
            "type": "array",
            "description": "Optional Microsoft Store markets to process in one run. When provided, this list overrides country. Maximum 50.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "language": {
            "title": "Language",
            "type": "string",
            "description": "Microsoft Store locale used as hl, such as en-US, de-DE, or pt-BR.",
            "default": "en-US"
          },
          "maxConcurrency": {
            "title": "Maximum concurrency",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "Maximum country, keyword, or product jobs processed at the same time.",
            "default": 5
          },
          "includeReviews": {
            "title": "Include reviews in product details",
            "type": "boolean",
            "description": "Also collect reviews into includedReviews for each details record.",
            "default": false
          },
          "reviewSort": {
            "title": "Review sort",
            "enum": [
              "mostHelpful",
              "mostRecent",
              "highestRating",
              "lowestRating"
            ],
            "type": "string",
            "description": "Review order used in reviews mode and details review enrichment.",
            "default": "mostHelpful"
          },
          "reviewScores": {
            "title": "Review scores",
            "type": "array",
            "description": "Optional star-rating filter used in Reviews and embedded Details reviews. Leave empty for all scores.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "reviewsFrom": {
            "title": "Reviews from",
            "type": "string",
            "description": "Optional inclusive start date in YYYY-MM-DD format.",
            "default": ""
          },
          "reviewsTo": {
            "title": "Reviews to",
            "type": "string",
            "description": "Optional inclusive end date in YYYY-MM-DD format.",
            "default": ""
          },
          "reviewKeywords": {
            "title": "Review keywords",
            "type": "array",
            "description": "Optional case-insensitive keywords. A review is kept when its title or text contains any keyword.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "mediaType": {
            "title": "Search media type",
            "enum": [
              "all",
              "apps",
              "games"
            ],
            "type": "string",
            "description": "Department filter used only in search mode.",
            "default": "all"
          },
          "age": {
            "title": "Search age rating",
            "enum": [
              "all",
              "TO3",
              "TO4",
              "TO5",
              "TO6",
              "TO7",
              "TO8",
              "TO9",
              "TO10",
              "TO11",
              "TO12",
              "TO13",
              "TO14",
              "TO15",
              "TO16",
              "TO17"
            ],
            "type": "string",
            "description": "Age filter used only in search mode.",
            "default": "all"
          },
          "price": {
            "title": "Search price",
            "enum": [
              "all",
              "Free",
              "Paid",
              "Sale"
            ],
            "type": "string",
            "description": "Price filter used only in search mode.",
            "default": "all"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}