/minecraft-api?username=Notch&type=all
application/json: java | bedrock | cached
快速开始
获取任何Minecraft玩家的UUID、皮肤、披风和名称历史。一个URL,JSON响应。无需注册。
Minecraft API
使用用户名或玩家代号发送 HTTPS GET。选择 Java、Bedrock 或两者,并在读取标识符和资源前检查实际返回的版本对象。
GET https://vrc.lol/minecraft-api?username=Notch&type=all
Accept: application/jsonGET + HTTPS
使用玩家资料端点获取 JSON 数据,使用资源端点获取可直接显示的 PNG 文件。
https://vrc.lol
/minecraft-api?username=Notch&type=allapplication/json: java | bedrock | cached
/head?username=Notch&type=java&size=128image/png: 8-512 px
/skin?username=Notch&type=javaimage/png: Java | Bedrock
/cape?hash=HASHimage/png: cape
/minecraft-api?suggest=Notch&limit=25application/json: [{ username, types }]
/skin_body?username=Notch&type=java&size=160image/png: 40-200 px
当应用需要可预测的结果时,请明确指定标识符和版本。
usernamename | gamertag | UUID | XUID
typeall | java | bedrock
suggestsearch text + limit 1-100
updatetrue · 3600s profile cooldown
这些请求使用 Minecraft 专用端点,并且不需要 API 密钥。
const response = await fetch('https://vrc.lol/minecraft-api?username=jeb_&type=all');
const profile = await response.json();
console.log(profile.java?.uuid);import requests
profile = requests.get('https://vrc.lol/minecraft-api', params={'username': 'jeb_', 'type': 'all'}).json()
print(profile.get('java', {}).get('uuid'))curl -sS 'https://vrc.lol/minecraft-api?username=jeb_&type=all'{
"success": true,
"cached": true,
"java": { "username": "jeb_", "uuid": "...", "skin_url": "...", "cape_url": "..." },
"bedrock": { "username": "...", "xuid_decimal": "...", "floodgate_uuid": "..." }
}java | bedrock: optional object; fields may be null
200 OKapplication/json | image/png
400 Bad Requestcode: MISSING_PARAMETER | INVALID_INPUT_FORMAT | INVALID_TYPE_FILTER
404 Not Foundcode: CACHE_PROFILE_NOT_FOUND | TEXTURE_NOT_FOUND | CAPE_NOT_FOUND
429 Too Many RequestsRetry-After
500 Internal Server Error{ "success": false, "error": "..." }
limit: ~180 / 60s / IPuncached_limit: 45 / 60s / IPupdate_cooldown: 3600s / profileHTTP 429 + Retry-After不需要。Minecraft个人资料API免费且无需密钥。
以 https://vrc.lol 为基础 URL,并搭配 /minecraft-api、/head、/skin 和 /cape 使用。
在 username 参数中传入 UUID,例如 /minecraft-api?username=853c80ef3e3740fdaa867b06307a3d4f。
支持无连字符和带连字符的 UUID。
/minecraft-api | /head
fetch() | application/json
permissions.json | cache
VRC.LOL · Discord
寻求帮助、分享反馈,并认识VRC.LOL社区。