{
  "openapi": "3.0.1",
  "info": {
    "title": "Apple App Store Reviews Scraper — Deep & Bulk ($0.35/1K)",
    "description": "Scrape Apple App Store (iOS/macOS) reviews beyond the 500-review RSS cap with developer replies, 4 native sorts, star/date/keyword filters, 140+ storefronts, and optional app metadata. $0 start fee.",
    "version": "1.0",
    "x-build-id": "Xc7jjmhTdkhZ61NIp"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/meka.im~apple-app-store-reviews-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-meka.im-apple-app-store-reviews-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/meka.im~apple-app-store-reviews-scraper/runs": {
      "post": {
        "operationId": "runs-sync-meka.im-apple-app-store-reviews-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/meka.im~apple-app-store-reviews-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-meka.im-apple-app-store-reviews-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": {
          "appIds": {
            "title": "App IDs or Apple App Store URLs",
            "type": "array",
            "description": "One or more numeric Apple App IDs (e.g. 6448311069) or App Store URLs (e.g. https://apps.apple.com/us/app/chatgpt/id6448311069). Up to 100 unique app+country targets per run.",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "Start URLs (Drop-in Alias)",
            "type": "array",
            "description": "Optional alias for appIds. Accepts Apple App Store URLs (strings or { url } objects). Country codes in URLs (e.g. /gb/app/...) are extracted automatically.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "appIdOrUrl": {
            "title": "Single App ID or URL (Drop-in Alias)",
            "type": "string",
            "description": "Optional single-app alias (also accepts appId)."
          },
          "maxReviews": {
            "title": "Max Reviews per App/Country",
            "minimum": 1,
            "maximum": 50000,
            "type": "integer",
            "description": "Maximum matching reviews to deliver per app/country target (1–50,000; defaults to 200 when omitted). Aliases: maxItems, maxReviewsPerApp."
          },
          "sort": {
            "title": "Sort Order",
            "enum": [
              "MOST_RECENT",
              "MOST_HELPFUL",
              "MOST_FAVORABLE",
              "MOST_CRITICAL"
            ],
            "type": "string",
            "description": "Native Apple App Store sort order (defaults to MOST_RECENT when omitted). MOST_RECENT enables automatic early-stop with sinceDate / recentDays. Alias: sortBy."
          },
          "country": {
            "title": "Country / Storefront Code",
            "type": "string",
            "description": "Default two-letter Apple App Store storefront code (e.g. us, gb, de, jp, cn, ca, au; defaults to us when omitted). Overridden by countries array or URL country path."
          },
          "countries": {
            "title": "Multiple Countries / Storefronts",
            "type": "array",
            "description": "Optional list of storefront country codes (e.g. [\"us\", \"gb\", \"de\"]) to scrape each app across multiple App Store regions in a single run.",
            "items": {
              "type": "string"
            }
          },
          "stars": {
            "title": "Star Ratings Filter",
            "type": "array",
            "description": "Filter by star ratings (1–5). Aliases: rating, ratingFilter, minScore, maxScore.",
            "items": {
              "type": "integer",
              "minimum": 1,
              "maximum": 5
            }
          },
          "recentDays": {
            "title": "Recent Days (Incremental Monitoring)",
            "minimum": 1,
            "maximum": 3650,
            "type": "integer",
            "description": "Keep reviews published within the last N days. Stops paginating early in MOST_RECENT sort once older reviews are reached."
          },
          "sinceDate": {
            "title": "Since Date (YYYY-MM-DD or ISO)",
            "type": "string",
            "description": "UTC date or ISO timestamp lower bound (inclusive). Aliases: dateFrom, reviewsSince."
          },
          "untilDate": {
            "title": "Until Date (YYYY-MM-DD or ISO)",
            "type": "string",
            "description": "UTC date or ISO timestamp upper bound (inclusive). Aliases: dateTo, endDate."
          },
          "keywords": {
            "title": "Keywords Filter",
            "type": "array",
            "description": "Keep only reviews whose title, text, or developer reply contains at least one case-insensitive keyword.",
            "items": {
              "type": "string"
            }
          },
          "hasReply": {
            "title": "Has Developer Reply",
            "type": "boolean",
            "description": "If true, keep only reviews with a developer reply; if false, only unreplied reviews."
          },
          "minVotes": {
            "title": "Minimum Helpful Votes",
            "minimum": 0,
            "type": "integer",
            "description": "Keep only reviews with voteCount >= N."
          },
          "minReviewLength": {
            "title": "Minimum Review Length (Chars)",
            "minimum": 0,
            "type": "integer",
            "description": "Skip ultra-short reviews whose body text is shorter than this character count."
          },
          "includeAppDetails": {
            "title": "Include App Metadata",
            "type": "boolean",
            "description": "Best-effort enrichment: attach structured iTunes Lookup app metadata (title, developer, bundleId, score, ratingsCount, version, category, price, icon) to each review.",
            "default": 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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}