Developer API

Steam Profile API

Řešte SteamID z libovolného formátu, načtěte metadata profilu, batch až 100 profilů na volání.

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ždou variantu identifikátoru Steamu — SteamID32, SteamID64, vanity URL, profilová URL — a vrací čisté DTO profilu s uživatelským jménem, avatarem, zemí, datem vytvoření a způsobilostí k obchodu.

FAQ

Které formáty identifikátoru Steamu jsou podporovány?

SteamID32, SteamID64, vanity URL, kompletní profilová URL. /steam/api/info/steamid převádí mezi všemi těmito formáty.

Mohu ověřit, zda profil může obchodovat?

Ano — /steam/api/profile/trade-eligibility vrací stav trade banu, lock state a požadavky Steam Guardu v jediném volání.

Jak provádět batch načítání profilů?

Použijte /steam/api/profile/batch se seznamem SteamID (max 100 na volání). Odpověď klíčovaná podle SteamID.

Start building with the Steam Profile API

One key, every Steam endpoint.