Mineskin

API

API documentation

Every endpoint of the Mineskin API. Free, no API key, no sign-up – just use the URLs. Everything is a simple GET request, so it works in <img> tags, Discord bots, scripts and any programming language.

Name or UUID – the examples and previews update as you type.

Basics

https://mineskin.eu/helm/Name/100.png

helm
What you want – see the endpoints below
Name
Minecraft name or UUID, with or without dashes (required)
100
Width in pixels (optional)
.png
.png or .svg (optional)
  • Player: a name (3–16 characters) or a UUID. UUIDs never change, so prefer them if you store players. UUIDs with dashes are redirected to the form without dashes.
  • Unknown players get the default skin (Steve) instead of an error, so your page never shows a broken image.
  • Caching: pictures may be cached by browsers for a while. After a skin change it can take a moment until the new skin shows up.
  • Fair use: there is no hard limit. Please do not send thousands of requests per minute, and cache results on your side if you can.
  • Errors: JSON endpoints answer with HTTP 404 if something does not exist and 429 if you ask too often; the body says why.

Rendered pictures

Each picture exists without and with the second skin layer (hat, jacket, sleeves, trousers). Width: 8–300 pixels, default 180. Format: .png (default) or .svg. PNG pictures accept the picture options.

Head of the player

Head

The flat front of the face – for avatars and player lists.

/avatar/{user}/{size}.png without 2nd layer
/helm/{user}/{size}.png with 2nd layer

https://mineskin.eu/helm/Eiki/120.png Open
Isometric head of the player

Isometric head

A head cube in 3D. Also available as /cube and /cubehelm.

/head/{user}/{size}.png without 2nd layer
/headhelm/{user}/{size}.png with 2nd layer

https://mineskin.eu/headhelm/Eiki/120.png Open
Bust of the player

Bust

Head, torso and arms from the front.

/bust/{user}/{size}.png without 2nd layer
/armor/bust/{user}/{size}.png with 2nd layer

https://mineskin.eu/armor/bust/Eiki/120.png Open
Full body of the player

Full body

The whole player from the front.

/body/{user}/{size}.png without 2nd layer
/armor/body/{user}/{size}.png with 2nd layer

https://mineskin.eu/armor/body/Eiki/120.png Open
Isometric body of the player

Isometric body

The whole player in 3D, from the front left and slightly above.

/isobody/{user}/{size}.png without 2nd layer
/armor/isobody/{user}/{size}.png with 2nd layer

https://mineskin.eu/armor/isobody/Eiki/120.png Open
Back of the player

Back

The whole player from behind.

/back/{user}/{size}.png without 2nd layer
/armor/back/{user}/{size}.png with 2nd layer

https://mineskin.eu/armor/back/Eiki/120.png Open
Left side of the player

Left side

The player’s left side (half as wide as the size). Also /side.

/leftside/{user}/{size}.png without 2nd layer
/armor/leftside/{user}/{size}.png with 2nd layer

https://mineskin.eu/armor/leftside/Eiki/120.png Open
Right side of the player

Right side

The player’s right side (half as wide as the size).

/rightside/{user}/{size}.png without 2nd layer
/armor/rightside/{user}/{size}.png with 2nd layer

https://mineskin.eu/armor/rightside/Eiki/120.png Open

Spinning GIF

Spinning 3D player

/spin/{view}/{user}/{size}.gif

view
head, helm (head with hat) or body
size
16–256 pixels, default 128

An animated GIF of the player turning around – great for GitHub READMEs and forum signatures, where scripts are not allowed.

https://mineskin.eu/spin/body/Eiki/128.gif Open

Skin & cape

Skin texture

Skin texture

/skin/{user} or /skin/{user}.png

The original 64×64 PNG, exactly as the player uploaded it – for your own renderers.

https://mineskin.eu/skin/Eiki Open

Download

/download/{user}

The same texture, sent as a file download (Name.png).

https://mineskin.eu/download/Eiki Open

Cape

/cape/{user}.png · add ?download to download it

The cape texture of the player. HTTP 404 if the player has no cape.

https://mineskin.eu/cape/Eiki.png Open

Stored texture

/texture/{id}.png

A skin from a player’s history. The id is the texture value from /profile or /history.

Player data (JSON)

Profile

/profile/{user}.json

UUID, name, skin model (classic or slim), skin and cape URLs and ready-made links to the most used pictures.

