{
  "openapi": "3.0.1",
  "info": {
    "title": "App Store Reviews & App Details Scraper",
    "description": "Collect Apple App Store reviews and app details with rating/date/version filters, new-review snapshots and spending limits. Recent public feed coverage; try ten reviews.",
    "version": "0.3",
    "x-build-id": "AE66novXoAhJeayQw"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/solidscrape~appstore-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-solidscrape-appstore-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/solidscrape~appstore-scraper/runs": {
      "post": {
        "operationId": "runs-sync-solidscrape-appstore-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/solidscrape~appstore-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-solidscrape-appstore-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": {
          "searchTerms": {
            "title": "Search terms",
            "type": "array",
            "description": "Keywords to search on the App Store, e.g. \"fitness tracker\", \"habit\".",
            "items": {
              "type": "string"
            }
          },
          "appIds": {
            "title": "App IDs (track IDs)",
            "type": "array",
            "description": "Numeric App Store IDs to scrape directly, e.g. \"389801252\" (the id in apps.apple.com/app/id389801252).",
            "items": {
              "type": "string"
            }
          },
          "bundleIds": {
            "title": "Bundle IDs",
            "type": "array",
            "description": "App bundle identifiers to scrape directly, e.g. \"com.burbn.instagram\".",
            "items": {
              "type": "string"
            }
          },
          "country": {
            "title": "Country",
            "type": "string",
            "description": "Two-letter App Store storefront country code (affects availability, price, language).",
            "default": "us"
          },
          "maxAppsPerSearch": {
            "title": "Max apps per search",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "Maximum apps to return per search term (Apple allows up to 200)."
          },
          "maxItems": {
            "title": "Maximum apps",
            "minimum": 0,
            "maximum": 200,
            "type": "integer",
            "description": "Maximum apps selected across searches and IDs. For compatibility, 0 selects the safe maximum of 200; maxResults still caps all output.",
            "default": 100
          },
          "scrapeReviews": {
            "title": "Scrape reviews",
            "type": "boolean",
            "description": "If enabled, also scrape reviews for every app found (reviewer, rating, title, text, version).",
            "default": false
          },
          "maxReviewsPerApp": {
            "title": "Max reviews per app",
            "minimum": 0,
            "maximum": 500,
            "type": "integer",
            "description": "Maximum candidate reviews examined per app, before duplicate/history/rating/version/date filters. Fewer rows may be returned. Apple recent-feed coverage is limited.",
            "default": 100
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Standard Apify datacenter proxies are the default. Optional RESIDENTIAL operations cost more in the new plan. Custom proxy URLs/other paid groups are rejected. Use direct access by setting useApifyProxy=false.",
            "default": {
              "useApifyProxy": true
            }
          },
          "reviewsOnly": {
            "title": "Return reviews only",
            "type": "boolean",
            "description": "Requires scrapeReviews=true. For direct app IDs, skips app lookup and app-record charges. Existing app output remains the default for API inputs that omit this field.",
            "default": false
          },
          "maxResults": {
            "title": "Maximum total output rows",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Hard combined cap across apps and reviews. Work stops before another row would exceed the cap.",
            "default": 1000
          },
          "maxRequests": {
            "title": "Maximum source operations",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "Bound source search, lookup/detail and review-page operations, including failed attempts. Standard and optional residential operations have different fees in the new pricing plan.",
            "default": 50
          },
          "maxSpendUsd": {
            "title": "Maximum event charges in USD",
            "minimum": 0.001,
            "maximum": 10,
            "type": "number",
            "description": "The lower of this amount and the Apify run charge cap applies. Includes start, source operations and returned rows under the active pricing plan.",
            "default": 0.25
          },
          "maxRunSeconds": {
            "title": "Maximum processing time",
            "minimum": 10,
            "maximum": 300,
            "type": "integer",
            "description": "Processing stops at this time limit; already saved rows remain available. Source operations have a 15-second timeout and no automatic retries.",
            "default": 120
          },
          "minScore": {
            "title": "Minimum review rating",
            "minimum": 1,
            "maximum": 5,
            "type": "integer",
            "description": "Include reviews with this star rating or higher (1 to 5).",
            "default": 1
          },
          "maxScore": {
            "title": "Maximum review rating",
            "minimum": 1,
            "maximum": 5,
            "type": "integer",
            "description": "Include reviews with this star rating or lower (1 to 5).",
            "default": 5
          },
          "appVersions": {
            "title": "Review app versions",
            "type": "array",
            "description": "Optional exact app-version filter. Only reviews exposing a matching version are returned.",
            "items": {
              "type": "string"
            }
          },
          "reviewSince": {
            "title": "Reviews since ISO date",
            "type": "string",
            "description": "Optional inclusive UTC date, for example 2026-10-01. Reviews with missing/unparseable dates are excluded when set."
          },
          "previousSnapshotStoreId": {
            "title": "Previous run snapshot store ID",
            "type": "string",
            "description": "Optional previous run key-value store ID containing SNAPSHOT. Keep platform/country/language and app/search selection the same. Source operations remain charged even if no new reviews are found."
          },
          "onlyNewReviews": {
            "title": "Exclude reviews seen in the previous snapshot",
            "type": "boolean",
            "description": "With a compatible previous snapshot, old review IDs are omitted and not charged as review rows. Each source scan remains billable. No lifetime completeness claim.",
            "default": true
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}