{
  "openapi": "3.0.1",
  "info": {
    "title": "Apple App Store Scraper: Apps, Reviews & ASO",
    "description": "Extract Apple App Store apps, reviews, rankings, privacy labels, version history, in-app purchases, events, editorial features, similar apps, developer portfolios, and country availability. Get 55-field app details and up to 500 reviews per app. No Apple account or API key required.",
    "version": "0.0",
    "x-build-id": "IeAmzkz68qxUxEBmb"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/scrapingmonkey~apple-app-store-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-scrapingmonkey-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/scrapingmonkey~apple-app-store-scraper/runs": {
      "post": {
        "operationId": "runs-sync-scrapingmonkey-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/scrapingmonkey~apple-app-store-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-scrapingmonkey-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": [
          "mode"
        ],
        "properties": {
          "mode": {
            "title": "Scraping mode",
            "enum": [
              "search",
              "details",
              "reviews",
              "charts",
              "developer",
              "similar",
              "suggest",
              "availability",
              "iap",
              "events",
              "editorial"
            ],
            "type": "string",
            "description": "Choose the Apple App Store dataset to collect.",
            "default": "search"
          },
          "searchTerms": {
            "title": "Search terms",
            "type": "array",
            "description": "One or more keywords. Used by search and suggest modes.",
            "items": {
              "type": "string"
            },
            "default": [
              "photo editor"
            ]
          },
          "appIds": {
            "title": "App IDs, bundle IDs, or URLs",
            "type": "array",
            "description": "Numeric Apple IDs, bundle IDs such as com.burbn.instagram, or full apps.apple.com URLs. Used by details, reviews, similar, availability, IAP, events, and editorial modes.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "developerIds": {
            "title": "Developer IDs",
            "type": "array",
            "description": "Numeric Apple developer IDs. Used by developer mode.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "country": {
            "title": "Country",
            "minLength": 2,
            "maxLength": 2,
            "type": "string",
            "description": "Two-letter App Store country or region code controlling catalog, ratings, prices, and localization.",
            "default": "us"
          },
          "countries": {
            "title": "Countries to check",
            "type": "array",
            "description": "Two-letter country codes checked by availability mode. If empty, country is used.",
            "items": {
              "type": "string",
              "minLength": 2,
              "maxLength": 2
            },
            "default": []
          },
          "language": {
            "title": "Language",
            "type": "string",
            "description": "Language or locale such as en-US, de-DE, ja-JP, or en.",
            "default": "en-US"
          },
          "maxItems": {
            "title": "Maximum items per input",
            "minimum": 0,
            "maximum": 500,
            "type": "integer",
            "description": "Maximum results per search term, app, developer, or chart. Set to 0 for everything the public source exposes, subject to Apple's endpoint limits.",
            "default": 50
          },
          "maxConcurrency": {
            "title": "Maximum concurrency",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "Number of independent terms, app IDs, developer IDs, or availability country jobs processed concurrently. Pagination for one target remains sequential.",
            "default": 5
          },
          "includeReviews": {
            "title": "Include reviews in details",
            "type": "boolean",
            "description": "Store reviews inside includedReviews on every details record. Each nested review is billed as one review event in addition to the app-detail event.",
            "default": false
          },
          "includePrivacy": {
            "title": "Include App Privacy",
            "type": "boolean",
            "description": "Extract privacy types, categories, data types, purposes, and the privacy-policy URL in details mode.",
            "default": true
          },
          "includeVersionHistory": {
            "title": "Include version history",
            "type": "boolean",
            "description": "Extract every version entry embedded in the public app page.",
            "default": true
          },
          "includeRatingsHistogram": {
            "title": "Include ratings histogram",
            "type": "boolean",
            "description": "Extract exact 1-star through 5-star rating counts.",
            "default": true
          },
          "includeIAP": {
            "title": "Include in-app purchases",
            "type": "boolean",
            "description": "Extract the named in-app purchases and localized prices displayed by Apple.",
            "default": true
          },
          "includeEvents": {
            "title": "Include app events",
            "type": "boolean",
            "description": "Extract current and upcoming in-app events displayed on the app page.",
            "default": true
          },
          "reviewSort": {
            "title": "Review sort",
            "enum": [
              "mostRecent",
              "mostHelpful"
            ],
            "type": "string",
            "description": "Review order in reviews mode and details review enrichment.",
            "default": "mostRecent"
          },
          "reviewScore": {
            "title": "Review star filter",
            "minimum": 1,
            "maximum": 5,
            "type": "integer",
            "description": "Keep only reviews with this star rating. Leave empty for all ratings."
          },
          "reviewsSince": {
            "title": "Reviews since",
            "type": "string",
            "description": "Keep reviews on or after this ISO date or timestamp, for example 2026-01-01."
          },
          "chartCollection": {
            "title": "Chart collection",
            "enum": [
              "topFree",
              "topPaid",
              "topGrossing",
              "new",
              "newFree",
              "newPaid",
              "topFreeIpad",
              "topPaidIpad",
              "topGrossingIpad",
              "topFreeMac",
              "topPaidMac",
              "topGrossingMac"
            ],
            "type": "string",
            "description": "Chart used in charts mode.",
            "default": "topFree"
          },
          "category": {
            "title": "Chart category ID",
            "minimum": 0,
            "type": "integer",
            "description": "Optional Apple genre ID such as 6014 for Games or 6008 for Photo & Video."
          }
        }
      },
      "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}