{
  "openapi": "3.0.1",
  "info": {
    "title": "Steam Scraper: Games, Prices, Reviews, Player Counts",
    "description": "Scrape Steam games, prices in any country, discounts, user tags, review scores, full reviews and live player counts. Search, top sellers, specials, most played and new releases. Official public endpoints, no API key, no login.",
    "version": "1.0",
    "x-build-id": "aySoeMv6q6rvu3lWM"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/zhtech~steam-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-zhtech-steam-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/zhtech~steam-scraper/runs": {
      "post": {
        "operationId": "runs-sync-zhtech-steam-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/zhtech~steam-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-zhtech-steam-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": {
          "mode": {
            "title": "What to scrape",
            "enum": [
              "games",
              "reviews",
              "players"
            ],
            "type": "string",
            "description": "Games: one row per game with price, discount, release date, developers, publishers, genres, categories, user tags, Metacritic, review score, platforms and live player count. Reviews: full user reviews for every game (text, recommended or not, votes, playtime, language, dates). Players: a light row per game with the live number of players right now, ideal for scheduled tracking.",
            "default": "games"
          },
          "games": {
            "title": "Games (app IDs or URLs)",
            "type": "array",
            "description": "Steam app IDs (620) or links: store pages (https://store.steampowered.com/app/620/Portal_2/), community pages (https://steamcommunity.com/app/620) or SteamDB pages (https://steamdb.info/app/620/). Packages and bundles are not supported.",
            "items": {
              "type": "string"
            }
          },
          "searchTerms": {
            "title": "Search terms",
            "type": "array",
            "description": "Search the Steam store like the search box does, for example roguelike, cozy farming or a game name. The top results (up to \"Max games per search or list\") are scraped.",
            "items": {
              "type": "string"
            }
          },
          "storeLists": {
            "title": "Store lists",
            "type": "array",
            "description": "Ready made Steam lists. Top sellers and specials follow the country below. Most played is Steam's official chart of the 100 games with the highest daily peak of concurrent players.",
            "items": {
              "type": "string",
              "enum": [
                "topSellers",
                "globalTopSellers",
                "mostPlayed",
                "popularNew",
                "newReleases",
                "specials",
                "popularComingSoon",
                "comingSoon"
              ],
              "enumTitles": [
                "Top sellers (your country)",
                "Global top sellers",
                "Most played (official chart)",
                "Popular new releases",
                "Newest releases",
                "Specials (on sale)",
                "Popular upcoming",
                "Coming soon"
              ]
            }
          },
          "maxGamesPerSource": {
            "title": "Max games per search or list",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "How many games to take from each search term and each store list. Games you list by ID are always all included.",
            "default": 20
          },
          "onlyGames": {
            "title": "Search and lists: games only",
            "type": "boolean",
            "description": "Skip DLC, soundtracks, software, videos and hardware in search results and store lists. Turn off to include everything Steam sells. Does not affect games you list by ID.",
            "default": true
          },
          "country": {
            "title": "Country (prices and availability)",
            "type": "string",
            "description": "Two letter country code for the store region, for example us, gb, de, fr, br, jp, in, tr, ar. Prices, currency, discounts and top sellers follow this country.",
            "default": "us"
          },
          "extraPriceCountries": {
            "title": "Compare prices in more countries",
            "type": "array",
            "description": "Optional extra country codes. Each game row gets a pricesByCountry object with currency, regular price, sale price and discount per country, for regional pricing research. Costs one extra light request per 50 games per country.",
            "items": {
              "type": "string"
            }
          },
          "language": {
            "title": "Store language",
            "type": "string",
            "description": "Language for names, descriptions, genres and tags (Steam language code, for example english, german, french, spanish, latam, brazilian, russian, schinese, japanese, koreana).",
            "default": "english"
          },
          "includeDetails": {
            "title": "Full store details",
            "type": "boolean",
            "description": "Developers, publishers, genres, categories, Metacritic, release date, age rating, supported languages, screenshots and more from Steam's store API. Turn off for a faster, lighter run that uses only the search or list data (name, price, discount, release date, review score, platforms).",
            "default": true
          },
          "includeTags": {
            "title": "User tags",
            "type": "boolean",
            "description": "Community tags with vote counts (for example Souls-like, Open World, Co-op) from the public store page. One extra request per game.",
            "default": true
          },
          "includeReviewSummary": {
            "title": "Review score",
            "type": "boolean",
            "description": "Overall review score (for example Very Positive), positive and negative counts and percent positive, across all languages for Steam purchasers, like the store shows.",
            "default": true
          },
          "includePlayerCount": {
            "title": "Live player count",
            "type": "boolean",
            "description": "Number of people playing right now, from Steam's official player count API.",
            "default": true
          },
          "includeDescriptions": {
            "title": "Long description and system requirements",
            "type": "boolean",
            "description": "Adds the full About this game text, the original description HTML and minimum and recommended PC requirements. Makes rows much larger.",
            "default": false
          },
          "includeGameInfo": {
            "title": "Reviews mode: also add a game row",
            "type": "boolean",
            "description": "In Reviews mode, also save one game row per game (charged as a game). Review rows always carry appId and appName.",
            "default": false
          },
          "maxReviewsPerGame": {
            "title": "Max reviews per game",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum reviews saved per game. 0 means no limit (the scraper pages until Steam has no more matching reviews).",
            "default": 100
          },
          "reviewSort": {
            "title": "Review order",
            "type": "string",
            "description": "Recent: newest first (best for date windows and monitoring). Updated: recently edited first. Helpful: most helpful of all time. Funny: most voted funny.",
            "default": "recent"
          },
          "reviewLanguages": {
            "title": "Review languages",
            "type": "array",
            "description": "Only reviews written in these languages. Leave empty for all languages. Steam codes: english, german, french, spanish, latam, brazilian, russian, schinese, tchinese, japanese, koreana, polish, turkish and more. Common ISO codes like en, de, pt-BR also work.",
            "items": {
              "type": "string"
            }
          },
          "reviewType": {
            "title": "Recommended or not",
            "type": "string",
            "description": "All reviews, only positive (recommended) or only negative (not recommended).",
            "default": "all"
          },
          "purchaseType": {
            "title": "Purchase type",
            "type": "string",
            "description": "All reviewers, only people who bought the game on Steam, or only people who activated a key from elsewhere.",
            "default": "all"
          },
          "reviewsFrom": {
            "title": "Reviews from (date)",
            "type": "string",
            "description": "Only reviews posted on or after this date. YYYY-MM-DD or relative like 7 days, 2 weeks, 3 months. The window is applied by Steam and checked again on every review, so nothing outside it is saved or charged."
          },
          "reviewsTo": {
            "title": "Reviews until (date)",
            "type": "string",
            "description": "Only reviews posted on or before this date (a plain date includes that whole day)."
          },
          "minPlaytimeHours": {
            "title": "Minimum playtime at review (hours)",
            "minimum": 0,
            "type": "integer",
            "description": "Only reviews whose author had at least this many hours in the game when writing. 0 = no minimum.",
            "default": 0
          },
          "maxPlaytimeHours": {
            "title": "Maximum playtime at review (hours)",
            "minimum": 0,
            "type": "integer",
            "description": "Only reviews whose author had at most this many hours in the game when writing. 0 = no maximum.",
            "default": 0
          },
          "onlySteamDeck": {
            "title": "Only Steam Deck players",
            "type": "boolean",
            "description": "Only reviews from people who played mostly on Steam Deck.",
            "default": false
          },
          "includeOffTopic": {
            "title": "Include off-topic review bombs",
            "type": "boolean",
            "description": "Steam hides bursts of off-topic reviews (review bombs) by default. Turn on to include them.",
            "default": false
          },
          "resolveNames": {
            "title": "Players mode: look up game names",
            "type": "boolean",
            "description": "Adds the game name to player rows for games given by ID (one light request each). Turn off for the fastest possible tracking runs.",
            "default": true
          },
          "maxTotalItems": {
            "title": "Max results in total",
            "minimum": 0,
            "type": "integer",
            "description": "Hard cap on saved results (games, reviews and player rows together) for the whole run. 0 means no cap. Error rows do not count.",
            "default": 0
          },
          "maxPagesPerGame": {
            "title": "Max review pages per game (safety limit)",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Safety cap on review pages (100 reviews each) per game, mainly for strict filters that match few reviews.",
            "default": 500
          },
          "maxConcurrency": {
            "title": "Parallel games",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Games processed at the same time. Steam's store API is rate limited per IP, so the scraper paces those requests on its own; higher values mainly speed up reviews.",
            "default": 3
          },
          "maxRetries": {
            "title": "Max retries per request",
            "minimum": 0,
            "maximum": 10,
            "type": "integer",
            "description": "Retries with exponential backoff (and a fresh proxy session when a proxy is used) on rate limits, timeouts and server errors.",
            "default": 5
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Usually not needed: all endpoints are public and light. For thousands of games in one run, Apify datacenter proxy spreads the store API rate limit across IPs.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}