Mojang website screenshot

Mojang

Mojang Studios is the developer of Minecraft. The Mojang / Minecraft Services API surface covers Minecraft player identity (UUID and profile lookup), skins and capes, name history and name change, server session verification, blocked server lists, player attributes (privacy, chat, friends settings), friends graph, presence, public keys for profile signature verification, and account entitlements. Endpoints span three hosts: the legacy api.mojang.com, the session-server sessionserver.mojang.com (Yggdrasil), and the modern Microsoft-side api.minecraftservices.com. Most read endpoints are public and unauthenticated; player-account endpoints require a Bearer Minecraft access token obtained via the Xbox Live / XSTS authentication chain.

3 APIs 0 Features
Games And ComicsMinecraftGamingIdentityPlayer ProfilesSessionPublic APIs

APIs

Mojang Public API

Legacy public Mojang API (api.mojang.com) covering username-to-UUID lookup, batch UUID resolution, and historical profile endpoints. Most operations are being migrated to api.mi...

Mojang Session Server

Mojang's Yggdrasil session server (sessionserver.mojang.com) used during the Minecraft login handshake. Provides the canonical skin and cape texture lookup keyed by player UUID,...

Minecraft Services API

Modern Microsoft-managed Minecraft Services API (api.minecraftservices.com) covering authenticated player profile management, name change, skin and cape management, player attri...

Collections

Rate Limits

Mojang Rate Limits

6 limits

RATE LIMITS

Semantic Vocabularies

Mojang Api Context

0 classes · 0 properties

JSON-LD

Mojang Minecraft Services Context

32 classes · 55 properties

JSON-LD

Mojang Public Api Context

5 classes · 8 properties

JSON-LD

Mojang Session Server Context

4 classes · 8 properties

JSON-LD

API Governance Rules

Mojang API Rules

44 rules · 12 errors 21 warnings 11 info

SPECTRAL

JSON Structure

Minecraft Services Ban Status Structure

1 properties

JSON STRUCTURE

Minecraft Services Blocklist Structure

1 properties

JSON STRUCTURE

Minecraft Services Cape Selection Structure

1 properties

JSON STRUCTURE

Minecraft Services Cape Structure

4 properties

JSON STRUCTURE

Minecraft Services Entitlement Item Structure

3 properties

JSON STRUCTURE

Minecraft Services Entitlements Structure

3 properties

JSON STRUCTURE

Minecraft Services Friend Structure

2 properties

JSON STRUCTURE

Minecraft Services Friends List Structure

4 properties

JSON STRUCTURE

Minecraft Services Name Change Info Structure

3 properties

JSON STRUCTURE

Minecraft Services Presence Entry Structure

3 properties

JSON STRUCTURE

Minecraft Services Presence Report Structure

2 properties

JSON STRUCTURE

Minecraft Services Privilege Map Structure

4 properties

JSON STRUCTURE

Minecraft Services Profile Structure

2 properties

JSON STRUCTURE

Minecraft Services Public Key Entry Structure

1 properties

JSON STRUCTURE

Minecraft Services Public Keys Structure

3 properties

JSON STRUCTURE

Minecraft Services Skin Structure

6 properties

JSON STRUCTURE

Public Api Name Change Structure

2 properties

JSON STRUCTURE

Public Api Profile Structure

4 properties

JSON STRUCTURE

Public Api Sale Statistics Request Structure

1 properties

JSON STRUCTURE

Public Api Sale Statistics Structure

3 properties

JSON STRUCTURE

Session Server Join Request Structure

3 properties

JSON STRUCTURE

Session Server Session Profile Structure

4 properties

JSON STRUCTURE

Session Server Session Property Structure

3 properties

JSON STRUCTURE

Example Payloads

Public Api Profile Example

4 fields

EXAMPLE

Resources

🔗
Website
Website
🔗
Documentation
Documentation
🔗
Microsoft / Xbox Authentication Flow
Documentation
👥
GitHubOrganization
GitHubOrganization
👥
Brigadier Command Parser
GitHubRepository
👥
DataFixerUpper
GitHubRepository
👥
Bedrock Network Protocol Docs
GitHubRepository
👥
Bedrock Edition Add-on Samples
GitHubRepository
👥
Minecraft Creator Tools
GitHubRepository
👥
Minecraft VS Code Debugger
GitHubRepository
🔗
PublicAPIsListing
PublicAPIsListing
🔗
RateLimits
RateLimits
🔗
Vocabulary
Vocabulary
🔗
SpectralRules
SpectralRules
🔗
JSONLD
JSONLD

Sources

Raw ↑
opencollection: 1.0.0
info:
  name: Mojang Session Server
  version: 1.0.0
items:
- info:
    name: Textures
    type: folder
  items:
  - info:
      name: Get Session Profile (Skin and Cape)
      type: http
    http:
      method: GET
      url: https://sessionserver.mojang.com/session/minecraft/profile/:uuid
      params:
      - name: uuid
        value: 853c80ef3c3749fdaa49938b674adae6
        type: path
        description: Player UUID (hyphenated or unhyphenated).
      - name: unsigned
        value: 'false'
        type: query
        description: Set to false to include the Mojang signature on each property. When omitted, properties are returned
          without signature.
    docs: Returns the player's session profile including the Base64-encoded textures property holding skin and cape URLs.
      Pass unsigned=false to receive a signed payload that includes Mojang's RSA signature.
- info:
    name: Session
    type: folder
  items:
  - info:
      name: Has Joined Verification (Server-Side)
      type: http
    http:
      method: GET
      url: https://sessionserver.mojang.com/session/minecraft/hasJoined
      params:
      - name: username
        value: jeb_
        type: query
        description: Username sent by the connecting client.
      - name: serverId
        value: e6e0fce6f3a8b7afa3b9eb0a0d3a8e9a4e8c8e1b
        type: query
        description: SHA-1 server hash computed during the handshake.
      - name: ip
        value: 203.0.113.42
        type: query
        description: Optional IP of the connecting client for stricter checks.
      - name: prevent_proxy
        value: 'false'
        type: query
        description: When true, fails verification if the client appears proxied.
    docs: Called by a Minecraft server during the login handshake to verify that the client claiming to be `username` has
      authenticated against Mojang for the supplied `serverId` (a SHA-1 hash of the server's shared secret and public key).
      Returns the player's full session profile on success.
  - info:
      name: Join Session (Client-Side)
      type: http
    http:
      method: POST
      url: https://sessionserver.mojang.com/session/minecraft/join
      body:
        type: json
        data: '{}'
    docs: Called by the Minecraft client during the login handshake to register the session with Mojang before the server's
      hasJoined check. The request body carries the player's Minecraft access token, profile UUID, and the SHA-1 server hash.
- info:
    name: Server
    type: folder
  items:
  - info:
      name: Get Blocked Servers
      type: http
    http:
      method: GET
      url: https://sessionserver.mojang.com/blockedservers
    docs: Returns a newline-delimited plain-text list of SHA-1 hashes representing servers Mojang has blocked under the EULA.
      Clients hash the server address (and parent domains / wildcards) and check against this list.
bundled: true