{
  "openapi": "3.0.1",
  "info": {
    "title": "Google Play Reviews Scraper",
    "description": "Pull Google Play reviews for any app with star, date, keyword, device and developer reply filters, across many languages at once. Each review includes rating, text, likes, app version, developer reply and aspect ratings, plus app installs and rating histogram.",
    "version": "1.0",
    "x-build-id": "X57eUHW66HZrgaCls"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/datamole~google-play-reviews-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-datamole-google-play-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/datamole~google-play-reviews-scraper/runs": {
      "post": {
        "operationId": "runs-sync-datamole-google-play-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/datamole~google-play-reviews-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-datamole-google-play-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",
        "properties": {
          "apps": {
            "title": "Apps",
            "type": "array",
            "description": "Google Play package names (com.whatsapp) or app URLs (https://play.google.com/store/apps/details?id=com.whatsapp).",
            "items": {
              "type": "string"
            }
          },
          "maxReviewsPerApp": {
            "title": "Max reviews per app",
            "minimum": 1,
            "type": "integer",
            "description": "Stop after this many reviews for each app and country.",
            "default": 500
          },
          "maxItems": {
            "title": "Max reviews in total",
            "minimum": 1,
            "type": "integer",
            "description": "Hard cap for the whole run. Leave empty for no cap."
          },
          "searchQueries": {
            "title": "Find apps by keyword",
            "type": "array",
            "description": "Search Google Play and scrape reviews of the top matching apps. Great for competitor research (e.g. \"budget app\").",
            "items": {
              "type": "string"
            }
          },
          "appsPerQuery": {
            "title": "Apps per search query",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "How many top search results to take for each keyword.",
            "default": 5
          },
          "sort": {
            "title": "Sort reviews by",
            "enum": [
              "newest",
              "most_relevant",
              "rating"
            ],
            "type": "string",
            "description": "Newest is best for monitoring and date filters.",
            "default": "newest"
          },
          "ratings": {
            "title": "Star ratings",
            "type": "array",
            "description": "Only keep reviews with these star ratings. Empty = all ratings.",
            "items": {
              "type": "string",
              "enum": [
                "1",
                "2",
                "3",
                "4",
                "5"
              ],
              "enumTitles": [
                "1 star",
                "2 stars",
                "3 stars",
                "4 stars",
                "5 stars"
              ]
            }
          },
          "dateFrom": {
            "title": "Reviews from date",
            "type": "string",
            "description": "Only reviews posted on or after this date (YYYY-MM-DD). With sort = Newest, the scraper stops as soon as it passes this date."
          },
          "dateTo": {
            "title": "Reviews to date",
            "type": "string",
            "description": "Only reviews posted on or before this date (YYYY-MM-DD)."
          },
          "keywords": {
            "title": "Must contain any keyword",
            "type": "array",
            "description": "Only keep reviews whose text contains at least one of these words (case insensitive). Example: crash, refund, ads.",
            "items": {
              "type": "string"
            }
          },
          "onlyWithDeveloperReply": {
            "title": "Only reviews with a developer reply",
            "type": "boolean",
            "description": "Keep only reviews the developer answered. Useful to audit support quality.",
            "default": false
          },
          "minTextLength": {
            "title": "Minimum review length (characters)",
            "minimum": 0,
            "type": "integer",
            "description": "Skip very short reviews like \"good\" or \"ok\".",
            "default": 0
          },
          "device": {
            "title": "Device",
            "enum": [
              "phone",
              "tablet",
              "chromebook",
              "tv"
            ],
            "type": "string",
            "description": "Google Play shows different reviews per device type.",
            "default": "phone"
          },
          "languages": {
            "title": "Review languages",
            "type": "array",
            "description": "Google Play groups reviews by language. Pick one or more; results are merged and de-duplicated.",
            "items": {
              "type": "string",
              "enum": [
                "en",
                "es",
                "pt",
                "fr",
                "de",
                "it",
                "nl",
                "pl",
                "ru",
                "tr",
                "ar",
                "hi",
                "id",
                "ja",
                "ko",
                "zh",
                "vi",
                "th",
                "uk",
                "sv",
                "da",
                "fi",
                "no",
                "cs",
                "ro",
                "hu",
                "el",
                "he",
                "ms",
                "fil"
              ],
              "enumTitles": [
                "English",
                "Spanish",
                "Portuguese",
                "French",
                "German",
                "Italian",
                "Dutch",
                "Polish",
                "Russian",
                "Turkish",
                "Arabic",
                "Hindi",
                "Indonesian",
                "Japanese",
                "Korean",
                "Chinese",
                "Vietnamese",
                "Thai",
                "Ukrainian",
                "Swedish",
                "Danish",
                "Finnish",
                "Norwegian",
                "Czech",
                "Romanian",
                "Hungarian",
                "Greek",
                "Hebrew",
                "Malay",
                "Filipino"
              ]
            },
            "default": [
              "en"
            ]
          },
          "country": {
            "title": "Store country",
            "type": "string",
            "description": "Two-letter country code used to load the app page (availability, price, currency).",
            "default": "us"
          },
          "includeAppDetails": {
            "title": "Add app details to every review",
            "type": "boolean",
            "description": "Adds app name, overall rating, rating histogram, installs, developer, genre and last update to each row. Also validates that the app exists.",
            "default": true
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Not needed in most cases. Use datacenter proxies if you scrape thousands of apps."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}