{
  "openapi": "3.0.1",
  "info": {
    "title": "Steam Reviews Scraper + AI Analyzer",
    "description": "Download Steam game reviews with playtime, Steam Deck and Early Access data, and optionally get an AI report per game: top complaints with real quotes, feature requests, newcomers vs. veterans, and recommended actions.",
    "version": "0.1",
    "x-build-id": "Ct96dFqNmkcdLqAAy"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/pedrofs85~steam-reviews-analyzer/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-pedrofs85-steam-reviews-analyzer",
        "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/pedrofs85~steam-reviews-analyzer/runs": {
      "post": {
        "operationId": "runs-sync-pedrofs85-steam-reviews-analyzer",
        "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/pedrofs85~steam-reviews-analyzer/run-sync": {
      "post": {
        "operationId": "run-sync-pedrofs85-steam-reviews-analyzer",
        "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",
        "required": [
          "games"
        ],
        "properties": {
          "games": {
            "title": "Games",
            "type": "array",
            "description": "One per line. Accepts a Steam store URL (`https://store.steampowered.com/app/1145360/Hades/`), an app ID (`1145360` or `steam:1145360`), or a game name (`Hades`), which is searched on Steam and the best match is used.",
            "items": {
              "type": "string"
            }
          },
          "maxReviewsPerGame": {
            "title": "Max reviews per game",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Maximum number of reviews to download for each game. You pay per review saved.",
            "default": 200
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "recent",
              "helpful",
              "updated"
            ],
            "type": "string",
            "description": "Which reviews come first. 'Most recent' is best for monitoring; 'Most helpful' gives the reviews players found most useful.",
            "default": "recent"
          },
          "reviewType": {
            "title": "Review type",
            "enum": [
              "all",
              "positive",
              "negative"
            ],
            "type": "string",
            "description": "All reviews, or only positive (recommended) or negative (not recommended) ones.",
            "default": "all"
          },
          "languages": {
            "title": "Languages",
            "type": "array",
            "description": "Steam language names, e.g. `english`, `spanish`, `german`, `french`, `schinese`, `russian`, `brazilian`. Use `all` for every language.",
            "default": [
              "all"
            ],
            "items": {
              "type": "string"
            }
          },
          "reviewsFromLastDays": {
            "title": "Only reviews from the last N days",
            "minimum": 1,
            "type": "integer",
            "description": "Leave empty for no date limit. Great for weekly or monthly monitoring."
          },
          "minPlaytimeHours": {
            "title": "Minimum playtime (hours)",
            "minimum": 1,
            "type": "integer",
            "description": "Only reviews written by players with at least this many hours in the game when they reviewed it."
          },
          "includeAuthorIds": {
            "title": "Include reviewer Steam IDs",
            "type": "boolean",
            "description": "Reviewer Steam IDs (and review links that contain them) are personal data. Off by default; turn on only if you have a legitimate reason to store them.",
            "default": false
          },
          "analyzeReviews": {
            "title": "Create an AI analysis report per game",
            "type": "boolean",
            "description": "Uses Claude (Anthropic) to turn each game's reviews into a report: top complaints with real quotes, feature requests, what players love, how newcomers and veterans differ, positive share by playtime, and recommended actions. Requires your Anthropic API key below.",
            "default": false
          },
          "anthropicApiKey": {
            "title": "Anthropic API key",
            "type": "string",
            "description": "Your key from platform.claude.com (starts with `sk-ant-`). Stored encrypted and used only to create your reports."
          },
          "reportLanguage": {
            "title": "Report language",
            "enum": [
              "English",
              "Spanish",
              "German",
              "French",
              "Portuguese",
              "Italian",
              "Japanese",
              "Chinese",
              "Russian",
              "Polish"
            ],
            "type": "string",
            "description": "Language of the AI report text. Quotes stay in their original language.",
            "default": "English"
          },
          "maxReviewsToAnalyze": {
            "title": "Max reviews to analyze per game",
            "minimum": 20,
            "maximum": 1500,
            "type": "integer",
            "description": "The first N downloaded reviews of each game are sent to the AI. More reviews = better coverage and slightly higher Anthropic cost.",
            "default": 500
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}