{
  "openapi": "3.0.1",
  "info": {
    "title": "App Store & Google Play Reviews Scraper API",
    "description": "Google Play and App Store reviews in one format, with insights per app (complaint themes with exact quotes, bugs by version, feature requests), side-by-side comparisons, and monitoring that charges only new reviews and alerts on rating drops. API and MCP for AI agents.",
    "version": "1.0",
    "x-build-id": "QRrXujmK7oNiBtw7p"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/byteblisk~app-reviews-insights/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-byteblisk-app-reviews-insights",
        "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/byteblisk~app-reviews-insights/runs": {
      "post": {
        "operationId": "runs-sync-byteblisk-app-reviews-insights",
        "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/byteblisk~app-reviews-insights/run-sync": {
      "post": {
        "operationId": "run-sync-byteblisk-app-reviews-insights",
        "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": {
          "mode": {
            "title": "What to get",
            "enum": [
              "reviews",
              "details",
              "insights",
              "compare",
              "monitor"
            ],
            "type": "string",
            "description": "Monitor remembers the last run: schedule it daily or weekly and it returns only new reviews.",
            "default": "reviews"
          },
          "apps": {
            "title": "Apps",
            "type": "array",
            "description": "Google Play package names or URLs, and App Store URLs or numeric ids. Mix both stores freely.",
            "items": {
              "type": "string"
            }
          },
          "store": {
            "title": "Store",
            "enum": [
              "auto",
              "google_play",
              "app_store"
            ],
            "type": "string",
            "description": "Detect picks the App Store for apps.apple.com URLs and numeric ids, Google Play for everything else.",
            "default": "auto"
          },
          "countries": {
            "title": "Countries",
            "type": "array",
            "description": "Two-letter store countries; each app is read in each country.",
            "default": [
              "us"
            ],
            "items": {
              "type": "string"
            }
          },
          "language": {
            "title": "Language (Google Play)",
            "type": "string",
            "description": "Two-letter language for Google Play pages and reviews.",
            "default": "en"
          },
          "maxReviews": {
            "title": "Max reviews per app and country",
            "minimum": 1,
            "type": "integer",
            "description": "Reviews are read newest first; reading stops here for each app and country.",
            "default": 200
          },
          "anthropicApiKey": {
            "title": "Your Anthropic API key (for insights and compare)",
            "type": "string",
            "description": "Insights and comparisons are written by Claude on your own Anthropic account (console.anthropic.com), about $0.01 per app on Claude Haiku. Used for this run only, never stored. Reviews, details and monitoring don't need it."
          },
          "minRating": {
            "title": "Min stars",
            "minimum": 1,
            "maximum": 5,
            "type": "integer",
            "description": "Keep reviews with at least this many stars."
          },
          "maxRating": {
            "title": "Max stars",
            "minimum": 1,
            "maximum": 5,
            "type": "integer",
            "description": "Keep reviews with at most this many stars."
          },
          "keywords": {
            "title": "Keywords",
            "type": "array",
            "description": "Keep reviews containing any of these.",
            "items": {
              "type": "string"
            }
          },
          "dateFrom": {
            "title": "From date",
            "type": "string",
            "description": "Keep reviews written on or after this day."
          },
          "dateTo": {
            "title": "To date",
            "type": "string",
            "description": "Keep reviews written on or before this day."
          },
          "versions": {
            "title": "App versions",
            "type": "array",
            "description": "Keep reviews written on these app versions.",
            "items": {
              "type": "string"
            }
          },
          "hasReply": {
            "title": "Developer reply",
            "type": "boolean",
            "description": "Checked: only answered reviews. Unchecked: only unanswered. Leave empty for all."
          },
          "recentDays": {
            "title": "Only the last N days",
            "minimum": 1,
            "type": "integer",
            "description": "Keep reviews written in the last N days."
          },
          "webhookUrl": {
            "title": "Alert webhook (monitor)",
            "type": "string",
            "description": "Slack incoming-webhook URL or any HTTPS endpoint; gets new-version, rating-drop and complaint-spike alerts."
          },
          "ratingDrop": {
            "title": "Rating drop to alert on",
            "type": "number",
            "description": "Alert when the store rating falls by this much since the last run.",
            "default": 0.1
          },
          "spikeRatio": {
            "title": "Complaint spike ratio",
            "type": "number",
            "description": "Alert when the 1-2 star share of new reviews is this many times the usual share (and at least 30%).",
            "default": 2
          },
          "minNewReviews": {
            "title": "Min new reviews for a spike alert",
            "type": "integer",
            "description": "A complaint spike needs at least this many new reviews.",
            "default": 10
          },
          "demo": {
            "title": "Demo (free sample output, no requests)",
            "type": "boolean",
            "description": "Returns sample output so you can see the format. No requests, no charge.",
            "default": false
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}