Reference

Authorization

Some API endpoints in serverlist.space requires some sort of authentication via the Authorization HTTP header in your request. If this header is required, and is not present, your request will be declined with a 401 error.

API Revisions

You can use the release selector at the top left of this page to select which revision is selected.

Base URL

Status

Last Changed

https://api.serverlist.space/v1

Latest

N/A

Content Type Keywords

Example

Limited To

Name

String

Any type

Required data type

?String

Any type

Property may be null

String?

Any type

Property may not exist

?String?

Any type

Property may not exist, or may be null

??Array

Array

Array may be empty

Body Data

When a request is made to the API, the response will always be JSON, encoded with application/json as the Content-Type . The property success will always be present, and contain a boolean, even if the request was not successful. If the request was not successful, you should expect a code and message property to exist too. You should never rely on the success property to check whether a request was successful or not, you should instead use the returned HTTP status code.

Support

If you require any more assistance about API usage, please feel free to join the Discord server.