Game
A Steam game from its app id: developers, genres, release date, price in the country you choose, and the players in it right now.
Try it in the dashboard 100 free credits when you sign up, no card.
GET/v1/steam/game
Costs 1 credit per request. Only requests that return data are charged.
Parameters
| Name | Type | Description |
|---|---|---|
apprequired |
string | Steam app id, such as 730, or the URL of the store page (https://store.steampowered.com/app/730/CounterStrike_2/). |
countryoptional |
string | Two-letter country code of the Steam storefront the price is read from, such as us, gb or de. Default: us. |
Example request
curl "https://pipefetch.com/v1/steam/game?app=730" \
-H "x-api-key: YOUR_API_KEY"const res = await fetch('https://pipefetch.com/v1/steam/game?app=730', {
headers: { 'x-api-key': process.env.PIPEFETCH_API_KEY },
});
const { data, credits } = await res.json();import os, requests
res = requests.get(
"https://pipefetch.com/v1/steam/game",
params={"app": "730"},
headers={"x-api-key": os.environ["PIPEFETCH_API_KEY"]},
)
data = res.json()["data"]Example response
A real answer to the request above. Long texts and lists are shortened here, and the people who wrote comments, reviews or posts are replaced by a stand-in.
{
"data": {
"appId": "730",
"url": "https://store.steampowered.com/app/730/",
"name": "Counter-Strike 2",
"type": "game",
"shortDescription": "For over two decades, Counter-Strike has offered an elite competitive experience, one shaped by millions of players from across the globe. And now the…",
"developers": [
"Valve"
],
"publishers": [
"Valve"
],
"genres": [
"Action",
"Free To Play"
],
"categories": [
"Multi-player",
"Cross-Platform Multiplayer"
],
"platforms": [
"windows",
"linux"
],
"releaseDate": "2012-08-21T00:00:00.000Z",
"comingSoon": false,
"isFree": true,
"country": "us",
"currency": null,
"price": null,
"initialPrice": null,
"discountPercent": null,
"onSale": false,
"reviewSummary": null,
"reviewCount": null,
"positiveReviewCount": null,
"negativeReviewCount": null,
"positiveRate": null,
"metacriticScore": null,
"currentPlayerCount": 993393,
"achievementCount": 1,
"dlcCount": 1,
"requiredAge": 0,
"website": "http://counter-strike.net/",
"headerImageUrl": "https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/730/162664aa5da85f418105350c5d67ca565f6c3713/header.jpg?t=1793054556"
},
"credits": {
"used": 1,
"remaining": 99
}
}Good to know
- The price is the one on the Steam storefront of the country you pass, in that storefront's own currency. Nothing is converted. A free game has isFree true and no price: price and currency are null, not 0.
- currentPlayerCount is the number of people in the game at the moment of the request. It is null for an app Steam reports no count for.
- reviewSummary is Steam's own label, such as Very Positive, and positiveRate is the positive share of all reviews, from 0 to 1. The review fields are null when Steam returns no review summary for the request. The reviews themselves are not included.
- metacriticScore is null for a game Metacritic has not scored. releaseDate is null when Steam gives a phrase such as "Coming soon" instead of a day.
- An app id Steam has no store page for answers 404 game_not_found and costs nothing. That covers an id that does not exist, a delisted game and one not sold in the country asked for.
Errors
Every error has the same shape, and none of them is charged. The full list is in the error reference.
Looking for an overview and use cases? See the Steam Game API page.