Steam API

Games & Comics / API Key Intermediate HTTPS
Varies by plan (check documentation)

Overview

The Steam Web API lets developers access public data from the Steam platform, including player profiles, game ownership, achievement stats, and the store catalog. An API key is free and easy to obtain through the Steam developer portal. It is widely used for building gaming dashboards, leaderboards, and Steam profile widgets.

Beginner Tip

All user-specific endpoints require the player Steam ID, a 17-digit number. Users can find their Steam ID in their profile URL or by using a tool like steamid.io.

Available Data

match scores and results
team standings
player statistics
schedule and fixtures
Use case: Integrate steam web api documentation data into web and mobile applications

Example Response

JSON Response
{
  "match_id": 4521,
  "home_team": "Team A",
  "away_team": "Team B",
  "score": {
    "home": 2,
    "away": 1
  },
  "status": "Full Time",
  "date": "2025-01-15",
  "league": "Premier League"
}

Field Reference

steamid 17-digit Steam ID uniquely identifying the player
personaname The player current Steam display name
profileurl URL to the player public Steam profile page
avatar URL to the 32x32 pixel avatar image
personastate Online status code: 0=Offline, 1=Online, 2=Busy, 3=Away
gameid App ID of the game currently being played, if any

Implementation Example

Request
const url = "https://steamapi.xpaw.me/";
// Replace headers or query params with the values required by this API.
const response = await fetch(url, {
  headers: {
  "X-API-Key": "YOUR_API_KEY"
  }
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data);

What Can You Build?

Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.

Common Errors & Troubleshooting

Empty or null player data Target player has set their profile to private
Steam respects privacy settings; only public profiles return full data through the API
403 Forbidden Invalid or missing API key
Obtain a free API key at steamcommunity.com/dev/apikey and pass it as the key parameter
Missing game stats Some games are not enrolled in Steam achievements or stat tracking
Use GetSchemaForGame first to see which stats are available for a given app ID before querying them

Metadata Score Breakdown

Estimated from metadata — endpoint not independently tested

This score is estimated from observable metadata — HTTPS support, authentication model, declared CORS, and documentation reachability — because the API requires authentication or exposes no publicly testable endpoint. The five-signal breakdown is only shown for live-tested APIs.

Metadata estimate · endpoint not independently tested

Technical Specifications

Auth API Key
HTTPS REQUIRED
CORS NO
Category Games & Comics
Difficulty Intermediate
Verified: 2026-04-04

Related Tags

Similar APIs

View All →