{
  "openapi": "3.0.1",
  "info": {
    "title": "App Store & Google Play Reviews Scraper (2-in-1)",
    "description": "Scrape app reviews and app details from Google Play and the Apple App Store in one run with one unified output. Multi-country, keyword search, date and star filters for monitoring. GDPR-friendly: reviewer names hashed by default.",
    "version": "0.2",
    "x-build-id": "IYkFPd7GGrXLmEjJG"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/wireless_tiramisu~app-store-google-play-reviews-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-wireless_tiramisu-app-store-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/wireless_tiramisu~app-store-google-play-reviews-scraper/runs": {
      "post": {
        "operationId": "runs-sync-wireless_tiramisu-app-store-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/wireless_tiramisu~app-store-google-play-reviews-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-wireless_tiramisu-app-store-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",
        "properties": {
          "apps": {
            "title": "Apps (URLs or IDs, both stores)",
            "type": "array",
            "description": "Google Play URLs or package names (com.spotify.music) and App Store URLs or numeric IDs (324684580). Mix both stores freely.",
            "items": {
              "type": "string"
            }
          },
          "searchQueries": {
            "title": "Search keywords (optional)",
            "type": "array",
            "description": "Find apps by keyword in both stores and scrape them too (e.g. 'invoice', 'budget tracker').",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "maxSearchResults": {
            "title": "Apps per search keyword and store",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "How many top apps to take from each store per keyword.",
            "default": 5
          },
          "searchStores": {
            "title": "Stores to search in",
            "type": "array",
            "description": "Which stores are searched for 'Search keywords'.",
            "items": {
              "type": "string",
              "enum": [
                "googlePlay",
                "appStore"
              ],
              "enumTitles": [
                "Google Play",
                "Apple App Store"
              ]
            },
            "default": [
              "googlePlay",
              "appStore"
            ]
          },
          "stores": {
            "title": "Stores to scrape",
            "type": "array",
            "description": "Ignore apps from stores you don't select.",
            "items": {
              "type": "string",
              "enum": [
                "googlePlay",
                "appStore"
              ],
              "enumTitles": [
                "Google Play",
                "Apple App Store"
              ]
            },
            "default": [
              "googlePlay",
              "appStore"
            ]
          },
          "dataTypes": {
            "title": "Data to extract",
            "type": "array",
            "description": "App details = one result per app and country. Reviews = one result per review.",
            "items": {
              "type": "string",
              "enum": [
                "details",
                "reviews"
              ],
              "enumTitles": [
                "App details (rating, installs, version, price…)",
                "Reviews"
              ]
            },
            "default": [
              "details",
              "reviews"
            ]
          },
          "countries": {
            "title": "Countries",
            "type": "array",
            "description": "Two-letter store country codes (us, gb, es, de…). Reviews are collected per country storefront — add several countries to get more App Store reviews.",
            "default": [
              "us"
            ],
            "items": {
              "type": "string"
            }
          },
          "language": {
            "title": "Language",
            "type": "string",
            "description": "Two-letter language code for Google Play texts and App Store metadata.",
            "default": "en"
          },
          "maxReviewsPerApp": {
            "title": "Max reviews per app and country",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "App Store exposes up to ~500 most recent reviews per country; Google Play has no practical limit.",
            "default": 100
          },
          "reviewsSort": {
            "title": "Sort reviews by",
            "enum": [
              "newest",
              "relevance",
              "rating"
            ],
            "type": "string",
            "description": "Order in which reviews are collected.",
            "default": "newest"
          },
          "reviewsSince": {
            "title": "Only reviews since (date)",
            "type": "string",
            "description": "Optional. Stops when older reviews are reached (with 'Newest'). Perfect for daily/weekly monitoring — you only pay for new reviews."
          },
          "minRating": {
            "title": "Min star rating",
            "minimum": 1,
            "maximum": 5,
            "type": "integer",
            "description": "E.g. set max=2 to collect only negative reviews.",
            "default": 1
          },
          "maxRating": {
            "title": "Max star rating",
            "minimum": 1,
            "maximum": 5,
            "type": "integer",
            "description": "Upper bound of the star rating filter.",
            "default": 5
          },
          "includeReviewerNames": {
            "title": "Include reviewer display names",
            "type": "boolean",
            "description": "Off by default (GDPR-friendly): reviewers are identified only by a stable anonymous hash. Turn on only if you have a lawful basis to process names.",
            "default": false
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Optional. Usually not needed.",
            "default": {
              "useApifyProxy": 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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}