{
  "openapi": "3.0.1",
  "info": {
    "title": "App Store Scraper – Apps, Keyword Ranks, Charts & Reviews",
    "description": "Apple App Store data from Apple's own public endpoints: search apps by keyword, full app details in 175+ countries, keyword rank tracking for ASO, top free/paid/grossing charts by category, developer portfolios and latest reviews. $1 per 1,000 apps, no login.",
    "version": "1.0",
    "x-build-id": "08GSkf62D3HfNlB0V"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/cleardata-labs~app-store-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-cleardata-labs-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/cleardata-labs~app-store-scraper/runs": {
      "post": {
        "operationId": "runs-sync-cleardata-labs-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/cleardata-labs~app-store-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-cleardata-labs-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": {
          "mode": {
            "title": "What do you want?",
            "enum": [
              "search",
              "apps",
              "keywordRanks",
              "charts",
              "developer",
              "reviews"
            ],
            "type": "string",
            "description": "search = apps for keywords (in App Store order). apps = full details of given apps. keywordRanks = position of YOUR apps for keywords (ASO tracking). charts = official top charts. developer = all apps of a developer. reviews = latest customer reviews.",
            "default": "search"
          },
          "keywords": {
            "title": "Keywords",
            "type": "array",
            "description": "Search terms, one per line. Used by 'Search apps by keyword' and 'Keyword rank tracking'. Empty in search mode = a 10-app demo.",
            "items": {
              "type": "string"
            }
          },
          "apps": {
            "title": "Apps",
            "type": "array",
            "description": "One app per line: App Store link (https://apps.apple.com/us/app/.../id284882215), numeric app ID, bundle ID (com.spotify.client) or app name (the top search match is used). Used by 'App details', 'Keyword rank tracking' and 'Customer reviews'.",
            "items": {
              "type": "string"
            }
          },
          "developers": {
            "title": "Developers",
            "type": "array",
            "description": "One per line: developer page link (https://apps.apple.com/us/developer/.../id284882218), numeric developer ID or developer name. Used by 'All apps of a developer'.",
            "items": {
              "type": "string"
            }
          },
          "countries": {
            "title": "Countries (App Store storefronts)",
            "type": "array",
            "description": "2-letter country codes, e.g. us, gb, fr, de, jp, br. Prices, ratings, rankings and reviews are per country. Default: us.",
            "items": {
              "type": "string"
            }
          },
          "maxResultsPerSearch": {
            "title": "Apps per keyword",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "Search mode: how many apps to return per keyword and country (Apple returns at most 200).",
            "default": 50
          },
          "chart": {
            "title": "Chart",
            "enum": [
              "topfree",
              "toppaid",
              "topgrossing",
              "new",
              "newfree",
              "newpaid"
            ],
            "type": "string",
            "description": "Charts mode: which official Apple chart.",
            "default": "topfree"
          },
          "device": {
            "title": "Device",
            "enum": [
              "iphone",
              "ipad"
            ],
            "type": "string",
            "description": "Charts mode: iPhone or iPad charts.",
            "default": "iphone"
          },
          "genres": {
            "title": "Chart categories",
            "type": "array",
            "description": "Charts mode: categories to fetch (one chart each). Leave empty for the overall chart.",
            "items": {
              "type": "string",
              "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",
                "6025",
                "6026",
                "6027",
                "7001",
                "7002",
                "7003",
                "7004",
                "7005",
                "7006",
                "7007",
                "7008",
                "7009",
                "7011",
                "7012",
                "7013",
                "7014",
                "7015",
                "7016",
                "7017",
                "7018",
                "7019"
              ],
              "enumTitles": [
                "Business",
                "Weather",
                "Utilities",
                "Travel",
                "Sports",
                "Social Networking",
                "Reference",
                "Productivity",
                "Photo & Video",
                "News",
                "Navigation",
                "Music",
                "Lifestyle",
                "Health & Fitness",
                "Games",
                "Finance",
                "Entertainment",
                "Education",
                "Books",
                "Medical",
                "Magazines & Newspapers",
                "Catalogs",
                "Food & Drink",
                "Shopping",
                "Stickers",
                "Developer Tools",
                "Graphics & Design",
                "Games: Action",
                "Games: Adventure",
                "Games: Casual",
                "Games: Board",
                "Games: Card",
                "Games: Casino",
                "Games: Dice",
                "Games: Educational",
                "Games: Family",
                "Games: Music",
                "Games: Puzzle",
                "Games: Racing",
                "Games: Role Playing",
                "Games: Simulation",
                "Games: Sports",
                "Games: Strategy",
                "Games: Trivia",
                "Games: Word"
              ]
            }
          },
          "chartSize": {
            "title": "Positions per chart",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Charts mode: how many chart positions to return (Apple publishes the top 100).",
            "default": 100
          },
          "enrichCharts": {
            "title": "Full details for chart apps",
            "type": "boolean",
            "description": "Charts mode: add ratings, rating counts, version, size, languages, description... to every chart position (one extra Apple call per 100 apps). Off = name, developer, price and rank only.",
            "default": true
          },
          "maxReviewsPerApp": {
            "title": "Reviews per app and country",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Reviews mode: maximum reviews per app and country (Apple's public feed exposes the latest 500).",
            "default": 100
          },
          "reviewSort": {
            "title": "Review order",
            "enum": [
              "mostrecent",
              "mosthelpful"
            ],
            "type": "string",
            "description": "Reviews mode: newest first or most helpful first.",
            "default": "mostrecent"
          },
          "minRating": {
            "title": "Minimum stars",
            "minimum": 1,
            "maximum": 5,
            "type": "integer",
            "description": "Reviews mode: keep reviews with at least this many stars (1-5). Use 1 + Maximum 2 to collect complaints.",
            "default": 1
          },
          "maxRating": {
            "title": "Maximum stars",
            "minimum": 1,
            "maximum": 5,
            "type": "integer",
            "description": "Reviews mode: keep reviews with at most this many stars (1-5).",
            "default": 5
          },
          "reviewsSince": {
            "title": "Reviews since",
            "type": "string",
            "description": "Reviews mode: only reviews written on or after this date (YYYY-MM-DD). Great for daily or weekly monitoring."
          },
          "includeDescription": {
            "title": "Include app descriptions",
            "type": "boolean",
            "description": "Include the full App Store description text (long). Turn off for lighter exports.",
            "default": true
          },
          "maxResults": {
            "title": "Maximum results",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Hard cap on billable rows (apps, ranks, chart positions and reviews) for this run. Protects your budget.",
            "default": 1000
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}