{
  "openapi": "3.0.1",
  "info": {
    "title": "Steam Games Data Scraper",
    "description": "Scrape Steam games by keyword, tag, price and discount, or look them up by name. Get prices in any country, deals, review scores, tags, languages, Steam Deck status and players online. Also download player reviews, the most played chart and game news. Export to CSV or Excel.",
    "version": "1.0",
    "x-build-id": "Cj7TxsXuXBIzHrBbh"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/parselab~steam-games-data-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-parselab-steam-games-data-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/parselab~steam-games-data-scraper/runs": {
      "post": {
        "operationId": "runs-sync-parselab-steam-games-data-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/parselab~steam-games-data-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-parselab-steam-games-data-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": {
          "maxItems": {
            "title": "Max Items",
            "minimum": 1,
            "maximum": 1000000,
            "type": "integer",
            "description": "Free users: Limited to 10 items (preview). Paid users: Optional, max 1,000,000."
          },
          "mode": {
            "title": "What to collect",
            "enum": [
              "search",
              "apps",
              "reviews",
              "charts",
              "news"
            ],
            "type": "string",
            "description": "Search finds games by keyword, tags and price. Apps looks up games by name or id. Reviews returns player reviews. Charts returns the most played games or the top releases. News returns the latest announcements of games.",
            "default": "search"
          },
          "searchTerm": {
            "title": "Search text",
            "type": "string",
            "description": "Keyword to search in the store, for example survival. Leave empty to browse with the filters only."
          },
          "tags": {
            "title": "Tags",
            "type": "array",
            "description": "Store tags such as RPG, Roguelike, Co-op, Souls-like or Cozy. A game must have all the tags. You can also enter tag ids.",
            "items": {
              "type": "string"
            }
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "Reviews_DESC",
              "Released_DESC",
              "Price_ASC",
              "Price_DESC",
              "Name_ASC",
              "_ASC"
            ],
            "type": "string",
            "description": "Order of the search results.",
            "default": "Reviews_DESC"
          },
          "onlyDiscounted": {
            "title": "Only games on sale",
            "type": "boolean",
            "description": "Keep only games with a discount right now.",
            "default": false
          },
          "minDiscountPct": {
            "title": "Minimum discount (%)",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Keep only games discounted by at least this percent."
          },
          "maxPriceUsd": {
            "title": "Maximum price",
            "minimum": 0,
            "type": "number",
            "description": "Keep only games whose current price is at most this amount, in the currency of the chosen country."
          },
          "minReviewPct": {
            "title": "Minimum positive reviews (%)",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Keep only games where at least this percent of reviews are positive."
          },
          "minReviewCount": {
            "title": "Minimum number of reviews",
            "minimum": 0,
            "type": "integer",
            "description": "Keep only games with at least this many reviews, to skip games with too few opinions."
          },
          "platforms": {
            "title": "Platform",
            "type": "array",
            "description": "Search only games for one platform: win, mac or linux. Use one value.",
            "items": {
              "type": "string"
            }
          },
          "includeSoftware": {
            "title": "Include software and other items",
            "type": "boolean",
            "description": "Search returns games only by default. Turn this on to include software, tools and other items.",
            "default": false
          },
          "appIds": {
            "title": "Game ids",
            "type": "array",
            "description": "Steam game ids such as 1245620, or store links. Used in look up, reviews and news modes.",
            "items": {
              "type": "string"
            }
          },
          "appNames": {
            "title": "Game names",
            "type": "array",
            "description": "Game names such as Hades or Elden Ring. The Actor finds the matching game. Used in look up, reviews and news modes.",
            "items": {
              "type": "string"
            }
          },
          "fullDetails": {
            "title": "Add full store details",
            "type": "boolean",
            "description": "Add genres, Metacritic score, achievements, system requirements, screenshots, trailers and downloadable content. It is slower because Steam limits these requests.",
            "default": false
          },
          "includeCurrentPlayers": {
            "title": "Add players online now",
            "type": "boolean",
            "description": "Add the number of players in the game right now. One extra request per game.",
            "default": false
          },
          "country": {
            "title": "Store country",
            "type": "string",
            "description": "Two letter country code that sets prices and currency, for example US, GB, DE, BR or JP.",
            "default": "US"
          },
          "language": {
            "title": "Language",
            "type": "string",
            "description": "Language of store texts and the language of reviews, for example english, spanish, german, french or schinese. In reviews mode, leave it empty to get all languages."
          },
          "reviewType": {
            "title": "Review type",
            "enum": [
              "all",
              "positive",
              "negative"
            ],
            "type": "string",
            "description": "Reviews mode: all reviews, only positive or only negative.",
            "default": "all"
          },
          "reviewOrder": {
            "title": "Review order",
            "enum": [
              "recent",
              "updated",
              "helpful"
            ],
            "type": "string",
            "description": "Reviews mode: newest first, recently updated, or most helpful.",
            "default": "recent"
          },
          "daysRange": {
            "title": "Reviews from the last days",
            "minimum": 1,
            "maximum": 3650,
            "type": "integer",
            "description": "Reviews mode: only reviews written in the last this many days. Used with the most helpful order too, where the default is 365."
          },
          "purchaseType": {
            "title": "Purchase type",
            "enum": [
              "all",
              "steam",
              "non_steam_purchase"
            ],
            "type": "string",
            "description": "Reviews mode: all reviews, only from Steam purchases, or only from other sources such as keys.",
            "default": "all"
          },
          "chart": {
            "title": "Chart",
            "enum": [
              "mostPlayed",
              "topReleases"
            ],
            "type": "string",
            "description": "Charts mode: the 100 most played games right now, or the top releases by month.",
            "default": "mostPlayed"
          },
          "newsPerApp": {
            "title": "News items per game",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "News mode: how many announcements to return for each game.",
            "default": 10
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}