players

Get a player profile

Profile and lifetime stats on survival and creative. Unknown players and players whose stats profile is private get the same 404 response, so the two cannot be told apart. Cached for 60 seconds.

get/v1/players/{player}

Request

  • Base URL: https://api.fabriccraft.net
  • URL: https://api.fabriccraft.net/v1/players/{player}
  • Auth: none declared

Path parameters

playerstring required
Example:Example_Player

Minecraft username (case-insensitive) or UUID (dashed or 32 hex digits).

Response

The player profile.

uuidstring required

Minecraft account UUID, dashed and lowercase.

usernamestring required

Minecraft username in its real capitalisation.

headstring uri required

Head image URL (64 px by default; append ?size=16|32|64|128).

firstJoinedstring date nullable required

Date (UTC) the player first joined, or null if unknown.

statsAsOfstring date-time nullable required

When the stats were last refreshed from the game (global, not per player).

Example response

{
  "uuid": "0f8c2a51-7d3e-4b9a-a6c1-2e5f9d84b730",
  "username": "Example_Player",
  "rank": {
    "name": "VIP",
    "color": {
      "stops": [
        "#edb300"
      ]
    }
  },
  "servers": {
    "survival": {
      "blocksMined": {
        "top": [
          {
            "block": "minecraft:deepslate"
          }
        ]
      }
    },
    "creative": {
      "blocksMined": {
        "top": [
          {
            "block": "minecraft:deepslate"
          }
        ]
      }
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.