{
  "openapi": "3.0.1",
  "info": {
    "title": "Steam Store Scraper: Prices, Discounts, Reviews & Player Counts",
    "description": "Scrape Steam top sellers, specials, upcoming and new releases or any search: price, discount, review score, tags, platforms. Optional details (developer, publisher, genres, Metacritic) and current player counts. Monitor mode outputs only new games and price/discount changes.",
    "version": "0.1",
    "x-build-id": "2JzhdcytWJpgoDQAZ"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/rjmacarthy~steam-store-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-rjmacarthy-steam-store-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/rjmacarthy~steam-store-scraper/runs": {
      "post": {
        "operationId": "runs-sync-rjmacarthy-steam-store-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/rjmacarthy~steam-store-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-rjmacarthy-steam-store-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": {
          "lists": {
            "title": "Store lists",
            "type": "array",
            "description": "Steam's curated lists. topsellers = Top Sellers, specials = games on sale, popularcomingsoon = popular upcoming games, newreleases = newest released games (games only, newest first), popularnew = popular new releases. Leave empty to use only search terms or app IDs.",
            "items": {
              "type": "string",
              "enum": [
                "topsellers",
                "specials",
                "popularcomingsoon",
                "newreleases",
                "popularnew"
              ],
              "enumTitles": [
                "Top sellers",
                "Specials (on sale)",
                "Popular upcoming",
                "New releases",
                "Popular new releases"
              ]
            }
          },
          "searchTerms": {
            "title": "Search terms",
            "type": "array",
            "description": "Keywords to search the Steam store for, one per line, e.g. 'roguelike' or 'city builder'. Each term is a separate search.",
            "items": {
              "type": "string"
            }
          },
          "appIds": {
            "title": "Steam app IDs or URLs",
            "type": "array",
            "description": "Specific games to track, as app IDs (730) or store URLs (https://store.steampowered.com/app/730/). These rows always include details and the current player count, so each is charged 'game' + 'game-details'. Review score and tags are not available for them (they come from search cards).",
            "items": {
              "type": "string"
            }
          },
          "tags": {
            "title": "Tag IDs (optional)",
            "type": "array",
            "description": "Narrow lists and searches to Steam tags, by numeric tag ID (copy it from a Steam search URL: ...&tags=122 is RPG, 1664 Puzzle, 1662 Survival, 597 Casual, 492 Indie). With no list or search term, browses the tag(s) alone.",
            "items": {
              "type": "string"
            }
          },
          "sortBy": {
            "title": "Sort search results by",
            "enum": [
              "relevance",
              "released",
              "name",
              "priceAsc",
              "priceDesc",
              "reviews"
            ],
            "type": "string",
            "description": "Order of search-term results (lists keep Steam's own order).",
            "default": "relevance"
          },
          "maxItems": {
            "title": "Max games per list / search",
            "minimum": 0,
            "type": "integer",
            "description": "Stop each list or search after this many results. In monitor modes this is the window that is checked (e.g. the top 50 of Top Sellers). 0 = no limit (Top Sellers alone has ~9,000 entries).",
            "default": 50
          },
          "countryCode": {
            "title": "Country (store region)",
            "type": "string",
            "description": "Two-letter country code for prices and currency, e.g. us (USD), gb (GBP), de (EUR), jp (JPY), br (BRL).",
            "default": "us"
          },
          "language": {
            "title": "Language",
            "type": "string",
            "description": "Steam language name for names, descriptions and review labels, e.g. english, german, french, spanish, schinese, japanese. Review count and parsed release dates are most reliable in english.",
            "default": "english"
          },
          "includeDetails": {
            "title": "Include details and current players",
            "type": "boolean",
            "description": "Fetch each game's details (description, developers, publishers, genres, categories, Metacritic score, achievements, DLC count, languages, website) and its current player count. Costs one extra 'game-details' event per game and takes ~1.5 s per game (Steam limits its details API to ~200 requests per 5 minutes).",
            "default": false
          },
          "monitorMode": {
            "title": "Monitor mode",
            "enum": [
              "all",
              "new",
              "changes"
            ],
            "type": "string",
            "description": "For scheduled runs. 'all' outputs every result. 'new' outputs only games not seen in earlier runs of the same list/search (e.g. games newly entering Top Sellers). 'changes' also outputs price and discount changes, with changeType (new, price_drop, price_increase, discount_started, discount_ended) and previousPrice. You only pay for rows output. The first monitor run outputs everything as 'new' and becomes the baseline.",
            "default": "all"
          },
          "stateKey": {
            "title": "Monitor name",
            "type": "string",
            "description": "Name for the monitor's memory. Runs with the same name share what has been seen; use a different name for a separate monitor (e.g. 'rpg-sales').",
            "default": "default"
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Not needed: Steam's store answers datacenter IPs. Apify datacenter proxy only: residential proxies are not supported and fall back to datacenter proxy with a warning.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}