{
  "openapi": "3.0.1",
  "info": {
    "title": "Google Play Store Scraper",
    "description": "Scrape Google Play app data: ratings, installs, pricing, in-app purchase range, content rating, data safety and screenshots. 50+ fields, the only scraper with multi-country pricing in one run. Flat pricing, no start fee, no hidden per-event charges.",
    "version": "0.0",
    "x-build-id": "Pu3HTkuA6AOXPw8z8"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/unfenced-group~google-play-store-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-unfenced-group-google-play-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/unfenced-group~google-play-store-scraper/runs": {
      "post": {
        "operationId": "runs-sync-unfenced-group-google-play-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/unfenced-group~google-play-store-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-unfenced-group-google-play-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": [
              "search",
              "apps",
              "developer",
              "collection",
              "startUrls"
            ],
            "type": "string",
            "description": "How to find apps. 'search' uses a keyword, 'apps' takes exact app IDs, 'developer' lists a developer's apps, 'collection' scrapes a top chart, 'startUrls' takes full Play Store URLs.",
            "default": "search"
          },
          "searchTerm": {
            "title": "Search term",
            "type": "string",
            "description": "Keyword to search the Play Store (used in 'search' mode). Example: \"podcast\", \"photo editor\"."
          },
          "appIds": {
            "title": "App IDs",
            "type": "array",
            "description": "Exact Google Play app IDs or full app URLs (used in 'apps' mode). Example: com.spotify.music",
            "items": {
              "type": "string"
            }
          },
          "developerId": {
            "title": "Developer ID or name",
            "type": "string",
            "description": "Developer ID or name to list all of a developer's apps (used in 'developer' mode). Example: \"Spotify AB\"."
          },
          "collection": {
            "title": "Browse",
            "enum": [
              "apps",
              "games"
            ],
            "type": "string",
            "description": "What to browse in 'collection' mode. Top Apps and Top Games pull the current store charts; pick a specific category below to narrow it.",
            "default": "apps"
          },
          "categoryId": {
            "title": "Category (optional, for browsing)",
            "type": "string",
            "description": "Restrict browsing to a category. Examples: GAME_ACTION, GAME_PUZZLE, MUSIC_AND_AUDIO, PRODUCTIVITY, SOCIAL, FINANCE, TOOLS, PHOTOGRAPHY. Leave empty for the overall top chart."
          },
          "startUrls": {
            "title": "Start URLs",
            "type": "array",
            "description": "Full Google Play app detail URLs (used in 'startUrls' mode).",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "country": {
            "title": "Country",
            "enum": [
              "US",
              "GB",
              "CA",
              "AU",
              "IE",
              "NZ",
              "ZA",
              "IN",
              "SG",
              "DE",
              "AT",
              "CH",
              "FR",
              "BE",
              "NL",
              "LU",
              "ES",
              "IT",
              "PT",
              "BR",
              "MX",
              "AR",
              "CL",
              "CO",
              "PE",
              "PL",
              "CZ",
              "SK",
              "HU",
              "RO",
              "BG",
              "GR",
              "HR",
              "SE",
              "NO",
              "DK",
              "FI",
              "EE",
              "LV",
              "LT",
              "JP",
              "KR",
              "TW",
              "HK",
              "TH",
              "VN",
              "ID",
              "MY",
              "PH",
              "TR",
              "RU",
              "UA",
              "SA",
              "AE",
              "EG",
              "IL"
            ],
            "type": "string",
            "description": "Storefront country. Drives currency, ratings and localized metadata.",
            "default": "US"
          },
          "language": {
            "title": "Language (optional)",
            "type": "string",
            "description": "Two-letter UI language override. Leave empty to use the country's default language."
          },
          "priceCountries": {
            "title": "Compare prices across countries",
            "type": "array",
            "description": "Add country codes to fetch each app's price in multiple storefronts in one run (added to a priceByCountry field). Example: [\"US\",\"GB\",\"JP\",\"BR\"]. No competitor offers this.",
            "items": {
              "type": "string"
            }
          },
          "maxResults": {
            "title": "Max apps",
            "minimum": 1,
            "type": "integer",
            "description": "Maximum number of apps to return.",
            "default": 5
          },
          "priceFilter": {
            "title": "Price",
            "enum": [
              "all",
              "free",
              "paid"
            ],
            "type": "string",
            "description": "Filter by price.",
            "default": "all"
          },
          "minPrice": {
            "title": "Min price",
            "type": "integer",
            "description": "Minimum price in the storefront currency (paid apps)."
          },
          "maxPrice": {
            "title": "Max price",
            "type": "integer",
            "description": "Maximum price in the storefront currency."
          },
          "minScore": {
            "title": "Min rating",
            "type": "integer",
            "description": "Minimum star rating (0–5). Accepts decimals. Apps with no rating are excluded when set."
          },
          "minInstalls": {
            "title": "Min installs",
            "type": "integer",
            "description": "Minimum number of installs."
          },
          "contentRatings": {
            "title": "Content rating",
            "type": "array",
            "description": "Keep only apps whose content rating contains one of these terms (e.g. Everyone, Teen, Mature). Matches across ESRB/PEGI/USK.",
            "items": {
              "type": "string"
            }
          },
          "genres": {
            "title": "Genres",
            "type": "array",
            "description": "Keep only apps whose genre contains one of these terms (e.g. Music, Action, Productivity).",
            "items": {
              "type": "string"
            }
          },
          "adsFilter": {
            "title": "Ads",
            "enum": [
              "all",
              "with",
              "without"
            ],
            "type": "string",
            "description": "Filter by whether the app contains ads.",
            "default": "all"
          },
          "iapFilter": {
            "title": "In-app purchases",
            "enum": [
              "all",
              "with",
              "without"
            ],
            "type": "string",
            "description": "Filter by whether the app offers in-app purchases.",
            "default": "all"
          },
          "proxyConfiguration": {
            "title": "Proxy (optional)",
            "type": "object",
            "description": "Google Play is reachable without a proxy. Proxy is optional and off by default — you do not pay any proxy or compute cost; only per result.",
            "default": {
              "useApifyProxy": 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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}