{
  "openapi": "3.0.1",
  "info": {
    "title": "Google Play Reviews API & Filter Scraper (Version Diagnostics)",
    "description": "Google Play Reviews REST API & MCP tool at $0.08/1K matched reviews. Extract Android app reviews from any public app (no Play Console needed) with pre-charge filtering by stars, dates, unreplied status, device, multi-language & keywords—cutting API spend & LLM tokens.",
    "version": "0.2",
    "x-build-id": "KmQUZaeLdhkp4Hso9"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/parsekit~google-play-reviews-filter-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-parsekit-google-play-reviews-filter-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/parsekit~google-play-reviews-filter-scraper/runs": {
      "post": {
        "operationId": "runs-sync-parsekit-google-play-reviews-filter-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/parsekit~google-play-reviews-filter-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-parsekit-google-play-reviews-filter-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": {
          "appIds": {
            "title": "Google Play App IDs or URLs",
            "type": "array",
            "description": "One or more Google Play package IDs (e.g. com.duolingo) or full Play Store URLs (e.g. https://play.google.com/store/apps/details?id=com.duolingo). API callers may also pass appId, appIdOrUrl, or startUrls aliases. Empty input safely exits at $0 (never scrapes a fallback app).",
            "items": {
              "type": "string"
            }
          },
          "maxReviewsPerApp": {
            "title": "Max Matched Reviews per App",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Maximum number of filtered (matching) reviews to save and charge per app. Default 50 runs in ~3 seconds for testing.",
            "default": 50
          },
          "minScore": {
            "title": "Minimum Star Rating",
            "minimum": 1,
            "maximum": 5,
            "type": "integer",
            "description": "Include only reviews with star rating >= this value (1 to 5).",
            "default": 1
          },
          "maxScore": {
            "title": "Maximum Star Rating",
            "minimum": 1,
            "maximum": 5,
            "type": "integer",
            "description": "Include only reviews with star rating <= this value (1 to 5). Set to 2 to pay only for 1-star and 2-star negative reviews.",
            "default": 5
          },
          "onlyUnreplied": {
            "title": "Only Unreplied Reviews",
            "type": "boolean",
            "description": "If enabled, return only reviews with no developer reply yet. Ideal for support & ASO triage.",
            "default": false
          },
          "deviceType": {
            "title": "Device Type Filter",
            "enum": [
              "all",
              "phone",
              "tablet",
              "chromebook",
              "tv"
            ],
            "type": "string",
            "description": "Filter reviews by Android device form factor, matching Google Play's native device switcher.",
            "default": "all"
          },
          "dateFrom": {
            "title": "Date From (YYYY-MM-DD, UTC)",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "type": "string",
            "description": "Only include reviews posted on or after this UTC date (e.g. 2026-10-01). Automatically stops scanning older history when sorted by newest."
          },
          "dateTo": {
            "title": "Date To (YYYY-MM-DD, UTC)",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "type": "string",
            "description": "Only include reviews posted on or before this UTC date (inclusive, e.g. 2026-11-30)."
          },
          "daysBack": {
            "title": "Last N Days (Shortcut)",
            "minimum": 1,
            "maximum": 3650,
            "type": "integer",
            "description": "Shortcut to collect only reviews from the last N days (e.g. 30). Ignored if Date From is provided."
          },
          "keywords": {
            "title": "Keyword Filters (Any Match, Case-Insensitive)",
            "type": "array",
            "description": "Only include reviews whose text contains at least one of these words or phrases (case-insensitive, e.g. ['crash', 'freeze', 'login']).",
            "items": {
              "type": "string"
            }
          },
          "appVersionFilters": {
            "title": "App Version Prefix Filters",
            "type": "array",
            "description": "Only include reviews whose app version starts with any of these prefixes (e.g. ['6.106', '6.105']).",
            "items": {
              "type": "string"
            }
          },
          "minThumbsUp": {
            "title": "Minimum Helpful Votes (Thumbs Up)",
            "minimum": 0,
            "type": "integer",
            "description": "Only include reviews with at least this many thumbs-up votes.",
            "default": 0
          },
          "excludeEmptyContent": {
            "title": "Exclude Empty Review Text",
            "type": "boolean",
            "description": "Skip rating-only reviews that have blank text.",
            "default": false
          },
          "languages": {
            "title": "Review Languages (Multi-Language Supported)",
            "type": "array",
            "description": "One or more ISO language codes (e.g. ['en', 'es', 'de', 'zh-TW', 'ja']). Use ['top'] for the top 12 global Play languages or ['all'] for 25 major global languages in a single deduplicated run.",
            "default": [
              "en"
            ],
            "items": {
              "type": "string"
            }
          },
          "country": {
            "title": "Country Code (Any ISO Code)",
            "type": "string",
            "description": "Any two-letter ISO country code for Google Play Store localization (e.g. us, tw, cn, gb, de, jp, ng, bs). No restricted enum.",
            "default": "us"
          },
          "sort": {
            "title": "Sort Order",
            "enum": [
              "newest",
              "most_relevant",
              "rating"
            ],
            "type": "string",
            "description": "Sort order requested from Google Play. Use 'newest' for fast early-stop with date filters.",
            "default": "newest"
          },
          "anonymizeUsers": {
            "title": "Anonymize Reviewer Info (GDPR Mode)",
            "type": "boolean",
            "description": "If enabled, removes personal reviewer identifiers (userName, userImage, reviewerId are set to null) before saving.",
            "default": false
          },
          "includeVersionDiagnostics": {
            "title": "Include Version Negative-Rate Diagnostics (Free)",
            "type": "boolean",
            "description": "Writes per-app-version negative-review rate, average score, and unreplied stats to Key-Value Store (VERSION_DIAGNOSTICS) at no extra cost.",
            "default": true
          },
          "maxScanReviewsPerApp": {
            "title": "Max Raw Reviews Scanned per App",
            "minimum": 50,
            "maximum": 200000,
            "type": "integer",
            "description": "Safety cap on total raw reviews inspected per app while searching for matches. Prevents runaway compute on very narrow filters.",
            "default": 10000
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}