{
  "openapi": "3.0.1",
  "info": {
    "title": "Google Play Reviews Scraper & Change Monitor",
    "description": "Export Google Play reviews with ratings, app versions, and developer replies. Track known apps for new or edited reviews and reply changes, with stable keys for your feedback database.",
    "version": "0.1",
    "x-build-id": "yPKgkpqqIXpS8ggwH"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/luminar~google-play-reviews-change-monitor/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-luminar-google-play-reviews-change-monitor",
        "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/luminar~google-play-reviews-change-monitor/runs": {
      "post": {
        "operationId": "runs-sync-luminar-google-play-reviews-change-monitor",
        "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/luminar~google-play-reviews-change-monitor/run-sync": {
      "post": {
        "operationId": "run-sync-luminar-google-play-reviews-change-monitor",
        "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": [
          "appIds"
        ],
        "properties": {
          "workflow": {
            "title": "Workflow",
            "enum": [
              "export",
              "monitor"
            ],
            "type": "string",
            "description": "Export matching reviews, or compare the same bounded review window against a saved watch list.",
            "default": "export"
          },
          "appIds": {
            "title": "Google Play apps",
            "type": "array",
            "description": "Up to 10 package IDs or public Google Play app URLs. At most 20,000 requested review slots per run.",
            "items": {
              "type": "string"
            }
          },
          "country": {
            "title": "Storefront country",
            "type": "string",
            "description": "Two-letter request context, such as us or gb. This is not the reviewer’s location.",
            "default": "us"
          },
          "language": {
            "title": "Review language",
            "type": "string",
            "description": "Language request context, such as en or de. Source availability varies.",
            "default": "en"
          },
          "sort": {
            "title": "Review order",
            "enum": [
              "newest",
              "helpful"
            ],
            "type": "string",
            "description": "Newest for repeat monitoring, or helpful for a feedback overview.",
            "default": "newest"
          },
          "rating": {
            "title": "Rating",
            "minimum": 0,
            "maximum": 5,
            "type": "integer",
            "description": "0 means all ratings; 1–5 requests only that source rating.",
            "default": 0
          },
          "device": {
            "title": "Device category",
            "enum": [
              "all",
              "phone",
              "tablet",
              "chromebook",
              "tv",
              "wear"
            ],
            "type": "string",
            "description": "Optional source device filter. Returned reviews do not expose a verified reviewer device identity.",
            "default": "all"
          },
          "since": {
            "title": "Reviews updated since",
            "type": "string",
            "description": "Optional ISO UTC timestamp, inclusive. Filters the scanned window; it does not expand it."
          },
          "until": {
            "title": "Reviews updated until",
            "type": "string",
            "description": "Optional ISO UTC timestamp, inclusive."
          },
          "keyword": {
            "title": "Text contains",
            "type": "string",
            "description": "Optional case-insensitive text filter. Scanned review batches are still charged."
          },
          "appVersion": {
            "title": "App version equals",
            "type": "string",
            "description": "Optional exact published review version. Reviews without a version do not match."
          },
          "monitorNamespace": {
            "title": "Watch-list name",
            "type": "string",
            "description": "Use the same name and filters on repeat runs. Do not run the same watch list concurrently. A stopped delivery must be recovered in its original run.",
            "default": "default"
          },
          "firstRun": {
            "title": "First monitoring run",
            "enum": [
              "emit_new",
              "seed_only"
            ],
            "type": "string",
            "description": "Emit existing matching reviews as NEW, or save a baseline without change rows. Both scan the requested window.",
            "default": "emit_new"
          },
          "maxReviewsPerApp": {
            "title": "Review slots per app",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Maximum source reviews scanned per app, including reviews rejected by your output filters. Billed in batches of up to 100 per app.",
            "default": 100
          },
          "maxPagesPerApp": {
            "title": "Pages per app",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Each page has up to 100 reviews. Limit 100; the review-slot limit also applies.",
            "default": 100
          },
          "maxRuntimeSecs": {
            "title": "Collection time limit",
            "minimum": 10,
            "maximum": 210,
            "type": "integer",
            "description": "10–210 seconds for collection, with additional platform time reserved for delivery.",
            "default": 210
          },
          "maxBuyerChargeUsd": {
            "title": "Maximum buyer charge (USD)",
            "minimum": 0,
            "maximum": 100,
            "type": "number",
            "description": "Preflight reserves your complete requested scan. Lower review slots or increase this limit if rejected.",
            "default": 5
          }
        }
      },
      "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}