# Steam Game Price API & Scraper - Live Store Prices (`stas_k/steam-game-price-api`) Actor

Steam store pages quote one country and hide the real checkout price behind a cookie banner, so you never know what a buyer pays today. This actor reads the live storefront price of any app by id, link or name: final price, discount, release date, platforms, genres, reviews and DLC.

- **URL**: https://apify.com/stas_k/steam-game-price-api.md
- **Developed by:** [Stas K](https://apify.com/stas_k) (community)
- **Categories:** E-commerce, Developer tools, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

$0.90 / 1,000 games

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-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 Game Price API: live storefront prices, no key

A Steam price page answers one country, one currency and one moment, and the number you see
often comes from a cached snapshot or a cookie banner: you cannot tell a real discount from a
stale tile. This actor asks the same public store endpoint the Steam client uses, so one app
comes back as the price a buyer in the chosen country really pays right now, plus what the
store says about it: discount, release date, platforms, genres, review count and DLC.

No key, no login and no browser: both endpoints answer a plain JSON request.

### What one row means

One row is one app, and the row is paid only when the store answered with a price the buyer
can compare by. A free game carries `priceFinal: 0.0`, because zero is a price. An app the
store lists but quotes no price for (region-locked, delisted from sale, or not priced yet) is
never sold: it comes back as a free `NO_PRICE` row with a reason.

| Field | Meaning |
| --- | --- |
| `appId` | The Steam app id, whether you sent the id, the link or the name |
| `matchedName`, `nameMatch` | The store name found for a name search. Only an exact name is ever sold, so `nameMatch` is `exact`; a near hit is not delivered at all and comes back as a free `NOT_FOUND` row that lists the closest store names with their ids |
| `name`, `type` | The store title and what the store calls it (game, dlc, music, video) |
| `isFree`, `priceSource` | `price_overview` when a price block came back, `free` for a free app (price 0.0, formatted `Free`); an app the store lists without a price is not delivered at all and comes back as a free `NO_PRICE` row |
| `priceFinal`, `priceInitial`, `discountPercent` | The price now and before the discount, in the currency the store quoted |
| `priceFormatted`, `currency` | `$59.99` style text and the store currency code |
| `releaseDate`, `comingSoon` | The date the store prints |
| `developers`, `publishers`, `genres` | Up to ten names each |
| `platforms` | `windows`, `mac`, `linux` booleans |
| `requiredAge`, `metacriticScore`, `recommendationsTotal` | Age gate, critic score and how many reviews the store counts |
| `dlcCount`, `dlcIds` | How many DLC the app has, and up to `maxDlcPerGame` of their app ids |
| `url`, `fetchedAt` | The store page and the moment the price was read |

Status rows are the free half of the dataset: `status`, `reason` and nothing a buyer could
mistake for a price. They are written in batches, so sort by `actorIndex` to restore the input
order.

### Input

- `games`: a bare app id (`730`), a store link (`https://store.steampowered.com/app/1245620`)
  or a game name (`Elden Ring`). A name is resolved through the store search, and only the exact
  name is sold: case, trademark marks and separators are ignored, while `+` is kept, so `GTA+` is
  not the game `GTA`. A near hit (`Minecraft` against `Minecraft Dungeons II`, `cyberpunk`
  against `Cyberpunk SFX`) is never sold as the game you named: you get a free `NOT_FOUND` row
  that lists the closest names with their ids, and you can send the id that fits.
- Only a link on a Steam host counts as a link. `example.com/?u=store.steampowered.com/app/730`
  is a foreign link that happens to carry a Steam address in its query, and it is refused as an
  invalid line instead of being charged as app 730.
- `country`: which storefront the price is quoted from. Steam has no separate currency
  switch: the country decides both the currency and the regional price, so keep it fixed
  when you track a price over time.
- `maxDlcPerGame`: how many DLC ids to keep per app (default 50, max 100). `dlcCount` always
  reports the full number.
- `maxGames`: how many list lines this run reads (default and max 200).
- `currency`: the currency you expect. Steam takes no currency parameter, so this never changes
  the request: the storefront country decides the quoted currency. The field is recorded in the
  summary as `currencyExpected`, while the row and the summary's `currency` carry what the store
  really quoted.

### Price

One delivered app is one paid event. An app the store does not list, a line that cannot be
read and anything past `maxGames` are free and carry a reason. The lowest spending limit you
can set per run is $0.05, so a run that prices many apps never pays that limit per app.

### What this actor does not do

- It does not read the Steam Community Market: that is a player to player market with its own
  endpoints and its own rate limits, and it is not part of this actor.
- It does not keep price history. Store the rows and diff them yourself, or run it on a
  schedule and compare.
- It does not follow a discount over time, does not watch a wishlist and does not notify
  anyone.
- It does not buy, gift or activate anything.
- It does not guess a name: a near name is a free `NOT_FOUND` with the closest hits, never a
  paid row for a different game or DLC.
- It does not guess a price, and it does not sell a row without one. An app the store lists
  without a price is a free `NO_PRICE` row, never a paid row with `priceFinal: null`.

### Notes

- Prices are the storefront prices for the chosen country: the store returns them in that
  storefront's currency, and the row repeats the code so a report never mixes dollars and
  hryvnia. The summary's `currency` names the currency the store really used (or `mixed: ...`
  when one run priced several storefronts through several lines), and `currenciesSeen` lists
  them.
