{
  "openapi": "3.0.1",
  "info": {
    "title": "App Store Reviews & Ratings Scraper – Google Play App Data",
    "description": "Search the App Store by keyword or load specific apps from Apple and Google Play (by package name) into one dataset: ratings, rating counts, price, category, version, update date, size, languages and App Store reviews – Google Play has no review feed. One record shape for both stores.",
    "version": "0.1",
    "x-build-id": "Wc6OKbGNI1OG2MXIW"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/perceptr0n~appstore-google-play-intelligence/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-perceptr0n-appstore-google-play-intelligence",
        "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/perceptr0n~appstore-google-play-intelligence/runs": {
      "post": {
        "operationId": "runs-sync-perceptr0n-appstore-google-play-intelligence",
        "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/perceptr0n~appstore-google-play-intelligence/run-sync": {
      "post": {
        "operationId": "run-sync-perceptr0n-appstore-google-play-intelligence",
        "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 do",
            "enum": [
              "auto",
              "search",
              "apps"
            ],
            "type": "string",
            "description": "`auto` (default): if app ids or store URLs are given, those apps are loaded; otherwise the keywords are searched. `search` = keyword search (App Store only). `apps` = load the given apps (App Store and Google Play).",
            "default": "auto"
          },
          "keywords": {
            "title": "Search keywords",
            "type": "array",
            "description": "Give `keywords` (search) or `apple_ids`/`play_ids` (specific apps). What users would type in the App Store, one search term per entry — e.g. `budget planner`, `Rechnung scannen`. One row per app found, with its ranking position. Used when no app ids are given (or in mode `search`). Keyword search covers the App Store only.",
            "items": {
              "type": "string"
            },
            "default": [
              "budget planner"
            ]
          },
          "apple_ids": {
            "title": "Apple apps: ids, bundle ids or App Store URLs",
            "type": "array",
            "description": "Numeric track id (`310633997`), bundle id (`com.burbn.instagram`) or the App Store link (`https://apps.apple.com/de/app/whatsapp-messenger/id310633997`). Each app is loaded once, even if given twice.",
            "items": {
              "type": "string"
            }
          },
          "play_ids": {
            "title": "Google Play apps: package names or Play URLs",
            "type": "array",
            "description": "Package name (`com.whatsapp`, `com.spotify.music`) or the Play Store link (`https://play.google.com/store/apps/details?id=com.whatsapp`). Each app is loaded once, even if given twice.",
            "items": {
              "type": "string"
            }
          },
          "country": {
            "title": "Store country",
            "enum": [
              "de",
              "at",
              "ch",
              "us",
              "gb",
              "fr",
              "it",
              "es",
              "nl",
              "pl",
              "se",
              "dk"
            ],
            "type": "string",
            "description": "Store front to read, default `de` (Germany): `de`, `at`, `ch`, `us`, `gb`, `fr`, `it`, `es`, `nl`, `pl`, `se`, `dk`. Rankings, prices and reviews differ per country.",
            "default": "de"
          },
          "include_reviews": {
            "title": "Include reviews (App Store)",
            "type": "boolean",
            "description": "Adds App Store reviews with date, rating, title, text and app version. Apple's public feed holds at most 500 recent reviews per app and country and often far fewer — measured 12 Oct 2026: for many popular apps 0–50, with empty pages in between. Every app row says how complete its reviews are (`reviewsStatus`). If the feed is empty, the handful of featured reviews from the app's store page are used instead. Google Play publishes no review feed.",
            "default": false
          },
          "max_reviews_per_app": {
            "title": "Maximum reviews per app",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Upper limit of reviews per app (1–500; Apple's feed: at most 500, often much less — see `reviewsStatus` in each row).",
            "default": 100
          },
          "max_items": {
            "title": "Maximum apps",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "Default 50. Search: maximum apps per keyword (1–200; Apple returns at most 200). Apps mode: maximum apps in total across both stores — apps beyond it are not loaded but listed under REMAINING in the key-value store, with a warning.",
            "default": 50
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}