Developer API

Steam Profile API

Rozwiąż SteamID z każdego formatu, pobierz metadane profilu, batch do 100 profili na call.

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 normalizuje każdy wariant identyfikatora Steam — SteamID32, SteamID64, vanity URL, profil URL — i zwraca czyste DTO profilu z username, avatar, kraj, data utworzenia konta i trade eligibility.

FAQ

Jakie formaty identyfikatora Steam są wspierane?

SteamID32, SteamID64, vanity URL, pełne profile URL. /steam/api/info/steamid konwertuje między wszystkimi formatami.

Czy mogę sprawdzić czy profil może trade?

Tak — /steam/api/profile/trade-eligibility zwraca status trade ban, lock state i wymagania Steam Guard w jednym calle.

Jak zrobić batch-fetch profili?

Użyj /steam/api/profile/batch z listą SteamID (max 100 na call). Odpowiedź klucz-owana po SteamID.

Start building with the Steam Profile API

One key, every Steam endpoint.