{
  "openapi": "3.0.1",
  "info": {
    "title": "Google Play Scraper - Rankings, Reviews & App Details",
    "description": "Google Play scraper & API: export top-chart rankings by category & country, app reviews & ratings, full app details and ASO keyword search. Android app market intelligence, review analysis and competitor tracking — fast, no login. Pairs with an Apple App Store scraper.",
    "version": "0.1",
    "x-build-id": "Slsz9Pw4OD5ShXzdf"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/haketa~google-play-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-haketa-google-play-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/haketa~google-play-scraper/runs": {
      "post": {
        "operationId": "runs-sync-haketa-google-play-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/haketa~google-play-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-haketa-google-play-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 do you want to scrape?",
            "enum": [
              "rankings",
              "reviews",
              "appDetails",
              "search"
            ],
            "type": "string",
            "description": "Pick your data. Top-chart rankings, app reviews, full app details, or a keyword search — no setup needed, just choose and run.",
            "default": "rankings"
          },
          "collection": {
            "title": "Ranking chart",
            "enum": [
              "TOP_FREE",
              "TOP_PAID",
              "GROSSING"
            ],
            "type": "string",
            "description": "Which top chart to pull when scraping rankings. Free, paid, or top-grossing apps.",
            "default": "TOP_FREE"
          },
          "category": {
            "title": "Category",
            "enum": [
              "APPLICATION",
              "GAME",
              "SOCIAL",
              "COMMUNICATION",
              "PRODUCTIVITY",
              "TOOLS",
              "FINANCE",
              "SHOPPING",
              "BUSINESS",
              "ENTERTAINMENT",
              "PHOTOGRAPHY",
              "VIDEO_PLAYERS",
              "MUSIC_AND_AUDIO",
              "HEALTH_AND_FITNESS",
              "LIFESTYLE",
              "TRAVEL_AND_LOCAL",
              "MAPS_AND_NAVIGATION",
              "FOOD_AND_DRINK",
              "EDUCATION",
              "BOOKS_AND_REFERENCE",
              "NEWS_AND_MAGAZINES",
              "DATING",
              "PERSONALIZATION",
              "WEATHER",
              "SPORTS",
              "MEDICAL",
              "PARENTING",
              "HOUSE_AND_HOME",
              "AUTO_AND_VEHICLES",
              "BEAUTY",
              "ART_AND_DESIGN",
              "EVENTS",
              "COMICS",
              "FAMILY",
              "GAME_ACTION",
              "GAME_ADVENTURE",
              "GAME_ARCADE",
              "GAME_BOARD",
              "GAME_CARD",
              "GAME_CASINO",
              "GAME_CASUAL",
              "GAME_EDUCATIONAL",
              "GAME_MUSIC",
              "GAME_PUZZLE",
              "GAME_RACING",
              "GAME_ROLE_PLAYING",
              "GAME_SIMULATION",
              "GAME_SPORTS",
              "GAME_STRATEGY",
              "GAME_TRIVIA",
              "GAME_WORD"
            ],
            "type": "string",
            "description": "Category for the ranking chart. Choose All apps or All games for the overall charts, or drill into a specific niche.",
            "default": "APPLICATION"
          },
          "searchTerms": {
            "title": "Search terms",
            "type": "array",
            "description": "Keywords to find apps (used in Keyword search mode). Add one or more terms, e.g. photo editor, budget, meditation.",
            "items": {
              "type": "string"
            }
          },
          "appIds": {
            "title": "Apps to scrape",
            "type": "array",
            "description": "For App reviews and App details modes. Paste app package names (e.g. com.whatsapp) or full Play Store links — one per line.",
            "items": {
              "type": "string"
            }
          },
          "maxReviewsPerApp": {
            "title": "Max reviews per app",
            "minimum": 1,
            "type": "integer",
            "description": "How many reviews to pull per app in App reviews mode. Fully paginated — Google serves up to ~4500 per app.",
            "default": 200
          },
          "reviewsSort": {
            "title": "Reviews sort order",
            "enum": [
              "NEWEST",
              "RATING",
              "HELPFULNESS"
            ],
            "type": "string",
            "description": "How to order reviews in App reviews mode.",
            "default": "NEWEST"
          },
          "country": {
            "title": "Country",
            "enum": [
              "us",
              "gb",
              "ca",
              "au",
              "de",
              "fr",
              "es",
              "it",
              "nl",
              "se",
              "tr",
              "in",
              "br",
              "mx",
              "jp",
              "kr",
              "ru",
              "id",
              "sa",
              "ae",
              "pl",
              "pt",
              "ch",
              "at",
              "be",
              "ie",
              "dk",
              "no",
              "fi",
              "gr",
              "za",
              "eg",
              "ng",
              "ph",
              "th",
              "vn",
              "my",
              "sg",
              "hk",
              "tw",
              "ar",
              "cl",
              "co",
              "il",
              "ua",
              "cz",
              "ro",
              "hu",
              "nz",
              "pk"
            ],
            "type": "string",
            "description": "Rankings, prices and reviews are localized per country. Pick your target market.",
            "default": "us"
          },
          "language": {
            "title": "Language",
            "enum": [
              "en",
              "es",
              "fr",
              "de",
              "it",
              "pt",
              "nl",
              "sv",
              "tr",
              "ru",
              "pl",
              "ar",
              "hi",
              "id",
              "ja",
              "ko",
              "zh",
              "th",
              "vi",
              "el",
              "cs",
              "ro",
              "hu",
              "da",
              "no",
              "fi",
              "he",
              "uk",
              "ms",
              "fil"
            ],
            "type": "string",
            "description": "Language for titles, descriptions and reviews.",
            "default": "en"
          },
          "fullDetail": {
            "title": "Include full app details",
            "type": "boolean",
            "description": "Enrich each ranked or found app with complete info — installs, ratings count, reviews count, histogram, version and more. ON by default (a rank list without install/rating counts is far less useful). Turn OFF for a faster, lighter rank-only list.",
            "default": true
          },
          "maxItems": {
            "title": "Max items",
            "minimum": 0,
            "type": "integer",
            "description": "Cap the number of records (apps or reviews) returned. Use 0 for no limit.",
            "default": 0
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Default Apify Proxy is fine. For very large review pulls, RESIDENTIAL reduces rate-limiting.",
            "default": {
              "useApifyProxy": true
            }
          },
          "maxConcurrency": {
            "title": "Max concurrency",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "Maximum parallel apps processed. Higher is faster but heavier.",
            "default": 12
          }
        }
      },
      "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}