---
title: "Steam Integration: Login and Web API from PLN 999 | VulCode"
description: "Steam login for your game server website from PLN 999, plus profile and playtime from the Steam Web API, linked to the in-game account and rewards."
url: "https://vulcode.com/en/services/integrations/steam"
lang: "en"
---

[Home](https://vulcode.com/en) [Services](https://vulcode.com/en/services) [Integrations](https://vulcode.com/en/services/integrations)

A Steam integration from VulCode adds Steam sign-in to game server websites and links the player's site account with their in-game account by SteamID. It costs from PLN 999 (about EUR 220) and usually takes 2-3 days. The Steam Web API supplies the nickname, avatar, playtime and ban information, and the panel, item shop and rewards run on that.

[Free quote](https://vulcode.com/en/quote) [Full pricing](https://vulcode.com/en/services/pricing)

# Steam integration: Steam login and the Steam Web API

## Steam as a login provider

Steam supports OpenID 2.0. After sign-in the site gets the player's 64-bit SteamID and nothing else.

Steam login gives no email and no profile. It gives certainty that the player controls the account with a given SteamID. The rest, name, avatar, playtime and bans, we fetch separately from the Steam Web API with a key kept on the server.

On game servers the SteamID is usually already the key in the database: in permissions, stats and bans. So linking the site to the game by SteamID is natural and needs no codes typed by the player.

- **OpenID endpoint**: https://steamcommunity.com/openid/, as given in the Steamworks docs.
- **100,000 a day**: That many Steam Web API calls are allowed by the key's terms of use.

## Steam login step by step

The most important is step four: without check_authentication a SteamID can be forged.

**Player****Your site****Steam OpenID****Steam Web API**

Player → Your site

clicks "Sign in with Steam"

Your site → Steam OpenID

redirect to Steam sign-in

Steam OpenID → Your site

return with openid.* parameters

Your site → Steam OpenID

check_authentication with the same parameters

without this step the SteamID can be forged

Steam OpenID → Your site

is_valid:true

Your site → Steam Web API

GetPlayerSummaries for the SteamID

Steam Web API → Your site

name, avatar, profile visibility

## The Steam Web API methods we use

Player data after sign-in. Some of it depends on profile privacy settings.

| Method | What it returns | What for |
| --- | --- | --- |
| ISteamUser/GetPlayerSummaries v2 | name, avatar, profile URL, visibility, up to 100 players at once | the profile in the panel and leaderboard |
| IPlayerService/GetOwnedGames | games and playtime, if visible | rewards for playtime |
| ISteamUser/GetPlayerBans | VAC and game bans, days since the last ban | server access decisions |
| IPlayerService/GetSteamLevel | the Steam account level | a threshold for new accounts, e.g. in giveaways |
| ISteamUser/CheckAppOwnership | whether the player owns a given game | only for the game's publisher, with a publisher key |

## What the SteamID ties together on the site and in game

One player account everywhere.

**Steam** **Site, panel, game server**

### Player identity

Steam login

### Name and avatar

login and a periodic refresh

### Playtime

a periodic job, if the profile shows it

### Item shop purchases

a payment on the site

the item or rank reaches the server by SteamID

### Bans

login or joining the server

## What we watch out for with Steam

Mistakes that open player accounts to takeover or end in a blocked key.

- Security
  ### Always check_authentication
  A SteamID from the URL without Steam's confirmation can be forged with one URL edit.

- ### The Web API key on the server only
  A key in front-end code would be taken by anyone who opens the browser dev tools.

- ### Profile cache
  With 100,000 calls a day, asking Steam on every page view quickly uses up the limit.

- ### Private profiles
  Playtime is available only when the data is visible. Playtime rewards show a clear message when the profile hides it.

- ### Batched requests
  GetPlayerSummaries takes up to 100 SteamIDs at once, so we refresh leaderboards in batches.

## Example: playtime rewards on a server

The rollout, step by step.

Scenario

00 / 04

Brief

- **Server**: A Steam game server with a website and item shop
- **Today**: Players create a site account and type their SteamID by hand
- **Goal**: One login and rewards that arrive on their own

Steps

- 01 Steam login

- 02 Playtime from the server

- 03 Rewards

- 04 Abuse protection

Step 01 of 04

Steam login

The site account appears at first login, with SteamID, name and avatar straight away.

Step 02 of 04

Playtime from the server

Playtime on your server is counted by the server itself by SteamID. Steam data is only an extra when the profile shows it.

Step 03 of 04

Rewards

Past a threshold the panel grants a reward, and the server hands it over at the player's next join.

Step 04 of 04

Abuse protection

Accounts with a VAC ban or very new accounts are excluded from giveaways, by your rules.

Result

The player signs in once, and the site, panel and server know who they are, with no SteamID to type.

## Common questions about Steam integration

The main questions about Steam: player email, the API key, Discord, cost and code.

**Will we get the player's email?**

No. Steam login returns only the SteamID. If an email is needed, e.g. for invoices, we ask for it separately.

**How long does it take?**

Usually 2-3 days. The exact dated schedule comes with the free quote, and if anything is going to move, you know in advance.

**How much does Steam login on a game server website cost?**

A Steam integration costs from PLN 999 (about EUR 220) under our [API and integrations](https://vulcode.com/en/services/api-integrations) service and usually takes 2-3 days. The figure depends on whether the profile and playtime from the Steam Web API, linking to the in-game account, panel and item shop rewards are included. The quote is free and comes back within an hour.

**Can Steam be combined with Discord login?**

Yes. One site account can link a SteamID and a [Discord](https://vulcode.com/en/services/integrations/discord) account, e.g. so a game rank grants a Discord server role.

**Is a Steam Web API key paid?**

No, the Steam Web API key is free. You create it on your Steam account, and the terms of use allow 100,000 calls a day.

**Will the Steam integration code be mine?**

Yes. Once the work is accepted and paid in full, the economic copyright in the integration code passes to you and you get the repository with run instructions. Open source libraries keep their own licences.

**How do you check Steam login before launch?**

On a copy of the site and a test Steam account. We check a first sign-in, a forged return without check_authentication, a private profile and an account with a VAC ban, and only then switch the login on in production.

**What if the Steam integration stops working?**

The integration logs every operation and retries the ones that failed by itself. When the problem does not go away you get a notification, and bugs that come from our work are fixed free of charge within the 90 days of support after launch.

**What if Steam changes its API?**

We adjust the integration to Steam's changes: within the 90 days of support included after launch, later under a [maintenance](https://vulcode.com/en/services/website-maintenance) plan or as a separate short order. We follow Steam's change notices and tell you in advance what needs fixing.

## Sources

Technical details come from the Steamworks documentation and the OpenID spec.

- [Steamworks: authentication and OpenID](https://partner.steamgames.com/doc/features/auth)

- [Steamworks: Web API overview](https://partner.steamgames.com/doc/webapi_overview)

- [The ISteamUser interface](https://partner.steamgames.com/doc/webapi/ISteamUser)

- [Steam Web API terms of use](https://steamcommunity.com/dev/apiterms)

- [The OpenID 2.0 spec](https://openid.net/specs/openid-authentication-2_0.html)

## Related pages

Other integrations for game servers.

- [**Discord** Login, roles after purchase and webhooks.](https://vulcode.com/en/services/integrations/discord)

- [**Game plugins and scripts** Plugins and mods for game servers.](https://vulcode.com/en/services/game-plugins)

- [**Pterodactyl** Game server panel and billing.](https://vulcode.com/en/services/integrations/pterodactyl)

- [**Google login and SSO** Google, Microsoft and SSO login.](https://vulcode.com/en/services/integrations/sso-login)

## Describe your project.

A free quote comes back within an hour during working hours.

### Rather skip the form?

Ask in the chat or write to us directly.

Open the chat

- **Email**: [hello@vulcode.com](mailto:hello@vulcode.com)
- **Phone**: [+48 576 043 920](tel:+48576043920)
- **Discord**: [discord.gg/vulcode](https://discord.gg/vulcode)
