{
  "openapi": "3.0.1",
  "info": {
    "title": "Steam Reviews Scraper — reviews, playtime, tags, histogram",
    "description": "Every Steam review with playtime at review, helpful/funny votes, purchase type, free-copy, refund, early-access and Steam Deck flags, edits, developer replies, author stats, plus a full game record: price, genres, community tags, review score, monthly histogram. No key, no login.",
    "version": "0.1",
    "x-build-id": "MY9rRmdBcpIDhJys5"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/scraper0917~steam-reviews-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-scraper0917-steam-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/scraper0917~steam-reviews-scraper/runs": {
      "post": {
        "operationId": "runs-sync-scraper0917-steam-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/scraper0917~steam-reviews-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-scraper0917-steam-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": {
          "games": {
            "title": "Games",
            "type": "array",
            "description": "Steam app IDs, store URLs, or game names (names are resolved through Steam search). One per line.",
            "items": {
              "type": "string"
            }
          },
          "maxReviewsPerGame": {
            "title": "Max reviews per game",
            "minimum": 0,
            "type": "integer",
            "description": "0 = every review Steam will page through (can be millions for big titles).",
            "default": 500
          },
          "language": {
            "title": "Language",
            "type": "string",
            "description": "`all`, or a Steam language code such as `english`, `schinese`, `russian`, `german`, `brazilian`, `japanese`, `koreana`, `spanish`, `french`. Comma-separate several: `english,german`.",
            "default": "all"
          },
          "reviewType": {
            "title": "Review type",
            "enum": [
              "all",
              "positive",
              "negative"
            ],
            "type": "string",
            "description": "Filter by thumbs up / thumbs down.",
            "default": "all"
          },
          "purchaseType": {
            "title": "Purchase type",
            "enum": [
              "all",
              "steam",
              "non_steam_purchase"
            ],
            "type": "string",
            "description": "Filter by how the reviewer obtained the game.",
            "default": "all"
          },
          "sort": {
            "title": "Sort",
            "enum": [
              "recent",
              "updated",
              "all"
            ],
            "type": "string",
            "description": "`recent` and `updated` walk chronologically, so date windows stop early and cost nothing extra. `all` is Steam's helpfulness order.",
            "default": "recent"
          },
          "sinceDate": {
            "title": "Since date",
            "type": "string",
            "description": "Only reviews created (or updated, with sort=updated) on/after this date. Use on a schedule to fetch only new reviews."
          },
          "untilDate": {
            "title": "Until date",
            "type": "string",
            "description": "Only reviews on/before this date."
          },
          "minPlaytimeHours": {
            "title": "Min playtime at review (hours)",
            "minimum": 0,
            "type": "integer",
            "description": "Drop reviews written with less playtime than this.",
            "default": 0
          },
          "minHelpfulVotes": {
            "title": "Min helpful votes",
            "minimum": 0,
            "type": "integer",
            "description": "Drop reviews with fewer helpful votes.",
            "default": 0
          },
          "includeGameDetails": {
            "title": "Include game record",
            "type": "boolean",
            "description": "Emit one `game` item per title: price, release date, developers, genres, categories, platforms, Metacritic, languages, achievements, DLC count, review score bucket and totals.",
            "default": true
          },
          "includeTags": {
            "title": "Include community tags",
            "type": "boolean",
            "description": "Add user-voted tags with vote counts, plus Steam Deck compatibility, to the game record (one extra store-page request).",
            "default": true
          },
          "includeHistogram": {
            "title": "Include review histogram",
            "type": "boolean",
            "description": "Add monthly positive/negative review counts over the game's lifetime and recent weeks to the game record.",
            "default": true
          },
          "includeSteamSpy": {
            "title": "Include SteamSpy estimates",
            "type": "boolean",
            "description": "Add owner estimates, average/median playtime and concurrent users from SteamSpy (third-party estimates).",
            "default": false
          },
          "flattenGameInfo": {
            "title": "Copy game info onto each review",
            "type": "boolean",
            "description": "Adds release date, price, genres, top tags, and review score to every review row so a single table is analysis-ready.",
            "default": true
          },
          "includeAuthor": {
            "title": "Include author stats",
            "type": "boolean",
            "description": "Reviewer Steam ID, name, avatar, games owned, reviews written, last played.",
            "default": true
          },
          "countryCode": {
            "title": "Store country",
            "type": "string",
            "description": "Two-letter country for prices (`us`, `gb`, `de`, `br`, …).",
            "default": "us"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}