Developer API

Steam Profile API

Selvitä SteamID:t mistä tahansa muodosta, hae profiilien metatiedot, eräajo jopa 100 profiilia per kutsu.

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 normalisoi jokaisen Steam-tunnisteen variantin — SteamID32, SteamID64, vanity-URL, profiili-URL — ja palauttaa siistin profiili-DTO:n käyttäjätunnuksineen, avatareineen, maineen, luontipäivineen ja kauppakelpoisuuksineen.

FAQ

Mitä Steam-tunnistemuotoja tuetaan?

SteamID32, SteamID64, vanity-URL, täydellinen profiili-URL. /steam/api/info/steamid muuntaa kaikkien näiden muotojen välillä.

Voinko tarkistaa, voiko profiili käydä kauppaa?

Kyllä — /steam/api/profile/trade-eligibility palauttaa trade ban -tilan, lock-tilan ja Steam Guard -vaatimukset yhdellä kutsulla.

Miten teen profiilien erähaun?

Käytä /steam/api/profile/batch listalla SteamID:itä (max 100 per kutsu). Vastaus avainnettu SteamID:llä.

Start building with the Steam Profile API

One key, every Steam endpoint.