This endpoint lists all realms that the user owns or has been invited to.
| Host | Authentication |
|---|---|
| peoapi.minecraft.net | ? |
GET /server/list
Example Response (not sure about this, response from wiki.vg)
[
{
"serverId": 1,
"name": "lukeeey21's Server",
"open": true,
"ownerName": "lukeeey21",
"myWorld": true,
"maxNrPlayers": 10,
"type": "survival",
"playerNames": ["lukeeey21", "Dogle601", "williamtdr"],
"invited": ["lukeeey21", "Dogle601", "williamtdr"],
"daysLeft": 0
}
]
serverId is the id of the realmname is the title of the serveropen is true if joinable, false if notownerName is the username of the realm ownermyWorld returns true if the realm belongs to the current usermaxNrPlayers is the maximum amount of player allowed to join the realmtype is the server gamemode, creative or survivalplayerNames is an array of player usernames who are currently on the serverinvited is an array of player usernames who haved been invited to the serverdaysLeft is the amount of days the realm has before it expires