Accepted modifiers: size, overlay, default.
Accepted modifiers: scale, overlay, default.
Accepted modifiers: scale, overlay, default.
Accepted modifiers: default.
Accepted modifiers: default.
You can append .png
or any other file extension to the URL path if you like to, but all images are PNG.
Attribution is not required, but it is encouraged.
If you want to show some support for this (free!) service, place a notice like this somewhere:
Thank you to <a href="https://crafatar.com">Crafatar</a> for providing avatars.
You can tweak images using query string parameters.
Example: <%= domain %>/avatars/853c80ef3c3749fdaa49938b674adae6?size=4&default=MHF_Steve&overlay
<%= config.avatars.min_size %> - <%= config.avatars.max_size %>
<%= config.renders.min_scale %> - <%= config.renders.max_scale %>
true
. This option was previously known as helm
.
MHF_Steve
/MHF_Alex
.MHF_Steve
or MHF_Alex
, depending on Minecraft's default for the requested UUID.
UUIDs may be any valid Mojang UUID in the blank or dashed format.
Malformed UUIDs are rejected.
By disabling a legacy API in 2018, Mojang has made it practically impossible for Crafatar to support usernames. Please use UUIDs instead!
All usernames are rejected.
Crafatar checks for skin updates every <%= config.caching.local / 60 %> minutes.
Images are cached in your browser for <%= config.caching.browser / 60 %> minutes until a new request to Crafatar is made.
In addition, CloudFlare caches up to 2 hours on a per-url basis.
When you changed your skin you can try clearing your browser cache to see the change faster.
Crafatar supports Cross-Origin Resource Sharing, so you can make AJAX request from other sites!
Responses come with some custom HTTP headers, useful for debugging.
Please note that these headers may be cached by CloudFlare.
See also: what users say about Crafatar