{
  "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": "BMS3Y0Lpm3jSPac5O"
  },
  "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, read per mode. App package ids (\"com.whatsapp\") or app links for: app-details, reviews, similar-apps, permissions, data-safety, keyword-rank. Keywords or Play search links (with a search term) for: search, keyword-suggestions. For developer-portfolio: a developer link, a numeric developer id, the exact developer name, or one of the developer's apps. Not used by top-charts. An entry that does not fit the mode is reported, never charged.",
            "items": {
              "type": "string"
            }
          },
          "maxResults": {
            "title": "Max results per unit",
            "minimum": 0,
            "type": "integer",
            "description": "Per-unit cap: per app for reviews, per search, per chart, per developer, per source app for similar-apps, per seed for keyword-suggestions. Not used by app-details, permissions, data-safety or keyword-rank. Leave blank for the mode defaults: reviews 1000, search 30, top-charts 50, developer-portfolio 100, similar-apps 20, keyword-suggestions 50. Set 0 for everything Google lists (charts stop at 200)."
          },
          "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
          },
          "country": {
            "title": "Country",
            "type": "string",
            "description": "Two-letter country code, for example \"us\", \"gb\", \"in\" (\"uk\" is read as \"gb\"). An unknown code stops the run before anything is charged.",
            "default": "us"
          },
          "countries": {
            "title": "Countries (optional)",
            "type": "array",
            "description": "Several two-letter country codes. Takes precedence over the single Country field when set. Reviews do not change by country (Google picks them by language), so reviews mode reads each app once.",
            "items": {
              "type": "string"
            }
          },
          "language": {
            "title": "Language",
            "type": "string",
            "description": "Two-letter language code, for example \"en\", \"de\", \"es\". It decides the language of names and texts, and which reviews you get.",
            "default": "en"
          },
          "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."
          },
          "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 (optional)",
            "type": "string",
            "description": "Reviews mode only. Return only reviews written on or after this date: a date like 2026-06-01, or a relative value like \"7 days\", \"2 weeks\" or \"3 months\" counted back from the run. Older reviews are never billed. Google shows reviews about a day late, so for a daily run use \"2 days\". Works with every sort; newest first is the fastest."
          },
          "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
          },
          "maxConcurrency": {
            "title": "Max concurrency",
            "minimum": 1,
            "maximum": 15,
            "type": "integer",
            "description": "Parallel requests. Range 1 to 15.",
            "default": 8
          },
          "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
                  },
                  "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}