{
  "openapi": "3.0.1",
  "info": {
    "title": "Windows App Review & Sentiment Extractor - Bug & Feature Mining",
    "description": "Mine Microsoft Store reviews of any Windows app: filter by device (PC, Xbox, HoloLens), Windows version, app version and 1-3 stars. Each review is tagged for bugs, crashes and feature requests, with sentiment and a per-app complaint report. No login.",
    "version": "0.1",
    "x-build-id": "9steQsdYtKJOagPB6"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/fanndev~windows-app-review-sentiment-extractor/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-fanndev-windows-app-review-sentiment-extractor",
        "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/fanndev~windows-app-review-sentiment-extractor/runs": {
      "post": {
        "operationId": "runs-sync-fanndev-windows-app-review-sentiment-extractor",
        "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/fanndev~windows-app-review-sentiment-extractor/run-sync": {
      "post": {
        "operationId": "run-sync-fanndev-windows-app-review-sentiment-extractor",
        "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": [
          "apps"
        ],
        "properties": {
          "apps": {
            "title": "Apps",
            "type": "array",
            "description": "Apps to analyse: a Microsoft Store link (apps.microsoft.com/detail/...), a product ID such as 9WZDNCRFJ3TJ, or simply the app name (the top Store search match is used).",
            "items": {
              "type": "string"
            }
          },
          "mode": {
            "title": "What to extract",
            "enum": [
              "reviews",
              "insights",
              "breakdown"
            ],
            "type": "string",
            "description": "reviews = every matching review with tags and sentiment, plus one insight report per app. insights = only the insight report per app (top bugs, feature requests, breakdowns). breakdown = fast review-count map per device and star rating (no review text).",
            "default": "reviews"
          },
          "ratings": {
            "title": "Star ratings",
            "type": "array",
            "description": "Which star ratings to collect. Default 1-3 stars (complaints). Filtered by the Store itself, so it is fast.",
            "items": {
              "type": "string",
              "enum": [
                "1",
                "2",
                "3",
                "4",
                "5"
              ],
              "enumTitles": [
                "1 star",
                "2 stars",
                "3 stars",
                "4 stars",
                "5 stars"
              ]
            },
            "default": [
              "1",
              "2",
              "3"
            ]
          },
          "deviceTypes": {
            "title": "Device types",
            "type": "array",
            "description": "Only reviews written on these devices. Empty = all devices. Filtered by the Store itself.",
            "items": {
              "type": "string",
              "enum": [
                "pc",
                "xbox",
                "hololens",
                "surfaceHub",
                "mobile"
              ],
              "enumTitles": [
                "PC (Windows desktop/laptop/tablet)",
                "Xbox",
                "HoloLens",
                "Surface Hub",
                "Windows Mobile (legacy)"
              ]
            },
            "default": []
          },
          "windowsVersions": {
            "title": "Windows versions (PC reviews)",
            "type": "array",
            "description": "Only PC reviews written on these Windows versions, read from the reviewer's OS build. Empty = any. Does not affect Xbox/HoloLens reviews.",
            "items": {
              "type": "string",
              "enum": [
                "windows11",
                "windows10",
                "windows8",
                "older",
                "other"
              ],
              "enumTitles": [
                "Windows 11",
                "Windows 10",
                "Windows 8 / 8.1",
                "Windows 7 and older",
                "Unknown"
              ]
            },
            "default": []
          },
          "minOsBuild": {
            "title": "Minimum Windows build",
            "minimum": 0,
            "type": "integer",
            "description": "Only PC reviews from this OS build or newer, e.g. 26100 = Windows 11 24H2, 22000 = first Windows 11."
          },
          "maxOsBuild": {
            "title": "Maximum Windows build",
            "minimum": 0,
            "type": "integer",
            "description": "Only PC reviews from this OS build or older, e.g. 19045 = Windows 10 22H2."
          },
          "appVersions": {
            "title": "App versions",
            "type": "array",
            "description": "Only reviews from people who had this app version installed, e.g. 2.2640 or 2.2640.100.0 (prefix match). The version is only known when the reviewer had the app installed.",
            "items": {
              "type": "string"
            }
          },
          "keywords": {
            "title": "Keywords",
            "type": "array",
            "description": "Only reviews whose title or text contains at least one of these words or phrases (case-insensitive), e.g. crash, login, dark mode.",
            "items": {
              "type": "string"
            }
          },
          "issueTypes": {
            "title": "Issue types",
            "type": "array",
            "description": "Only reviews tagged with at least one of these. Empty = keep all.",
            "items": {
              "type": "string",
              "enum": [
                "bug",
                "featureRequest",
                "regression",
                "crash_freeze",
                "bug_error",
                "performance",
                "login_account",
                "install_update",
                "sync_connectivity",
                "ui_ux",
                "notifications",
                "media_playback",
                "pricing_ads",
                "compatibility",
                "customer_support",
                "privacy_security"
              ],
              "enumTitles": [
                "Any bug report",
                "Feature request",
                "Broke after an update (regression)",
                "Crashes & freezes",
                "Bugs & errors",
                "Performance",
                "Login & account",
                "Install & update",
                "Sync & connectivity",
                "UI & usability",
                "Notifications",
                "Audio, video & calls",
                "Pricing, ads & subscription",
                "Device & OS compatibility",
                "Customer support",
                "Privacy & security"
              ]
            },
            "default": []
          },
          "dateFrom": {
            "title": "Reviews since",
            "type": "string",
            "description": "YYYY-MM-DD or relative, e.g. 30 days, 6 months, 1 year."
          },
          "dateTo": {
            "title": "Reviews until",
            "type": "string",
            "description": "YYYY-MM-DD or relative."
          },
          "maxReviewsPerApp": {
            "title": "Max reviews per app",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum reviews per app for each device type and country. 0 = everything the Store serves (up to ~20,000 per star rating per device).",
            "default": 1000
          },
          "sort": {
            "title": "Sort order",
            "enum": [
              "mostRecent",
              "mostHelpful",
              "oldest",
              "lowestRated",
              "highestRated"
            ],
            "type": "string",
            "description": "Order in which reviews are read.",
            "default": "mostRecent"
          },
          "reviewVersions": {
            "title": "App versions to read reviews from",
            "enum": [
              "all",
              "latest"
            ],
            "type": "string",
            "description": "all = full review history of every app version (much more data than the Store web page shows). latest = only reviews of the current version.",
            "default": "all"
          },
          "countries": {
            "title": "Countries (Store markets)",
            "type": "array",
            "description": "Two-letter Store markets. Reviews are stored per country: US, GB, DE, FR, JP, BR, IN, ID...",
            "default": [
              "US"
            ],
            "items": {
              "type": "string"
            }
          },
          "language": {
            "title": "Review language",
            "type": "string",
            "description": "all = every language written in the chosen countries. Or a locale such as en-us, en-gb, de-de, pt-br to keep only that language. Sentiment scores are computed for English reviews; bug/feature tags also cover common German, Spanish, Portuguese, French and Indonesian terms.",
            "default": "all"
          },
          "onlyWithText": {
            "title": "Only reviews with text",
            "type": "boolean",
            "description": "Skip star-only reviews with no written text.",
            "default": true
          },
          "onlyInstalledApp": {
            "title": "Only reviewers who had the app installed",
            "type": "boolean",
            "description": "Keep only reviews written while the app was installed (these carry the exact app version and CPU architecture).",
            "default": false
          },
          "includeInsights": {
            "title": "Add insight report per app",
            "type": "boolean",
            "description": "In reviews mode, add one report row per app: top issue categories with example quotes, most requested features, complaint phrases, and breakdowns by device, Windows version, app version, month and country.",
            "default": true
          },
          "examplesPerIssue": {
            "title": "Example quotes per issue",
            "minimum": 0,
            "maximum": 20,
            "type": "integer",
            "description": "Most helpful example reviews quoted for each issue category in the insight report.",
            "default": 3
          },
          "maxItems": {
            "title": "Max review rows for the whole run",
            "minimum": 0,
            "type": "integer",
            "description": "Hard cap on review rows across all apps (0 = no cap).",
            "default": 0
          },
          "maxConcurrency": {
            "title": "Apps in parallel",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "How many apps are processed at the same time.",
            "default": 3
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Not needed normally: the Store review service accepts direct connections. If it ever blocks, the actor switches to Apify Residential proxy automatically.",
            "default": {
              "useApifyProxy": false
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}