{
  "openapi": "3.0.1",
  "info": {
    "title": "Google Play Store Scraper: Apps, Reviews, Charts & ASO",
    "description": "Scrape Google Play Store app details, uncapped reviews with star and device filters, keyword search, ranked top charts, developer portfolios, similar apps, permissions, data safety, and ASO keyword data. Flat $2 per 1,000 results, every country and language.",
    "version": "0.2",
    "x-build-id": "bfotYJIZLIFZwCtUC"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/sourabhbgp~google-play-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-sourabhbgp-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/sourabhbgp~google-play-scraper/runs": {
      "post": {
        "operationId": "runs-sync-sourabhbgp-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/sourabhbgp~google-play-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-sourabhbgp-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": "Mode",
            "enum": [
              "app-details",
              "reviews",
              "search",
              "top-charts",
              "developer-portfolio",
              "similar-apps",
              "permissions",
              "data-safety",
              "keyword-suggestions",
              "keyword-rank"
            ],
            "type": "string",
            "description": "Pick exactly one. If left blank, search keywords auto-detect to search and package ids auto-detect to app details."
          },
          "urls": {
            "title": "URLs, package ids, or keywords",
            "type": "array",
            "description": "Entry list, interpreted per mode. App package ids (\"com.whatsapp\") or app URLs for: app-details, reviews, similar-apps, permissions, data-safety, keyword-rank. Keywords or search URLs for: search, keyword-suggestions. Developer ids or developer URLs for: developer-portfolio. Not used by top-charts.",
            "items": {
              "type": "string"
            }
          },
          "maxResults": {
            "title": "Max results per unit",
            "minimum": 0,
            "type": "integer",
            "description": "Per-unit cap: per app for reviews, per query for search, per chart for top-charts, per developer for developer-portfolio, per source for similar-apps, per seed for keyword-suggestions. Not used by app-details, permissions, data-safety, or keyword-rank. Leave blank for mode-aware defaults: reviews 1000, search 30, top-charts 50, developer-portfolio 100, similar-apps 20, keyword-suggestions 50. Set 0 for no per-unit cap."
          },
          "maxItems": {
            "title": "Max items (global)",
            "minimum": 0,
            "type": "integer",
            "description": "Global cap on total results across the whole run. 0 or empty means no global cap.",
            "default": 0
          },
          "language": {
            "title": "Language",
            "type": "string",
            "description": "Two-letter language code. Example: \"en\", \"de\", \"es\".",
            "default": "en"
          },
          "country": {
            "title": "Country",
            "type": "string",
            "description": "Two-letter country code. Example: \"us\", \"gb\", \"in\".",
            "default": "us"
          },
          "countries": {
            "title": "Countries (optional)",
            "type": "array",
            "description": "Multiple two-letter country codes. Takes precedence over the single Country field when set.",
            "items": {
              "type": "string"
            }
          },
          "maxConcurrency": {
            "title": "Max concurrency",
            "minimum": 1,
            "maximum": 15,
            "type": "integer",
            "description": "Parallel requests. Range 1 to 15.",
            "default": 8
          },
          "sortBy": {
            "title": "Reviews sort (optional)",
            "minimum": 1,
            "maximum": 3,
            "type": "integer",
            "description": "Reviews mode only. 2 = newest first (default), 1 = most relevant, 3 = highest rated first. Newest is the only sort that makes the since-date cutoff meaningful."
          },
          "starRating": {
            "title": "Reviews star filter (optional)",
            "minimum": 0,
            "maximum": 5,
            "type": "integer",
            "description": "Reviews mode only. Return only reviews with this star rating, 1 to 5. Google applies this filter itself, so you are billed for the reviews you asked for instead of pulling everything and throwing most of it away. Leave blank or 0 for all stars."
          },
          "deviceType": {
            "title": "Reviews device filter (optional)",
            "enum": [
              "phone",
              "tablet",
              "watch",
              "chromebook",
              "car"
            ],
            "type": "string",
            "description": "Reviews mode only. Return only reviews written on this device class. Defaults to phone, which is what the Play listing shows."
          },
          "sinceDate": {
            "title": "Reviews since date (optional)",
            "type": "string",
            "description": "Reviews mode only. ISO date cutoff; reviews older than this stop the per-app pull (sound only with newest-first sort)."
          },
          "chartType": {
            "title": "Chart type (optional)",
            "enum": [
              "topselling_free",
              "topgrossing",
              "topselling_paid",
              "topselling_new_free"
            ],
            "type": "string",
            "description": "Top-charts mode only. Which ranked chart to pull. Defaults to Top free."
          },
          "category": {
            "title": "Category (optional)",
            "type": "string",
            "description": "Top-charts mode only. A Google Play category id such as \"COMMUNICATION\", \"SOCIAL\", \"GAME\", \"GAME_PUZZLE\", \"EDUCATION\". Use \"APPLICATION\" or leave blank for the all-apps chart."
          },
          "keywords": {
            "title": "Keywords to rank for",
            "type": "array",
            "description": "Keyword-rank mode only. The search terms to check your app's position for. Put the app package ids in the URLs field.",
            "items": {
              "type": "string"
            }
          },
          "expandKeywords": {
            "title": "Expand keyword ideas",
            "type": "boolean",
            "description": "Keyword-suggestions mode only. Also query each seed followed by every letter a to z. Google returns only 5 suggestions per query, so this is what turns a seed into a usable keyword set. Costs 27 requests per seed instead of 1.",
            "default": false
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Proxy settings. Defaults to Apify Proxy with datacenter then residential escalation.",
            "default": {
              "useApifyProxy": true
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}