UnturnedSL API Documentation

More API Options will be coming in the near future, check back often! If you have an API suggestion then contact me!
Retrieve Active Likers from a Dedicated Server

You will first need the ID of the Dedicated Server, go to the Dedicated Server's Page, and get it from the URL:

http://unturnedsl.com/dedicated/show/IDHERE

Next, take the ID from the URL and include it in the request URL like so:

http://unturnedsl.com/api/dedicated/IDHERE/likers.json

Finally, manipulate the JSON response to your liking using your language of choice!

Check if a SteamID64 has Liked a Server in the past 24 hours

You will first need the ID of the Dedicated Server, go to the Dedicated Server's Page, and get it from the URL:

http://unturnedsl.com/dedicated/show/IDHERE

Next, take the ID from the URL and include it in the request URL like so, same with the users SteamID64:

http://unturnedsl.com/api/dedicated/IDHERE/STEAMID64

A 1 will be returned if that SteamID64 has liked the server, a 0 if they haven't, or a 2 if the vote has been claimed

Please Note that the User will need to link their UnturnedSL account with Steam first by going here.

Set a vote as Claimed for a SteamID64

You will first need the ID of the Dedicated Server, go to the Dedicated Server's Page, and get it from the URL:

http://unturnedsl.com/dedicated/show/IDHERE

Next, take the ID from the URL and include it in the request URL like so, same with the users SteamID64:

http://unturnedsl.com/api/dedicated/post/IDHERE/STEAMID64

A 1 will be returned if that SteamID64 has been claimed correctly, or a 0 if something went wrong.

Please Note that the User will need to link their UnturnedSL account with Steam first by going here.

Retrieve a list of currently active players on a server

You will first need the ID of the Dedicated Server, go to the Dedicated Server's Page, and get it from the URL:

http://unturnedsl.com/dedicated/show/IDHERE

Next, take the ID from the URL and include it in the request URL like so

http://unturnedsl.com/api/dedicated/IDHERE/players.json

This will return a JSON response of players currently on the server. If no players are on the server a 0 will be returned.