{
  "openapi": "3.0.1",
  "info": {
    "title": "App Store Scraper: Apple App Details, Search & Top Charts",
    "description": "Scrape Apple App Store apps by keyword, link, developer or top chart: ratings, rating counts, price, category, version, release dates, size, languages, screenshots. Any country, no login.",
    "version": "0.1",
    "x-build-id": "2sdacTRtSVZ4B5A0M"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/techliondev~app-store-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-techliondev-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/techliondev~app-store-scraper/runs": {
      "post": {
        "operationId": "runs-sync-techliondev-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/techliondev~app-store-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-techliondev-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": {
          "searchTerms": {
            "title": "🔎 Search terms",
            "type": "array",
            "description": "Keywords to search the App Store for, one per line (for example habit tracker, budget app, your competitor's name). Results keep the App Store search order in the rank column. Apple returns up to about 200 apps per search. When you leave every source empty, the Actor runs a sample search for habit tracker.",
            "items": {
              "type": "string"
            }
          },
          "apps": {
            "title": "📱 App links or IDs",
            "type": "array",
            "description": "App Store links (apps.apple.com/us/app/name/id389801252), numeric app IDs (389801252) or bundle IDs (com.spotify.client), one per line.",
            "items": {
              "type": "string"
            }
          },
          "developers": {
            "title": "🏢 Developer links or IDs",
            "type": "array",
            "description": "Developer page links (apps.apple.com/us/developer/name/id281956209) or numeric developer IDs. Saves every app from that developer.",
            "items": {
              "type": "string"
            }
          },
          "charts": {
            "title": "🏆 Top charts",
            "type": "array",
            "description": "Apple's live top charts (up to 100 apps each), with the chart position in the rank column.",
            "items": {
              "type": "string",
              "enum": [
                "topfree",
                "toppaid",
                "topgrossing",
                "topfreeipad",
                "toppaidipad",
                "topgrossingipad",
                "newapps",
                "newfree",
                "newpaid"
              ],
              "enumTitles": [
                "Top free iPhone apps",
                "Top paid iPhone apps",
                "Top grossing iPhone apps",
                "Top free iPad apps",
                "Top paid iPad apps",
                "Top grossing iPad apps",
                "New apps",
                "New free apps",
                "New paid apps"
              ]
            }
          },
          "chartCategories": {
            "title": "Top chart categories",
            "type": "array",
            "description": "Read each top chart for these categories. New-app charts are always read for all categories.",
            "items": {
              "type": "string",
              "enum": [
                "all",
                "books",
                "business",
                "developertools",
                "education",
                "entertainment",
                "finance",
                "foodanddrink",
                "games",
                "graphicsanddesign",
                "healthandfitness",
                "lifestyle",
                "medical",
                "music",
                "navigation",
                "news",
                "photoandvideo",
                "productivity",
                "reference",
                "shopping",
                "socialnetworking",
                "sports",
                "travel",
                "utilities",
                "weather"
              ],
              "enumTitles": [
                "All categories",
                "Books",
                "Business",
                "Developer Tools",
                "Education",
                "Entertainment",
                "Finance",
                "Food & Drink",
                "Games",
                "Graphics & Design",
                "Health & Fitness",
                "Lifestyle",
                "Medical",
                "Music",
                "Navigation",
                "News",
                "Photo & Video",
                "Productivity",
                "Reference",
                "Shopping",
                "Social Networking",
                "Sports",
                "Travel",
                "Utilities",
                "Weather"
              ]
            },
            "default": [
              "all"
            ]
          },
          "countries": {
            "title": "🌍 Countries",
            "type": "array",
            "description": "Two-letter App Store country codes, one per line (us, gb, de, fr, jp, br, in...). Every source is read for every country, so prices, ratings and charts are local.",
            "default": [
              "us"
            ],
            "items": {
              "type": "string"
            }
          },
          "maxAppsPerSource": {
            "title": "Max apps per source",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Stops each source (search term, developer, chart, country) after this many saved apps. Filters are applied first, so you only pay for apps you keep.",
            "default": 50
          },
          "minRating": {
            "title": "Minimum star rating",
            "minimum": 0,
            "maximum": 5,
            "type": "number",
            "description": "Keep apps rated at least this many stars (0 to 5), for example 4.5."
          },
          "minRatingsCount": {
            "title": "Minimum number of ratings",
            "minimum": 0,
            "type": "integer",
            "description": "Keep apps with at least this many ratings, to skip tiny or brand-new apps."
          },
          "price": {
            "title": "Price",
            "enum": [
              "any",
              "free",
              "paid"
            ],
            "type": "string",
            "description": "Keep free apps, paid apps or both. Free apps can still sell in-app purchases.",
            "default": "any"
          },
          "releasedSince": {
            "title": "First released since",
            "type": "string",
            "description": "Keep apps first released on or after this date: 2026-01-31 or a relative value (30 days, 6 months). Great for finding new competitors."
          },
          "updatedSince": {
            "title": "Last updated since",
            "type": "string",
            "description": "Keep apps updated on or after this date: 2026-01-31 or a relative value (90 days). Drop abandoned apps."
          },
          "categories": {
            "title": "Categories",
            "type": "array",
            "description": "Keep apps in any of these App Store categories, one per line (for example Productivity, Health & Fitness, Games).",
            "items": {
              "type": "string"
            }
          },
          "includeKeywords": {
            "title": "Must include one of these words",
            "type": "array",
            "description": "Keep apps whose name, developer or description contains at least one of these words.",
            "items": {
              "type": "string"
            }
          },
          "excludeKeywords": {
            "title": "Exclude apps with these words",
            "type": "array",
            "description": "Drop apps whose name, developer or description contains any of these words.",
            "items": {
              "type": "string"
            }
          },
          "includeDescription": {
            "title": "Include the full app description",
            "type": "boolean",
            "description": "Adds the App Store description (no extra cost). Turn off for smaller exports.",
            "default": true
          },
          "onlyNew": {
            "title": "Only new apps (since the last run)",
            "type": "boolean",
            "description": "Remembers every app it has seen (per country, and per chart for top charts) and saves only new ones on later runs. The first run only remembers apps and saves nothing.",
            "default": false
          },
          "stateName": {
            "title": "Tracking name",
            "type": "string",
            "description": "Optional name for the tracking memory, so several schedules can track separately. Leave empty to name it automatically from your sources."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}