The Minecraft skin
& avatar API
Render faces, heads, bodies and avatars by username or UUID — clean PNGs, served fast and cached.
- 6+
- Endpoints
- 1–512px
- Any size
- 0
- Dependencies
Why mcskin
Everything you need for skins
A small API that resolves Minecraft usernames and UUIDs through the official Mojang servers and renders ready-to-use images.
Fast & cached
Responses are served from a TTL cache, so repeat requests return instantly and Mojang stays happy.
No API key
Just call the URL — no sign-up, no tokens. Drop it straight into an image tag.
Multiple renders
Raw texture, face, head with hat layer, full body and a stylized bust avatar from one source.
Username or UUID
Pass a username or a UUID, with or without dashes. Both resolve automatically.
Any size
Scale from 1 to 512 px with ?size=N — nearest-neighbor keeps every pixel sharp.
Always renders
Players without a skin get a deterministic Steve/Alex fallback instead of an error.
Interactive
Playground
Enter a player name or UUID and see every render live, straight from the API.
/face/Notch/head/Notch/body/Notch/pfp/Notch/skin/NotchReference
Endpoints
Every endpoint is a GET and returns a PNG (except /health). Full details in the docs.
Quickstart
Integrated in seconds
No library, no key. Append the player name to the URL anywhere you can use an image.
<img src="https://api.mcskin.me/head/Notch?size=128" alt="Notch" />
const url =
`https://api.mcskin.me/body/${player}?size=256`;
const res = await fetch(url);
const blob = await res.blob();curl \ "https://api.mcskin.me/pfp/Notch?size=200" \ -o notch.png
Ready for your first render?
Read the full documentation, or browse the open-source code.