[Source](https://decktuner.app/developer/api/games/get-game-details)

# Get game details

Metadata for a single game plus the canonical (latest successful) run per device.

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "DeckTuner API",
    "version": "1.0.0",
    "description": "Public, read-only API for extracted game settings, benchmark recommendations and workspace files. No authentication required. Honor response Cache-Control headers; see /developer/api/usage for terms and caching."
  },
  "servers": [
    {
      "url": "https://api.decktuner.app/v1",
      "description": "Production"
    }
  ],
  "paths": {
    "/games/{steam_id}": {
      "get": {
        "operationId": "get-games-{steam_id}",
        "summary": "Get game details",
        "description": "Metadata for a single game plus the canonical (latest successful) run per device.",
        "tags": [
          "Games"
        ],
        "parameters": [
          {
            "in": "path",
            "name": "steam_id",
            "required": true,
            "schema": {
              "type": "string",
              "description": "Steam app ID"
            },
            "description": "Steam app ID",
            "example": "214490"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GameDetailResponse"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "GameDetailResponse": {
        "type": "object",
        "properties": {
          "steam_id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "release_date": {
            "type": [
              "string",
              "null"
            ]
          },
          "publishers": {
            "type": [
              "string",
              "null"
            ]
          },
          "developers": {
            "type": [
              "string",
              "null"
            ]
          },
          "genres": {
            "type": [
              "string",
              "null"
            ]
          },
          "description": {
            "type": [
              "string",
              "null"
            ]
          },
          "website": {
            "type": [
              "string",
              "null"
            ]
          },
          "vote_count": {
            "type": "integer"
          },
          "last_settings_extraction_at": {
            "type": [
              "string",
              "null"
            ]
          },
          "last_settings_extraction_run_build": {
            "type": [
              "string",
              "null"
            ]
          },
          "asset_portrait": {
            "type": [
              "string",
              "null"
            ]
          },
          "asset_header": {
            "type": [
              "string",
              "null"
            ]
          },
          "asset_hero": {
            "type": [
              "string",
              "null"
            ]
          },
          "devices": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DeviceRun"
            },
            "description": "One entry per device with a successful run"
          }
        },
        "required": [
          "steam_id",
          "name",
          "release_date",
          "publishers",
          "developers",
          "genres",
          "description",
          "website",
          "vote_count",
          "last_settings_extraction_at",
          "last_settings_extraction_run_build",
          "asset_portrait",
          "asset_header",
          "asset_hero",
          "devices"
        ]
      },
      "DeviceRun": {
        "type": "object",
        "properties": {
          "device": {
            "type": "string"
          },
          "run_id": {
            "type": "string"
          },
          "tested_at": {
            "type": "string"
          },
          "game_build": {
            "type": "string"
          },
          "proton_version": {
            "type": "string"
          },
          "steamos_version": {
            "type": "string"
          },
          "type": {
            "type": "string"
          },
          "menu_item_count": {
            "type": "integer"
          },
          "feature_count": {
            "type": "integer"
          }
        },
        "required": [
          "device",
          "run_id",
          "tested_at",
          "game_build",
          "proton_version",
          "steamos_version",
          "type",
          "menu_item_count",
          "feature_count"
        ]
      }
    }
  }
}
```
