{
  "openapi": "3.0.1",
  "info": {
    "title": "Google Play Reviews Scraper",
    "description": "Scrape Google Play reviews by app ID, link or name: stars, review text, thumbs-up, app version, date and developer reply, in any country and language, plus app ratings, star histogram, installs and developer contacts. Fast, no login.",
    "version": "0.2",
    "x-build-id": "q2zAiIuoZm9ug35Ax"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/deepmine~google-play-reviews-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-deepmine-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/deepmine~google-play-reviews-scraper/runs": {
      "post": {
        "operationId": "runs-sync-deepmine-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/deepmine~google-play-reviews-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-deepmine-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",
        "required": [
          "apps"
        ],
        "properties": {
          "apps": {
            "title": "📱 Apps (IDs, links or names)",
            "minItems": 1,
            "type": "array",
            "description": "Google Play apps by package ID (com.whatsapp), Google Play link or app name (Duolingo: Google Play's top result is used). One per line.",
            "items": {
              "type": "string"
            }
          },
          "maxReviewsPerApp": {
            "title": "💯 Max reviews per app",
            "minimum": 1,
            "maximum": 10000000,
            "type": "integer",
            "description": "Stops each app at this many reviews, e.g. 500. For every review Google Play shows, set a high number such as 1000000.",
            "default": 1000
          },
          "sort": {
            "title": "🔃 Sort reviews by",
            "enum": [
              "newest",
              "relevant",
              "rating"
            ],
            "type": "string",
            "description": "The order Google Play gives the reviews in. A start date (Filters) always reads newest first.",
            "default": "newest"
          },
          "country": {
            "title": "🌍 Country",
            "type": "string",
            "description": "The Google Play store to read, as a two-letter code, e.g. us, gb, de, in, br. Reviews and app details follow this country.",
            "default": "us"
          },
          "language": {
            "title": "🗣️ Language",
            "type": "string",
            "description": "Reviews written in this language, as a code, e.g. en, de, es, pt, ja, fr. Reviews whose text is clearly in another language are left out; a review too short or ambiguous to tell (\"Super!\", a single word, a name) is kept. Each row's Reviewed in says the language of its text.",
            "default": "en"
          },
          "stars": {
            "title": "⭐ Stars",
            "type": "array",
            "description": "Keep only reviews with these star ratings, e.g. 1 and 2 for complaints. Empty = every rating.",
            "items": {
              "type": "string",
              "enum": [
                "1",
                "2",
                "3",
                "4",
                "5"
              ],
              "enumTitles": [
                "1 star",
                "2 stars",
                "3 stars",
                "4 stars",
                "5 stars"
              ]
            }
          },
          "reviewsSince": {
            "title": "📅 Reviews since",
            "type": "string",
            "description": "Only reviews posted on or after this date, or within a period such as 30 days. Reads newest first. Empty = any date."
          },
          "reviewsUntil": {
            "title": "📅 Reviews until",
            "type": "string",
            "description": "Only reviews posted on or before this date (that whole day counts). With Reviews since it gives a window, e.g. one month. Google Play can't jump to a date, so the newer reviews are read and skipped (not charged); an old end date takes longer on a busy app. Empty = up to today."
          },
          "device": {
            "title": "📱 Device",
            "enum": [
              "phone",
              "tablet",
              "chromebook",
              "tv",
              "watch"
            ],
            "type": "string",
            "description": "Reviews written on this kind of device. Phone is what Google Play shows by default.",
            "default": "phone"
          },
          "keywords": {
            "title": "🔤 Review contains",
            "type": "array",
            "description": "Keep only reviews whose text contains one of these words or phrases (any case), e.g. crash or refund. Empty = any text.",
            "items": {
              "type": "string"
            }
          },
          "appVersion": {
            "title": "🔢 App versions",
            "type": "array",
            "description": "Keep only reviews written on these app versions; a version matches its start, so 9.1 keeps 9.1.92.3058. Empty = any version.",
            "items": {
              "type": "string"
            }
          },
          "appsPerName": {
            "title": "🔍 Apps per name",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "How many of Google Play's top results to read for each app name, e.g. 5 to cover the leading apps for a word. IDs and links always read one app.",
            "default": 1
          },
          "maxItems": {
            "title": "Max reviews in total",
            "minimum": 1,
            "maximum": 100000000,
            "type": "integer",
            "description": "Stops the whole run at this many reviews, across every app. Empty = no total limit."
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Leave as is: Apify datacenter proxy, with a residential retry only for a call every datacenter IP refused.",
            "default": {
              "useApifyProxy": true
            }
          },
          "appIdOrUrl": {
            "title": "App ID or URL (alias of Apps)",
            "type": "string",
            "description": "Kept for inputs saved from other Google Play review tools."
          },
          "maxReviews": {
            "title": "Max reviews (alias of Max reviews per app)",
            "type": "integer",
            "description": "Kept for inputs saved from other Google Play review tools."
          },
          "sortBy": {
            "title": "Sort (alias of Sort reviews by)",
            "type": "string",
            "description": "Kept for inputs saved from other Google Play review tools."
          },
          "rating": {
            "title": "Rating (alias of Stars)",
            "type": "integer",
            "description": "Kept for inputs saved from other Google Play review tools."
          },
          "endDate": {
            "title": "End date (alias of Reviews until)",
            "type": "string",
            "description": "Kept for inputs saved from other Google Play review tools."
          },
          "deviceType": {
            "title": "Device type (alias of Device)",
            "type": "string",
            "description": "Kept for inputs saved from other Google Play review tools."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}