# Steam API

> Returns Steam store app details, search results, featured lists, packages, top sellers and user reviews.

Category: Sports & Gaming. Region: global. 9 endpoints at `https://api.hoshime.com/v1/steam/<endpoint>`, `GET` with query parameters, answering `{data, meta}` (see https://hoshime.com/docs/responses.md). Reference: https://hoshime.com/docs/platforms/steam
## GET /v1/steam/app

Store details of one app: name, price, developers, genres, platforms and scores.

Scope: `social:read` · Units: 1 · Cached: 30 min

| Parameter | Type | Required | Description |
|---|---|---|---|
| `appid` | string | yes | Steam app id or store.steampowered.com app URL. (e.g. 570) |
| `cc` | string | no | Two-letter country code for prices, such as us or gb. (default us) |
| `l` | string | no | Language of the text, such as english or french. (default english) |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `comingSoon` (boolean), `developers` (Label[]), `developers[].name` (string), `genres` (Label[]), `genres[].name` (string), `headerImage` (string), `id` (string), `isFree` (boolean), `metacriticScore` (integer (int64)), `name` (string), `platforms` (Label[]), `platforms[].name` (string), `price` (Price | null), `price.currency` (string), `price.discountPercent` (integer (int64)), `price.final` (string), `price.finalFormatted` (string), `price.initial` (string), `publishers` (Label[]), `publishers[].name` (string), `recommendations` (integer (int64)), `releaseDate` (string), `requiredAge` (integer (int64)), `shortDescription` (string), `type` (string), `url` (string)

```bash
curl "https://api.hoshime.com/v1/steam/app?appid=570" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/steam/players

Players in game on one Steam app right now, as the app's community hub shows them.

Scope: `social:read` · Units: 1 · Cached: 2 min

| Parameter | Type | Required | Description |
|---|---|---|---|
| `appid` | string | yes | Steam app id or store.steampowered.com app URL. (e.g. 570) |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `appId` (string), `playerCount` (integer (int64)), `url` (string)

```bash
curl "https://api.hoshime.com/v1/steam/players?appid=570" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/steam/news

Latest announcements and patch notes of one Steam app, newest first: title, link, date and votes (the post text is not served).

Scope: `social:read` · Units: 1 · Cached: 15 min · Paginated: cursor

| Parameter | Type | Required | Description |
|---|---|---|---|
| `appid` | string | yes | Steam app id or store.steampowered.com app URL. (e.g. 570) |
| `limit` | integer | no | Items per page, 1 to 50. (default 10) |
| `cursor` | string | no | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `commentCount` (integer (int64)), `dislikeCount` (integer (int64)), `id` (string), `likeCount` (integer (int64)), `postedAt` (string), `title` (string), `url` (string)

```bash
curl "https://api.hoshime.com/v1/steam/news?appid=570" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/steam/search

Store apps that match a search, with their prices.

Scope: `social:read` · Units: 1 · Cached: 10 min · Paginated: cursor

| Parameter | Type | Required | Description |
|---|---|---|---|
| `query` | string | yes | Search terms. (e.g. portal) |
| `cc` | string | no | Two-letter country code for prices, such as us or gb. (default us) |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `controllerSupport` (string), `id` (string), `metascore` (integer (int64)), `name` (string), `platforms` (Label[]), `platforms[].name` (string), `price` (Price | null), `price.currency` (string), `price.discountPercent` (integer (int64)), `price.final` (string), `price.finalFormatted` (string), `price.initial` (string), `tinyImage` (string), `url` (string)

```bash
curl "https://api.hoshime.com/v1/steam/search?query=portal" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/steam/featured

The store front's lists: specials, top sellers, new releases and coming soon.

Scope: `social:read` · Units: 1 · Cached: 15 min

| Parameter | Type | Required | Description |
|---|---|---|---|
| `cc` | string | no | Two-letter country code for prices, such as us or gb. (default us) |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `comingSoon` (FeaturedItem[]), `comingSoon[].currency` (string), `comingSoon[].discountPercent` (integer (int64)), `comingSoon[].discounted` (boolean), `comingSoon[].finalPrice` (string), `comingSoon[].headerImage` (string), `comingSoon[].id` (string), `comingSoon[].linux` (boolean), `comingSoon[].mac` (boolean), `comingSoon[].name` (string), `comingSoon[].originalPrice` (string), `comingSoon[].url` (string), `comingSoon[].windows` (boolean), `newReleases` (FeaturedItem[]), `newReleases[].currency` (string), `newReleases[].discountPercent` (integer (int64)), `newReleases[].discounted` (boolean), `newReleases[].finalPrice` (string), `newReleases[].headerImage` (string), `newReleases[].id` (string), `newReleases[].linux` (boolean), `newReleases[].mac` (boolean), `newReleases[].name` (string), `newReleases[].originalPrice` (string), `newReleases[].url` (string), `newReleases[].windows` (boolean), `specials` (FeaturedItem[]), `specials[].currency` (string), `specials[].discountPercent` (integer (int64)), `specials[].discounted` (boolean), `specials[].finalPrice` (string), `specials[].headerImage` (string), `specials[].id` (string), `specials[].linux` (boolean), `specials[].mac` (boolean), `specials[].name` (string), `specials[].originalPrice` (string), `specials[].url` (string), `specials[].windows` (boolean), `topSellers` (FeaturedItem[]), `topSellers[].currency` (string), `topSellers[].discountPercent` (integer (int64)), `topSellers[].discounted` (boolean), `topSellers[].finalPrice` (string), `topSellers[].headerImage` (string), `topSellers[].id` (string), `topSellers[].linux` (boolean), `topSellers[].mac` (boolean), `topSellers[].name` (string), `topSellers[].originalPrice` (string), `topSellers[].url` (string), `topSellers[].windows` (boolean)

```bash
curl "https://api.hoshime.com/v1/steam/featured" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/steam/reviews

User reviews of one app, 20 per page, newest first with filter recent.

Scope: `social:read` · Units: 7 · Cached: 10 min · Paginated: cursor

| Parameter | Type | Required | Description |
|---|---|---|---|
| `appid` | string | yes | Steam app id or store.steampowered.com app URL. (e.g. 570) |
| `filter` | string | no | Order of the reviews: recent, updated or all (by helpfulness). (one of recent, updated, all; default recent) |
| `cursor` | string | no | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `authorId` (string), `commentCount` (integer (int64)), `createdAt` (string), `earlyAccess` (boolean), `id` (string), `language` (string), `playtimeMinutes` (integer (int64)), `receivedForFree` (boolean), `text` (string), `updatedAt` (string), `votedUp` (boolean), `votesFunny` (integer (int64)), `votesUp` (integer (int64))

```bash
curl "https://api.hoshime.com/v1/steam/reviews?appid=570" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/steam/packageDetails

A Steam package by id: its name, the apps it contains and the platforms it runs on.

Scope: `social:read` · Units: 1 · Cached: 360 min

| Parameter | Type | Required | Description |
|---|---|---|---|
| `id` | integer | yes | Steam package id, such as 49307. (e.g. 49307) |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `apps` (PackageApp[]), `apps[].id` (string), `apps[].name` (string), `id` (string), `linux` (boolean), `mac` (boolean), `name` (string), `releaseDate` (string), `windows` (boolean)

```bash
curl "https://api.hoshime.com/v1/steam/packageDetails?id=49307" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/steam/topSellers

The Steam top sellers, 25 per page, best seller first; pages with cursor, the row offset.

Scope: `social:read` · Units: 1 · Cached: 30 min · Paginated: cursor

| Parameter | Type | Required | Description |
|---|---|---|---|
| `limit` | integer | no | Items per page, 1 to 50. (default 25) |
| `cursor` | string | no | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `appId` (string), `name` (string), `price` (string), `url` (string)

```bash
curl "https://api.hoshime.com/v1/steam/topSellers" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/steam/tags

The popular store tags of Steam, such as Indie or Co-op, with the id each tag is filed under.

Scope: `social:read` · Units: 1 · Cached: 1440 min · Paginated: cursor

| Parameter | Type | Required | Description |
|---|---|---|---|
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `id` (string), `name` (string)

```bash
curl "https://api.hoshime.com/v1/steam/tags" -H "Authorization: Bearer $HOSHIME_TOKEN"
```
