MojangAPI 1.1.0

.NET Standard 2.0
Install-Package MojangAPI -Version 1.1.0
dotnet add package MojangAPI --version 1.1.0
<PackageReference Include="MojangAPI" Version="1.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MojangAPI --version 1.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: MojangAPI, 1.1.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install MojangAPI as a Cake Addin
#addin nuget:?package=MojangAPI&version=1.1.0

// Install MojangAPI as a Cake Tool
#tool nuget:?package=MojangAPI&version=1.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Mojang API


.NET Library for Mojang API, Mojang Authentication and Microsoft Xbox Authentication

  • Asynchronous API
  • Getting Player Data
  • Changing Player Name or Skin
  • Mojang Authentication
  • Microsoft Authentication
  • Security Question-Answer
  • Statistics


  • .NET Framework 4.6.2
  • .NET Core 3.1
  • .NET 5.0


Use Nuget package MojangAPI or download dll from release.


  • Newtonsoft.Json
  • System.Net.Http


Include these namespaces :

using MojangAPI;
using MojangAPI.Model;

Sample program: MojangAPISample


Getting player profile, Changing name or skin, Statistics, Blocked Server, Checking Game Ownership


Mojang Yggdrasil authentication.


Microsoft Xbox Authentication


Security question-answer flow

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.0 netstandard2.1
.NET Framework net461 net462 net463 net47 net471 net472 net48
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on MojangAPI:

Repository Stars
A Minecraft client written in C# aimed at compatibility with MC:Java & MC:Bedrock
Version Downloads Last updated
1.1.0 463 2/12/2022
1.0.3 810 4/12/2021
1.0.2 215 3/21/2021
1.0.1 223 3/21/2021
1.0.0 164 2/11/2021