Skip to main content

User best score

Description

Use this endpoint to retrieve the user's best submitted score.

Endpoint

GET https://api.gamerank.io/scoreboard/{userid}/best

Request URL Parameters

ParameterDescription
useridUser unique identifier. Alpha-numerical ASCII characters only.

Example

GET https://api.gamerank.io/scoreboard/3829/best

Response JSON body

FieldTypeDescription
useridstringUser id used to store this score
usernamestringDisplayable user name
creation_timemillisecond timestampUTC timestamp (in millisecond) when this best score has been done
entryintScore value
{
"userid": "3829",
"username": "Bob",
"creation_time": 1728823959953,
"entry": 3937
}

HTTP status code

HTTP statusReason(s)
200• OK
400• Invalid user ID format
404• Unknown API key / scoreboard
• Unknown user
500• Server Error, please contact support@gamerank.io