{
  "openapi": "3.0.1",
  "info": {
    "title": "App Store Reviews Scraper: All Countries & App Health Report",
    "description": "Reviews of any iOS app from every country's App Store in one run, de-duplicated, with sentiment on every review, an app health report and new-review alerts. No login. $0.10 per 1,000 reviews. Apple's feed gives up to 500 reviews per country per sort.",
    "version": "0.2",
    "x-build-id": "PE1aVTn5UvmQex2LY"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/brainfoods_studio~app-store-reviews-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-brainfoods_studio-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/brainfoods_studio~app-store-reviews-scraper/runs": {
      "post": {
        "operationId": "runs-sync-brainfoods_studio-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/brainfoods_studio~app-store-reviews-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-brainfoods_studio-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": {
          "apps": {
            "title": "Apps",
            "maxItems": 50,
            "type": "array",
            "description": "iOS apps to scrape, up to 50 (up to 10 with countries set to all). Give an App Store URL, a numeric app id like 310633997, or a bundle id like net.whatsapp.WhatsApp. Duplicates are removed.",
            "items": {
              "type": "string"
            }
          },
          "countries": {
            "title": "Countries (storefronts)",
            "type": "array",
            "description": "Two-letter App Store country codes, for example us, gb, in or de. Use [\"all\"] for all 175 storefronts (up to 10 apps). Each storefront has its own reviews, and a review is delivered once, even if it shows up twice.",
            "default": [
              "us"
            ],
            "items": {
              "type": "string"
            }
          },
          "sort": {
            "title": "Review order",
            "enum": [
              "recent",
              "helpful",
              "both"
            ],
            "type": "string",
            "description": "Apple gives at most 500 reviews per country for each order. Most recent is best for monitoring and for the health report. With Both, the most recent come first up to the limit below, and the most helpful fill what is left. Monitor mode always uses Most recent.",
            "default": "recent"
          },
          "maxReviewsPerCountry": {
            "title": "Max reviews per app and country",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Stop collecting for an app in a country once this many reviews are kept. Above 500 needs the Both order. With Both and 500 here, the 500 most recent fill the limit and no helpful-only reviews are added: use 1000 to get both lists.",
            "default": 500
          },
          "reviewsSince": {
            "title": "Only reviews since",
            "type": "string",
            "description": "A date like 2026-10-01, or a span back from today: 30d, 4w, 3m or 1y. Recent paging stops at the first older review; helpful reviews older than this are left out. Leave empty for no limit."
          },
          "includeDetails": {
            "title": "Include app details",
            "type": "boolean",
            "description": "Add one app row per app and country: version, price, Apple's average rating and rating count for that country, genres, size and release dates. Charged per row. With all countries this is up to 175 rows per app, so switch it off if you only want reviews.",
            "default": true
          },
          "healthReport": {
            "title": "App health report (premium)",
            "type": "boolean",
            "description": "Adds a report per app from its most recent reviews (up to 500 per country): rating by release, complaint themes and phrases, rating by country, and a one-line headline with the dates it covers. Windows the reviews do not reach back to are left empty. Also adds free version, theme, phrase and country rows and tags every review with its themes. Charged once per app with at least 20 recent reviews. Not made in monitor mode.",
            "default": false
          },
          "includeReviewerInfo": {
            "title": "Include reviewer name and link",
            "type": "boolean",
            "description": "Add the reviewer's public App Store name and profile link to each review. Off by default: these are personal data.",
            "default": false
          },
          "maxConcurrency": {
            "title": "Max concurrency",
            "minimum": 1,
            "maximum": 8,
            "type": "integer",
            "description": "Country and app combinations processed in parallel, 1 to 8. If Apple answers with a rate-limit, the run stops instead of pushing on.",
            "default": 4
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Apify datacenter proxy is enough for Apple's feeds.",
            "default": {
              "useApifyProxy": true
            }
          },
          "monitorKey": {
            "title": "Monitor: remember results as",
            "type": "string",
            "description": "Turns on monitor mode. The newest review per app and country is remembered under this name, and later runs return only reviews newer than that. The first run delivers the newest reviews as a baseline and sends no alert. Always uses the most recent order. Use one name per schedule."
          },
          "deliveryWebhookUrl": {
            "title": "Monitor: send new reviews to",
            "type": "string",
            "description": "Optional, needs the monitor name. A Slack incoming-webhook URL or any HTTPS endpoint. When a monitored run finds new reviews, it posts a short alert with a link to the results, 1 and 2 star reviews first. Charged as one alert per run that sends one. Stored encrypted and hidden from logs, because a webhook URL works like a password."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}