https://mineskin.eu/profile/Eiki.json Open
Example answer
{
  "uuid": "069a79f444e94726a5befca90e38aaf5",
  "uuid_dashed": "069a79f4-44e9-4726-a5be-fca90e38aaf5",
  "name": "Notch",
  "model": "classic",
  "skin": {
    "texture": "<texture id>",
    "url": "https://mineskin.eu/skin/069a79f444e94726a5befca90e38aaf5",
    "download": "https://mineskin.eu/download/069a79f444e94726a5befca90e38aaf5",
    "mojang_url": "http://textures.minecraft.net/texture/<texture id>"
  },
  "cape": null,
  "renders": {
    "head": "https://mineskin.eu/avatar/069a…aaf5/100.png",
    "helm": "https://mineskin.eu/helm/069a…aaf5/100.png",
    "bust": "https://mineskin.eu/armor/bust/069a…aaf5/100.png",
    "body": "https://mineskin.eu/armor/body/069a…aaf5/100.png",
    "isometric": "https://mineskin.eu/isobody/069a…aaf5/100.png",
    "spin": "https://mineskin.eu/spin/body/069a…aaf5/100.gif"
  }
}

Name & skin history

/history/{user}.json

Known names and skins of the player with dates. Mojang no longer publishes name histories, so this lists what Mineskin has seen, plus older entries where available. Each entry has sources and, if known, changed_at.

https://mineskin.eu/history/Eiki.json Open

Name history only

/names/{user}.json

Like /history, but only the names list – smaller and quicker, e.g. for chat bots.

https://mineskin.eu/names/Eiki.json Open

Skin history only

/skins/{user}.json

Like /history, but only the skins list. Each skin has a url to its texture.

https://mineskin.eu/skins/Eiki.json Open

Players with the same skin

/same-skin/{id}.json

Players who wear or wore this skin. The id is the texture value from /profile or /history.

Group picture

Group picture

/group/{name1},{name2},…/{size}.png

names
Up to 16 names, separated by commas
size
Size of each head, 8–128 pixels, default 64

The heads of several players next to each other – for team pages, staff lists or clan banners. Accepts the picture options.

https://mineskin.eu/group/Eiki,Notch,jeb_/48.png Open

Server status

Status as JSON

/server/{host}.json or /server/{host}:{port}.json

Whether a Minecraft Java server is online, players (count, maximum and up to 100 names), MOTD and version. Results are cached for 60 seconds. Only public servers on ports 1024–65535 can be asked.

https://mineskin.eu/server/cubeside.de.json Open
Heads of the players on the server

Players as picture

/server/{host}/players.png?size=32

The heads of the players the server lists (up to 48, 16 per row). size: 8–128 pixels per head. Accepts the picture options.

https://mineskin.eu/server/cubeside.de/players.png?size=24 Open

Want a ready-made widget? The Tools page builds one for your server.

Picture options

Picture with background, rounded corners and shadow

Add these to the URL of any PNG picture (rendered pictures, group picture, server players):

bg
Background color as hex, e.g. 1e1e1e (also 3 or 8 digits with transparency)
padding
Space around the picture, 0–64 pixels
radius
Rounded corners, 0–150 pixels
border
Border width, 0–16 pixels
bordercolor
Border color as hex, default ffffff
shadow
1 for a soft shadow
https://mineskin.eu/armor/isobody/Eiki/120.png?bg=1e1e1e&radius=16&padding=10&shadow=1 Open

API status

/status.json

Uptime, number of requests, average response time and cache hit rate since the last start. The status page shows the same in a friendlier way.

https://mineskin.eu/status.json Open

Code examples

HTML

<img src="https://mineskin.eu/helm/Eiki/64.png" alt="Eiki">

JavaScript

const res = await fetch('https://mineskin.eu/profile/Eiki.json');
const player = await res.json();
console.log(player.name, player.uuid, player.model);

Python

import requests

player = requests.get('https://mineskin.eu/profile/Eiki.json', timeout=10).json()
print(player['name'], player['uuid'])

Discord embed (discord.js)

new EmbedBuilder()
  .setTitle('Eiki')
  .setThumbnail('https://mineskin.eu/helm/Eiki/64.png')
  .setImage('https://mineskin.eu/armor/isobody/Eiki/200.png');

Need the URLs for one player with your own size and format? Search the player on the start page – the endpoint builder there creates them for you.