/profile/{uuid or xuid}Get the profile of a player by their uuid.
Operation IDgetProfileByUuidgetProfileByXuid
Path parameters
| Name | Type | Required | Example |
|---|---|---|---|
| One path segment, 2 accepted formats - send exactly one: | |||
| uuid | stringuuid | One of | bef1d0a8-e281-4f69-9200-64e07c235c96 |
Get the profile of a player by their uuid. | |||
| xuid | integerint64 | One of | 2535439361006376 |
Get the profile of a bedrock player by their xuid. | |||
Responses
| Status | Body | Description |
|---|---|---|
| 200 | application/ | Returns the profile (including skin) of the player. |
| 404 | Returns if no player was found for the given input. | |
| 500 | Returns if an internal server error occurred. | |
| 502 | Returns if an upstream service answered with something unusable. | |
| 503 | Returns if an upstream service is currently unavailable. |
Example response
{ "name": "ByteException_", "uuid": "bef1d0a8-e281-4f69-9200-64e07c235c96", "xuid": 2535439361006376, "textures": { "signature": "...", "value": "..." }, "decodedTexture": { "profileId": "bef1d0a8e2814f69920064e07c235c96", "profileName": "ByteException_", "textures": { "SKIN": { "url": "https://textures.minecraft.net/texture/..." }, "CAPE": { "url": "https://textures.minecraft.net/texture/..." } } }, "names": { "ByteException_": 1704063600000 }, "cachedAt": 1704063600000}Request
curl -s "https://mc-api.io/profile/bef1d0a8-e281-4f69-9200-64e07c235c96"const response = await fetch("https://mc-api.io/profile/bef1d0a8-e281-4f69-9200-64e07c235c96");
if (!response.ok) { const { message } = await response.json(); throw new Error(message);}
const profile = await response.json();console.log(profile);import requests
response = requests.get("https://mc-api.io/profile/bef1d0a8-e281-4f69-9200-64e07c235c96", timeout=10)response.raise_for_status()
profile = response.json()print(profile)HttpClient client = HttpClient.newHttpClient();HttpRequest request = HttpRequest.newBuilder(URI.create("https://mc-api.io/profile/bef1d0a8-e281-4f69-9200-64e07c235c96")).build();
HttpResponse<String> response = client.sendAsync(request, BodyHandlers.ofString()).join();System.out.println(response.body());Try this endpoint
https://mc-api.io/profile/bef1d0a8-e281-4f69-9200-64e07c235c96