{
  "openapi": "3.0.1",
  "info": {
    "title": "Google Play Reviews Scraper API: Ratings & Replies",
    "description": "Google Play reviews scraper for Android apps: stars, text, dates, app versions, developer replies and app details by package name, link or app name. Free filters. No login.",
    "version": "0.1",
    "x-build-id": "kgo3wZloZeq4GgmSQ"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/techliondev~google-play-reviews-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-techliondev-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/techliondev~google-play-reviews-scraper/runs": {
      "post": {
        "operationId": "runs-sync-techliondev-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/techliondev~google-play-reviews-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-techliondev-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",
            "type": "array",
            "description": "One app per line. Use the package name (for example com.spotify.music, the part after id= in the app's Google Play address), a full Google Play link, or the app's name (the Actor searches Google Play and takes the first app). You can mix all three.",
            "default": [
              "com.spotify.music",
              "https://play.google.com/store/apps/details?id=com.duolingo"
            ],
            "items": {
              "type": "string"
            }
          },
          "countries": {
            "title": "🌍 Countries",
            "type": "array",
            "description": "Two-letter country codes, one per line (for example us, gb, de, in, br). Names such as United Kingdom also work. Each app is read separately for each country. A gl= value in a Google Play link is added for that app.",
            "default": [
              "us"
            ],
            "items": {
              "type": "string"
            }
          },
          "language": {
            "title": "🗣️ Review language",
            "type": "string",
            "description": "Two-letter language code (for example en, es, de, pt, ja). Google Play returns reviews written in this language. Run again with another code to collect other languages.",
            "default": "en"
          },
          "maxReviews": {
            "title": "💯 Maximum reviews per app per country",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Stop after this many saved reviews for each app in each country. Reviews removed by filters are not counted or charged. Popular apps have hundreds of thousands of reviews, so keep this moderate.",
            "default": 100
          },
          "sort": {
            "title": "Sort reviews by",
            "enum": [
              "newest",
              "mostRelevant",
              "rating"
            ],
            "type": "string",
            "description": "Newest lists the latest reviews first (best for monitoring). Most relevant is Google's default order. Rating groups reviews by stars.",
            "default": "newest"
          },
          "minRating": {
            "title": "Minimum stars",
            "minimum": 1,
            "maximum": 5,
            "type": "integer",
            "description": "Keep only reviews with at least this many stars (1–5). The star filter runs on Google's side, so it stays fast even for huge apps."
          },
          "maxRating": {
            "title": "Maximum stars",
            "minimum": 1,
            "maximum": 5,
            "type": "integer",
            "description": "Keep only reviews with at most this many stars (1–5). For example, set 2 to collect complaints. With a star range, the maximum is split evenly across the star values in the range."
          },
          "includeKeywords": {
            "title": "Reviews must mention one of these words",
            "type": "array",
            "description": "Matched against the review text. Leave empty to keep everything. Short words (3 letters or fewer) match whole words only, so \"ad\" does not match \"bad\".",
            "items": {
              "type": "string"
            }
          },
          "excludeKeywords": {
            "title": "Skip reviews mentioning",
            "type": "array",
            "description": "Reviews that mention any of these words are skipped.",
            "items": {
              "type": "string"
            }
          },
          "since": {
            "title": "Only reviews posted since",
            "type": "string",
            "description": "A date like 2026-01-31 or a period like \"7 days\" or \"24 hours\". With Newest sort, reading stops once reviews get older, so a daily monitor stays fast."
          },
          "onlyWithReply": {
            "title": "Only reviews with a developer reply",
            "type": "boolean",
            "description": "Keep only reviews the developer answered.",
            "default": false
          },
          "onlyWithoutReply": {
            "title": "Only reviews without a developer reply",
            "type": "boolean",
            "description": "Keep only unanswered reviews, for example to build a support to-do list.",
            "default": false
          },
          "onlyNew": {
            "title": "Only new reviews",
            "type": "boolean",
            "description": "Remembers every review ID and, after the first run, saves only reviews that are new since last time. The first run saves everything and remembers it.",
            "default": false
          },
          "stateName": {
            "title": "Tracking name (optional)",
            "type": "string",
            "description": "Use a different name for each separate watch list. Leave empty to use a name based on your apps, countries, language and sort."
          },
          "useProxyIfBlocked": {
            "title": "Use residential proxy if Google Play blocks",
            "type": "boolean",
            "description": "Requests go out directly. If Google Play starts refusing them, the Actor switches to Apify residential proxy for the rest of the run. Included in the review price; you are never charged extra for it.",
            "default": true
          },
          "maxProxyMegabytes": {
            "title": "Proxy traffic cap (megabytes)",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "Hard limit on residential proxy traffic for one run, counted as uncompressed data (about 200 reviews per counted megabyte, so the default covers roughly 10,000 reviews). The run stops cleanly when the cap is reached. Only used if Google Play blocks direct requests.",
            "default": 50
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}