{
  "openapi": "3.0.1",
  "info": {
    "title": "Apple App Store Reviews Scraper – iOS, Worldwide",
    "description": "Scrape Apple App Store reviews for any iOS app from every country's storefront in one run, by app ID, URL or name, with a since-date filter: rating, title, text, version, date, votes. Optional translation, topics and sentiment with your own Claude key. $0.10 per 1,000 reviews.",
    "version": "1.0",
    "x-build-id": "SbpmxElffgda4LIhh"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/brisaworks~app-store-reviews/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-brisaworks-app-store-reviews",
        "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/brisaworks~app-store-reviews/runs": {
      "post": {
        "operationId": "runs-sync-brisaworks-app-store-reviews",
        "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/brisaworks~app-store-reviews/run-sync": {
      "post": {
        "operationId": "run-sync-brisaworks-app-store-reviews",
        "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": "Apps",
            "type": "array",
            "description": "App Store app IDs or app URLs, one per line (e.g. 284882215 or https://apps.apple.com/us/app/facebook/id284882215). The ID is the number after \"id\" in the URL. Add apps here, by name below, or both.",
            "items": {
              "type": "string"
            }
          },
          "appNames": {
            "title": "Apps by name",
            "type": "array",
            "description": "App names to look up in Apple's iTunes Search API (e.g. Duolingo). Each name becomes the best-matching App Store app in the first storefront you chose (US with \"All storefronts\"); the run log shows which app was picked. Use IDs when you need an exact app.",
            "items": {
              "type": "string"
            }
          },
          "countries": {
            "title": "Storefront countries",
            "type": "array",
            "description": "Two-letter country codes of the App Store storefronts to read (us, gb, de, jp...). Ignored when \"All storefronts\" is on.",
            "default": [
              "us"
            ],
            "items": {
              "type": "string"
            }
          },
          "allCountries": {
            "title": "All storefronts",
            "type": "boolean",
            "description": "Read every App Store storefront (about 175). Storefronts without reviews cost nothing.",
            "default": false
          },
          "maxReviewsPerCountry": {
            "title": "Max reviews per storefront",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Apple's feed holds the latest 500 reviews per storefront and sort order.",
            "default": 100
          },
          "sortBy": {
            "title": "Sort",
            "enum": [
              "mostrecent",
              "mosthelpful"
            ],
            "type": "string",
            "description": "Most recent or most helpful reviews first.",
            "default": "mostrecent"
          },
          "sinceDate": {
            "title": "Only reviews since",
            "type": "string",
            "description": "Keep only reviews posted on or after this date: YYYY-MM-DD, or a relative date such as \"7 days\" for scheduled runs. With \"Most recent\" the Actor stops reading a storefront once it reaches older reviews. Leave empty for all reviews."
          },
          "includeAuthorNames": {
            "title": "Include reviewer nicknames",
            "type": "boolean",
            "description": "Off by default. Reviewer nicknames can identify people (personal data under GDPR); turn on only if you have a lawful reason to process them.",
            "default": false
          },
          "translateTo": {
            "title": "Translate into (optional, needs Anthropic key)",
            "type": "string",
            "description": "Language name or code to translate titles and texts into, e.g. English. Leave empty for no translation."
          },
          "classifyTopics": {
            "title": "Tag topics and sentiment (needs Anthropic key)",
            "type": "boolean",
            "description": "Tag each review with 1-3 topic labels and a sentiment, and save a topic summary (count, average rating, countries) to the key-value store as TOPICS.",
            "default": false
          },
          "anthropicApiKey": {
            "title": "Anthropic API key (optional)",
            "type": "string",
            "description": "Only needed for translation or topics. Claude usage is billed to your Anthropic account."
          },
          "model": {
            "title": "Claude model",
            "type": "string",
            "description": "Model ID used for translation and topics.",
            "default": "claude-haiku-5-5"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}