{
  "openapi": "3.0.1",
  "info": {
    "title": "Steam Market Prices & Workshop Items Scraper",
    "description": "Export Steam Community Market search results, every wear/quality variant's full price history and live order books, plus Steam Workshop browse and item details for any game, without a Steam account.",
    "version": "1.0",
    "x-build-id": "MZWrvaN6YusfUEHde"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/xyrelith-data~steam-market-workshop-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-xyrelith-data-steam-market-workshop-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/xyrelith-data~steam-market-workshop-scraper/runs": {
      "post": {
        "operationId": "runs-sync-xyrelith-data-steam-market-workshop-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/xyrelith-data~steam-market-workshop-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-xyrelith-data-steam-market-workshop-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",
        "required": [
          "mode"
        ],
        "properties": {
          "mode": {
            "title": "Mode",
            "enum": [
              "marketSearch",
              "marketItems",
              "workshopBrowse",
              "workshopItems"
            ],
            "type": "string",
            "description": "Market search exports catalogue rows for one game. Market item details exports every wear/quality variant with its full daily price history and any order book Steam publishes. Workshop browse walks the public Workshop by game. Workshop item details loads exact Workshop IDs or URLs.",
            "default": "marketSearch"
          },
          "game": {
            "title": "Game (App ID or name)",
            "type": "string",
            "description": "Steam App ID, game name, or a Steam URL for market search and Workshop browse. Examples: 730, Counter-Strike 2, Dota 2, Rust, 4000. For item modes this is the fallback App ID for bare hash names.",
            "default": "730"
          },
          "queries": {
            "title": "Market search queries",
            "type": "array",
            "description": "One or more keywords to search inside the chosen game's market. Leave one empty string to browse the whole game catalogue.",
            "items": {
              "type": "string"
            },
            "default": [
              "case"
            ]
          },
          "facets": {
            "title": "Market facet filters",
            "type": "array",
            "description": "Optional game-specific facets in Category:Value form, e.g. Exterior:Factory New, Quality:StatTrak, Rarity:Classified, ItemSet:The Phoenix Collection. Repeat a category to OR its values. Values come from Steam's own facet list for the game.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "marketSort": {
            "title": "Market sort",
            "enum": [
              "popular",
              "price",
              "quantity",
              "name"
            ],
            "type": "string",
            "description": "How Steam orders market search results.",
            "default": "popular"
          },
          "sortDirection": {
            "title": "Sort direction",
            "enum": [
              "desc",
              "asc"
            ],
            "type": "string",
            "description": "Ascending or descending order for the market sort.",
            "default": "desc"
          },
          "searchDescriptions": {
            "title": "Search item descriptions too",
            "type": "boolean",
            "description": "Let the keyword also match Steam's item descriptions, not just names.",
            "default": false
          },
          "workshopSort": {
            "title": "Workshop sort",
            "enum": [
              "trend",
              "toprated",
              "mostrecent",
              "lastupdated"
            ],
            "type": "string",
            "description": "Order used by Workshop browse. Trend honours the trend window below.",
            "default": "trend"
          },
          "workshopSection": {
            "title": "Workshop section",
            "enum": [
              "readytouseitems",
              "collections",
              "guides",
              "mtxitems"
            ],
            "type": "string",
            "description": "Which Workshop tab to browse.",
            "default": "readytouseitems"
          },
          "trendDays": {
            "title": "Trend window (days)",
            "enum": [
              "1",
              "7",
              "30",
              "90",
              "365"
            ],
            "type": "string",
            "description": "Popularity window for the trending Workshop sort.",
            "default": "7"
          },
          "searchText": {
            "title": "Workshop keyword",
            "type": "string",
            "description": "Optional text filter for Workshop titles and descriptions.",
            "default": ""
          },
          "requiredTags": {
            "title": "Required Workshop tags",
            "type": "array",
            "description": "Only keep Workshop items carrying all of these tags, e.g. Map, Vehicle, Addon.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "excludedTags": {
            "title": "Excluded Workshop tags",
            "type": "array",
            "description": "Drop Workshop items carrying any of these tags.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "itemUrls": {
            "title": "Item URLs, IDs or hash names",
            "type": "array",
            "description": "For Market item details: Steam market listing URLs, appId:hashName pairs, or bare market hash names. For Workshop item details: numeric Workshop IDs or sharedfiles URLs with ?id=.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "currency": {
            "title": "Market currency",
            "enum": [
              "USD",
              "GBP",
              "EUR",
              "CHF",
              "RUB",
              "PLN",
              "BRL",
              "JPY",
              "NOK",
              "IDR",
              "MYR",
              "PHP",
              "SGD",
              "THB",
              "VND",
              "KRW",
              "TRY",
              "UAH",
              "MXN",
              "CAD",
              "AUD",
              "NZD",
              "CNY",
              "INR",
              "CLP",
              "PEN",
              "COP",
              "ZAR",
              "HKD",
              "TWD",
              "SAR",
              "AED",
              "ARS",
              "ILS",
              "BYN",
              "KZT",
              "KWD",
              "QAR",
              "CRC",
              "UYU",
              "BGN",
              "HRK",
              "CZK",
              "DKK",
              "HUF",
              "RON",
              "SEK"
            ],
            "type": "string",
            "description": "Requested currency for market search and current-price calls. Steam may answer keyword searches in its own anonymous session currency; every record states the currency actually returned in currency and the request in currencyRequested.",
            "default": "USD"
          },
          "language": {
            "title": "Steam language",
            "enum": [
              "english",
              "german",
              "french",
              "spanish",
              "italian",
              "portuguese",
              "brazilian",
              "russian",
              "japanese",
              "koreana",
              "schinese",
              "tchinese",
              "polish",
              "turkish",
              "thai",
              "vietnamese",
              "ukrainian",
              "czech",
              "danish",
              "dutch",
              "finnish",
              "norwegian",
              "swedish",
              "hungarian",
              "romanian",
              "greek",
              "bulgarian",
              "indonesian",
              "malay"
            ],
            "type": "string",
            "description": "Interface language used for Steam responses.",
            "default": "english"
          },
          "maxItems": {
            "title": "Maximum records",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Stop after this many dataset rows. Market search pages hold 10 items and Workshop pages hold 30.",
            "default": 50
          },
          "startPage": {
            "title": "Start page",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "First source page to read (1-based) for market search or Workshop browse.",
            "default": 1
          },
          "minPrice": {
            "title": "Minimum price",
            "minimum": 0,
            "type": "number",
            "description": "Market rows below this amount in the selected currency are dropped."
          },
          "maxPrice": {
            "title": "Maximum price",
            "minimum": 0,
            "type": "number",
            "description": "Market rows above this amount in the selected currency are dropped."
          },
          "minSellListings": {
            "title": "Minimum sell listings",
            "minimum": 0,
            "maximum": 1000000000,
            "type": "integer",
            "description": "Keep only market items with at least this many active sell listings."
          },
          "tradableOnly": {
            "title": "Tradable items only",
            "type": "boolean",
            "description": "Drop market items Steam marks as not tradable.",
            "default": false
          },
          "minSubscriptions": {
            "title": "Minimum Workshop subscribers",
            "minimum": 0,
            "maximum": 1000000000,
            "type": "integer",
            "description": "Keep Workshop items with at least this many current subscribers. Items without a counter pass through."
          },
          "minFavorites": {
            "title": "Minimum Workshop favorites",
            "minimum": 0,
            "maximum": 1000000000,
            "type": "integer",
            "description": "Keep Workshop items with at least this many current favorites."
          },
          "updatedSince": {
            "title": "Workshop updated since",
            "type": "string",
            "description": "ISO date (YYYY-MM-DD). Drops Workshop items last updated before it."
          },
          "includeDetails": {
            "title": "Enrich each market search row",
            "type": "boolean",
            "description": "Open each found item's listing to add rarity, exterior, quality, collection, variant count and price-history summary. Slower and heavier because every row opens one listing page.",
            "default": false
          },
          "enrichDetails": {
            "title": "Enrich Workshop browse rows with full details",
            "type": "boolean",
            "description": "Fetch the full Workshop description, file URL and extra metadata for every browsed item.",
            "default": false
          },
          "includeHistory": {
            "title": "Include price history",
            "type": "boolean",
            "description": "Add the complete daily median-price and units-sold series from the item listing page.",
            "default": true
          },
          "historySinceDays": {
            "title": "Limit price history to recent days",
            "minimum": 0,
            "maximum": 3650,
            "type": "integer",
            "description": "Keep only the last N days of price history. Zero keeps the full series back to the first sale.",
            "default": 0
          },
          "includeOrderBook": {
            "title": "Include order book",
            "type": "boolean",
            "description": "Add the buy and sell order ladder Steam embeds for the listing's default variant.",
            "default": true
          },
          "includeCurrentPrices": {
            "title": "Include current variant prices",
            "type": "boolean",
            "description": "Call Steam's price overview for each variant to add its current lowest price, median price and 24-hour volume.",
            "default": true
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}