{
  "openapi": "3.0.1",
  "info": {
    "title": "App Review Radar - Apple App Store & Podcast Review Monitor",
    "description": "Monitor Apple App Store apps & Apple Podcasts shows for new customer reviews, correlate complaints to app versions, tag sentiment themes, and get a 'what changed since last run' delta digest. Pure HTTP on Apple's official zero-auth APIs — no browser, no proxies, cheap and reliable.",
    "version": "1.0",
    "x-build-id": "vqvpfrB2mwudsU9gR"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/constant_quadruped~app-review-radar/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-constant_quadruped-app-review-radar",
        "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/constant_quadruped~app-review-radar/runs": {
      "post": {
        "operationId": "runs-sync-constant_quadruped-app-review-radar",
        "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/constant_quadruped~app-review-radar/run-sync": {
      "post": {
        "operationId": "run-sync-constant_quadruped-app-review-radar",
        "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": {
          "appIds": {
            "title": "App Store app IDs or URLs",
            "type": "array",
            "description": "Apple App Store numeric IDs (e.g. 389801252) or full app URLs (e.g. https://apps.apple.com/us/app/instagram/id389801252) to monitor.",
            "items": {
              "type": "string"
            }
          },
          "podcastIds": {
            "title": "Apple Podcasts show IDs or URLs (optional)",
            "type": "array",
            "description": "Apple Podcasts show IDs or URLs — monitored through the same review pipeline.",
            "items": {
              "type": "string"
            }
          },
          "searchTerms": {
            "title": "Search terms (optional)",
            "type": "array",
            "description": "App/podcast names to resolve to IDs automatically via the iTunes Search API when you don't have the numeric ID.",
            "items": {
              "type": "string"
            }
          },
          "competitorIds": {
            "title": "Competitor app IDs/URLs (optional)",
            "type": "array",
            "description": "Competitor apps to include in the same run for side-by-side rating and complaint-theme comparison.",
            "items": {
              "type": "string"
            }
          },
          "countries": {
            "title": "Storefront countries",
            "type": "array",
            "description": "2-letter storefront codes. Reviews are per-country, so this controls coverage. Default: us.",
            "default": [
              "us"
            ],
            "items": {
              "type": "string"
            }
          },
          "maxPages": {
            "title": "Max review pages per app per country (1-10)",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Each page is up to 50 newest reviews; 10 pages ≈ 500 newest reviews.",
            "default": 10
          },
          "minRating": {
            "title": "Minimum star rating filter (optional)",
            "minimum": 1,
            "maximum": 5,
            "type": "integer",
            "description": "Only emit reviews with rating >= this value."
          },
          "maxRating": {
            "title": "Maximum star rating filter (optional)",
            "minimum": 1,
            "maximum": 5,
            "type": "integer",
            "description": "Only emit reviews with rating <= this value. Set min=1,max=2 for support triage of negative reviews."
          },
          "sinceLastRun": {
            "title": "Only new reviews/changes since last run",
            "type": "boolean",
            "description": "When true, emits only reviews and changes new since the previous run (using the key-value store state). Turn off for a full snapshot every run.",
            "default": true
          },
          "themeKeywords": {
            "title": "Custom theme keyword groups (optional)",
            "type": "object",
            "description": "Map of theme -> array of keywords to tag in review text. Defaults cover crash/login/price/ads/bug/performance/feature_request."
          },
          "includeAggregates": {
            "title": "Include rating/version snapshot (iTunes Lookup)",
            "type": "boolean",
            "description": "Also pull Apple's official aggregate rating, rating count, current version and release date per app.",
            "default": true
          },
          "negativeSpikeThreshold": {
            "title": "Negative-spike threshold",
            "minimum": 0,
            "maximum": 1,
            "type": "number",
            "description": "Flag isNegativeSpike when the 1-2 star share jumps by at least this fraction vs last run (0-1).",
            "default": 0.15
          }
        }
      },
      "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}