SteamCMD API

Free and programmable way to retrieve steamcmd app information

curl -X GET 'https://api.steamcmd.net/v1/info/740'
Something went wrong while connecting to the API. Please check the status page or Twitter for more information

Free

The service is currently made available for free and without specific restrictions.

Open Source

All components of the API like the backend, Docker Images and website are open source on Github.

Questions

For more information check the docs below and the faq further down this page.

Docs

Versioning

The API is versioned for compatibility reasons, but only /v1/ is currently available.

Authentication

No authentication or verification is required to use the API. Every info request is automatically cached for 5 minutes to avoid unnecessary requests to Valve servers.

Get Info for an App

GET  https://api.steamcmd.net/v1/info/:id
Query Parameters
Name Type Notes
pretty boolean (0/1) optional
Response Example  200
{
    "data": {
        "740": {
            "common": {
                "community_visible_stats": "1",
                "gameid": "740",
                "name": "Counter-Strike Global Offensive - Dedicated Server",
                "oslist": "windows,linux",
                "type": "Tool"
            },
            "config": {
                "contenttype": "3",
                "installdir": "Counter-Strike Global Offensive Beta - Dedicated Server",
                "launch": {
                    "0": {
                        "executable": "testapp.exe"
                    }
                }
            },
            "depots": {
                "731": {
                    "encryptedmanifests": {
                        "dprs": {
                            "encrypted_gid_2": "D0727220F3483AC9614CDB4775997F02",
                            "encrypted_size_2": "2C93C023E44BDCC57F20BE5959033C34"
                        }
                    },
                    "manifests": {
                        "1.37.0.1": "2133661318916785095",
                        "public": "5274482059493938721"
                    },
                    "maxsize": "19195340072",
                    "name": "Counter-Strike Global Offensive Beta Common",
                    "systemdefined": "1"
                },
                "740": {
                    "encryptedmanifests": {
                        "dprs": {
                            "encrypted_gid_2": "265245B816988510BFD1FD575DA2CEB8",
                            "encrypted_size_2": "6D20BEC0DB9432A5FB8C1E3447BEBBF8"
                        }
                    },
                    "manifests": {
                        "1.37.0.1": "992309860486948495",
                        "public": "8596693408921672263"
                    },
                    "maxsize": "1448766796",
                    "name": "Counter-Strike Global Offensive Beta - Dedicated Server",
                    "systemdefined": "1"
                },
                "branches": {
                    "1.37.0.1": {
                        "buildid": "3909351",
                        "description": "",
                        "timeupdated": "1560802283"
                    },
                    "dprs": {
                        "buildid": "2479775",
                        "description": "",
                        "pwdrequired": "1",
                        "timeupdated": "1517267346"
                    },
                    "public": {
                        "buildid": "3936003",
                        "timeupdated": "1560990358"
                    }
                },
                "overridescddb": "1"
            },
            "extended": {
                "developer": "",
                "gamedir": "Counter-Strike Global Offensive Beta Dedicated Server",
                "homepage": "",
                "icon": "",
                "noservers": "0",
                "primarycache": "740",
                "sourcegame": "1",
                "state": "eStateTool",
                "visibleonlywheninstalled": "1",
                "visibleonlywhensubscribed": "1"
            }
        }
    },
    "status": "success"
}
Response Example  404
{
    "data": "No information for this specific app id could be found on Steam",
    "status": "error"
}

Get Version of the API

GET  https://api.steamcmd.net/v1/version
Query Parameters
Name Type Notes
pretty boolean (0/1) optional
Response Example  200
{
    "data": {
        "build": null,
        "major": 1,
        "minor": 0,
        "patch": 0,
        "prerelease": null
    },
    "status": "success"
  }

FAQ

Why did you create this?

I needed a simple and programmable way to retrieve the app information of specific Steam Apps. During early testing I noticed that retrieving app information via the steamcmd cli tool seemed to be the most reliable way.

Why not use steamdb.info?

Even though steamdb.info is a great tool and xPaw and Marlamin did an amazing job, it does not contain a public API which you can use to retrieve Steam data.

Is the code behind the API open source and available?

Yes, the code of the different components is open source and can be found on Github. Please create an issue or a PR when you encounter a bug or have a feature request.

Can you please add feature xxx?

If you are missing a specific feature or have found a bug, let it know by creating an issue on Github or send a message/tweet on Twitter.

How can I find the corresponding app id?

The easiest way to lookup an app id manually is using the steamdb.info website. For getting the app id programmatically it's recommended to utilize the GetAppList endpoint on the Steam API: api.steampowered.com/ISteamApps/GetAppList/v1/