Skip to main content

Top scores / Podium

Description

Use this endpoint to retrieve the top scores of a Scoreboard using the HTTPs REST API.

Endpoint

GET https://api.gamerank.io/scoreboard/top/{count}

Request URL Parameters

ParameterDescription
countHow many top scores to get

Example

GET https://api.gamerank.io/scoreboard/top/3

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
entryintSubmitted score
[
{
"userid": "382911",
"username": "Ada",
"creation_time": 1730642812412,
"entry": 3937
},
{
"userid": "221281",
"username": "John",
"creation_time": 1730026754899,
"entry": 215
},
{
"userid": "901281",
"username": "Paul",
"creation_time": 1730026114899,
"entry": 199
}
]

HTTP status code

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