{
  "openapi": "3.0.1",
  "info": {
    "title": "Google Play Scraper – Developer Leads, Emails & App Data",
    "description": "Scrape public Google Play app pages (ratings, installs, prices, similar apps), developer pages, top charts and category pages in any country and language, plus the developer e-mail, website and address shown on the app page. Source on every row. Not affiliated with Google.",
    "version": "1.0",
    "x-build-id": "P97rshOnpeIDGMc6R"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/badr_xba~google-play-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-badr_xba-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/badr_xba~google-play-scraper/runs": {
      "post": {
        "operationId": "runs-sync-badr_xba-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/badr_xba~google-play-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-badr_xba-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": {
          "apps": {
            "title": "Apps (package names or Google Play links)",
            "maxItems": 1000,
            "type": "array",
            "description": "Full public app page of each app. Accepted: package name <code>com.duolingo</code> or a link like <code>https://play.google.com/store/apps/details?id=com.duolingo</code>. One <code>app-details</code> per app row and country.",
            "items": {
              "type": "string",
              "pattern": "^\\s*(?:[A-Za-z][A-Za-z0-9_]*(?:\\.[A-Za-z0-9_]+)+|https://play\\.google\\.com/store/apps/details\\?\\S*id=[A-Za-z][A-Za-z0-9_]*(?:\\.[A-Za-z0-9_]+)+\\S*|market://details\\?id=[A-Za-z][A-Za-z0-9_]*(?:\\.[A-Za-z0-9_]+)+\\S*)\\s*$"
            }
          },
          "topCharts": {
            "title": "Top-charts page",
            "type": "boolean",
            "description": "Apps shown on Google Play's public top-charts page (<code>/store/apps/top</code>; Google currently shows its Apps home with ranked clusters there) for each country. Positions are \"as shown on the page\" for that country and language at collection time.",
            "default": false
          },
          "categories": {
            "title": "Category pages",
            "maxItems": 52,
            "type": "array",
            "description": "Apps shown on the public category pages (<code>/store/apps/category/CODE</code>), in page order. A category page is editorial clusters, not a full ranking.",
            "items": {
              "type": "string",
              "enum": [
                "ART_AND_DESIGN",
                "AUTO_AND_VEHICLES",
                "BEAUTY",
                "BOOKS_AND_REFERENCE",
                "BUSINESS",
                "COMICS",
                "COMMUNICATION",
                "DATING",
                "EDUCATION",
                "ENTERTAINMENT",
                "EVENTS",
                "FINANCE",
                "FOOD_AND_DRINK",
                "HEALTH_AND_FITNESS",
                "HOUSE_AND_HOME",
                "LIBRARIES_AND_DEMO",
                "LIFESTYLE",
                "MAPS_AND_NAVIGATION",
                "MEDICAL",
                "MUSIC_AND_AUDIO",
                "NEWS_AND_MAGAZINES",
                "PARENTING",
                "PERSONALIZATION",
                "PHOTOGRAPHY",
                "PRODUCTIVITY",
                "SHOPPING",
                "SOCIAL",
                "SPORTS",
                "TOOLS",
                "TRAVEL_AND_LOCAL",
                "VIDEO_PLAYERS",
                "WATCH_FACE",
                "WEATHER",
                "FAMILY",
                "GAME",
                "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"
              ],
              "enumTitles": [
                "Art & Design",
                "Auto & Vehicles",
                "Beauty",
                "Books & Reference",
                "Business",
                "Comics",
                "Communication",
                "Dating",
                "Education",
                "Entertainment",
                "Events",
                "Finance",
                "Food & Drink",
                "Health & Fitness",
                "House & Home",
                "Libraries & Demo",
                "Lifestyle",
                "Maps & Navigation",
                "Medical",
                "Music & Audio",
                "News & Magazines",
                "Parenting",
                "Personalization",
                "Photography",
                "Productivity",
                "Shopping",
                "Social",
                "Sports",
                "Tools",
                "Travel & Local",
                "Video Players",
                "Watch Face",
                "Weather",
                "Family",
                "Games (all)",
                "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"
              ]
            }
          },
          "developers": {
            "title": "Developer pages",
            "maxItems": 500,
            "type": "array",
            "description": "Numeric developer ID (<code>5700313618786177705</code>), developer name (<code>Duolingo</code>) or a <code>/store/apps/dev?id=</code> / <code>/store/apps/developer?id=</code> link. One free developer row per page plus the apps it shows.",
            "items": {
              "type": "string",
              "pattern": "^(?:\\s*https://play\\.google\\.com/store/apps/dev(?:eloper)?\\?\\S*id=\\S+\\s*|\\s*[^\\s/?#&=<>][^/?#&=<>]{0,99})$",
              "minLength": 1,
              "maxLength": 300
            }
          },
          "similarApps": {
            "title": "Similar apps",
            "type": "boolean",
            "description": "Also collect the apps of the \"Similar apps\" cluster shown on the page of each app listed above (usually 6 to 8 apps; no extra request for the cluster itself).",
            "default": false
          },
          "fetchDetails": {
            "title": "Open each discovered app page",
            "type": "boolean",
            "description": "On: every app found on a top-charts, category, developer or similar-apps list gets its full app page (1 request per app, <code>app-details</code>). Off: only the summary card shown on the list (faster, charged with the cheaper <code>app-summary</code>). Developer contacts need it on.",
            "default": true
          },
          "maxResultsPerPage": {
            "title": "Apps per list page",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "Maximum apps taken from each top-charts, category, developer or similar-apps list, in page order.",
            "default": 50
          },
          "countries": {
            "title": "Countries (gl)",
            "maxItems": 250,
            "type": "array",
            "description": "Two-letter country codes (us, gb, fr, de, jp...). Each input runs in each country: prices, ratings, availability and lists differ by country. 201 Google Play countries are built in: tick \"All countries\" instead of typing them.",
            "items": {
              "type": "string",
              "pattern": "^\\s*[A-Za-z]{2}\\s*$"
            },
            "default": [
              "us"
            ]
          },
          "allCountries": {
            "title": "All countries",
            "type": "boolean",
            "description": "Runs every input in all 201 Google Play countries (the countries above first, then the largest markets). One app page per app and country at 20 requests per minute: plan about 3 s per page. Set the run timeout to RUN_SUMMARY.estimate.recommendedTimeoutSeconds; if the timeout comes first the run still ends SUCCEEDED and lists RUN_SUMMARY.countriesRemaining.",
            "default": false
          },
          "language": {
            "title": "Language (hl)",
            "enum": [
              "en",
              "en-GB",
              "en-AU",
              "en-IN",
              "af",
              "am",
              "ar",
              "az",
              "be",
              "bg",
              "bn",
              "bs",
              "ca",
              "cs",
              "da",
              "de",
              "el",
              "es",
              "es-419",
              "et",
              "eu",
              "fa",
              "fi",
              "fil",
              "fr",
              "fr-CA",
              "gl",
              "gu",
              "hi",
              "hr",
              "hu",
              "hy",
              "id",
              "is",
              "it",
              "iw",
              "ja",
              "ka",
              "kk",
              "km",
              "kn",
              "ko",
              "ky",
              "lo",
              "lt",
              "lv",
              "mk",
              "ml",
              "mn",
              "mr",
              "ms",
              "my",
              "ne",
              "nl",
              "no",
              "pa",
              "pl",
              "pt-BR",
              "pt-PT",
              "ro",
              "ru",
              "si",
              "sk",
              "sl",
              "sq",
              "sr",
              "sv",
              "sw",
              "ta",
              "te",
              "th",
              "tr",
              "uk",
              "ur",
              "uz",
              "vi",
              "zh-CN",
              "zh-HK",
              "zh-TW",
              "zu"
            ],
            "type": "string",
            "description": "Interface and listing language. Google shows the developer's translation when one exists, otherwise the default listing language.",
            "default": "en"
          },
          "developerContacts": {
            "title": "Developer contacts (leads)",
            "type": "boolean",
            "description": "Deliver the developer e-mails shown on the app pages read by this run (no extra request).",
            "default": false
          },
          "includePersonalLookingContacts": {
            "title": "Include personal-looking e-mails (GDPR: read first)",
            "type": "boolean",
            "description": "Off (default): addresses that look like a private person's (firstname.lastname@, a webmail address of a developer named like a person) are counted in the run summary but NOT delivered and NOT charged. On: they are delivered with <code>looksPersonal: true</code>. Personal data of individuals is protected by the GDPR and similar laws: turn this on only if you have a lawful basis (for example a documented legitimate-interest assessment), you will inform the people concerned and honour objections, and you will not send unsolicited marketing where it is forbidden (ePrivacy / PECR). Their postal address and phone stay masked in all cases.",
            "default": false
          },
          "excludePrivacyMailboxes": {
            "title": "Leave out privacy mailboxes",
            "type": "boolean",
            "description": "privacy@ / dpo@ addresses are delivered but flagged \"for data-protection requests only, not for marketing\". On: left out (not charged).",
            "default": false
          },
          "checkEmailDomains": {
            "title": "Check e-mail domains (free)",
            "type": "boolean",
            "description": "Free syntax, MX record, disposable-domain and role-address checks. Not mailbox verification.",
            "default": true
          },
          "maxApps": {
            "title": "Maximum app rows",
            "minimum": 1,
            "maximum": 50000,
            "type": "integer",
            "description": "The run stops at this number of app rows (all countries together). No app page is requested beyond it. Your \"Maximum cost per run\" is also respected.",
            "default": 200
          },
          "maxAppsPerCountry": {
            "title": "Maximum app rows per country",
            "minimum": 0,
            "maximum": 50000,
            "type": "integer",
            "description": "0 = no per-country limit.",
            "default": 0
          },
          "maxRequestsPerMinute": {
            "title": "Requests per minute",
            "minimum": 4,
            "maximum": 30,
            "type": "integer",
            "description": "Polite pace towards play.google.com (one request at a time). Lower it if Google answers \"too many requests\".",
            "default": 20
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Apify datacenter proxy by default. Residential proxies are not offered in this version.",
            "default": {
              "useApifyProxy": true
            }
          },
          "failRunOnError": {
            "title": "Mark the run FAILED when an input fails",
            "type": "boolean",
            "description": "Off (default): the run ends SUCCEEDED, failed inputs are listed in FAILED_INPUTS with a reason and are not charged. On: same, but the run is marked FAILED.",
            "default": 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
                  },
                  "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}