{
  "openapi": "3.0.1",
  "info": {
    "title": "App Review Analyzer: AI Pain Points & Insights",
    "description": "Analyze App Store, Google Play reviews and YouTube comments with AI. Get pain points, user questions, objections and exact wording, each linked to the original review.",
    "version": "0.0",
    "x-build-id": "BaG4BHNViodg8wToz"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/jaclfruit_296~audience-radar-actor/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-jaclfruit_296-audience-radar-actor",
        "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/jaclfruit_296~audience-radar-actor/runs": {
      "post": {
        "operationId": "runs-sync-jaclfruit_296-audience-radar-actor",
        "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/jaclfruit_296~audience-radar-actor/run-sync": {
      "post": {
        "operationId": "run-sync-jaclfruit_296-audience-radar-actor",
        "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": {
          "topic": {
            "title": "Topic",
            "type": "string",
            "description": "What your audience talks about, for example \"sleep meditation\" or \"habit tracker\". Used to search apps and videos. Leave empty only when you analyse your own dataset."
          },
          "sources": {
            "title": "Sources",
            "type": "array",
            "description": "Where to collect reviews and comments. YouTube needs a YouTube Data API key below.",
            "items": {
              "type": "string",
              "enum": [
                "app_store",
                "google_play",
                "youtube"
              ],
              "enumTitles": [
                "App Store reviews",
                "Google Play reviews",
                "YouTube comments"
              ]
            },
            "default": [
              "app_store",
              "google_play"
            ]
          },
          "country": {
            "title": "Country",
            "type": "string",
            "description": "Two-letter country code for store search and reviews, for example us, gb, de.",
            "default": "us"
          },
          "storeLanguage": {
            "title": "Google Play review language",
            "type": "string",
            "description": "Two-letter language code for Google Play reviews, for example en, de, fr.",
            "default": "en"
          },
          "outputLanguage": {
            "title": "Report language",
            "type": "string",
            "description": "Language of the insights and strategy. The audience's exact words are always kept as written.",
            "default": "English"
          },
          "maxAppsPerSource": {
            "title": "Apps or videos per source",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "How many top apps (or videos) to read for each source.",
            "default": 5
          },
          "reviewsPerApp": {
            "title": "Reviews per app",
            "minimum": 10,
            "maximum": 500,
            "type": "integer",
            "description": "Reviews (or comments) to collect per app or video. The App Store feed returns about 500 at most.",
            "default": 50
          },
          "maxReviewsPerPlatform": {
            "title": "Reviews analysed per platform",
            "minimum": 10,
            "maximum": 1000,
            "type": "integer",
            "description": "How many reviews per platform are sent to the AI. Critical (1-3 star) reviews go first. This is what you pay for per review.",
            "default": 120
          },
          "maxInsightsPerType": {
            "title": "Insights per type and platform",
            "minimum": 1,
            "maximum": 15,
            "type": "integer",
            "description": "Maximum pain points, questions, objections and phrases kept for each platform.",
            "default": 5
          },
          "includeStrategy": {
            "title": "Write a strategy recommendation",
            "type": "boolean",
            "description": "Adds an AI strategy report (saved as STRATEGY.html in the key-value store).",
            "default": true
          },
          "datasetId": {
            "title": "Analyse your own dataset (optional)",
            "type": "string",
            "description": "ID of an Apify dataset with reviews or comments, for example the output of another scraper. When set, the Actor skips collection and only analyses this data."
          },
          "datasetTextField": {
            "title": "Text field name (optional)",
            "type": "string",
            "description": "Field that holds the review text. Leave empty to detect it automatically (text, review, content, body, comment…)."
          },
          "maxDatasetItems": {
            "title": "Max dataset rows to read",
            "minimum": 1,
            "maximum": 20000,
            "type": "integer",
            "description": "Maximum number of rows read from your dataset. Only used when a dataset ID is set.",
            "default": 1000
          },
          "youtubeApiKey": {
            "title": "YouTube Data API key",
            "type": "string",
            "description": "Needed only for YouTube comments. Create one free in Google Cloud Console."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}