{
  "openapi": "3.0.1",
  "info": {
    "title": "App Store & Google Play Scraper — Reviews, Apps & Charts",
    "description": "Scrape Apple App Store and Google Play in one Actor: reviews with developer replies, app details with rating histograms and developer emails, keyword search and top charts by country. Monitor mode returns only new reviews; free summaries list top complaints. From $0.08 per 1,000 reviews.",
    "version": "1.0",
    "x-build-id": "aCeKAkGxXibtPcyZv"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/valev-lab~app-store-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-valev-lab-app-store-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/valev-lab~app-store-scraper/runs": {
      "post": {
        "operationId": "runs-sync-valev-lab-app-store-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/valev-lab~app-store-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-valev-lab-app-store-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": {
          "mode": {
            "title": "What to scrape",
            "enum": [
              "reviews",
              "appDetails",
              "search",
              "topCharts"
            ],
            "type": "string",
            "description": "Reviews of the apps below, their store listings (app details), a keyword search, or a top chart.",
            "default": "reviews"
          },
          "apps": {
            "title": "Apps",
            "type": "array",
            "description": "For reviews and app details. App Store URL (apps.apple.com/…/id324684580), Apple numeric ID (324684580), Google Play URL, or Android package name (com.spotify.music). Mix both stores freely. An iOS bundle ID looks like a package name, so give Apple apps by URL or numeric ID.",
            "items": {
              "type": "string"
            }
          },
          "queries": {
            "title": "Search keywords",
            "type": "array",
            "description": "For search mode. Each keyword is searched in every country below, on the stores you pick.",
            "items": {
              "type": "string"
            }
          },
          "store": {
            "title": "Store (search and top charts)",
            "enum": [
              "both",
              "apple",
              "google"
            ],
            "type": "string",
            "description": "Which store to search or read charts from. In reviews and app details mode the store comes from each app.",
            "default": "both"
          },
          "countries": {
            "title": "Countries",
            "type": "array",
            "description": "Two-letter country codes such as us, gb, de, bg. Apple shows different reviews, prices and charts per country. Google Play reviews depend on the language instead (see Language).",
            "items": {
              "type": "string"
            },
            "default": [
              "us"
            ]
          },
          "language": {
            "title": "Language",
            "type": "string",
            "description": "Google Play language code (en, bg, de, pt-BR…). Empty: each country's main language (bg for Bulgaria, de for Germany, en for the US). On Google Play this decides which reviews you get."
          },
          "maxReviewsPerApp": {
            "title": "Max reviews per app and country",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Most reviews to save for each app in each country. 0 means all the store will show.",
            "default": 500
          },
          "sort": {
            "title": "Sort reviews by",
            "enum": [
              "newest",
              "mostHelpful",
              "rating"
            ],
            "type": "string",
            "description": "Order the store returns reviews in. Rating means highest first.",
            "default": "newest"
          },
          "minRating": {
            "title": "Minimum stars",
            "minimum": 1,
            "maximum": 5,
            "type": "integer",
            "description": "Keep reviews with at least this many stars.",
            "default": 1
          },
          "maxRating": {
            "title": "Maximum stars",
            "minimum": 1,
            "maximum": 5,
            "type": "integer",
            "description": "Keep reviews with at most this many stars. Set both to 1 for one-star reviews only.",
            "default": 5
          },
          "dateFrom": {
            "title": "Reviews since",
            "type": "string",
            "description": "Only reviews written on or after this date."
          },
          "appVersion": {
            "title": "App version",
            "type": "string",
            "description": "Only reviews of versions starting with this text, e.g. 9.1 or 9.1.94. Google Play only: Apple does not show the version on reviews."
          },
          "maxResults": {
            "title": "Max results per search or chart",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "Most apps per keyword or chart, per store and country. Store limits: Apple search 200, Apple charts 100, Google Play charts 200, Google Play search about 30.",
            "default": 50
          },
          "chart": {
            "title": "Chart",
            "enum": [
              "topFree",
              "topPaid",
              "topGrossing"
            ],
            "type": "string",
            "description": "Which top chart to read in top charts mode.",
            "default": "topFree"
          },
          "category": {
            "title": "Chart category",
            "enum": [
              "all",
              "books",
              "business",
              "education",
              "entertainment",
              "finance",
              "food-drink",
              "games",
              "health-fitness",
              "lifestyle",
              "medical",
              "music",
              "navigation",
              "news",
              "photo-video",
              "productivity",
              "shopping",
              "social",
              "sports",
              "travel",
              "utilities",
              "weather"
            ],
            "type": "string",
            "description": "All apps, or one category. On Google Play \"All\" means apps without games; pick Games for game charts.",
            "default": "all"
          },
          "includeDeveloperContacts": {
            "title": "Include developer contacts",
            "type": "boolean",
            "description": "App details mode: the developer's website, support email (Google Play), support page (Apple) and privacy policy URL, as shown on the public store listing. Included in the app-details price.",
            "default": true
          },
          "monitorMode": {
            "title": "Monitor mode: only new reviews",
            "type": "boolean",
            "description": "Save only reviews earlier runs did not return, per app and country. Schedule the Actor for a feed of new reviews. Memory is kept in the named key-value store app-store-scraper-monitor.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}