{
  "openapi": "3.0.1",
  "info": {
    "title": "App Reviews Scraper: Google Play Reviews & App Store Ratings",
    "description": "Google Play and App Store reviews in one run: rating, text, date, app version and the developer's reply with its reply time. Many apps and countries at once, star and keyword filters, only-new-reviews monitoring.",
    "version": "0.1",
    "x-build-id": "DFkdkqrZhzXfEQDFS"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/paul_studio~app-reviews-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-paul_studio-app-reviews-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/paul_studio~app-reviews-scraper/runs": {
      "post": {
        "operationId": "runs-sync-paul_studio-app-reviews-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/paul_studio~app-reviews-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-paul_studio-app-reviews-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": [
          "apps"
        ],
        "properties": {
          "apps": {
            "title": "Apps",
            "minItems": 1,
            "maxItems": 200,
            "type": "array",
            "description": "One per line: a Google Play or App Store link, a package name (com.spotify.music), an App Store id (324684580), or an app name to look up. End a line with | 500 to take up to 500 reviews from that app.",
            "items": {
              "type": "string"
            }
          },
          "stores": {
            "title": "Stores to look up app names in",
            "type": "array",
            "description": "Only for lines that are names; a name is used only when the store finds an app with that name. Links and ids already say which store.",
            "items": {
              "type": "string",
              "enum": [
                "google",
                "apple"
              ],
              "enumTitles": [
                "Google Play",
                "App Store"
              ]
            },
            "default": [
              "google",
              "apple"
            ]
          },
          "countries": {
            "title": "App Store countries",
            "type": "array",
            "description": "The App Store keeps separate reviews in each country; each one is read in the same run. Leave empty to use the country in a pasted App Store link (or the United States). Google Play uses the first one.",
            "items": {
              "type": "string",
              "enum": [
                "us",
                "gb",
                "ca",
                "au",
                "nz",
                "ie",
                "in",
                "sg",
                "ph",
                "my",
                "za",
                "ng",
                "de",
                "fr",
                "es",
                "it",
                "nl",
                "be",
                "at",
                "ch",
                "se",
                "no",
                "dk",
                "fi",
                "pl",
                "pt",
                "cz",
                "gr",
                "ro",
                "hu",
                "tr",
                "ua",
                "il",
                "ae",
                "sa",
                "eg",
                "br",
                "mx",
                "ar",
                "cl",
                "co",
                "pe",
                "jp",
                "kr",
                "tw",
                "hk",
                "cn",
                "th",
                "vn",
                "id",
                "pk",
                "bd"
              ],
              "enumTitles": [
                "United States",
                "United Kingdom",
                "Canada",
                "Australia",
                "New Zealand",
                "Ireland",
                "India",
                "Singapore",
                "Philippines",
                "Malaysia",
                "South Africa",
                "Nigeria",
                "Germany",
                "France",
                "Spain",
                "Italy",
                "Netherlands",
                "Belgium",
                "Austria",
                "Switzerland",
                "Sweden",
                "Norway",
                "Denmark",
                "Finland",
                "Poland",
                "Portugal",
                "Czechia",
                "Greece",
                "Romania",
                "Hungary",
                "Turkey",
                "Ukraine",
                "Israel",
                "United Arab Emirates",
                "Saudi Arabia",
                "Egypt",
                "Brazil",
                "Mexico",
                "Argentina",
                "Chile",
                "Colombia",
                "Peru",
                "Japan",
                "South Korea",
                "Taiwan",
                "Hong Kong",
                "China (App Store only)",
                "Thailand",
                "Vietnam",
                "Indonesia",
                "Pakistan",
                "Bangladesh"
              ]
            },
            "default": []
          },
          "language": {
            "title": "Google Play review language",
            "enum": [
              "en",
              "es",
              "pt",
              "fr",
              "de",
              "it",
              "nl",
              "pl",
              "tr",
              "ru",
              "uk",
              "ar",
              "he",
              "hi",
              "id",
              "ms",
              "vi",
              "th",
              "ja",
              "ko",
              "zh-TW",
              "zh-CN",
              "sv",
              "da",
              "no",
              "fi",
              "cs",
              "el",
              "ro",
              "hu"
            ],
            "type": "string",
            "description": "Google Play shows reviews in one language at a time, the same in every country. Also: zh-TW (Chinese (Traditional)), zh-CN (Chinese (Simplified)), sv (Swedish), da (Danish), no (Norwegian), fi (Finnish), cs (Czech), el (Greek), ro (Romanian), hu (Hungarian).",
            "default": "en"
          },
          "maxReviews": {
            "title": "Maximum reviews per app",
            "minimum": 1,
            "maximum": 20000,
            "type": "integer",
            "description": "An upper limit, not a promise: it applies to each store and to each App Store country. Apple serves at most 500 per country and order, and sometimes only the ~10 reviews it features on the app page.",
            "default": 100
          },
          "sort": {
            "title": "Order",
            "enum": [
              "newest",
              "relevant"
            ],
            "type": "string",
            "description": "Store-ranked means most relevant on Google Play and most helpful on the App Store. Keep Newest first for monitoring.",
            "default": "newest"
          },
          "minRating": {
            "title": "Lowest star rating",
            "minimum": 1,
            "maximum": 5,
            "type": "integer",
            "description": "Use 1 with Highest 2 to collect low-rated reviews. With newest first, Google Play applies this itself, so other stars are never read."
          },
          "maxRating": {
            "title": "Highest star rating",
            "minimum": 1,
            "maximum": 5,
            "type": "integer",
            "description": "e.g. 2 for 1- and 2-star reviews."
          },
          "publishedAfter": {
            "title": "Review date on or after",
            "type": "string",
            "description": "A date or a period such as 30 days; inclusive, UTC. App Store dates are when a review was last edited."
          },
          "publishedBefore": {
            "title": "Review date before",
            "type": "string",
            "description": "A date or a period; exclusive, UTC."
          },
          "keywords": {
            "title": "Only reviews containing",
            "type": "array",
            "description": "One word or phrase per line, e.g. \"crash\" or \"login\". Matches any of them in the review title or text; not case-sensitive.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "excludeKeywords": {
            "title": "Skip reviews containing",
            "type": "array",
            "description": "e.g. \"great app\". Same matching as above.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "replies": {
            "title": "Developer replies",
            "enum": [
              "any",
              "with_reply",
              "without_reply"
            ],
            "type": "string",
            "description": "Google Play always says whether the developer answered; Apple only for the reviews it features. App Store reviews from Apple's feed match neither reply option.",
            "default": "any"
          },
          "onlyNewReviews": {
            "title": "Only new reviews",
            "type": "boolean",
            "description": "The first run saves the newest matching reviews up to your limit. Later runs return, and charge for, only reviews not delivered before. Keep Order on Newest first. This does not create a schedule.",
            "default": false
          },
          "monitorName": {
            "title": "Monitor name",
            "pattern": "^[A-Za-z0-9 _-]*$",
            "maxLength": 40,
            "type": "string",
            "description": "Give each schedule its own name, e.g. \"my-app-weekly\". Use a new name to start over. Runs with the same name share one history, also across Tasks; a review stays remembered for a year after it was last seen.",
            "default": "default"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}