Secure API proxy for FACEIT data with API key protection
/api/health
Health check endpoint to verify API status and availability. Useful for monitoring and uptime checks.
No parameters required.
{
"status": "healthy",
"timestamp": "2025-10-26T12:34:56.789Z",
"uptime": 3600,
"environment": "production",
"version": "1.0.0",
"checks": {
"api_key": "configured"
}
}
/api/match
Get match data with all players. Returns current nicknames, avatars, and countries of all players.
{
"matchId": "1-xxx",
"players": [
{
"playerId": "abc123",
"nickname": "Player1",
"avatar": "https://...",
"country": "ua",
"games": { "cs2": {...} }
}
]
}
/api/match-stats
Get players from a match with their historical nicknames (as they were during the match). Useful for retrieving old nicknames.
{
"matchId": "1-xxx",
"players": [
{
"playerId": "abc123",
"nickname": "OldNickname"
},
{
"playerId": "def456",
"nickname": "AnotherOldNick"
}
]
}
/api/player
Get information about a single player by their ID.
{
"playerId": "abc123",
"nickname": "Player1",
"avatar": "https://...",
"country": "ua",
"games": {
"cs2": {
"skill_level": 10,
"faceit_elo": 2000
}
}
}
/api/search
Search for players by nickname with additional filters for game and country.
{
"start": 0,
"end": 20,
"items": [
{
"player_id": "abc123",
"nickname": "SearchedPlayer",
"avatar": "https://...",
"country": "ua",
"games": { "cs2": {...} }
}
]
}