{
  "openapi": "3.0.1",
  "info": {
    "title": "Apple App Store Scraper",
    "description": "Apple App Store Scraper scrapes Apple App Store apps by ID, URL, bundle ID, keyword or developer, with reviews, top charts and real star histograms for 115 countries. Export JSON, CSV or Excel, or use the API.",
    "version": "0.1",
    "x-build-id": "kI05EoyJvMAeNuxdu"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/fastdataapi~apple-app-store-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-fastdataapi-apple-app-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/fastdataapi~apple-app-store-scraper/runs": {
      "post": {
        "operationId": "runs-sync-fastdataapi-apple-app-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/fastdataapi~apple-app-store-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-fastdataapi-apple-app-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",
        "required": [
          "process"
        ],
        "properties": {
          "appId": {
            "title": "🆔 App IDs or App Store app URLs",
            "type": "array",
            "description": "Apps by numeric app ID (e.g. 1514844618) or App Store app URL (e.g. https://apps.apple.com/us/app/translate/id1514844618), one per line. Each app gives its details row (or its reviews / performance, see Mode).",
            "items": {
              "type": "string"
            }
          },
          "maxItems": {
            "title": "🔢 Max rows per input",
            "minimum": 1,
            "type": "integer",
            "description": "Maximum rows for each input entry: each app ID, bundle ID, keyword, developer ID and the top chart gets up to this many rows of its own (apps per keyword, developer or chart; reviews per app in the Reviews mode; with \"Add reviews as rows\", an app's review rows count toward its entry). 3 keywords x 50 = up to 150 rows. Apple returns at most 200 apps per keyword or developer and 100 per chart. Free plan: up to 20 rows per run (all entries together) and 200 per month; paid plans have no limit.",
            "default": 20
          },
          "process": {
            "title": "🔧 Mode for app IDs and charts",
            "enum": [
              "ap",
              "se",
              "de",
              "re",
              "li",
              "pe"
            ],
            "type": "string",
            "description": "Keywords, developer IDs and app IDs always run when filled; the mode never skips a field. It only decides what app IDs and bundle IDs give (details with star histogram, every review as its own row, or performance) and whether the top chart below is added.",
            "default": "ap"
          },
          "keyword": {
            "title": "🔎 Search keywords",
            "type": "array",
            "description": "Search keywords, one per line. Each keyword gives the apps the App Store ranks for it, up to 200 (Apple's maximum).",
            "items": {
              "type": "string"
            }
          },
          "developerId": {
            "title": "🆔 Developer IDs or App Store developer URLs",
            "type": "array",
            "description": "Developers by numeric developer ID (e.g. 284417353) or App Store developer URL (e.g. https://apps.apple.com/us/developer/apple/id284417353), one per line. Each developer gives their apps, up to 200.",
            "items": {
              "type": "string"
            }
          },
          "bundleId": {
            "title": "🆔 Bundle IDs",
            "type": "array",
            "description": "Apps by bundle ID (e.g. com.google.Translate), in addition to or instead of app IDs; they work like app IDs.",
            "items": {
              "type": "string"
            }
          },
          "collection": {
            "title": "🔧 Top chart",
            "enum": [
              "TOP_FREE_IOS",
              "TOP_PAID_IOS",
              "TOP_GROSSING_IOS",
              "TOP_FREE_IPAD",
              "TOP_PAID_IPAD",
              "TOP_GROSSING_IPAD",
              "TOP_FREE_MAC",
              "TOP_PAID_MAC",
              "TOP_GROSSING_MAC"
            ],
            "type": "string",
            "description": "Chart added in the mode \"Add the top chart\". Apple publishes at most 100 apps per chart; its paid and grossing Mac charts are currently empty.",
            "default": "TOP_FREE_IOS"
          },
          "country": {
            "title": "📍 Country",
            "enum": [
              "dz",
              "ao",
              "ai",
              "ar",
              "am",
              "au",
              "at",
              "az",
              "bh",
              "bb",
              "by",
              "be",
              "bz",
              "bm",
              "bo",
              "bw",
              "br",
              "bn",
              "bg",
              "ca",
              "ky",
              "cl",
              "cn",
              "co",
              "cr",
              "hr",
              "cy",
              "cz",
              "dk",
              "dm",
              "ec",
              "eg",
              "sv",
              "ee",
              "fi",
              "fr",
              "de",
              "gh",
              "gr",
              "gd",
              "gt",
              "gy",
              "hn",
              "hk",
              "hu",
              "is",
              "in",
              "id",
              "ie",
              "il",
              "it",
              "jm",
              "jp",
              "jo",
              "ke",
              "kw",
              "lv",
              "lb",
              "lt",
              "lu",
              "mo",
              "mg",
              "my",
              "ml",
              "mt",
              "mu",
              "mx",
              "ms",
              "np",
              "nl",
              "nz",
              "ni",
              "ne",
              "ng",
              "mk",
              "no",
              "om",
              "pk",
              "pa",
              "py",
              "pe",
              "ph",
              "pl",
              "pt",
              "qa",
              "ro",
              "ru",
              "sa",
              "sn",
              "sg",
              "sk",
              "si",
              "za",
              "kr",
              "es",
              "lk",
              "sr",
              "se",
              "ch",
              "tw",
              "tz",
              "th",
              "tn",
              "tr",
              "ug",
              "ua",
              "ae",
              "gb",
              "us",
              "uy",
              "uz",
              "ve",
              "vn",
              "vg",
              "ye"
            ],
            "type": "string",
            "description": "App Store country: prices, currency, charts, availability and reviews come from this store.",
            "default": "us"
          },
          "lang": {
            "title": "🌍 Language",
            "enum": [
              "en",
              "local"
            ],
            "type": "string",
            "description": "Language of app names, descriptions and release notes. English, or the main language of the chosen country's store (e.g. German for Germany). Reviews are always in the language their authors wrote.",
            "default": "en"
          },
          "sorting": {
            "title": "🔃 Review sort",
            "enum": [
              "sort.RECENT",
              "sort.HELPFUL",
              "sort.FAVORABLE",
              "sort.CRITICAL"
            ],
            "type": "string",
            "description": "Order of the reviews: in the Reviews mode and with \"Add reviews as rows\".",
            "default": "sort.RECENT"
          },
          "includeReviews": {
            "title": "✅ Add reviews as rows",
            "type": "boolean",
            "description": "For every app row (app details, search results, developer apps), also save the app's reviews as their own rows right after it (Reviews view). Each review counts as one row toward that entry's Max rows per input.",
            "default": false
          },
          "maxReviews": {
            "title": "🔢 Max reviews per app",
            "minimum": 1,
            "type": "integer",
            "description": "How many reviews to save per app when \"Add reviews as rows\" is on.",
            "default": 10
          },
          "proxyConfiguration": {
            "title": "🌐 Proxy",
            "type": "object",
            "description": "Optional. The run starts without a proxy and switches to a proxy by itself if the App Store blocks it."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}