{
  "openapi": "3.0.1",
  "info": {
    "title": "App Store Scraper — iTunes API, App Data & Charts | $0.50/1k",
    "description": "Apple App Store app data without an API key: look up apps by URL, app ID or bundle ID, search keywords with rank, list a developer's apps, read top free, paid and grossing charts in 176 countries. Price, rating, rating count, version, size, genres, screenshots. JSON, CSV, Excel.",
    "version": "0.1",
    "x-build-id": "eoU9J4qOEDUfM3IC3"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/glasswing~app-store-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-glasswing-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/glasswing~app-store-scraper/runs": {
      "post": {
        "operationId": "runs-sync-glasswing-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/glasswing~app-store-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-glasswing-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",
        "properties": {
          "startUrls": {
            "title": "Apps: App Store URLs, app IDs or bundle IDs",
            "uniqueItems": true,
            "type": "array",
            "description": "One per line. Accepted: App Store links (https://apps.apple.com/us/app/instagram/id389801252), numeric app IDs (389801252 or id389801252), bundle IDs (com.spotify.client) and developer links (https://apps.apple.com/us/developer/meta-platforms-inc/id284882218, which list all of that developer's apps). A link that names a country (/gb/) is fetched in that country, unless you list countries under Countries: then every app is fetched in each listed country. An ID that does not exist gives one free `not_found` row. Leave the built-in example here when you use search, developers or charts: it is skipped automatically.",
            "default": [
              "https://apps.apple.com/us/app/instagram/id389801252",
              "310633997",
              "com.spotify.client",
              "https://apps.apple.com/us/app/duolingo-language-lessons/id570060128",
              "https://apps.apple.com/us/app/minecraft-play-with-friends/id479516143"
            ],
            "items": {
              "type": "string"
            }
          },
          "searchTerms": {
            "title": "Search keywords",
            "uniqueItems": true,
            "type": "array",
            "description": "Keywords to search the App Store for, one per line: `budget planner`, `photo editor`, `meditation`. Each keyword returns up to `Results per search, developer or chart` apps in Apple's own search order; `searchRank` is the position (1 = first result), which makes this an App Store keyword-ranking (ASO) check. A keyword with no match gives one free `not_found` row.",
            "items": {
              "type": "string"
            }
          },
          "developerIds": {
            "title": "Developers: IDs, links or names",
            "uniqueItems": true,
            "type": "array",
            "description": "Developers whose apps you want, one per line: a developer ID (284882218), a developer link (https://apps.apple.com/us/developer/meta-platforms-inc/id284882218) or a developer name (Rovio Entertainment). A name is matched against the developer names Apple's search returns; an ID is exact. Apple lists at most 200 apps per developer and country.",
            "items": {
              "type": "string"
            }
          },
          "charts": {
            "title": "Top charts",
            "uniqueItems": true,
            "type": "array",
            "description": "Apple's top charts to read, per country and device: top free, top paid and top grossing. Each chart returns up to 100 apps (Apple's cap) with `chartPosition` 1, 2, 3... and the full app data. Mac: Apple publishes only the top free chart.",
            "items": {
              "type": "string",
              "enum": [
                "topFree",
                "topPaid",
                "topGrossing"
              ],
              "enumTitles": [
                "Top free",
                "Top paid",
                "Top grossing"
              ]
            }
          },
          "chartGenre": {
            "title": "Chart category",
            "enum": [
              "6000",
              "6001",
              "6002",
              "6003",
              "6004",
              "6005",
              "6006",
              "6007",
              "6008",
              "6009",
              "6010",
              "6011",
              "6012",
              "6013",
              "6014",
              "6015",
              "6016",
              "6017",
              "6018",
              "6020",
              "6021",
              "6022",
              "6023",
              "6024",
              "6026",
              "6027"
            ],
            "type": "string",
            "description": "Optional: limit the charts to one App Store category, for example Games. Leave empty for the overall charts."
          },
          "countries": {
            "title": "Countries",
            "uniqueItems": true,
            "type": "array",
            "description": "App Store countries as two-letter codes, one per line: `us`, `gb`, `de`, `jp`, `br` (176 storefronts; country names such as Germany also work). Prices, currency, ratings, rankings and charts differ by country. Every app ID, keyword, developer and chart is fetched once per country.",
            "default": [
              "us"
            ],
            "items": {
              "type": "string"
            }
          },
          "device": {
            "title": "Device",
            "enum": [
              "iphone",
              "ipad",
              "mac"
            ],
            "type": "string",
            "description": "Which store the search keywords and top charts use: iPhone apps, iPad apps or Mac apps. App IDs and developers are looked up the same way on every device.",
            "default": "iphone"
          },
          "resultsPerSource": {
            "title": "Results per search, developer or chart",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "How many apps to keep from each keyword, developer and chart, best-ranked first. Leave empty to use Apple's own maximum automatically: 200 per keyword or developer, 100 per chart. Only set this to take fewer than Apple's maximum from each source on purpose. The total is still limited by Maximum results."
          },
          "maxItems": {
            "title": "Maximum results",
            "minimum": 1,
            "type": "integer",
            "description": "Stop after this many rows have been saved in total. Each row with status `ok` is one billable result; `not_found` and `error` rows are never charged. Raise it for full charts or several keywords.",
            "default": 20
          },
          "maxResults": {
            "title": "Maximum results (alias)",
            "minimum": 1,
            "type": "integer",
            "description": "Same as Maximum results; accepted for API callers that use this name."
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Optional. Apple's public App Store API answers Apify's datacenter IPs directly, so no proxy is needed. If a very large run meets rate-limit errors, enable Apify Proxy (datacenter). Residential proxies are not needed.",
            "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
                  },
                  "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}