{
  "openapi": "3.0.1",
  "info": {
    "title": "App Store Scraper: Reviews, Ratings, Charts & Search",
    "description": "Scrape Apple App Store reviews, star ratings and full app details in every country and language. Search apps by keyword, pull Top Free and Top Paid charts, filter reviews by stars, date or keywords. Official Apple data sources, no login.",
    "version": "2.0",
    "x-build-id": "TlinVE72wbLzIe6Mo"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/datafetch-lab~app-store-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-datafetch-lab-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/datafetch-lab~app-store-scraper/runs": {
      "post": {
        "operationId": "runs-sync-datafetch-lab-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/datafetch-lab~app-store-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-datafetch-lab-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",
        "properties": {
          "apps": {
            "title": "Apps",
            "type": "array",
            "description": "App Store links (https://apps.apple.com/us/app/whatsapp-messenger/id310633997), numeric app IDs (310633997), bundle IDs (net.whatsapp.WhatsApp) or app names (WhatsApp).",
            "items": {
              "type": "string"
            }
          },
          "searchTerms": {
            "title": "Search the App Store (optional)",
            "type": "array",
            "description": "Keywords to search, e.g. \"budget planner\". Each term returns up to \"Max search results\" apps per country, with their search position.",
            "items": {
              "type": "string"
            }
          },
          "charts": {
            "title": "Top charts (optional)",
            "type": "array",
            "description": "Add Apple's official Top Free and/or Top Paid iPhone app charts for each country, with chart position.",
            "items": {
              "type": "string",
              "enum": [
                "top-free",
                "top-paid"
              ],
              "enumTitles": [
                "Top Free apps",
                "Top Paid apps"
              ]
            }
          },
          "countries": {
            "title": "Countries",
            "type": "array",
            "description": "Two-letter App Store country codes: us, gb, ca, au, fr, de, es, it, br, mx, jp, kr, in, sa, ae, eg, ma... Every country store has its own ratings and its own reviews, in its own language.",
            "default": [
              "us"
            ],
            "items": {
              "type": "string"
            }
          },
          "includeAppDetails": {
            "title": "Save app details",
            "type": "boolean",
            "description": "One record per app and country: average rating, number of ratings, version, release notes, price, genre, size, languages, developer, icon and screenshots.",
            "default": true
          },
          "includeReviews": {
            "title": "Save reviews",
            "type": "boolean",
            "description": "Save written customer reviews for every app found.",
            "default": true
          },
          "maxReviewsPerCountry": {
            "title": "Max reviews per app per country",
            "minimum": 0,
            "maximum": 500,
            "type": "integer",
            "description": "Apple publishes the latest 500 reviews per app in each country. Add more countries to get more reviews.",
            "default": 100
          },
          "sortReviewsBy": {
            "title": "Review order",
            "enum": [
              "mostRecent",
              "mostHelpful"
            ],
            "type": "string",
            "description": "Which reviews Apple returns first.",
            "default": "mostRecent"
          },
          "minRating": {
            "title": "Minimum stars",
            "minimum": 1,
            "maximum": 5,
            "type": "integer",
            "description": "Keep reviews with at least this many stars.",
            "default": 1
          },
          "maxRating": {
            "title": "Maximum stars",
            "minimum": 1,
            "maximum": 5,
            "type": "integer",
            "description": "Keep reviews with at most this many stars. Use 2 to collect only complaints.",
            "default": 5
          },
          "reviewKeywords": {
            "title": "Review keywords (optional)",
            "type": "array",
            "description": "Keep only reviews whose title or text contains one of these words, in any language (e.g. crash, login, subscription).",
            "items": {
              "type": "string"
            }
          },
          "reviewsSince": {
            "title": "Reviews since (optional)",
            "type": "string",
            "description": "Keep only reviews written on or after this date."
          },
          "maxSearchResults": {
            "title": "Max search results per term",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "How many apps to take from each search, per country (Apple allows up to 200).",
            "default": 25
          },
          "chartSize": {
            "title": "Chart size",
            "enum": [
              "10",
              "25",
              "50",
              "100"
            ],
            "type": "string",
            "description": "How many apps to take from each chart, per country.",
            "default": "25"
          },
          "reviewInsights": {
            "title": "Review insights report per app",
            "type": "boolean",
            "description": "Adds one summary record per app and country: average rating, star distribution, rating by app version, share of negative reviews, and the words users repeat most in complaints and in praise. Costs $0.005 per report.",
            "default": false
          },
          "onlyNewReviews": {
            "title": "Only reviews not seen in previous runs",
            "type": "boolean",
            "description": "Remembers the reviews already delivered and returns (and charges) only new ones. Combine with a daily Schedule to monitor apps.",
            "default": false
          },
          "monitorName": {
            "title": "Monitor name",
            "type": "string",
            "description": "Keeps a separate memory per monitor, for example \"my-app\" and \"competitors\".",
            "default": "default"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}