{
  "openapi": "3.0.1",
  "info": {
    "title": "Google Play Real-Time Data Scraper",
    "description": "Live Google Play intelligence: keyword app search, ranked Top Charts with live positions, full app details, developer portfolios, similar apps, and user reviews — streamed as structured JSON from 30+ markets. Checkbox features, webhooks, and a 2-result free trial.",
    "version": "0.0",
    "x-build-id": "lQv4NQRnmFkNyLxgL"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/b2b_leads~Google-Play-charts-Real-Time-Data-Scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-b2b_leads-Google-Play-charts-Real-Time-Data-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/b2b_leads~Google-Play-charts-Real-Time-Data-Scraper/runs": {
      "post": {
        "operationId": "runs-sync-b2b_leads-Google-Play-charts-Real-Time-Data-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/b2b_leads~Google-Play-charts-Real-Time-Data-Scraper/run-sync": {
      "post": {
        "operationId": "run-sync-b2b_leads-Google-Play-charts-Real-Time-Data-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": {
          "country": {
            "title": "Market country",
            "type": "string",
            "description": "Two-letter country code for localized storefront data (ratings, prices, charts). Affects currency and the recommended proxy country.",
            "default": "US"
          },
          "language": {
            "title": "Language",
            "type": "string",
            "description": "Two-letter language code for titles and descriptions, e.g. en, es, de, fr, pt, ja.",
            "default": "en"
          },
          "enableAppSearch": {
            "title": "App Search",
            "type": "boolean",
            "description": "Live keyword search across Google Play — apps and games by name, category, or topic. On by default and prefilled so you can click Start and get results in seconds.",
            "default": true
          },
          "searchQueries": {
            "title": "Search queries",
            "type": "array",
            "description": "One or more search terms, e.g. \"spotify\", \"photo editor\", \"minecraft\". Required when App Search is on.",
            "default": [
              "spotify",
              "minecraft"
            ],
            "items": {
              "type": "string"
            }
          },
          "searchMaxResults": {
            "title": "Max results per query",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Maximum apps to return for each query (1–100). Default 10 — perfect for instant demo runs.",
            "default": 10
          },
          "searchFetchFullDetails": {
            "title": "Enrich with full app details",
            "type": "boolean",
            "description": "When on, each search result stays ONE row (featureType app_search, detailsFetched=true) but is enriched with description, screenshots, update date, developer contacts, and install totals. Adds a little extra time per app. When off, you get fast search cards with title, rating, installs, and price. Every discovered app is always saved — never filtered out.",
            "default": false
          },
          "enableTopCharts": {
            "title": "Top Charts",
            "type": "boolean",
            "description": "Ranked Top free, Top paid, and Top grossing apps and games per category and country — with live rank positions.",
            "default": true
          },
          "chartCollections": {
            "title": "Chart collections",
            "type": "array",
            "description": "Which ranked charts to collect (one or more of: top_free, top_paid, top_grossing). Required when Top Charts is on.",
            "default": [
              "top_free"
            ],
            "items": {
              "type": "string"
            }
          },
          "chartCategory": {
            "title": "Chart category",
            "enum": [
              "GAME",
              "APPLICATION",
              "GAME_ACTION",
              "GAME_ADVENTURE",
              "GAME_ARCADE",
              "GAME_CASUAL",
              "GAME_PUZZLE",
              "GAME_RACING",
              "GAME_ROLE_PLAYING",
              "GAME_SIMULATION",
              "GAME_STRATEGY",
              "COMMUNICATION",
              "SOCIAL",
              "ENTERTAINMENT",
              "MUSIC_AND_AUDIO",
              "PHOTOGRAPHY",
              "VIDEO_PLAYERS",
              "SHOPPING",
              "FINANCE",
              "HEALTH_AND_FITNESS",
              "EDUCATION",
              "PRODUCTIVITY",
              "TRAVEL_AND_LOCAL",
              "SPORTS",
              "TOOLS",
              "NEWS_AND_MAGAZINES",
              "PERSONALIZATION",
              "LIFESTYLE"
            ],
            "type": "string",
            "description": "App category for the charts: GAME, APPLICATION, or a subcategory such as GAME_ACTION, GAME_PUZZLE, COMMUNICATION, SOCIAL, PHOTOGRAPHY, MUSIC_AND_AUDIO.",
            "default": "GAME"
          },
          "chartsMaxResults": {
            "title": "Max apps per chart",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "Maximum ranked apps to return per chart (1–200). Default 10.",
            "default": 10
          },
          "chartsFetchFullDetails": {
            "title": "Enrich charts with full app details",
            "type": "boolean",
            "description": "When on, each chart row stays ONE row (featureType top_charts, detailsFetched=true) but is enriched with description, screenshots, and developer contacts. Adds a little extra time per app.",
            "default": false
          },
          "enableAppDetails": {
            "title": "App Details",
            "type": "boolean",
            "description": "Fetch the full record for specific apps by package name or store URL.",
            "default": false
          },
          "appIds": {
            "title": "App package names (optional)",
            "type": "array",
            "description": "Google Play package names, e.g. com.spotify.music, com.mojang.minecraftpe.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "appUrls": {
            "title": "App URLs (optional)",
            "type": "array",
            "description": "Full Google Play app URLs (https://play.google.com/store/apps/details?id=...).",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "enableDeveloperApps": {
            "title": "Developer Apps",
            "type": "boolean",
            "description": "Collect the full app portfolio of any developer — track competitor catalogs and launch velocity.",
            "default": false
          },
          "developerIds": {
            "title": "Developer names",
            "type": "array",
            "description": "Developer names as shown on Google Play (e.g. Spotify AB, Mojang) or numeric dev ids. Shared with Developer URLs below.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "developerUrls": {
            "title": "Developer URLs (optional)",
            "type": "array",
            "description": "Full Google Play developer page URLs (https://play.google.com/store/apps/developer?id=...).",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "developerMaxApps": {
            "title": "Max apps per developer",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "Maximum apps to collect per developer (1–200).",
            "default": 30
          },
          "enableSimilarApps": {
            "title": "Similar Apps",
            "type": "boolean",
            "description": "Collect the similar-app recommendations shown on any app's page — map competitive neighborhoods.",
            "default": false
          },
          "similarAppIds": {
            "title": "Reference app package names",
            "type": "array",
            "description": "Package names to find similar apps for, e.g. com.spotify.music.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "similarAppUrls": {
            "title": "Reference app URLs (optional)",
            "type": "array",
            "description": "Full Google Play app URLs to find similar apps for.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "similarMaxResults": {
            "title": "Max similar apps per reference",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Maximum similar apps to collect per reference app (1–100).",
            "default": 10
          },
          "enableReviews": {
            "title": "App Reviews",
            "type": "boolean",
            "description": "Collect featured user reviews — author, star rating, date, text, and helpful counts. Ideal for sentiment and support-issue mining.",
            "default": false
          },
          "reviewAppIds": {
            "title": "Review app package names",
            "type": "array",
            "description": "Package names to collect reviews for, e.g. com.spotify.music.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "reviewUrls": {
            "title": "Review app URLs (optional)",
            "type": "array",
            "description": "Full Google Play app URLs to collect reviews for.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "reviewsMaxPerApp": {
            "title": "Max reviews per app",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Maximum featured reviews to collect per app (1–50).",
            "default": 10
          },
          "reviewsSort": {
            "title": "Review order",
            "enum": [
              "most_helpful",
              "newest",
              "highest",
              "lowest"
            ],
            "type": "string",
            "description": "Which featured reviews to prefer.",
            "default": "most_helpful"
          },
          "enableScrapeByUrl": {
            "title": "Scrape By URL",
            "type": "boolean",
            "description": "Paste any Google Play URL — app page, developer page, search, category, or collection.",
            "default": false
          },
          "scrapeUrls": {
            "title": "Google Play URLs",
            "type": "array",
            "description": "Any Google Play store URL: app, developer, search, category, or collection page.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "webhookUrl": {
            "title": "Webhook URL",
            "type": "string",
            "description": "Optional. Every record is always saved to the run dataset — this webhook is an ADDITIONAL real-time push. Each new row is also POSTed to this URL (Slack, Discord, Zapier, Make, n8n, custom monitoring bot).",
            "default": ""
          },
          "webhookFormat": {
            "title": "Webhook format",
            "enum": [
              "json",
              "slack"
            ],
            "type": "string",
            "description": "json = full record object; slack = Slack-friendly message payload.",
            "default": "json"
          },
          "proxyConfiguration": {
            "title": "Proxy settings",
            "type": "object",
            "description": "Residential proxy recommended. Match the country to the Market country above (US by default).",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ],
              "apifyProxyCountry": "US"
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}