{
  "openapi": "3.0.1",
  "info": {
    "title": "App Store + Google Play Reviews Scraper",
    "description": "Scrape App Store and Google Play reviews in one run: rating, title, text, date, app version, reviewer, thumbs-up, developer replies, plus a free app summary row. App URLs, IDs or search terms; star, date and reply filters. Pay only for reviews returned.",
    "version": "0.1",
    "x-build-id": "Rx2I5iCYhvH0C8UPa"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/blond_terrarium~app-store-google-play-reviews-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-blond_terrarium-app-store-google-play-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/blond_terrarium~app-store-google-play-reviews-scraper/runs": {
      "post": {
        "operationId": "runs-sync-blond_terrarium-app-store-google-play-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/blond_terrarium~app-store-google-play-reviews-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-blond_terrarium-app-store-google-play-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": {
          "apps": {
            "title": "Apps",
            "type": "array",
            "description": "One per line: App Store URLs (https://apps.apple.com/us/app/spotify-music-and-podcasts/id324684580), Apple IDs (324684580 or id324684580), Google Play URLs (https://play.google.com/store/apps/details?id=com.spotify.music) or Android package names (com.spotify.music). Mix both stores freely. Duplicates are skipped.",
            "items": {
              "type": "string"
            }
          },
          "searchTerms": {
            "title": "Search terms (optional)",
            "type": "array",
            "description": "Find apps by name or keyword, e.g. 'habit tracker'. The top results per term are scraped like any other app.",
            "items": {
              "type": "string"
            }
          },
          "searchStores": {
            "title": "Search in",
            "enum": [
              "both",
              "appStore",
              "googlePlay"
            ],
            "type": "string",
            "description": "Which store(s) search terms run against.",
            "default": "both"
          },
          "searchResultsPerTerm": {
            "title": "Apps per search term (per store)",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "How many top search results to scrape for each term in each store.",
            "default": 3
          },
          "countries": {
            "title": "Countries",
            "type": "array",
            "description": "Two-letter country codes (us, gb, de, jp...). App Store reviews are per country, so each country is a separate review feed. Google Play uses the first country as the storefront; its reviews are grouped by language (below) more than by country.",
            "default": [
              "us"
            ],
            "items": {
              "type": "string"
            }
          },
          "language": {
            "title": "Language (Google Play)",
            "type": "string",
            "description": "Google Play review language, e.g. en, de, ja, pt-BR. App Store reviews come in whatever language each reviewer wrote.",
            "default": "en"
          },
          "sort": {
            "title": "Sort",
            "enum": [
              "newest",
              "mostRelevant"
            ],
            "type": "string",
            "description": "Order reviews are fetched in. Newest is best with a date filter (paging stops as soon as reviews get older than it).",
            "default": "newest"
          },
          "stars": {
            "title": "Only these star ratings",
            "type": "array",
            "description": "Leave empty for all ratings. Filtered-out reviews are not charged. On Google Play the filter runs server-side, so deep 1-star pulls are fast.",
            "items": {
              "type": "string",
              "enum": [
                "1",
                "2",
                "3",
                "4",
                "5"
              ],
              "enumTitles": [
                "1 star",
                "2 stars",
                "3 stars",
                "4 stars",
                "5 stars"
              ]
            }
          },
          "sinceDate": {
            "title": "Only reviews since",
            "type": "string",
            "description": "Absolute (2026-01-01) or relative (30 days, 2 weeks, 6 months, 1 year). Older reviews are skipped and not charged."
          },
          "maxReviewsPerApp": {
            "title": "Max reviews per app",
            "minimum": 0,
            "type": "integer",
            "description": "Stop each app after this many reviews (across all its countries and star filters). 0 = no limit. Apple's public feed tops out at about 500 per country per sort (about 1,000 with both sorts); Google Play goes much deeper.",
            "default": 500
          },
          "onlyWithReply": {
            "title": "Only reviews with a developer reply",
            "type": "boolean",
            "description": "Keep only reviews the developer answered. Google Play only; Apple's feed doesn't include replies, so App Store apps get a free REPLIES_NOT_AVAILABLE row instead.",
            "default": false
          },
          "appleUseBothSorts": {
            "title": "App Store: combine both sorts for more reviews",
            "type": "boolean",
            "description": "When the first App Store feed is full (500), also read the other sort order and merge, deduplicated, for up to about 1,000 reviews per country.",
            "default": true
          },
          "includeAppSummary": {
            "title": "Add a free app summary row",
            "type": "boolean",
            "description": "One free row per app (rowType = app): name, developer, average rating, rating count, star histogram (Play), installs (Play), price, genre, version, release and update dates, store URL.",
            "default": true
          },
          "includeFailedRows": {
            "title": "Add free rows for failed inputs",
            "type": "boolean",
            "description": "Invalid inputs, apps not found, blocked or rate-limited requests and apps with no matching reviews each get one free row (rowType = error) with the reason.",
            "default": true
          },
          "maxChargedReviews": {
            "title": "Max reviews in total (cost cap)",
            "minimum": 0,
            "type": "integer",
            "description": "Stop the whole run after this many charged reviews. 0 = no limit (the run's max total charge setting still applies).",
            "default": 0
          },
          "maxConcurrency": {
            "title": "Apps in parallel",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "How many apps are scraped at the same time.",
            "default": 3
          },
          "requestDelayMs": {
            "title": "Delay between requests to the same store (ms)",
            "minimum": 0,
            "maximum": 10000,
            "type": "integer",
            "description": "Polite pacing per store host. Rate-limit responses back off automatically.",
            "default": 400
          },
          "requestTimeoutSecs": {
            "title": "Request timeout (seconds)",
            "minimum": 5,
            "maximum": 120,
            "type": "integer",
            "description": "Maximum seconds to wait for each HTTP request before it is retried or marked failed.",
            "default": 30
          },
          "proxyConfiguration": {
            "title": "Proxy (optional)",
            "type": "object",
            "description": "Not needed for normal use. Datacenter proxy can spread very large runs; residential groups are ignored.",
            "default": {
              "useApifyProxy": false
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}