Quickstart
Create an API key on steamsets.com and send your first request in a few minutes.
Sign in to SteamSets
Go to steamsets.com and sign in with your Steam account.
Create a developer app
Open Settings, API keys and create a developer app. SteamSets shows the API key one time only. Copy it and keep it in a secret store or an environment variable.
Send a request
Put the key in the Authorization header and call an endpoint. This request gets the profile of an account by its SteamID64.
export STEAMSETS_API_KEY="your-key"
curl https://api.steamsets.com/v1/account.getInfo \
-H "Authorization: Bearer $STEAMSETS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"id": {"steamId64": "76561199176433616"}}'import { SteamSets } from '@steamsets/client-ts';
const steamsets = new SteamSets({ token: process.env.STEAMSETS_API_KEY });
const account = await steamsets.account.getInfo({
id: { steamId64: '76561199176433616' }
});
console.log(account);import os
import requests
response = requests.post(
"https://api.steamsets.com/v1/account.getInfo",
headers={"Authorization": f"Bearer {os.environ['STEAMSETS_API_KEY']}"},
json={"id": {"steamId64": "76561199176433616"}},
)
response.raise_for_status()
print(response.json())Find an account
Endpoints that take an account accept one of these identifiers:
| Field | Example | Description |
|---|---|---|
id.steamId64 |
"76561199176433616" |
The 17-digit SteamID64, as a string. |
id.accountId |
1216167888 |
The 32-bit Steam account ID. |
vanity |
{"type": "steam", "value": "webx"} |
The custom URL name of the Steam profile. |