- A free app has no currency: Steam quotes none for it, so `currency` is empty while
  `priceFormatted` says `Free`.
- A name costs two store requests and an app id one, so the time budget is shared between the
  requests of a line before every single request, not handed to both in full.
- A name that matches nothing exactly in the store is a free `NOT_FOUND` row, and so is an app
  id that does not exist. A guess is never charged: the spin-off, the DLC and the utility the
  store ranks first are exactly what a name search returns, so the row says what the store
  offered and leaves the choice to you. A rate limit or a network failure is a different status
  again, because an unreadable store says nothing about the app.
- The source is public and keyless, so the actor works without an account of yours.

# Actor input Schema

## `games` (type: `array`):

Apps to price: a bare app id such as 730, a Steam store link such as https://store.steampowered.com/app/1245620, or a game name such as Elden Ring. A name is resolved through the store search and the nearest name wins. The last line of the default list does not exist in the store, so it comes back free.

## `country` (type: `string`):

Which Steam storefront the price is quoted from. Steam has no separate currency switch: the country decides both the currency and the regional price, so keep it fixed when you track a price over time.

## `maxDlcPerGame` (type: `integer`):

How many DLC app ids to keep for each app. Default 50, maximum 100. The count of all DLC is always reported in dlcCount.

## `maxGames` (type: `integer`):

How many lines of the list this run reads. Default and maximum 200; a line past the cap comes back as a free NOT_CHECKED_CAP row that names the cap.

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

The currency you expect in the report. Steam takes no currency parameter: the storefront country decides the quoted currency, so this field never changes the request. It is recorded in the run summary as currencyExpected, while every row and the summary's currency carry what the store really quoted.

## Actor input object example

```json
{
  "games": [
    "730",
    "https://store.steampowered.com/app/1245620",
    "Elden Ring",
    "999999999"
  ],
  "country": "US",
  "maxDlcPerGame": 50,
  "maxGames": 200,
  "currency": "USD"
}
```

# Actor output Schema

## `dataset` (type: `string`):

One row per app. Paid rows carry appId, name, type, isFree, priceSource, priceFinal, priceInitial, discountPercent, priceFormatted, currency, releaseDate, comingSoon, developers, publishers, genres, platforms, requiredAge, metacriticScore, recommendationsTotal, dlcCount, dlcIds, url and fetchedAt; a name search adds matchedName and nameMatch. A free app carries priceFinal 0.0. An app the store lists without a price is never a paid row: it comes back as a free NO_PRICE row with a reason. Every other row is a free status row with a reason and no price data. Status rows are written in batches, so sort by actorIndex to get the input order back.

## `summary` (type: `string`):

Counters of the run: requested, attempted, delivered, chargedEvents, deliveredUncharged, deliveredUnverified, chargeUncertain, gamesNotFound, gamesWithoutPrice, gamesInvalid, gamesDuplicate, cutByLimit, byStatus, counterMismatch, stopReason, datasetNote, firstFailure, priceNote, currency (what the store really quoted), currencyExpected and currenciesSeen. The bare RUN_SUMMARY lives in the default store of the run; a copy under RUN_SUMMARY-<runId> is kept in the named store steam-price-summary so two runs do not overwrite each other.

# 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 = {
    "games": [
        "730",
        "https://store.steampowered.com/app/1245620",
        "Elden Ring",
        "999999999"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("stas_k/steam-game-price-api").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 = { "games": [
        "730",
        "https://store.steampowered.com/app/1245620",
        "Elden Ring",
        "999999999",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("stas_k/steam-game-price-api").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 '{
  "games": [
    "730",
    "https://store.steampowered.com/app/1245620",
    "Elden Ring",
    "999999999"
  ]
}' |
apify call stas_k/steam-game-price-api --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,stas_k/steam-game-price-api"
        }
    }
}
```

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/G7JJdYtBrdFed6d5a/builds/frQucYlB1MOgmhr7j/openapi.json
