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.
You can use the release selector at the top left of this page to select which revision is selected.
Required data type
Property may be null
Property may not exist
Property may not exist, or may be null
Array may be empty
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
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.
If you require any more assistance about API usage, please feel free to join the Discord server.