{
  "openapi": "3.0.1",
  "info": {
    "title": "App Store Official Feeds: Reviews, Charts and iOS Apps",
    "description": "Get App Store reviews, iOS app details, search results and top charts from Apple's official iTunes Search/Lookup API and public RSS feeds. No HTML scraping, no Apple key. 100 reviews = $0.10.",
    "version": "0.1",
    "x-build-id": "GTc0KcT1MXMPx9RfA"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/datatools-ai~app-store-official-feeds/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-datatools-ai-app-store-official-feeds",
        "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/datatools-ai~app-store-official-feeds/runs": {
      "post": {
        "operationId": "runs-sync-datatools-ai-app-store-official-feeds",
        "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/datatools-ai~app-store-official-feeds/run-sync": {
      "post": {
        "operationId": "run-sync-datatools-ai-app-store-official-feeds",
        "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": {
          "mode": {
            "title": "Mode",
            "enum": [
              "appDetails",
              "search",
              "topCharts",
              "reviews"
            ],
            "type": "string",
            "description": "What to fetch. appDetails: look up one or more apps (default; prefilled with WhatsApp). search: iTunes Search by searchTerm. topCharts: official top free/paid/grossing RSS. reviews: recent public customer reviews RSS for the given apps (up to ~500 most recent per country, not a full archive).",
            "default": "appDetails"
          },
          "country": {
            "title": "Country / storefront",
            "enum": [
              "us",
              "mx",
              "ca",
              "gb",
              "au",
              "nz",
              "de",
              "fr",
              "es",
              "it",
              "pt",
              "nl",
              "be",
              "at",
              "ch",
              "se",
              "no",
              "dk",
              "fi",
              "ie",
              "pl",
              "br",
              "ar",
              "cl",
              "co",
              "jp",
              "kr",
              "cn",
              "in",
              "id",
              "th",
              "sg",
              "my",
              "ph",
              "vn",
              "tw",
              "hk",
              "ae",
              "sa",
              "il",
              "tr",
              "za",
              "eg",
              "ru",
              "ua"
            ],
            "type": "string",
            "description": "Two-letter Apple storefront, e.g. us, mx, gb, es. Charts and reviews are country-specific.",
            "default": "us"
          },
          "apps": {
            "title": "Apps (IDs, bundle IDs or App Store URLs)",
            "type": "array",
            "description": "Used by appDetails and reviews. Each item can be a numeric iTunes ID ('310633997'), a bundle ID ('net.whatsapp.WhatsApp'), or an apps.apple.com URL. Example: [\"https://apps.apple.com/us/app/whatsapp-messenger/id310633997\"].",
            "items": {
              "type": "string"
            }
          },
          "searchTerm": {
            "title": "Search term",
            "type": "string",
            "description": "Required when mode is search. Example: 'photo editor'. Results come from Apple's official Search API (max 200)."
          },
          "searchLimit": {
            "title": "Search result limit",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "How many search results to return (Apple caps at 200).",
            "default": 25
          },
          "entity": {
            "title": "Search entity",
            "enum": [
              "software",
              "iPadSoftware",
              "macSoftware"
            ],
            "type": "string",
            "description": "Apple Search entity, usually software (iOS). Use iPadSoftware or macSoftware when you want those catalogs.",
            "default": "software"
          },
          "chartType": {
            "title": "Chart type",
            "enum": [
              "topFree",
              "topPaid",
              "topGrossing",
              "topFreeIpad",
              "topPaidIpad",
              "topGrossingIpad",
              "topMac",
              "topFreeMac",
              "topPaidMac",
              "topGrossingMac"
            ],
            "type": "string",
            "description": "Used when mode is topCharts: topFree, topPaid or topGrossing (iPhone), plus iPad/Mac variants as listed in the enum.",
            "default": "topFree"
          },
          "chartLimit": {
            "title": "Chart size",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "How many ranked apps to return (official RSS caps at 100).",
            "default": 25
          },
          "genreId": {
            "title": "Chart genre ID (optional)",
            "type": "string",
            "description": "Optional Apple genre ID to scope a chart, e.g. 6014 Games, 6005 Social Networking."
          },
          "maxReviews": {
            "title": "Max reviews",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Used when mode is reviews. Apple's public RSS is about 50 reviews per page, max 10 pages (~500 most recent in that country).",
            "default": 50
          },
          "includeReviewerName": {
            "title": "Include public reviewer name",
            "type": "boolean",
            "description": "If true, include the display name already shown on Apple's public review feed. Turn off if you do not need it.",
            "default": false
          },
          "generateAiSummary": {
            "title": "AI review summary",
            "type": "boolean",
            "description": "If true and mode is reviews, also produce one AI theme report per app (complaints, praise, actions) charged at $0.05. Language is set by 'language'.",
            "default": false
          },
          "language": {
            "title": "AI summary language",
            "enum": [
              "en",
              "es"
            ],
            "type": "string",
            "description": "Language of the optional AI review summary (en or es).",
            "default": "en"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}