Players

Base

Here you are on the endpoints page for minecraft players (Only Minecraft Premium).

To start, here is the URL of the api used for player endpoints :

https://api.hylaria.com/players/

Information

To avoid API spam, we put the skins as well as the heads of the players in the cache, all this updates every 10 minutes.

get
Skin

https://api.hylaria.com/players/skin/:player
» Getting a player's skin
Request
Response
Request
Path Parameters
player
required
string
The nickname of a premium Minecraft player
Response
200: OK
» This endpoint returns a buffer
[Buffer...]
400: Bad Request
{
"success": false,
"error": "The identifier seem to be invalid"
}

get
Body

https://api.hylaria.com/players/body/:player
» Allows to get the skin of a front player.
Request
Response
Request
Path Parameters
player
required
string
The nickname of a premium Minecraft player
Query Parameters
armor
optional
boolean
Adding details (Default: false)
size
optional
string
Change image size (Default: 32)
Response
200: OK
» This endpoint returns a buffer
[Buffer...]
400: Bad Request
{
"success": false,
"error": "The identifier seem to be invalid"
}

get
Skull

https://api.hylaria.com/players/skull/:player
» Getting the head of a minecraft player
Request
Response
Request
Path Parameters
player
required
string
The nickname of a premium Minecraft player
Query Parameters
armor
optional
boolean
Adding details (Default: false)
size
optional
string
Change image size (Default: 32)
Response
200: OK
» This endpoint returns a buffer
[Buffer...]
400: Bad Request
{
"success": false,
"error": "The identifier seem to be invalid"
}

get
Cape

https://api.hylaria.com/players/cape/:player
» Getting a player's cape (Does not include optifine capes)
Request
Response
Request
Path Parameters
player
required
string
The nickname of a premium Minecraft player
Response
200: OK
» This endpoint returns a buffer
[Buffer...]
400: Bad Request
{
"success": false,
"error": "The identifier seem to be invalid"
}

get
Cape Optifine

https://api.hylaria.com/players/optifinecape/:player
» Getting a player's optifine cape (Does not include official Minecraft capes)
Request
Response
Request
Path Parameters
player
required
string
The nickname of a premium Minecraft player
Response
200: OK
» This endpoint returns a buffer
[Buffer...]
400: Bad Request
{
"success": false,
"error": "The identifier seem to be invalid"
}

get
Informations

https://api.hylaria.com/players/infos/:player
» Getting a player's optifine cape (Does not include official Minecraft capes)
Request
Response
Request
Path Parameters
player
required
string
The nickname of a premium Minecraft player
Response
200: OK
» This endpoint returns an object
{
"success": true,
"data": {
"legacy": false,
"demo": false,
"username": "FrankTek",
"uuid": "ff9ddd670ac84512985e859cb8bc2d89",
"history": [
{
"username": "GameTeck",
"changedAt": null
},
{
"username": "FrankTek",
"changedAt": 1520075437000
},
{
"username": "Kns_Franklin",
"changedAt": 1523188383000
},
{
"username": "FrankTek",
"changedAt": 1526213213000
}
],
"textures": {
"skin": "https://api.hylaria.com/players/skin/FrankTek",
"cape": null,
"optifineCape": null,
"skull": "https://api.hylaria.com/players/skull/FrankTek?size=128"
}
}
}
400: Bad Request
{
"success": false,
"error": "The identifier seem to be invalid"
}