# Steam Market Prices & Workshop Items Scraper (`xyrelith-data/steam-market-workshop-scraper`) Actor

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.

- **URL**: https://apify.com/xyrelith-data/steam-market-workshop-scraper.md
- **Developed by:** [Xyrelith Data](https://apify.com/xyrelith-data) (community)
- **Categories:** E-commerce, Automation, Developer tools
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.49 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Steam Market Prices & Workshop Items Scraper

Steam hides two very different economies behind the same community domain: the Community Market, where every tradable item has a live order book and a price series, and the Workshop, where mods, maps and collections compete for subscribers. This actor collects both in one run, from public pages, with no Steam account, API key or cookie you have to supply.

Use it to snapshot a game's market catalogue, pull the full daily and hourly price series for every wear and quality variant of an item, read the buy and sell ladders Steam publishes, or rank Workshop content by subscribers, favorites, ratings and tags.

### Modes

| Mode | What it collects | Best for |
| --- | --- | --- |
| `marketSearch` | One row per market item found by keyword, game catalogue or game-specific facet. | Price snapshots, catalogue exports, supply monitoring. |
| `marketItems` | One row per wear/quality variant with its full price history, current lowest/median price, 24-hour volume and the order book Steam embeds. | Skin and item research, spread analysis, time-series exports. |
| `workshopBrowse` | One row per Workshop item from any browse sort, keyword, tag or section. | Mod discovery, creator and popularity tracking. |
| `workshopItems` | Full records for exact Workshop IDs or shared-file URLs. | Watchlists, enrichment, full BBCode descriptions. |

### Quick start

Market search for cases in Counter-Strike 2:

```json
{
  "mode": "marketSearch",
  "game": "730",
  "queries": ["case"],
  "maxItems": 50
}
```

Full price history and order books for named market items:

```json
{
  "mode": "marketItems",
  "game": "730",
  "itemUrls": [
    "https://steamcommunity.com/market/listings/730/AK-47%20%7C%20Redline%20%28Field-Tested%29",
    "Dreams & Nightmares Case"
  ],
  "currency": "USD",
  "includeHistory": true,
  "includeOrderBook": true
}
```

Trending Garry's Mod maps:

```json
{
  "mode": "workshopBrowse",
  "game": "4000",
  "workshopSort": "trend",
  "trendDays": "7",
  "requiredTags": ["Map"],
  "maxItems": 100
}
```

Exact Workshop items:

```json
{
  "mode": "workshopItems",
  "itemUrls": ["3835556860", "https://steamcommunity.com/sharedfiles/filedetails/?id=3838249583"]
}
```

### Input reference

| Field | Used by | Default | Purpose |
| --- | --- | --- | --- |
| `mode` | all | `marketSearch` | `marketSearch`, `marketItems`, `workshopBrowse` or `workshopItems`. |
| `game` | search/browse | `730` | Steam App ID, game name or Steam URL. Names are resolved through Steam's public app search. |
| `queries` | marketSearch | `["case"]` | Keywords searched inside the game's market. An empty string browses the whole game catalogue. |
| `facets` | marketSearch | – | Game-specific filters as `Category:Value`, e.g. `Exterior:Factory New`, `Quality:StatTrak`, `Rarity:Classified`, `ItemSet:The Phoenix Collection`. Repeat a category to OR values; different categories are ANDed. |
| `marketSort` / `sortDirection` | marketSearch | `popular` / `desc` | Sort by popularity, price, quantity or name, ascending or descending. |
| `searchDescriptions` | marketSearch | `false` | Let keywords match item descriptions too. |
| `workshopSort` | workshopBrowse | `trend` | Trending (with a 1-day to 1-year window), top rated, most recent or last updated. |
| `workshopSection` | workshopBrowse | `readytouseitems` | Ready-to-use items, collections, guides or in-game items. |
| `trendDays` | workshopBrowse | `7` | Popularity window for the trending sort. |
| `searchText` | workshopBrowse | – | Optional keyword filter for Workshop titles and descriptions. |
| `requiredTags` / `excludedTags` | workshopBrowse | – | Workshop tag filters. |
| `itemUrls` | item modes | – | Market listing URLs, `appId:hashName` pairs or bare hash names; Workshop IDs or `?id=` URLs. |
| `currency` | market modes | `USD` | Currency for market search and the current-price calls. Steam may answer keyword searches in its own session currency; the record states the currency actually received. |
| `language` | all | `english` | Interface language sent to Steam. |
| `maxItems` | all | `50` | Hard row cap (1–5000). |
| `startPage` | search/browse | `1` | First source page to read (1-based). |
| `minPrice` / `maxPrice` | market modes | – | Drop rows outside the price range. |
| `minSellListings` | market modes | – | Drop items with fewer active sell listings. |
| `tradableOnly` | market modes | `false` | Drop items Steam marks as not tradable. |
| `minSubscriptions` / `minFavorites` | workshop modes | – | Drop low-engagement Workshop items. |
| `updatedSince` | workshop modes | – | Drop items whose last update is older than an ISO date. |
| `includeDetails` | marketSearch | `false` | Open each search result's listing to add rarity, exterior, quality, collection, variant count and a price-history summary. |
| `enrichDetails` | workshopBrowse | `false` | Fetch the full Workshop record for every browsed item. |
| `includeHistory` | marketItems | `true` | Add the complete price series. |
| `historySinceDays` | marketItems | `0` | Limit the series to the last N days; `0` keeps everything back to the first sale. |
| `includeOrderBook` | marketItems | `true` | Add the embedded buy/sell ladder. |
| `includeCurrentPrices` | marketItems | `true` | Add current lowest price, median price and 24-hour volume for each variant. |

### What each market record contains

`marketSearch` rows (`recordType: marketItem`):

`appId`, `appName`, `gameIconUrl`, `name`, `marketHashName`, `type`, `nameColor`, `backgroundColor`, `sellListings`, `sellPrice`, `sellPriceText`, `salePrice`, `salePriceText`, `currency`, `currencyRequested`, `commodity`, `tradable`, `marketable`, `classId`, `instanceId`, `iconUrl`, `marketUrl`, `sourceUrl`, `query`, `rank`, `scrapedAt`.

With `includeDetails`: `rarity`, `exterior`, `quality`, `collection`, `weapon`, `itemType`, `tags`, `variantCount`, `historyPoints`, `firstSaleDate`, `allTimeLow`, `allTimeHigh`, `avgPrice7d`, `avgPrice30d`, `bucketId`, `bucketListingCount`.

`marketItems` rows (`recordType: marketItemDetail`), one per variant:

- Identity: `appId`, `itemName`, `marketName`, `marketHashName`, `isRequestedVariant`, `type`, `nameColor`, `backgroundColor`, `rarity`, `exterior`, `quality`, `collection`, `weapon`, `itemType`, `tags`, `marketUrl`, `itemUrl`, `bucketId`, `bucketListingCount`.
- Current prices: `lowestPrice`, `lowestPriceText`, `medianPrice`, `medianPriceText`, `volume24h`, `currency`.
- History: `priceHistory` (date, median price, units sold), `historyPoints`, `firstSaleDate`, `lastSaleDate`, `allTimeLow`, `allTimeHigh`, `avgPrice7d`, `volume7d`, `change7dPercent`, `avgPrice30d`, `volume30d`, `change30dPercent`.
- Order book (when Steam embeds one for the variant): `orderBook.highestBuyOrder`, `orderBook.lowestSellOrder`, `orderBook.buyOrderCount`, `orderBook.sellOrderCount`, `orderBook.buyLevels`, `orderBook.sellLevels`, each level with `price` and `quantity`.

### What each Workshop record contains

`workshopItem` rows from browse:

`itemId`, `title`, `description`, `appId`, `consumerAppId`, `fileType`, `creatorSteamId`, `creatorName`, `creatorProfileUrl`, `previewUrl`, `tags`, `fileSizeBytes`, `timeCreated`, `timeUpdated`, `subscriptions`, `lifetimeSubscriptions`, `favorites`, `lifetimeFavorites`, `views`, `commentsCount`, `starRating`, `totalVotes`, `workshopAccepted`, `flags`, `numChildren`, `itemUrl`, `sourceUrl`, `query`, `rank`, `scrapedAt`. Child IDs, reactions and link tags are added when present.

`workshopItems` rows add the full BBCode `description`, a plain `descriptionText`, `creatorAppId`, `fileName`, `fileUrl`, `hcontentFile`, `hcontentPreview`, `visibility`, `banned` and `banReason`.

With `enrichDetails`, browsed items are merged with those detail fields while keeping the browse-only counters.

### Market facets

Steam publishes a different facet set for every game. This actor reads that set live, so `facets` works for CS2 exteriors, qualities, rarities, weapons and collections, Dota 2 heroes and slots, and whatever the chosen game exposes. Category and value names are matched case-insensitively; unknown entries are reported in the run status message instead of failing the run. Use the market search mode without facets first if you want to see the item names Steam uses.

### How prices and dates behave

- Market search pages hold 10 items each; Workshop browse pages hold 30. The actor walks pages until `maxItems` or the source runs out.
- Keyword market searches are answered by Steam in its own anonymous session currency (usually USD), even when a different currency is requested. The dataset records the actual currency in `currency` and the request in `currencyRequested`; the current-price calls used by item-detail mode do honour the requested currency.
- Item price history and order books are Steam's anonymous USD series. The actor states `"currency": "USD"` on the decoded order book.
- Steam keeps daily points back to the first sale and hourly points for recent weeks; the series is returned exactly as published.
- Individual seller listings (float, pattern, stickers) are intentionally out of scope.

### Limits worth knowing

- Steam throttles market traffic on shared hosting IPs. The actor starts direct, then uses Apify's datacenter proxy pool, then residential as a last resort; it rotates sessions and backs off on HTTP 429. Nothing needs to be configured.
- Workshop browse is capped by Steam at 1,000 pages (30,000 rows) per sort/filter combination. `maxItems` above that cannot be reached from one browse query.
- Some Workshop items have no price history or no order book because Steam never published one; those fields are simply absent.
- A small number of items are region-restricted or removed between search and detail requests. Those rows are skipped and counted in the run status message.

### Data source

All data comes from Steam's public Community Market and Workshop pages and the keyless `ISteamRemoteStorage/GetPublishedFileDetails` endpoint. The actor never signs in, never asks for a Steam API key, and never touches private inventories or wallets. It is not affiliated with Valve.

# Actor input Schema

## `mode` (type: `string`):

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.

## `game` (type: `string`):

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.

## `queries` (type: `array`):

One or more keywords to search inside the chosen game's market. Leave one empty string to browse the whole game catalogue.

## `facets` (type: `array`):

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.

## `marketSort` (type: `string`):

How Steam orders market search results.

## `sortDirection` (type: `string`):

Ascending or descending order for the market sort.

## `searchDescriptions` (type: `boolean`):

Let the keyword also match Steam's item descriptions, not just names.

## `workshopSort` (type: `string`):

Order used by Workshop browse. Trend honours the trend window below.

## `workshopSection` (type: `string`):

Which Workshop tab to browse.

## `trendDays` (type: `string`):

Popularity window for the trending Workshop sort.

## `searchText` (type: `string`):

Optional text filter for Workshop titles and descriptions.

## `requiredTags` (type: `array`):

Only keep Workshop items carrying all of these tags, e.g. Map, Vehicle, Addon.

## `excludedTags` (type: `array`):

Drop Workshop items carrying any of these tags.

## `itemUrls` (type: `array`):

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=.

## `currency` (type: `string`):

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.

## `language` (type: `string`):

Interface language used for Steam responses.

## `maxItems` (type: `integer`):

Stop after this many dataset rows. Market search pages hold 10 items and Workshop pages hold 30.

## `startPage` (type: `integer`):

First source page to read (1-based) for market search or Workshop browse.

## `minPrice` (type: `number`):

Market rows below this amount in the selected currency are dropped.

## `maxPrice` (type: `number`):

Market rows above this amount in the selected currency are dropped.

## `minSellListings` (type: `integer`):

Keep only market items with at least this many active sell listings.

## `tradableOnly` (type: `boolean`):

Drop market items Steam marks as not tradable.

## `minSubscriptions` (type: `integer`):

Keep Workshop items with at least this many current subscribers. Items without a counter pass through.

## `minFavorites` (type: `integer`):

Keep Workshop items with at least this many current favorites.

## `updatedSince` (type: `string`):

ISO date (YYYY-MM-DD). Drops Workshop items last updated before it.

## `includeDetails` (type: `boolean`):

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.

## `enrichDetails` (type: `boolean`):

Fetch the full Workshop description, file URL and extra metadata for every browsed item.

## `includeHistory` (type: `boolean`):

Add the complete daily median-price and units-sold series from the item listing page.

## `historySinceDays` (type: `integer`):

Keep only the last N days of price history. Zero keeps the full series back to the first sale.

## `includeOrderBook` (type: `boolean`):

Add the buy and sell order ladder Steam embeds for the listing's default variant.

## `includeCurrentPrices` (type: `boolean`):

Call Steam's price overview for each variant to add its current lowest price, median price and 24-hour volume.

## Actor input object example

```json
{
  "mode": "marketSearch",
  "game": "730",
  "queries": [
    "case"
  ],
  "facets": [],
  "marketSort": "popular",
  "sortDirection": "desc",
  "searchDescriptions": false,
  "workshopSort": "trend",
  "workshopSection": "readytouseitems",
  "trendDays": "7",
  "searchText": "",
  "requiredTags": [],
  "excludedTags": [],
  "itemUrls": [],
  "currency": "USD",
  "language": "english",
  "maxItems": 3,
  "startPage": 1,
  "tradableOnly": false,
  "includeDetails": false,
  "enrichDetails": false,
  "includeHistory": false,
  "historySinceDays": 0,
  "includeOrderBook": false,
  "includeCurrentPrices": false
}
```

# Actor output Schema

## `items` (type: `string`):

Dataset containing every scraped Steam market item, price history, order book and Workshop item.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "mode": "marketSearch",
    "game": "730",
    "queries": [
        "case"
    ],
    "marketSort": "popular",
    "sortDirection": "desc",
    "searchDescriptions": false,
    "workshopSort": "trend",
    "workshopSection": "readytouseitems",
    "trendDays": "7",
    "currency": "USD",
    "language": "english",
    "maxItems": 3,
    "startPage": 1,
    "tradableOnly": false,
    "includeDetails": false,
    "enrichDetails": false,
    "includeHistory": false,
    "historySinceDays": 0,
    "includeOrderBook": false,
    "includeCurrentPrices": false
};

