{
  "openapi": "3.0.1",
  "info": {
    "title": "App Store Reviews Scraper | No Personal Data",
    "description": "Scrape Apple App Store reviews, ratings and app metadata. Review text, titles, scores, dates and app versions. No author names or profile links — GDPR-safe output. Apple caps its public feed at 500 reviews per app per country; collect across storefronts for more.",
    "version": "0.1",
    "x-build-id": "11cKGSKRY5Ng0hGB8"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/datamill.top~app-store-reviews-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-datamill.top-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/datamill.top~app-store-reviews-scraper/runs": {
      "post": {
        "operationId": "runs-sync-datamill.top-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/datamill.top~app-store-reviews-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-datamill.top-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",
            "type": "array",
            "description": "Numeric App Store IDs, bundle IDs, or full app page URLs. Find the ID in the App Store URL after /id, e.g. 310633997 in apps.apple.com/us/app/whatsapp-messenger/id310633997",
            "items": {
              "type": "string"
            }
          },
          "searchQuery": {
            "title": "Search query (optional)",
            "type": "string",
            "description": "Instead of listing app IDs, search the store. Results are added to App IDs above."
          },
          "maxAppsFromSearch": {
            "title": "Max apps from search",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "How many apps to take from the search results.",
            "default": 10
          },
          "scrapeAppDetails": {
            "title": "Scrape app details",
            "type": "boolean",
            "description": "Title, developer, price, rating, version, category, release date, screenshots.",
            "default": true
          },
          "scrapeReviews": {
            "title": "Scrape reviews",
            "type": "boolean",
            "description": "Review title, text, score, date and app version. Author name and profile link are never returned.",
            "default": true
          },
          "maxReviewsPerApp": {
            "title": "Max reviews per app per country",
            "minimum": 0,
            "maximum": 500,
            "type": "integer",
            "description": "Apple's public review feed is capped at 500 reviews per app per country storefront. Higher values are clamped to 500. Set 0 to skip reviews entirely. Add more countries to collect more.",
            "default": 200
          },
          "reviewsSort": {
            "title": "Sort reviews by",
            "enum": [
              "newest",
              "helpfulness"
            ],
            "type": "string",
            "description": "Newest is the usual choice for monitoring. Apple's feed offers no sort by rating — use the score filter below instead.",
            "default": "newest"
          },
          "filterByScore": {
            "title": "Only reviews with this score",
            "minimum": 1,
            "maximum": 5,
            "type": "integer",
            "description": "Leave empty for all. Apple has no server-side score filter, so this is applied after fetching: you get the 1-star reviews out of the 500 reachable ones, not 500 one-star reviews."
          },
          "reviewsSince": {
            "title": "Only reviews after this date",
            "type": "string",
            "description": "Format YYYY-MM-DD. Works with Newest first. Useful for daily monitoring."
          },
          "annotateAuthorCollisions": {
            "title": "Flag duplicate author names",
            "type": "boolean",
            "description": "Adds authorHashCount, authorHashApps and authorHashCountries to each review. One Apple ID can leave only one review per app, so a repeated hash within a single app means different people with the same nickname. A repeat across apps may mean the same reviewer. A repeat across storefronts usually means different people.",
            "default": true
          },
          "countries": {
            "title": "Country storefronts",
            "type": "array",
            "description": "Two-letter codes, e.g. us, gb, de. Each storefront has its own reviews, prices and its own 500-review cap, so adding countries is the way to get more reviews for one app. Defaults to us.",
            "items": {
              "type": "string"
            }
          },
          "country": {
            "title": "Country (single, optional)",
            "type": "string",
            "description": "Shortcut for one storefront, kept for input compatibility with our Google Play actor. Ignored when Country storefronts above is filled in."
          },
          "includeDescription": {
            "title": "Include description and screenshots",
            "type": "boolean",
            "description": "Turn off for a lighter dataset when you only need numbers.",
            "default": true
          },
          "maxConcurrency": {
            "title": "Parallel requests",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Higher is faster but more likely to be rate limited by Apple.",
            "default": 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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}