# Steam



Valve's storefront — one app's card and its live player count.



## Steam Game

One Steam app's storefront card — price, genres, description, and who made it, from the Indonesian store.

- Method: `GET`
- Path: `/v1/entertainment/steam/game`

**Parameters**

| Name | Type | | Description |
|---|---|---|---|
| `app_id` | string | required | A Steam appid, like `570` for Dota 2. |
| `max_age` | integer (seconds) | optional | Ask for data no older than this. Clamped to the product's own floor, so it can narrow the window but never force a refresh on every call. |

**Example request**

```bash
curl https://api.diraz.ae/v1/entertainment/steam/game \
  -H "Authorization: Bearer drz_live_…"
```

**Example response**

```json
{
  "data": {
    "appId": 570,
    "name": "Dota 2",
    "type": "game",
    "isFree": true,
    "priceFinal": null,
    "currency": null,
    "discountPct": null,
    "headerImage": "https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/570/header.jpg",
    "shortDescription": "Every day, millions of players worldwide enter the battle…",
    "genres": ["Action", "Strategy"],
    "developers": ["Valve"],
    "publishers": ["Valve"],
    "releaseDate": "9 Jul, 2013",
    "url": "https://store.steampowered.com/app/570"
  },
  "meta": { "request_id": "req_7Q2fK4mZ", "as_of": "2026-08-22T04:05:00.000Z", "age_seconds": 42, "next_update_at": "2026-08-22T05:05:00.000Z" }
}
```

## Steam Player Count

How many people are playing one Steam game right now — the live number, straight from Valve.

- Method: `GET`
- Path: `/v1/entertainment/steam/players`

**Parameters**

| Name | Type | | Description |
|---|---|---|---|
| `app_id` | string | required | A Steam appid, like `570`. |
| `max_age` | integer (seconds) | optional | Ask for data no older than this. Clamped to the product's own floor, so it can narrow the window but never force a refresh on every call. |

**Example request**

```bash
curl https://api.diraz.ae/v1/entertainment/steam/players \
  -H "Authorization: Bearer drz_live_…"
```

**Example response**

```json
{
  "data": {
    "appId": 570,
    "playerCount": 711595
  },
  "meta": { "request_id": "req_7Q2fK4mZ", "as_of": "2026-08-22T04:05:00.000Z", "age_seconds": 42, "next_update_at": "2026-08-22T04:10:00.000Z" }
}
```