Developer API

Steam Profile API

Lös upp SteamIDs från vilket format som helst, hämta profilmetadata, batcha upp till 100 profiler per anrop.

Endpoints

All endpoints return JSON, accept the same auth header, and degrade with a normalised error envelope.

GET /steam/api/profile
GET /steam/api/profile/batch
GET /steam/api/info/steamid
GET /explore/api/profile

Steam Profile API — quickstart

Same auth header as every other endpoint we ship. Get an API key from the dashboard and you're querying inside two minutes.

  • Single auth header, JSON response.
  • Rate limits scale with your plan tier.
  • Full schema in the API reference.
API Request
# curl with API key
curl "https://www.steamwebapi.com/steam/api/profile?key=$KEY"
# PHP
$res = file_get_contents('https://www.steamwebapi.com/steam/api/profile?key=' . $KEY);
$data = json_decode($res, true);
# Node.js
const r = await fetch(`https://www.steamwebapi.com/steam/api/profile?key=${KEY}`);
const data = await r.json();

About this API

Steam Profile API:t normaliserar varje variant av Steam-identifierare — SteamID32, SteamID64, vanity-URL, profil-URL — och returnerar en ren profil-DTO med användarnamn, avatar, land, skapelsedatum och handelsbehörighet.

FAQ

Vilka format av Steam-identifierare stöds?

SteamID32, SteamID64, vanity-URL, fullständig profil-URL. /steam/api/info/steamid konverterar mellan alla dessa format.

Kan jag kontrollera om en profil kan handla?

Ja — /steam/api/profile/trade-eligibility returnerar status för trade ban, lock state och Steam Guard-krav i ett enda anrop.

Hur gör jag en batch-hämtning av profiler?

Använd /steam/api/profile/batch med en lista med SteamIDs (max 100 per anrop). Svaret är nycklat på SteamID.

Start building with the Steam Profile API

One key, every Steam endpoint.