MCLeaks.net

API Documentation

If you are a developer and you want to integrate MCLeaks into your client here is all you need.

The MCLeaks REST API handles requests and gives responses in JSON.

If you have problems or questions according to the API contact us on Twitter.

INFO

If an error occurs whilst handling the request response will be like the following examples:

    {
       “success”:false,
       “errorMessage”: “Some example error message here”
    }

POST

https://auth.mcleaks.net/v1/redeem

Redeems an ALT-TOKEN and returns the username of the alt and a Session-ID for further requests with this alt.

Request-Body: (Example)

{
  “token”: “GFUGuKqxCDHjdNAz”
}

{ “success”: true, “result”: { “mcname”: “Notch”, “session”: “KPwjccRMHq3Rv866HVCTSNzdKNxq7n
XH3kR5nzGV PAC9yy56kyQ3be7LTu2RGQqz” } }

POST

https://auth.mcleaks.net/v1/joinserver

Sends the request to the Mojang sessionserver with the alt’s accesstoken (https://sessionserver.mojang.com/
session/minecraft/join)
to validate the alt. Request-Body: (Example)
{ “session”: “KPwjccRMHq3Rv866HVCTSNzdKNxq7nXH3kR5nzGVPAC9yy56kyQ3be7LTu2RGQqz”, # Session-IDfrom/redeemrequest “mcname”: “Notch”,                                                                                                                                       # McName from /redeem request “serverhash”: “-1ja8s98dhj92h9aasd8”,                                                                                                   # ServerHash “server”: “mc.hypixel.net:25565”                                                                                                                 # Address and port to target server }

 

Request: (Example)

{
“success”: true,
“result”: []}

Sends the request to the Mojang sessionserver with the alt’s accesstoken (https://sessionserver.mojang.com/
session/minecraft/join)
to validate the alt. Request-Body: (Example)
{ “session”: “KPwjccRMHq3Rv866HVCTSNzdKNxq7nXH3kR5nzGVPAC9yy56kyQ3be7LTu2RGQqz”, # Session-IDfrom/redeemrequest “mcname”: “Notch”,                                                                                                                                       # McName from /redeem request “serverhash”: “-1ja8s98dhj92h9aasd8”,                                                                                                   # ServerHash “server”: “mc.hypixel.net:25565”                                                                                                                 # Address and port to target server }

 

Request: (Example)

{
“success”: true,
“result”: []}

{

“session”: “KPwjccRMHq3Rv866HVCTSN
zdKNxq7nXH3kR5nzGVPAC9yy56kyQ3be7
LTu2RGQqz”,
“mcname”: “Notch”,
“serverhash”: “-1ja8s98dhj92h9aasd8”,
“server”: “mc.hypixel.net:25565”

}

 

 

# Session-IDfrom/redeemrequest

 # McName from /redeem request
    # ServerHash
# Address and port to target server

Response: (Example)

{
“success”: true,
“result”: []}