This endpoint returns all the realms that you are a part of.
Host | Authentication |
---|---|
pocket.realms.minecraft.net | XBL 3.0 |
GET /worlds
Headers
Authorization: {token}
- {token} is your xbox live tokenClient-Version: {version}
- {version} is the version of the clientUser-Agent: {agent}
- {agent} is one of theseOnce you have done that, you should get a response like the following example which has been stripped down to save space (just remember to loop through the servers
array).
{
"servers": [
{
"id": 1800696,
"remoteSubscriptionId": "21d5f30194434e40b42bfa91dd7cd22c",
"owner": "",
"ownerUUID": "2535459632708673",
"name": "lukeeey21's Realm",
"motd": "",
"state": "OPEN",
"daysLeft": -1,
"expired": true,
"expiredTrial": false,
"gracePeriod": false,
"worldType": "NORMAL",
"players": null,
"maxPlayers": 10,
"minigameName": null,
"minigameId": null,
"minigameImage": null,
"activeSlot": 1,
"slots": null,
"member": false,
"clubId": 3379870294579661
}
]
}
id
is the unique id of the realm (keep this as you will need it later)ownerUUID
is the xbox live uuid of the realm ownername
is the realm name to be displayed on the realm liststate
is either OPEN or CLOSEDdaysLeft
is an integer detailing how many days the realm has left before it expires. I think -1 means it has expired, not sureexpired
returns true if the realm has expired, false if notmaxPlayers
is the maximum amount of players allowed to join the realm at once, presumably always 10Once you have got the id of the realm you want to get more info about, you have a few options: