Mineatar was built to be an alternative to existing service which improves the speed and efficiency of rendering Minecraft player skins as 3-dimensional images. Whether or not you are migrating from an alternative service, we make it easy to get up and running quickly by providing a simple API to use. Everything you need to know to get started is documented below.
To prevent any abuse of our API, we implement a cache duration for all rendered images to reduce the amount of work our server has to do. When a skin is retrieved from Mojang, it is cached for 12 hours, meaning a fresh skin will not be retrieved until 12 hours from the previous. The rendered image is also cached for 12 hours. All requests will contain a X-Cache-Hit
response header which contains a boolean value which determines whether you hit the cache for the resulting image. If the value was true, then the X-Cache-Time-Remaining
header will contain the amount of seconds until that cache expires.
There is a few ways to modify the resulting image from any API endpoint. Most endpoints support a scale
query parameter which changes the size of the image, and a download
parameter which tells your browser to open a save dialog. You can refer to the query parameters for each specific endpoint to learn about what you can modify.
scale
(Number) — Increases or decreases the size of the imageoverlay
(Boolean) — Toggles the overlay (helmet layer) of the skindownload
(Boolean) — Forces the browser to open a save dialogformat
(String) — Changes the format of the image returned (values: png
, jpg
, jpeg
, gif
)https://api.mineatar.io/face/<uuid>
Accepted query parameters:
scale
(default is 4
)overlay
(default is true
)download
(default is false
)format
(default is png
)https://api.mineatar.io/head/<uuid>
Accepted query parameters:
scale
(default is 4
)overlay
(default is true
)download
(default is false
)format
(default is png
)https://api.mineatar.io/body/full/<uuid>
Accepted query parameters:
scale
(default is 4
)overlay
(default is true
)download
(default is false
)format
(default is png
)https://api.mineatar.io/body/front/<uuid>
Accepted query parameters:
scale
(default is 4
)overlay
(default is true
)download
(default is false
)format
(default is png
)https://api.mineatar.io/body/back/<uuid>
Accepted query parameters:
scale
(default is 4
)overlay
(default is true
)download
(default is false
)format
(default is png
)https://api.mineatar.io/body/left/<uuid>
Accepted query parameters:
scale
(default is 4
)overlay
(default is true
)download
(default is false
)format
(default is png
)https://api.mineatar.io/body/right/<uuid>
Accepted query parameters:
scale
(default is 4
)overlay
(default is true
)download
(default is false
)format
(default is png
)https://api.mineatar.io/skin/<uuid>
Accepted query parameters:
download
(default is false
)format
(default is png
)If you need any assistance with our service, feel free to reach out via our Discord server or shoot us an email at [email protected].