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

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

Matrix Score Breakdown

🌐 Reachability 30/30
⚡ Speed 15/20
🔒 Security 15/15
🛠 Developer XP 9/20
✓ Reliability 10/15

Partially tested on Apr 5, 2026

Technical Specifications

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

Similar APIs

View All →