{
  "openapi": "3.0.1",
  "info": {
    "title": "App Store & Google Play Reviews Scraper with AI Themes",
    "description": "Scrape App Store and Google Play reviews in one run: rating, title, text, author, date, version and developer reply. Filter by date or keyword, unanswered Google Play reviews, only new reviews, more App Store countries. Add AI complaint and praise themes. Paste app names or store links.",
    "version": "0.0",
    "x-build-id": "iv5q3PMLiWnN8lV2f"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/afanasenko~app-reviews-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-afanasenko-app-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/afanasenko~app-reviews-scraper/runs": {
      "post": {
        "operationId": "runs-sync-afanasenko-app-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/afanasenko~app-reviews-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-afanasenko-app-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",
        "properties": {
          "apps": {
            "title": "Apps",
            "type": "array",
            "description": "One app per line: a name (Calm), an App Store link or id (https://apps.apple.com/us/app/calm/id571800810), or a Google Play link or package (com.calm.android). A name is matched in both stores; put both links on one line to pin the pair.",
            "items": {
              "type": "string"
            }
          },
          "stores": {
            "title": "Stores",
            "enum": [
              "both",
              "appStore",
              "googlePlay"
            ],
            "type": "string",
            "description": "Which stores to read. Each app is matched in every store you pick.",
            "default": "both"
          },
          "maxReviewsPerApp": {
            "title": "Max reviews per app",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "The most reviews returned for each app in each store. Google Play: up to 100,000. The App Store gives at most 500 reviews per app — App Store rows stop at 500 whatever you set here; to read more, add countries in \"More App Store countries\" (500 more in each).",
            "default": 500
          },
          "complaintThemes": {
            "title": "Complaint and praise themes (AI)",
            "type": "boolean",
            "description": "Adds one summary row per app and store: a broad summary of the main complaint and praise themes (related issues grouped together), how many reviews back each, the share of 1–2 star ratings, and verbatim quotes. Reads up to 300 reviews per summary. Charged per summary written.",
            "default": false
          },
          "statsRow": {
            "title": "Stats row per app (free)",
            "type": "boolean",
            "description": "Adds one free row per app and store after its reviews: how the stars of the reviews read and delivered spread, their average, the dates they cover, and how many were read of the ratings the store lists. Never charged. The same stats are always in the run's REVIEW_STATS record.",
            "default": false
          },
          "country": {
            "title": "Country",
            "enum": [
              "US",
              "DZ",
              "AO",
              "AR",
              "AM",
              "AU",
              "AT",
              "AZ",
              "BH",
              "BB",
              "BE",
              "BZ",
              "BO",
              "BW",
              "BR",
              "BN",
              "BG",
              "CA",
              "CL",
              "CO",
              "CR",
              "HR",
              "CY",
              "CZ",
              "DK",
              "DM",
              "EC",
              "EG",
              "SV",
              "EE",
              "FI",
              "FR",
              "DE",
              "GH",
              "GR",
              "GD",
              "GT",
              "GY",
              "HN",
              "HU",
              "IS",
              "IN",
              "ID",
              "IE",
              "IL",
              "IT",
              "JM",
              "JP",
              "JO",
              "KE",
              "KW",
              "LV",
              "LB",
              "LT",
              "LU",
              "MG",
              "MY",
              "ML",
              "MT",
              "MU",
              "MX",
              "NP",
              "NL",
              "NZ",
              "NI",
              "NE",
              "NG",
              "MK",
              "NO",
              "OM",
              "PK",
              "PA",
              "PY",
              "PE",
              "PH",
              "PL",
              "PT",
              "QA",
              "RO",
              "SA",
              "SN",
              "SG",
              "SK",
              "SI",
              "ZA",
              "KR",
              "ES",
              "LK",
              "SR",
              "SE",
              "CH",
              "TZ",
              "TH",
              "TN",
              "TR",
              "UG",
              "UA",
              "AE",
              "GB",
              "UY",
              "UZ",
              "VE",
              "VN",
              "YE"
            ],
            "type": "string",
            "description": "Whose store to read: reviews belong to a country's store.",
            "default": "US"
          },
          "moreAppStoreCountries": {
            "title": "More App Store countries",
            "type": "array",
            "description": "Also read the App Store of these countries. Each country's App Store has its own reviews — up to 500 per app in each — so this is the way past 500. \"Max reviews per app\" counts per country, and rows carry their country. Google Play is read once, in \"Country\": its reviews belong to a language, not a country.",
            "items": {
              "type": "string",
              "enum": [
                "US",
                "DZ",
                "AO",
                "AR",
                "AM",
                "AU",
                "AT",
                "AZ",
                "BH",
                "BB",
                "BE",
                "BZ",
                "BO",
                "BW",
                "BR",
                "BN",
                "BG",
                "CA",
                "CL",
                "CO",
                "CR",
                "HR",
                "CY",
                "CZ",
                "DK",
                "DM",
                "EC",
                "EG",
                "SV",
                "EE",
                "FI",
                "FR",
                "DE",
                "GH",
                "GR",
                "GD",
                "GT",
                "GY",
                "HN",
                "HU",
                "IS",
                "IN",
                "ID",
                "IE",
                "IL",
                "IT",
                "JM",
                "JP",
                "JO",
                "KE",
                "KW",
                "LV",
                "LB",
                "LT",
                "LU",
                "MG",
                "MY",
                "ML",
                "MT",
                "MU",
                "MX",
                "NP",
                "NL",
                "NZ",
                "NI",
                "NE",
                "NG",
                "MK",
                "NO",
                "OM",
                "PK",
                "PA",
                "PY",
                "PE",
                "PH",
                "PL",
                "PT",
                "QA",
                "RO",
                "SA",
                "SN",
                "SG",
                "SK",
                "SI",
                "ZA",
                "KR",
                "ES",
                "LK",
                "SR",
                "SE",
                "CH",
                "TZ",
                "TH",
                "TN",
                "TR",
                "UG",
                "UA",
                "AE",
                "GB",
                "UY",
                "UZ",
                "VE",
                "VN",
                "YE"
              ],
              "enumTitles": [
                "United States",
                "Algeria",
                "Angola",
                "Argentina",
                "Armenia",
                "Australia",
                "Austria",
                "Azerbaijan",
                "Bahrain",
                "Barbados",
                "Belgium",
                "Belize",
                "Bolivia",
                "Botswana",
                "Brazil",
                "Brunei",
                "Bulgaria",
                "Canada",
                "Chile",
                "Colombia",
                "Costa Rica",
                "Croatia",
                "Cyprus",
                "Czechia",
                "Denmark",
                "Dominica",
                "Ecuador",
                "Egypt",
                "El Salvador",
                "Estonia",
                "Finland",
                "France",
                "Germany",
                "Ghana",
                "Greece",
                "Grenada",
                "Guatemala",
                "Guyana",
                "Honduras",
                "Hungary",
                "Iceland",
                "India",
                "Indonesia",
                "Ireland",
                "Israel",
                "Italy",
                "Jamaica",
                "Japan",
                "Jordan",
                "Kenya",
                "Kuwait",
                "Latvia",
                "Lebanon",
                "Lithuania",
                "Luxembourg",
                "Madagascar",
                "Malaysia",
                "Mali",
                "Malta",
                "Mauritius",
                "Mexico",
                "Nepal",
                "Netherlands",
                "New Zealand",
                "Nicaragua",
                "Niger",
                "Nigeria",
                "North Macedonia",
                "Norway",
                "Oman",
                "Pakistan",
                "Panama",
                "Paraguay",
                "Peru",
                "Philippines",
                "Poland",
                "Portugal",
                "Qatar",
                "Romania",
                "Saudi Arabia",
                "Senegal",
                "Singapore",
                "Slovakia",
                "Slovenia",
                "South Africa",
                "South Korea",
                "Spain",
                "Sri Lanka",
                "Suriname",
                "Sweden",
                "Switzerland",
                "Tanzania",
                "Thailand",
                "Tunisia",
                "Turkiye",
                "Uganda",
                "Ukraine",
                "United Arab Emirates",
                "United Kingdom",
                "Uruguay",
                "Uzbekistan",
                "Venezuela",
                "Vietnam",
                "Yemen"
              ]
            },
            "default": []
          },
          "language": {
            "title": "Review language",
            "enum": [
              "",
              "en",
              "es",
              "fr",
              "de",
              "it",
              "pt",
              "nl",
              "sv",
              "da",
              "no",
              "fi",
              "pl",
              "cs",
              "sk",
              "hu",
              "ro",
              "hr",
              "el",
              "tr",
              "ru",
              "uk",
              "ar",
              "he",
              "hi",
              "id",
              "ms",
              "th",
              "vi",
              "ja",
              "ko",
              "zh-CN",
              "zh-TW",
              "uz",
              "ca"
            ],
            "type": "string",
            "description": "Google Play returns only the reviews written in this language. The App Store returns the country's reviews in any language.",
            "default": ""
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "newest",
              "mostHelpful"
            ],
            "type": "string",
            "description": "Newest first, or the store's own most-helpful order (Google Play calls it most relevant).",
            "default": "newest"
          },
          "ratings": {
            "title": "Star ratings",
            "type": "array",
            "description": "Keep only reviews with these ratings — for example 1 and 2 stars for complaints. Empty keeps all. Filters are applied before you pay.",
            "items": {
              "type": "string",
              "enum": [
                "1",
                "2",
                "3",
                "4",
                "5"
              ],
              "enumTitles": [
                "1 star",
                "2 stars",
                "3 stars",
                "4 stars",
                "5 stars"
              ]
            },
            "default": []
          },
          "reviewsSince": {
            "title": "Reviews since",
            "pattern": "^(\\d{4}-\\d{2}-\\d{2})?$|^(\\d+)\\s*(day|week|month|year)s?$",
            "type": "string",
            "description": "Keep only reviews written on or after this date — a date (2026-09-01) or a period back from today (30 days, 6 months). Works best with Newest first."
          },
          "reviewsUntil": {
            "title": "Reviews until",
            "pattern": "^(\\d{4}-\\d{2}-\\d{2})?$|^(\\d+)\\s*(day|week|month|year)s?$",
            "type": "string",
            "description": "Keep only reviews written on or before this date — a date (2026-06-30) or a period back from today (90 days). Google Play reads deeper when the newest reviews fall after it; the App Store gives only its 500 newest (or most helpful) reviews, so an older period may hold none."
          },
          "reviewKeywords": {
            "title": "Review contains",
            "type": "array",
            "description": "Keep only reviews whose title or text contains any of these words or phrases — for example crash, refund, login. One per line; case is ignored. Applied before you pay: a review without them is not charged.",
            "items": {
              "type": "string"
            }
          },
          "onlyWithoutReply": {
            "title": "Only reviews without a developer reply",
            "type": "boolean",
            "description": "Google Play only: keep the reviews the developer has not answered yet — the ones still waiting for support. The App Store does not publish developer replies, so App Store reviews are kept as they are.",
            "default": false
          },
          "skipDelivered": {
            "title": "Skip reviews already delivered to you",
            "enum": [
              "off",
              "7",
              "30",
              "90",
              "180",
              "365",
              "forever"
            ],
            "type": "string",
            "description": "Leave out reviews this Actor already delivered to your Apify account for the same app, store and country. Skipped reviews are not charged; the run takes the next ones instead (on Google Play it reads deeper for them). From the API you can also pass any number of days, e.g. \"45\". The history is a key-value store named ar-delivered-… in your Storage, kept from the version that added this option; delete it to start over. Runs that overlap in time may still share a review.",
            "default": "off"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}