{
  "openapi": "3.0.1",
  "info": {
    "title": "Steam Games Scraper — Prices by Country, Top Sellers & Reviews",
    "description": "Scrape Steam: top sellers, new & trending, specials, upcoming and keyword searches. Prices and discounts in any country, rank, review score, tags, developers, publishers, genres, Metacritic, languages, plus user reviews with hours played. No login.",
    "version": "0.1",
    "x-build-id": "Lhmg0Eq36RjdFdcfa"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/yugenox~steam-games-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-yugenox-steam-games-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/yugenox~steam-games-scraper/runs": {
      "post": {
        "operationId": "runs-sync-yugenox-steam-games-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/yugenox~steam-games-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-yugenox-steam-games-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": {
          "searchTerms": {
            "title": "🔎 Search terms",
            "type": "array",
            "description": "Words to search the Steam store for, e.g. \"roguelike\", \"stardew\", \"city builder\". Each term is a separate search. Leave empty to scrape one of Steam's lists instead (Top sellers by default).",
            "items": {
              "type": "string"
            }
          },
          "list": {
            "title": "📈 Steam list",
            "enum": [
              "topsellers",
              "globaltopsellers",
              "popularnew",
              "specials",
              "popularcomingsoon",
              "comingsoon",
              "all"
            ],
            "type": "string",
            "description": "Which Steam list to read, in Steam's own order (the row's rank is its position). Used alone when there are no search terms; with search terms it orders and narrows each search (e.g. New & trending games matching \"roguelike\"). Empty = Top sellers without search terms, best match with them."
          },
          "appIds": {
            "title": "🎮 Steam app IDs",
            "type": "array",
            "description": "Specific games by app ID, the number in the game's store link (store.steampowered.com/app/413150/… → 413150). Games given this way always come with their store details (charged as store details), Steam's review verdict and user tags; they have no rank.",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "🔗 Steam links",
            "type": "array",
            "description": "Game links (store.steampowered.com/app/… or steamcommunity.com/app/…) or Steam store search links (store.steampowered.com/search/?term=…, all filters in the link are kept).",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "maxItems": {
            "title": "Max games",
            "minimum": 0,
            "maximum": 50000,
            "type": "integer",
            "description": "Maximum number of games for the whole run, shared fairly between your searches. 0 = as many as Steam lists.",
            "default": 100
          },
          "output": {
            "title": "Output",
            "enum": [
              "games",
              "games_and_reviews",
              "reviews"
            ],
            "type": "string",
            "description": "Games only, games each followed by their user reviews, or user reviews only (no game rows).",
            "default": "games"
          },
          "includeDetails": {
            "title": "Include store details",
            "type": "boolean",
            "description": "Add each game's store details: developers, publishers, genres, categories, short description, Metacritic score, number of reviews, achievements, age rating, supported and fully voiced languages, DLC count, website, screenshots. One extra request per game, charged as \"store details\" (see Pricing). Off = the search data only (rank, price, discount, release date, review score, tags, platforms).",
            "default": true
          },
          "countries": {
            "title": "🌍 Countries (prices)",
            "type": "array",
            "description": "Two-letter country codes for prices, e.g. US, GB, DE, FR, CA, AU, BR, JP, IN, TR. The first one is the row's main price (and the country of the Top sellers list); every country you add appears in the row's prices list with its currency and discount.",
            "default": [
              "US"
            ],
            "items": {
              "type": "string"
            }
          },
          "maxReviewsPerGame": {
            "title": "Max reviews per game",
            "minimum": 0,
            "maximum": 10000,
            "type": "integer",
            "description": "Only with Output \"Games + their reviews\" or \"Reviews only\". 0 = all of them (up to 10,000).",
            "default": 20
          },
          "reviewsSort": {
            "title": "Review order",
            "enum": [
              "toprated",
              "mostrecent",
              "recentlyupdated",
              "funny",
              "trendweek",
              "trendmonth",
              "trendthreemonths",
              "trendsixmonths",
              "trendyear"
            ],
            "type": "string",
            "description": "Steam Community's own review orders.",
            "default": "toprated"
          },
          "reviewsLanguage": {
            "title": "Review language",
            "enum": [
              "english",
              "all",
              "schinese",
              "tchinese",
              "japanese",
              "koreana",
              "thai",
              "bulgarian",
              "czech",
              "danish",
              "german",
              "spanish",
              "latam",
              "greek",
              "french",
              "italian",
              "indonesian",
              "hungarian",
              "dutch",
              "norwegian",
              "polish",
              "portuguese",
              "brazilian",
              "romanian",
              "russian",
              "finnish",
              "swedish",
              "turkish",
              "vietnamese",
              "ukrainian"
            ],
            "type": "string",
            "description": "Only reviews written in this language, or all languages.",
            "default": "english"
          },
          "tags": {
            "title": "Tags",
            "type": "array",
            "description": "Steam user tags every game must have, e.g. \"Roguelike\", \"Co-op\", \"Pixel Graphics\" (names as on Steam, or tag IDs).",
            "items": {
              "type": "string"
            }
          },
          "contentType": {
            "title": "Type",
            "enum": [
              "games",
              "dlc",
              "software",
              "demos",
              "soundtracks",
              "all"
            ],
            "type": "string",
            "description": "Games only (default), or other store items.",
            "default": "games"
          },
          "platforms": {
            "title": "Platforms",
            "type": "array",
            "description": "Only games that run on these systems. Empty = all.",
            "items": {
              "type": "string",
              "enum": [
                "windows",
                "mac",
                "linux"
              ],
              "enumTitles": [
                "Windows",
                "macOS",
                "SteamOS + Linux"
              ]
            }
          },
          "maxPrice": {
            "title": "Max price",
            "enum": [
              "free",
              "5",
              "10",
              "15",
              "20",
              "30",
              "40",
              "50",
              "60",
              "70"
            ],
            "type": "string",
            "description": "Steam's own price steps, in the main country's currency."
          },
          "onlyDiscounted": {
            "title": "Only discounted games",
            "type": "boolean",
            "description": "Only games on sale right now.",
            "default": false
          },
          "hideFreeToPlay": {
            "title": "Hide free-to-play games",
            "type": "boolean",
            "description": "Leave out free-to-play games.",
            "default": false
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "relevance",
              "released",
              "name",
              "price_asc",
              "price_desc",
              "reviews"
            ],
            "type": "string",
            "description": "Steam's sort orders. Empty = the list's own order (sales for Top sellers, best match for searches)."
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Apify Proxy (datacenter) is the default and comes with every Apify plan, including the free one.",
            "default": {
              "useApifyProxy": true
            }
          },
          "_noResidential": {
            "title": "Run as an account without residential proxies",
            "type": "boolean",
            "description": "Internal (canaries): behave exactly like an account without the RESIDENTIAL proxy group. This actor never uses residential proxies.",
            "default": 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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}