Mojang API without ratelimits.
Results are cached for 60 minutes, except for the
/session/minecraft/profile/:uuid endpoint. Use the simpler
endpoint if you have no use for the properties returned in
/session/minecraft/profile/:uuid.
The server can currently handle about 10,000 lookups per second. If you appreciate this service or would like me to buy a better server, consider donating on Ko-fi.
GET /users/profiles/minecraft/:usernameGET /session/minecraft/profile/:uuidGET /:username_or_uuidPOST / ["<username_or_uuid>"]A dump of 51 million UUIDs and usernames is available at archive.org/details/minecraft-uuids-2024-02-22.