Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/Antonelli-Tech-Solutions/spades/llms.txt

Use this file to discover all available pages before exploring further.

Every Spades Online player has a public profile that is readable by anyone without authentication. Profiles include the player’s display name, chosen avatar icon, table cosmetics, career win/loss record, and a history of their last 20 completed games. No session headers are required to read a profile.

GET /api/profile/:playerId

Fetch the public profile for any player by their UUID.
playerId
string
required
UUID of the player whose profile you want to retrieve.
No authentication required. Example request
curl http://localhost:3000/api/profile/550e8400-e29b-41d4-a716-446655440000

Response 200

playerId
string
UUID that uniquely identifies this player.
username
string
The player’s display name as shown in-game and in the lobby.
avatar
object
The player’s selected avatar.
cosmetics
object
The player’s active table cosmetic settings.
career
object
All-time win/loss record across completed games.
recentGames
array
The player’s last 20 completed games, ordered most recent first.
Full example response
{
  "playerId": "uuid",
  "username": "alice",
  "avatar": { "icon": 3 },
  "cosmetics": { "feltColor": "green", "cardBack": "standard-red" },
  "career": { "wins": 10, "losses": 5 },
  "recentGames": [
    {
      "gameId": "uuid",
      "playedAt": "2026-03-01T12:00:00Z",
      "won": true,
      "scoreNs": 260,
      "scoreEw": 150,
      "seat": "north"
    }
  ]
}
StatusMeaning
200Profile found. Body: { playerId, username, avatar, cosmetics, career, recentGames }
400playerId path parameter is not a valid UUID
404No player found with this UUID

Cosmetics Reference

The following options are available for player cosmetics.
SettingAvailable Options
feltColorgreen, navy, burgundy, charcoal
cardBackstandard-red, standard-blue, minimal
Avatar icon18 (numeric IDs for the 8 default icons)

Build docs developers (and LLMs) love