{
  "openapi": "3.0.1",
  "info": {
    "title": "Google Play Search Scraper",
    "description": "[ 1k / 1$ ] Google Play scraper: read apps from category pages, developer pages, similar-app lists and app details and extract ratings, installs, price, developer, permissions, data safety and review samples. Free-text keyword search is not available.",
    "version": "0.1",
    "x-build-id": "ZLQYcWASkPfsmwOaf"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/alpha-scraper~google-play-search-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-alpha-scraper-google-play-search-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/alpha-scraper~google-play-search-scraper/runs": {
      "post": {
        "operationId": "runs-sync-alpha-scraper-google-play-search-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/alpha-scraper~google-play-search-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-alpha-scraper-google-play-search-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": {
          "queries": {
            "title": "Categories, Apps, Developers or Cluster URLs",
            "type": "array",
            "description": "What to read, one source per entry: a category id such as PHOTOGRAPHY, GAME_ACTION, HEALTH_AND_FITNESS or FINANCE (also 'category:GAME_PUZZLE' or a category URL); an app package id or details URL such as com.whatsapp (that app, then its 'Similar apps' and 'More by developer' lists); 'developer:<name or number>' or a developer URL; or a cluster ('see more') URL copied from Google Play. Free-text keyword search is NOT available (robots.txt disallows /store/search), such entries are skipped with a note in the run log. Every entry gets its own 'Max Items Per Query'.",
            "items": {
              "type": "string"
            }
          },
          "maxItems": {
            "title": "Max Items Per Query",
            "minimum": 1,
            "type": "integer",
            "description": "Maximum number of apps to extract per entry. A category page offers about 5 curated clusters of up to 20 apps plus 'see more' pages of up to 50 apps each; developer pages and the neighbour lists of an app are shorter, so you may get fewer apps than this limit.",
            "default": 15
          },
          "language": {
            "title": "Interface Language (hl)",
            "type": "string",
            "description": "Language of the store texts (the 'hl' parameter, for example 'en', 'de' or 'pt-BR'). Pick a common code or type your own.",
            "default": "en"
          },
          "country": {
            "title": "Store Country (gl)",
            "type": "string",
            "description": "Two-letter, lower-case country code of the storefront (the 'gl' parameter): it decides prices, currency and the apps and charts shown. Pick a common code or type your own.",
            "default": "us"
          },
          "price": {
            "title": "Price Filter",
            "enum": [
              "all",
              "free",
              "paid"
            ],
            "type": "string",
            "description": "Keep only free or only paid apps of category, developer, cluster and similar-app lists, decided from the price in the list data. 'All apps' keeps everything. The app you request by package id is always kept.",
            "default": "all"
          },
          "expandSimilar": {
            "title": "Include Similar Apps",
            "type": "boolean",
            "description": "Only for app (package id) queries: after the requested app also return the apps of its 'Similar apps' and 'More by <developer>' lists, including their 'see more' pages (up to 50 apps each). Turn off to get just the requested app.",
            "default": true
          },
          "fetchDetails": {
            "title": "Fetch App Details Pages",
            "type": "boolean",
            "description": "Open every returned app's details page (/store/apps/details, allowed by robots.txt) and replace the list values with the page's data: summary, full description, exact score, ratings and reviews counts, rating histogram, installs, price and in-app purchase range, content rating, release and update dates, what's new, version, Android requirements, developer name/website/email/address/legal name, permissions, data safety summary, privacy policy URL, icon, screenshots, video, chart ranking and the similar/more-by lists. One request per app, 2 seconds apart; when the run's own timeout is close the remaining apps keep their list data and say so in 'detailStatus'. The full Data safety page and further reviews are not collected (robots.txt). Turn off for a faster run with list data only.",
            "default": true
          },
          "detailLimit": {
            "title": "Max Apps To Enrich",
            "minimum": 0,
            "type": "integer",
            "description": "Only the first N returned apps get their details page; the rest keep their list data and 'detailStatus' says 'skipped: detailLimit=N'. Use 0 to enrich every returned app. Used only while 'Fetch App Details Pages' is on.",
            "default": 0
          },
          "reviewLimit": {
            "title": "Reviews Per App",
            "minimum": 0,
            "type": "integer",
            "description": "How many of the reviews embedded in the details page are kept in 'reviewsSample' (reviewer name, stars, text, date, thumbs-up count, app version, developer reply). The page itself embeds only about 20, so higher values return no more; further reviews are not collected because /store/getreviews is disallowed. 0 = no reviews. Used only while 'Fetch App Details Pages' is on.",
            "default": 10
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}