競
Mojang API
4 endpointsSports & GamingGlobalsocial:read4 real examples
Returns Minecraft player uuids, names, skins and capes looked up by username or uuid.
View as Markdown| GET | /mojang/profile | A Minecraft player's uuid and exact name, looked up by the username. |
| GET | /mojang/profileByUuid | A Minecraft player's name, skin and cape, looked up by uuid. |
| GET | /mojang/profileAt | The uuid a username belonged to at a moment, given in Unix milliseconds, for names that were changed or taken. |
| GET | /mojang/profilesByNames | Up to ten Minecraft usernames looked up in one call; unknown names are left out. |
profile
GET
/v1/mojang/profileA Minecraft player's uuid and exact name, looked up by the username.
scope social:read1 unitcached 6 h
Parameters
usernamestring required | Minecraft Java Edition username, such as Notch. e.g. Notch |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
15 fields
avatarUrl | string |
bio | string |
capeUrl | string |
createdAt | string |
followerCount | integer (int64) |
followingCount | integer (int64) |
id | string |
name | string |
postCount | integer (int64) |
skinModel | string |
skinUrl | string |
url | string |
username | string |
uuid | string |
verified | boolean |
curl "https://api.hoshime.com/v1/mojang/profile?username=Notch" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/mojang/profile?username=Notch", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/mojang/profile?username=Notch", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "avatarUrl": "", "bio": "", "capeUrl": "", "createdAt": "", "followerCount": 0, "followingCount": 0, "id": "069a79f444e94726a5befca90e38aaf5", "name": "Notch", "postCount": 0, "skinModel": "", "skinUrl": "", "url": "", "username": "Notch", "uuid": "069a79f4-44e9-4726-a5be-fca90e38aaf5", "verified": false }, "meta": { "cached": false, "endpoint": "profile", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "mojang", "requestId": "req_2Xb9kQ…", "units": 1 } }
profileByUuid
GET
/v1/mojang/profileByUuidA Minecraft player's name, skin and cape, looked up by uuid.
scope social:read1 unitcached 1 h
Parameters
uuidstring required | Player uuid, with or without dashes. e.g. 069a79f444e94726a5befca90e38aaf5 |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
15 fields
avatarUrl | string |
bio | string |
capeUrl | string |
createdAt | string |
followerCount | integer (int64) |
followingCount | integer (int64) |
id | string |
name | string |
postCount | integer (int64) |
skinModel | string |
skinUrl | string |
url | string |
username | string |
uuid | string |
verified | boolean |
curl "https://api.hoshime.com/v1/mojang/profileByUuid?uuid=069a79f444e94726a5befca90e38aaf5" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/mojang/profileByUuid?uuid=069a79f444e94726a5befca90e38aaf5", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/mojang/profileByUuid?uuid=069a79f444e94726a5befca90e38aaf5", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "avatarUrl": "", "bio": "", "capeUrl": "", "createdAt": "", "followerCount": 0, "followingCount": 0, "id": "069a79f444e94726a5befca90e38aaf5", "name": "Notch", "postCount": 0, "skinModel": "classic", "skinUrl": "http://textures.minecraft.net/texture/292009a4925b58f02c77dadc3ecef07ea4c7472f64e0fdc32ce5522489362680", "url": "", "username": "Notch", "uuid": "069a79f4-44e9-4726-a5be-fca90e38aaf5", "verified": false }, "meta": { "cached": false, "endpoint": "profileByUuid", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "mojang", "requestId": "req_2Xb9kQ…", "units": 1 } }
profileAt
GET
/v1/mojang/profileAtThe uuid a username belonged to at a moment, given in Unix milliseconds, for names that were changed or taken.
scope social:read1 unitcached 24 h
Parameters
usernamestring required | Minecraft Java Edition username, such as Notch. e.g. Notch |
atinteger required | Moment in Unix milliseconds, such as 1500000000000. e.g. 1500000000000 |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
15 fields
avatarUrl | string |
bio | string |
capeUrl | string |
createdAt | string |
followerCount | integer (int64) |
followingCount | integer (int64) |
id | string |
name | string |
postCount | integer (int64) |
skinModel | string |
skinUrl | string |
url | string |
username | string |
uuid | string |
verified | boolean |
curl "https://api.hoshime.com/v1/mojang/profileAt?username=Notch&at=1500000000000" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/mojang/profileAt?username=Notch&at=1500000000000", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/mojang/profileAt?username=Notch&at=1500000000000", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "avatarUrl": "", "bio": "", "capeUrl": "", "createdAt": "", "followerCount": 0, "followingCount": 0, "id": "069a79f444e94726a5befca90e38aaf5", "name": "Notch", "postCount": 0, "skinModel": "", "skinUrl": "", "url": "", "username": "Notch", "uuid": "069a79f4-44e9-4726-a5be-fca90e38aaf5", "verified": false }, "meta": { "cached": false, "endpoint": "profileAt", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "mojang", "requestId": "req_2Xb9kQ…", "units": 1 } }
profilesByNames
GET
/v1/mojang/profilesByNamesUp to ten Minecraft usernames looked up in one call; unknown names are left out.
scope social:read1 unitcached 6 hpaginated
Parameters
usernamesstring required | Comma-separated Minecraft usernames, ten at most. e.g. Notch,jeb_ |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
15 fields
avatarUrl | string |
bio | string |
capeUrl | string |
createdAt | string |
followerCount | integer (int64) |
followingCount | integer (int64) |
id | string |
name | string |
postCount | integer (int64) |
skinModel | string |
skinUrl | string |
url | string |
username | string |
uuid | string |
verified | boolean |
curl "https://api.hoshime.com/v1/mojang/profilesByNames?usernames=Notch%2Cjeb_" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/mojang/profilesByNames?usernames=Notch%2Cjeb_", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/mojang/profilesByNames?usernames=Notch%2Cjeb_", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "avatarUrl": "", "bio": "", "capeUrl": "", "createdAt": "", "followerCount": 0, "followingCount": 0, "id": "069a79f444e94726a5befca90e38aaf5", "name": "Notch", "postCount": 0, "skinModel": "", "skinUrl": "", "url": "", "username": "Notch", "uuid": "069a79f4-44e9-4726-a5be-fca90e38aaf5", "verified": false }, { "avatarUrl": "", "bio": "", "capeUrl": "", "createdAt": "", "followerCount": 0, "followingCount": 0, "id": "853c80ef3c3749fdaa49938b674adae6", "name": "jeb_", "postCount": 0, "skinModel": "", "skinUrl": "", "url": "", "username": "jeb_", "uuid": "853c80ef-3c37-49fd-aa49-938b674adae6", "verified": false } ], "meta": { "cached": false, "endpoint": "profilesByNames", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "mojang", "requestId": "req_2Xb9kQ…", "units": 1 } }