// Run the Actor and wait for it to finish
const run = await client.actor("xyrelith-data/steam-market-workshop-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "mode": "marketSearch",
    "game": "730",
    "queries": ["case"],
    "marketSort": "popular",
    "sortDirection": "desc",
    "searchDescriptions": False,
    "workshopSort": "trend",
    "workshopSection": "readytouseitems",
    "trendDays": "7",
    "currency": "USD",
    "language": "english",
    "maxItems": 3,
    "startPage": 1,
    "tradableOnly": False,
    "includeDetails": False,
    "enrichDetails": False,
    "includeHistory": False,
    "historySinceDays": 0,
    "includeOrderBook": False,
    "includeCurrentPrices": False,
}

# Run the Actor and wait for it to finish
run = client.actor("xyrelith-data/steam-market-workshop-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "mode": "marketSearch",
  "game": "730",
  "queries": [
    "case"
  ],
  "marketSort": "popular",
  "sortDirection": "desc",
  "searchDescriptions": false,
  "workshopSort": "trend",
  "workshopSection": "readytouseitems",
  "trendDays": "7",
  "currency": "USD",
  "language": "english",
  "maxItems": 3,
  "startPage": 1,
  "tradableOnly": false,
  "includeDetails": false,
  "enrichDetails": false,
  "includeHistory": false,
  "historySinceDays": 0,
  "includeOrderBook": false,
  "includeCurrentPrices": false
}' |
apify call xyrelith-data/steam-market-workshop-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,xyrelith-data/steam-market-workshop-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/u9PGqbd4pCP5VDrBO/builds/MZWrvaN6YusfUEHde/openapi.json
