Skip to content

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/profileA Minecraft player's uuid and exact name, looked up by the username.
GET/mojang/profileByUuidA Minecraft player's name, skin and cape, looked up by uuid.
GET/mojang/profileAtThe uuid a username belonged to at a moment, given in Unix milliseconds, for names that were changed or taken.
GET/mojang/profilesByNamesUp to ten Minecraft usernames looked up in one call; unknown names are left out.

profile

GET/v1/mojang/profile

A Minecraft player's uuid and exact name, looked up by the username.

scope social:read1 unitcached 6 h

Parameters

username
string
required
Minecraft Java Edition username, such as Notch.
e.g. Notch
tunnel
string
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.
proxy
string
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.
profileId
string
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
avatarUrlstring
biostring
capeUrlstring
createdAtstring
followerCountinteger (int64)
followingCountinteger (int64)
idstring
namestring
postCountinteger (int64)
skinModelstring
skinUrlstring
urlstring
usernamestring
uuidstring
verifiedboolean
curl "https://api.hoshime.com/v1/mojang/profile?username=Notch" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "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/profileByUuid

A Minecraft player's name, skin and cape, looked up by uuid.

scope social:read1 unitcached 1 h

Parameters

uuid
string
required
Player uuid, with or without dashes.
e.g. 069a79f444e94726a5befca90e38aaf5
tunnel
string
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.
proxy
string
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.
profileId
string
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
avatarUrlstring
biostring
capeUrlstring
createdAtstring
followerCountinteger (int64)
followingCountinteger (int64)
idstring
namestring
postCountinteger (int64)
skinModelstring
skinUrlstring
urlstring
usernamestring
uuidstring
verifiedboolean
curl "https://api.hoshime.com/v1/mojang/profileByUuid?uuid=069a79f444e94726a5befca90e38aaf5" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "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/profileAt

The 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

username
string
required
Minecraft Java Edition username, such as Notch.
e.g. Notch
at
integer
required
Moment in Unix milliseconds, such as 1500000000000.
e.g. 1500000000000
tunnel
string
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.
proxy
string
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.
profileId
string
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
avatarUrlstring
biostring
capeUrlstring
createdAtstring
followerCountinteger (int64)
followingCountinteger (int64)
idstring
namestring
postCountinteger (int64)
skinModelstring
skinUrlstring
urlstring
usernamestring
uuidstring
verifiedboolean
curl "https://api.hoshime.com/v1/mojang/profileAt?username=Notch&at=1500000000000" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "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/profilesByNames

Up to ten Minecraft usernames looked up in one call; unknown names are left out.

scope social:read1 unitcached 6 hpaginated

Parameters

usernames
string
required
Comma-separated Minecraft usernames, ten at most.
e.g. Notch,jeb_
tunnel
string
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.
proxy
string
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.
profileId
string
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
avatarUrlstring
biostring
capeUrlstring
createdAtstring
followerCountinteger (int64)
followingCountinteger (int64)
idstring
namestring
postCountinteger (int64)
skinModelstring
skinUrlstring
urlstring
usernamestring
uuidstring
verifiedboolean
curl "https://api.hoshime.com/v1/mojang/profilesByNames?usernames=Notch%2Cjeb_" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "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
  }
}
esc
↑↓ move↵ open